Table of Contents
1. Before NVIDIA drivers installation (Fedora 36/35/34/33/32)
2. Install NVIDIA proprietary drivers on Fedora 36/35/34/33/32 and disable the nouveau driver
3. Some Screenshots Using Different NVIDIA Cards and Drivers
4. Restore/Change/Update Plymouth After NVIDIA Drivers Installation (BIOS/UEFI Users)
5. Fedora 36/35/34/33/32/31 Uninstall NVIDIA drivers and Enable Nouveau
6. Fedora 36/35/34/33/32/31 NVIDIA FAQ
6.1 NVIDIA + DKMS Kernel Upgrade on Fedora
6.2 NVIDIA Drivers Update/Downgrade/Reinstall on Fedora
7. Fedora 36/35/34/33/32/31 NVIDIA Video Guides
8. NVIDIA 510.73.05/470.103.01 + Xwayland on Fedora 36/35/34 and Gnome 42/41/40
This is guide, howto enable NVIDIA accelerated 3D rendering and Xwayland on on Fedora 36/35/34 with NVIDIA 510.73.05/470.129.06 proprietary drivers on GNOME 42/41/40. Tested with latest NVIDIA drivers, I assume here that you have installed NVIDIA drivers using this guide. This might work normally with any other installation methods too, but it’s not tested.
Note: Do this using fully updated system and latest kernel, also NVIDIA 510.73.05 / 470.129.06 drivers installed. Check also NVIDIA’s own guide for this OpenGL and Vulkan on Xwayland.
Check video version of guide:
if-not-true-then-false.com Youtube Channel
Before you start you will at least following packages installed:
- Xwayland >= 21.1.1.901
- libxcb >= 1.13
- egl-wayland >= 1.1.7
Check your packages using following command:
dnf list installed xorg-x11-server-Xwayland libxcb egl-wayland
If some missing, then install all using following command:
dnf install xorg-x11-server-Xwayland libxcb egl-wayland
8. Enable Xwayland with NVIDIA 510.73.05 / 470.129.06 proprietary drivers on Fedora 36/35/34 GNOME 42/41/40 desktop
8.1 Change root user
su -
## OR ##
sudo -i
8.2 Edit /etc/default/grub
Append ‘nvidia-drm.modeset=1’ to end of ‘GRUB_CMDLINE_LINUX=”…”‘.
## Example row with Fedora 36/35/34 BTRFS ##
GRUB_CMDLINE_LINUX="rhgb quiet rd.driver.blacklist=nouveau nvidia-drm.modeset=1"
## OR with LVM ##
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet rd.driver.blacklist=nouveau nvidia-drm.modeset=1"
8.3 Update grub2 conf
Fedora 36/35/34
## BIOS and UEFI ##
grub2-mkconfig -o /boot/grub2/grub.cfg
Fedora 33/32/31/30
## BIOS ##
grub2-mkconfig -o /boot/grub2/grub.cfg
## UEFI ##
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
8.4 Update /usr/lib/udev/rules.d/61-gdm.rules
Comment line which starts with DRIVER==”nvidia”, RUN+=:
# disable Wayland on Hi1710 chipsets
ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="/usr/libexec/gdm-runtime-config set daemon WaylandEnable false"
# disable Wayland on hybrid systems with vendor nvidia driver
# default to Xorg on single gpu vendor nvidia systems
DRIVER=="nvidia", ENV{GDM_HAS_VENDOR_NVIDIA_DRIVER}="1"
#DRIVER=="nvidia", RUN+="/usr/libexec/gdm-runtime-config set daemon WaylandEnable false"
#DRIVER=="nvidia", RUN+="/usr/libexec/gdm-runtime-config set daemon PreferredDisplayServer xorg"
# disable Wayland if modesetting is disabled
IMPORT{cmdline}="nomodeset", RUN+="/usr/libexec/gdm-runtime-config set daemon WaylandEnable false"
8.5 Generate initramfs
## Backup old initramfs nvidia-nomodeset image ##
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nvidia-nomodeset.img
## Create new initramfs image ##
dracut /boot/initramfs-$(uname -r).img $(uname -r)
8.6 Enable kms-modifiers through gsettings (as normal user)
gsettings set org.gnome.mutter experimental-features [\"kms-modifiers\"]
8.7 Reboot
reboot
When you system boot you should be able to select GNOME Wayland session, login using it and open terminal and type:
echo $XDG_SESSION_TYPE
Output should be Wayland.
Table of Contents
1. Before NVIDIA drivers installation (Fedora 36/35/34/33/32)
2. Install NVIDIA proprietary drivers on Fedora 36/35/34/33/32 and disable the nouveau driver
3. Some Screenshots Using Different NVIDIA Cards and Drivers
4. Restore/Change/Update Plymouth After NVIDIA Drivers Installation (BIOS/UEFI Users)
5. Fedora 36/35/34/33/32/31 Uninstall NVIDIA drivers and Enable Nouveau
6. Fedora 36/35/34/33/32/31 NVIDIA FAQ
6.1 NVIDIA + DKMS Kernel Upgrade on Fedora
6.2 NVIDIA Drivers Update/Downgrade/Reinstall on Fedora
7. Fedora 36/35/34/33/32/31 NVIDIA Video Guides
8. NVIDIA 510.73.05/470.103.01 + Xwayland on Fedora 36/35/34 and Gnome 42/41/40
3,127 comments on “NVIDIA 510.73.05/470.129.06 + Xwayland on Fedora 36/35/34 and GNOME 42/41/40 ”