XORG vs Wayland. What is the best Gaming setup?

I have been using Arch endeavorOS for a a year now. with a Nvidia RTX 3060 TI. using XFCE and XORG.

Performance has been pretty good for the most part until recently. I did latest updated with yay aur package manager. which updated nvidia drivers.

Now all of the sudden XORG is horribly laggy after opening too many windows. the solutions for this don’t feel concrete. its a lot of try this. or try that. enable triple buffering etc.

I actually have an AMD 5700G. Some people suggest using AMD APU to drive the desktop and the Nvidia GPU for just the gaming.

I also heard wayland has some nice features over XORG. but Nvidia does not support wayland well.

Steamdeck seems to work well without these issues. IS valve using wayland?

Can i switch between XORG and wayland easily on my distro and try them out?

Any guidance on what the best practice here is for a reliable gaming setup is much appreciated.
I seem to have lots of optionsto resolve this issue.

The release notes for the latest nvidia drivers(525) mention a fix for 3000 series cards to a bug that was introduced in 515. You might try that once it hits the repos.

1 Like

Steamdeck seems to work well without these issues. IS valve using wayland?

Generally gaming only works on X or Xwayland. Stuff like SDL is slowly getting Wayland support, but it’s still not ready. Valve uses Wayland, but not for the games itself.

1 Like

I don’t play anymore but when I was playing I created a user with a minimal fluxbox desktop (or Openbox or “else box”).

If gaming needs xwayland I think it’s better to stay on Xorg.

Yes but not on XFCE. KDE, GNOME, Enlightenment are the DEs with Wayland support, also there are Wayland WMs like Sway.

Yes but on gaming mode only. Desktop mode (KDE Plasma) uses Xorg. Also pretty much all games will use Xwayland.

You can downgrade nvidia drivers with downgrade (in AUR) or install a specific driver (including betas like 525) via nvidia-all. IMO this is the first thing you should try.

Generally on desktops you shouldn’t do that, if you have a laptop you can try that. I have Intel+Nvidia laptop and use Intel to drive display and Nvidia for games only, this works fine for me.

I have 3 nvidia packages that says the nvidia driver number 5.20. do i need to downgrade all of them? when i try to downgrade nvidia it says the following.

warning: downgrading package nvidia (520.56.06-11 => 515.65.01-15)
resolving dependencies…
warning: cannot resolve “nvidia-utils=515.65.01”, a dependency of “nvidia”
:: The following package cannot be upgraded due to unresolvable dependencies:
nvidia

:: Do you want to skip the above package for this upgrade? [y/N] ^C

15 extra/nvidia-utils 520.56.06-2 (254.4 MiB 626.2 MiB) (Installed)
    NVIDIA drivers utilities
14 extra/nvidia-settings 520.56.06-1 (787.5 KiB 1.6 MiB) (Installed)
    Tool for configuring the NVIDIA graphics driver
13 extra/nvidia-prime 1.0-4 (2.8 KiB 112.0 B) (Installed)
    NVIDIA Prime Render Offload configuration and utilities
12 extra/nvidia-open-dkms 520.56.06-10 (5.4 MiB 46.9 MiB) 
    NVIDIA open kernel modules
11 extra/nvidia-open 520.56.06-10 (3.1 MiB 3.2 MiB) 
    NVIDIA open kernel modules
10 extra/nvidia-lts 1:520.56.06-9 (41.2 MiB 41.2 MiB) 
    NVIDIA drivers for linux-lts
9 extra/nvidia-dkms 520.56.06-2 (41.8 MiB 67.2 MiB) 
    NVIDIA drivers - module sources
8 extra/nvidia 520.56.06-11 (42.0 MiB 42.0 MiB) (Installed)
    NVIDIA drivers for linux
7 extra/libxnvctrl 520.56.06-1 (76.1 KiB 455.6 KiB) (Installed)
    NVIDIA NV-CONTROL X extension
6 extra/libvdpau 1.5-1 (63.3 KiB 288.0 KiB) (Installed)
    Nvidia VDPAU library
5 extra/ffnvcodec-headers 11.1.5.2-1 (61.0 KiB 368.9 KiB) 
    FFmpeg version of headers required to interface with Nvidias codec APIs
4 extra/egl-wayland 2:1.1.11-2 (31.1 KiB 85.3 KiB) (Installed)
    EGLStream-based Wayland external platform
3 endeavouros/nvidia-installer-common 1.4-3 (15.7 KiB 7.7 KiB) (Installed)
    Common scripts for nvidia-installer-dkms and nvidia-inst
2 endeavouros/nvidia-inst 1.4-4 (19.1 KiB 20.3 KiB) (Installed)
    Script to setup nvidia drivers (dkms version) in EndeavourOS

Yes. Pass them all to the same downgrade command so they all get downgraded together.