Jump to content

screen tearing in games.

so in Ubuntu on my main pc (specs in signature) i get screen tearing even though vsync is on in the games. 

 

i already tried updating the kernel to the latest one because i have an amd gpu, and that did help with a bit of stuttering that was also occurring, but not with the tearing. 

She/Her

Link to comment
Share on other sites

Link to post
Share on other sites

Does your game have vsnyc option enable? 

Sudo make me a sandwich 

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, wasab said:

Does your game have vsnyc option enable? 

yes, it is enabled

She/Her

Link to comment
Share on other sites

Link to post
Share on other sites

Are you running those games in fullscreen? 

Link to comment
Share on other sites

Link to post
Share on other sites

26 minutes ago, Lukyp said:

Are you running those games in fullscreen? 

yes

She/Her

Link to comment
Share on other sites

Link to post
Share on other sites

Are you sure you don't have some global option enabled for disabling vsync? You could try to force it with this command before the game you would like to run

vblank_mode=1

If you want to enable that for a single steam game
image.png.fa1672b2ccf4843bebe23b8133ddd4f2.png

Or just run vblank_mode=1 steam

Also make sure you are running X instead of Wayland. X is better for games.

You could also try to enable the vsync globally if that didn't work with the TearFree option in Xorg
The fastest way is to edit an Xorg amdgpu/radeon file in /etc/X11/xorg.conf.d/20-radeon.conf with that option inside, something like that

Section "Device"
	Identifier  "Radeon"
	Driver "radeon"
        Option "TearFree" "on"
EndSection

I don't know if the "Radeon" identifier is correct, maybe it is amdgpu. I don't have an amd card in linux since a lot of time honestly

You could try this identifier instead if that doesn't work, and make sure DRI3 is enabled with that option (Just try it if you need it)

 

Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
     Option "DRI" "3" 
     Option "TearFree" "on"
 EndSection

(the file name doesn't matter)


If you have problems just use an editor or delete the file from a tty with CTRL+ALT+F3

Also make sure you are running X instead of Wayland. X is better for games.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×