Skip to main content
Topic: screensharing makes games unplayable (Read 93 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

screensharing makes games unplayable

Hi, I have an Artix dinit system running KDE plasma wayland on an AMD cpu and Nvidia gpu.
Whenever I try to screenshare a game, whether it be through one of the discord clients that support wayland screensharing like vesktop, or screensharing through firefox using discord on web, the game I screenshare becomes completely unplayable. Screensharing will cause the game to stutter like crazy, for every ~0.3 seconds of it running fine it will freeze for around ~1-2 seconds. I have noticed that for some reason this only happens if the game is the focused application and is running in fullscreen. If I continue to screenshare and simply alt-tab to focus on a different window, the game stops stuttering. If I make the game windowed, it stops stuttering. If I run the game under gamescope, it stops stuttering. I really have no clue what could be causing this, any help would be appreciated!

Re: screensharing makes games unplayable

Reply #1
could you provide some more basic info? what gpu? driver version? kernel version and params? pure gayland or xgayland app? do you have nvidia modules preloaded?
cat /etc/modprobe.d/nvidia.conf (or at least a file that modifies nvidia NVReg parameters) vs cat /proc/driver/nvidia/params?

 

Re: screensharing makes games unplayable

Reply #2
could you provide some more basic info? what gpu? driver version? kernel version and params? pure gayland or xgayland app? do you have nvidia modules preloaded?
cat /etc/modprobe.d/nvidia.conf (or at least a file that modifies nvidia NVReg parameters) vs cat /proc/driver/nvidia/params?


My gpu is the 4080, on driver nvidia-open-dkms version 565.57.01-1

kernel is 6.11.7-artix1-1 with parameters of
Code: [Select]
BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e7fd22c2-4c03-492f-8f1b-f7db6fce0506 rw net.ifnames=0 quiet amd_iommu=on iommu=pt nvidia-drm.modeset=1 nvidia-drm.fbdev=1

application doing the screensharing is native wayland and application being screenshared I would assume is running under xwayland, thats the standard for basically every game isn't it?

I have this in my /etc/mkinitcpio.conf to preload the nvidia stuff
Code: [Select]
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)