Screen tearing issue

Hi folks,

I just installed this OS a couple of days ago and I like it very much. One issue I have run into is that I have a lot of noticable screen tearing both in Brave web browser and in games. I have been trying to fiddle with the frame rate and vsync settings in the games but nothing is solving the issue. My GPU is the Nvidia 1660 super and I’m using XFCE for the environment. What can I do to get to the cause of this problem?

do correct the topic please :roll_eyes:

What do you mean? I am new here.

new or not – no question :winking_face_with_tongue:

the headline is terrible!

Screen tearing with Nvidia graphics cards, particularly with XFCE, is a known issue. XFCE’s native compositor (xfwm4) uses Xrender, which ‘historically’ has limited VSync support with Nvidia cards and Direct Rendering Manager mode-setting may not be enabled, which prevents PRIME synchronization from working correctly. Often applies to systems with hybrid graphics or external displays. There’s also Nvidia’s “ForceFullCompositionPipeline" that forces all compositing through the gpu’s graphics pipeline vs dedicated display hardware, which can eliminate tearing. I suggest to try (or look into):

enable DRM modesetting (create: /etc/modprobe.d/nvidia.conf, and add: options nvidia-drm modeset=1. Now update initramfs: sudo mkinitcpio -P. Reboot and verify: cat /sys/module/nvidia_drm/parameters/modeset which should return ‘Y’.

See if this works, else try (temporary): nvidia-settings --assign CurrentMetaMode=“nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }”.

There are more flavors and options, but try above first.

1 Like

nice guy, deleting the garbage without a hint :+1:

Thank you, I will try this out once I get home this evening.