---- On Mon, 13 Sep 2021 18:03:33 -0400 'Schuler, Laurence (GSFC-606.4)[ADNET SYSTEMS INC]' via vfx-platform-discuss <
vfx-platfo...@googlegroups.com> wrote ----
> One show stopper for our group is that Wayland does not support native Nvidia drivers according to the link provided.
Newer versions of the NVIDIA driver offer better support for Wayland (and XWayland acceleration), however there is still room for improvement here. I'm not sure how great the EL7 experience would be regardless given the older Wayland and graphics stack. I played around with the 470 drivers on Fedora 34 for a few weeks before switching back to XOrg.
However, NVIDIA has been improving the situation and working on other areas of the stack, such as providing a way to load an alternate GBM implementation into Mesa. So at least they look to be moving in that direction which should make adoption easier than dealing with limited EGLStreams support from compositors (though I don't really know their plans here).
Besides proper NVIDIA support, the next big-ticket item in my eyes is HDR support. I'm aware of the effort going on here in the wayland-protocols project through the color-management protocol draft; seems to be what all the Wayland capable compositors are waiting on before implementing HDR/higher-bit-depth support, and non-basic color profiles:
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/14
https://www.collabora.com/news-and-blog/blog/2020/11/19/developing-wayland-color-management-and-high-dynamic-range/
Unfortunately I don't have enough experience with the more advanced setups studios use, such as dedicated output cards e.g. Blackmagic Intensity and Decklink, so I don't know if these bypass the OS/DE-level restrictions (I assume they would?).
A third piece would be DCC support with Wayland, but this should be *mostly*(?) seamless I think. Many of our applications utilize Qt5, which natively supports Wayland through the Wayland QPA from QtWayland. Setting QT_QPA_PLATFORM="wayland" will set Qt to choose the Wayland backend at runtime (haven't tried the alternate method of passing "-platform wayland" to apps from this industry). Two things to note:
1) I don't know if any vendor specific/custom parts of the applications will have issues with Wayland, and
2) Since vendors typically bundle Qt along with their application I have a feeling they may also need to build and supply the Wayland QPA plugin and not rely on the distribution provided plugin, which can differ from the version of bundled Qt. Though this should be a limited problem right now considering Qt5 is at the end of its major development. For example, EL8.4 is presently shipping Qt5.12 and EL8.5 will introduce Qt5.15. The eventual transition to Qt6 may prove differently.
Can XWayland be considered a viable stopgap at all? I don't know enough about its restrictions, but I had read in the past that color-management was one of them. E.g. it only operates in a SDR sRGB mode. Please correct me if that is not the case, it's been a long time since I last looked into this specific area.
Cheers,
Mike