Screentearing while gaming with nvidia (even with Vsync On)

Hello,
Since im gaming under Linux, im wondering why i have horizontal line at the upper half of the screen when i playing games with Vsync On.

When i search for a fix i read always about the Force Full Composition Pipeline around the nvidia settings, that demands always Max Powerconsumption on the GPU.

So is there anything else what i can do? Why isn’t Vsync not working? Or is there a way how to enable/disable Force Full Composition Pipeline with a simple on/off script?

I wanted to add, that i have absolute no screentearing on my Desktop or when watching Video’s. Im using X11 btw. Its only a gaming problem.

It has been some time since I had Nvidia card.

As I recall you can save the settings to a local configuration file.

This makes it possible to create configuration files per app or something like it, then use the nvidia-settings app to load a configuration from file.

see → [root tip] [How To] Nvidia Settings on Manjaro - #6 by linux-aarhus

1 Like

Hi @Kobold,

Screen tearing appears when your graphic card of the host machine falls out of sync with the monitor connected. Simply put, this happens because of the mismatch frame rate. What does screen tearing look like? It’s when different portions of the image are showing different frames. This is more often seen in fast-moving scenes with multiple objects, for example, racer games, or explosion scenes where the motion requires higher FPS for a smooth presentation.

One of the option is:

Cap the refresh rate

If your monitor does not support the refresh rate coming out from the game, cap the refresh rate so that the image won’t exceed the limit that your monitor can handle. You may find the settings in your game console, the game app, or your computer settings.

Use in-game settings: Many modern games have built-in options to cap your refresh rate. Check the video settings of your game to see if this option is available.

Set up V-sync: V-sync (Vertical Synchronization) is a setting that synchronizes your GPU’s frame rate with your monitor’s refresh rate, preventing screen tearing. Enabling V-sync will cap your frame rate to your monitor’s refresh rate.

Don’t know if it will, but I hope this helps!

1 Like

Thank you both for this Info’s, but that’s not what im looking for.

Isn’t there a General Rule possible? That i can give all 3D Applications the Feature to “Force Full Composition Pipeline”?

I found this command on Youtube:

nvidia-settings --assign CurrentMetaMode=“nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }”

I was think to creating another script to disable it like that to disable it after im done with gaming:

#!/bin/bash
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = Off }"

Related to what Kobold recommends:
I’ve had issues using the command line for setting FullComposition, you can use the tickboxes in NVIDIA settings (if you have it installed) to do the same thing.
NVIDIA Settings >
X Server Display Configuration >
Advanced >
Force Composition Pipeline >
Force Full Composition Pipeline tickboxes.

I’d add that certain games respond better to just Force Composition Pipeline (Eve online, Bioshock for example) whereas other games respond better to both options being used (Warcraft, World of Warships etc.).

All assuming you’ve got refresh rates set right in-game compared to the monitors set refresh rate.

1 Like

Yes, Refresh rates fits on 144Hz with my Monitor.

The problem is that i don’t want to always going in the GUI and playing around. Thats to complicated to always open X Server when open a game and closing a game. A batch script should work much better.

Certain games can be weird, like they’ll have specific limits available in the games options so if the game is currently limiting itself to 60hz and the monitor is 144hz you might get weirdness.

Generally I don’t get issues with modern titles but a few older/obscure games running in wine for example won’t remember the options I’ve set and default to something else each time they’re started.

1 Like

I experience with the Full version already a big latency input with my Mouse Cursor on Desktop… your non Full version don’t has this problems.

The tearing is gone now on my first game that i had started right now :slight_smile:

Do you know if the Watt usage change to max Power consumption as with the Force Full version?

Probably i still need to create my bash script to enable/disable.

Not sure tbh, if it’s just a composition option then I’d assume it doesn’t really do much to power consumption…if anything.

Your framerate/settings are more likely to change power usage from what I understand, a decent modern card might be running a game at 60fps and barely using it’s resources but changing it to 144fps/unlimited could max out the same card…then there’s resolution, rtx and all that.

I know they increase the temperature for me, 60fps max settings would show the card at ~55-60c and when I set framerate to unlimited the temp goes into the 80s. That’s gotta be using more power.

But my card is old so I haven’t looked into it yet.

Force Full should make a big different when the rumors are true, i need to measure the Watt’s on my GPU for myself to verify it.

I have a little problem, im using this command in autostart already:

nvidia-settings -a currentmetamode=“2560x1440_144 { AllowGSYNC=Off }”

Do you know how i can add ForceCompositionPipeline=On to the command line above?

Does this works?

nvidia-settings -a currentmetamode="2560x1440_144 { ForceCompositionPipeline=On, AllowGSYNC=Off }"

Edit: I got it working yaay, if anyone else want to use this command, adjust your Resolution and Hz (2560x1440_144) with your Monitor :slight_smile:

Update: I checked with xserver with Power Mizer the Power Draw difference between ForceCompositionPipeline=On and Off

And on the idle desktop without anything open besides X-Server i have with ForceComp= 21-25Watt and without it 10-11 Watt!

And for that reason im using my Bash scripts now, to switch before i start gaming.

Thanks for the help.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.