How to enable EGLStreams on Fedora 29/30

GNOME + NVIDIA + Wayland

alex285
Jan 11 · 1 min read

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

...[daemon]
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false
...

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
GNOME Classic
GNOME on Xorg

Pick GNOME and that is Wayland!

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

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade