Fedora 25 uses Wayland by default... support?
With Fedora 25 released today, I was going through the release notes and they seem to have some pretty big changes. One that caught my eye was default support for Wayland. I haven't been following its development all that much, but I am aware that there was some discrepancy between NVIDIA's implementation of support and how the Linux community wanted it. I was just wondering what the plans are for this platform and how decent support for it is.
With Fedora 25 released today, I was going through the release notes and they seem to have some pretty big changes. One that caught my eye was default support for Wayland. I haven't been following its development all that much, but I am aware that there was some discrepancy between NVIDIA's implementation of support and how the Linux community wanted it. I was just wondering what the plans are for this platform and how decent support for it is.

#1
Posted 11/22/2016 02:47 PM   
The NVIDIA driver supports KMS and EGLDevice/EGLStreams, which is their buffer allocation and management API similar to GBM wich is used by Mesa. Wayland compositors are built around the open source graphics stack with KMS and GBM so these compositors don't work out of the box unless they add support for EGLStreams. GNOME did that for Mutter and landed the patches a few days ago. I don't know if that was backported for Fedora 25. More on that here: https://devtalk.nvidia.com/default/topic/925605/linux/nvidia-364-12-release-vulkan-glvnd-drm-kms-and-eglstreams/ I have used their driver with the EGLStreams support in GNOME on Arch and it works quite well, but there are some issues. My monitor can't enter standby and just remains black and can't wake up and there is no Xwayland support in the NVIDIA driver. SO anything that needs to talk to X, because it doesn't support Wayland natively won't start. So around 5% of my apps don't work. You can just select "Gnome on Xorg" in GDM as a session and everything is just fine so it's not a big problem.
The NVIDIA driver supports KMS and EGLDevice/EGLStreams, which is their buffer allocation and management API similar to GBM wich is used by Mesa. Wayland compositors are built around the open source graphics stack with KMS and GBM so these compositors don't work out of the box unless they add support for EGLStreams. GNOME did that for Mutter and landed the patches a few days ago. I don't know if that was backported for Fedora 25.

More on that here: https://devtalk.nvidia.com/default/topic/925605/linux/nvidia-364-12-release-vulkan-glvnd-drm-kms-and-eglstreams/

I have used their driver with the EGLStreams support in GNOME on Arch and it works quite well, but there are some issues. My monitor can't enter standby and just remains black and can't wake up and there is no Xwayland support in the NVIDIA driver. SO anything that needs to talk to X, because it doesn't support Wayland natively won't start. So around 5% of my apps don't work.

You can just select "Gnome on Xorg" in GDM as a session and everything is just fine so it's not a big problem.

#2
Posted 11/22/2016 10:37 PM   
Thanks for the info and heads up! This makes me feel a little better about sticking with Fedora 24 at this point. As it's at the 'end' of its lifecycle, it's very stable and shouldn't have too many issues. Flip-flopping between the KDE F24 and Mate CentOS 7.
Thanks for the info and heads up! This makes me feel a little better about sticking with Fedora 24 at this point. As it's at the 'end' of its lifecycle, it's very stable and shouldn't have too many issues. Flip-flopping between the KDE F24 and Mate CentOS 7.

#3
Posted 11/22/2016 10:49 PM   
Are there any mutter and gnome-shell rpms with EGLStreams for Fedora 25?
Are there any mutter and gnome-shell rpms with EGLStreams for Fedora 25?

#4
Posted 12/03/2016 06:48 AM   
[quote=""]Are there any mutter and gnome-shell rpms with EGLStreams for Fedora 25?[/quote] F25 EGLStreams needs a kernel change as well as mutter git to function (+ nvidia driver need modesetting module loaded into initramfs), no change to gnome-shell is needed. I have tested it with local builds and it runs like crap, personally I wouldn't bother trying it in F25. It would be possible to rebuild f26 mutter https://koji.fedoraproject.org/koji/buildinfo?buildID=820286 As for the kernel change required https://devtalk.nvidia.com/default/topic/974491/linux/gtx-580-375-10-weston and it's worth reading https://bugzilla.gnome.org/show_bug.cgi?id=773629 and loading modesetting module into initramfs [code]sudo gedit /etc/dracut.conf.d/nvidia.conf [/code] add this to is [code]add_drivers+="nvidia nvidia_modeset nvidia_uvm nvidia_drm" install_items+="/etc/modprobe.d/nvidia.conf[/code] " [code]sudo gedit /etc/modprobe.d/nvidia.conf [/code] add this to it [code]options nvidia_drm modeset=1[/code] then you rebuild initramfs
said:Are there any mutter and gnome-shell rpms with EGLStreams for Fedora 25?



F25 EGLStreams needs a kernel change as well as mutter git to function (+ nvidia driver need modesetting module loaded into initramfs), no change to gnome-shell is needed.
I have tested it with local builds and it runs like crap, personally I wouldn't bother trying it in F25.

It would be possible to rebuild f26 mutter https://koji.fedoraproject.org/koji/buildinfo?buildID=820286
As for the kernel change required https://devtalk.nvidia.com/default/topic/974491/linux/gtx-580-375-10-weston

and it's worth reading https://bugzilla.gnome.org/show_bug.cgi?id=773629


and loading modesetting module into initramfs

sudo gedit /etc/dracut.conf.d/nvidia.conf


add this to is

add_drivers+="nvidia nvidia_modeset nvidia_uvm nvidia_drm"
install_items+="/etc/modprobe.d/nvidia.conf

"

sudo gedit /etc/modprobe.d/nvidia.conf


add this to it

options nvidia_drm modeset=1


then you rebuild initramfs

#5
Posted 12/03/2016 07:42 AM   
Scroll To Top

Add Reply