How to enable EGLStreams on Fedora 29/30

GNOME + NVIDIA + Wayland

Hello! I’m on Rawhide (Fedora 30) with GNOME 3.31.4 that landed just yesterday and it is super faster! So this guide will work at least on that!

Fedora wasn’t used to enable EGLStreams on Mutter builds, but that is not the case on F30 and I read that F29 has also Mutter with EGLStreams

To try it first obviously you need NVIDIA proprietary drivers (I got them from RPM-Fusion, should work from Negativo17 too), and make sure you have nvidia-drm.modeset=1 on your booting parameters

Then on /etc/gdm/custom.conf comment WaylandEnable if not already

# Uncomment the line below to force the login screen to use Xorg

Last step, open /usr/lib/udev/rules.d/61-gdm.rules and comment the Driver=="nvidia"

...# disable Wayland when using the proprietary nvidia driver
#DRIVER=="nvidia", RUN+="/usr/libexec/gdm-disable-wayland"

Now make a full restart (GDM restart won’t read the changes) and on next boot you will should have three options on GDM

GNOME Classic
GNOME on Xorg

Pick GNOME and that is Wayland!

Image for post
Image for post

Btw someone told me on Twitter that Ubuntu 19.04 is also enabling EGLStreams by default! Didn’t try that though!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store