Skip to content

Instantly share code, notes, and snippets.

@peppidesu
Last active March 11, 2024 21:12
Show Gist options
  • Save peppidesu/91587b79e902e3bcbea69d0cc0bdf8cd to your computer and use it in GitHub Desktop.
Save peppidesu/91587b79e902e3bcbea69d0cc0bdf8cd to your computer and use it in GitHub Desktop.
List of common NVIDIA + Wayland fixes as of February 2024

1. Changing drivers with Steam installed natively

Because native Steam depends on nvidia-utils and lib32-nvidia-utils (provide vulkan-driver and lib32-vulkan-driver respectively), you cannot replace these packages without removing steam first. You can simply remove steam and then reinstall after everything works.

2. Hyprland NVIDIA surgery kit (can also work for other WMs/DEs)

Read https://wiki.hyprland.org/Nvidia/. Some important side notes:

  • "Fixing random flickering, nuclear method" is exactly what it says. It will nuke battery life and power usage, because your GPU will be forced to run in the highest power state.
  • for DRM kernel mode setting, I recommend following the instructions on the Arch wiki instead: https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting

3. Changing to 535 drivers

If you are experiencing issues with 545/550 drivers, you can try switching to nvidia-535xx-dkms (AUR).

  1. remove the current providers for nvidia and nvidia-utils.
    • also remove lib32-nvidia-utils if applicable.
  2. install nvidia-535xx-dkms and nvidia-535xx-utils from the AUR.
    • also install lib32-nvidia-535xx-utils if applicable.
  3. reboot and pray your issues are solved

4. gamemode

Gamemode might seem like a niche tool that wont do a lot, but especially with Proton games it can change games from being unplayable to running with no issues whatsoever. I also recommend adding DiSPLAY= to launch options, which will sometimes prevent games from running in xwayland.

5. Nouveau

If you don't play any games, use nouveau. otherwise don't.

@peppidesu
Copy link
Author

This list is far from complete, feel free to suggest things i should add here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment