Screen Tearing for nvidia FIX

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Post Reply
Message
Author
User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Screen Tearing for nvidia FIX

#1 Post by KoO »

To stop screen tearing Nvidia

This must be done with the command line from su = Root

enter super user mode
$ su + password then type nvidia-settings

Open: NVIDIA X Server Settings -> X Server Display Configuration go to Advanced... ->

Select Force Full Composition Pipeline set-> ViewPortOut -> 1920x1080+0+0 <<<< what ever your display resolution is >>>>>>

click apply

Save to X configuration File Done!

I have tried this and it works for me..
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
Eadwine Rose
Administrator
Posts: 11962
Joined: Wed Jul 12, 2006 2:10 am

Re: Screen Tearing for nvidia FIX

#2 Post by Eadwine Rose »

There have been posts about this before. ;)

When the settings cannot be saved to X (due to absence of an xorg.conf file) the solution is to add this line to sessions and startup:

Code: Select all

nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
This code is also not dependent on the resolution of the monitor, nor the port it is connected to.
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Jerry3904
Administrator
Posts: 21943
Joined: Wed Jul 19, 2006 6:13 am

Re: Screen Tearing for nvidia FIX

#3 Post by Jerry3904 »

Just to check ER: you mean set up an autostart in Session and Startup with that as the command, right?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Eadwine Rose
Administrator
Posts: 11962
Joined: Wed Jul 12, 2006 2:10 am

Re: Screen Tearing for nvidia FIX

#4 Post by Eadwine Rose »

yep

I have that exact line in an entry in there.
nvidia.jpg

Ehm.. yeah.. usually when you clicked on it it would become big enough so it could be READ.

Anyway.. that is the code and I put SceenTearingFix in the name field.
You do not have the required permissions to view the files attached to this post.
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
WyCKyD
Posts: 21
Joined: Sun Apr 14, 2019 2:20 am

Re: Screen Tearing for nvidia FIX

#5 Post by WyCKyD »

I have tried the above with no resolution to my screen tearing issue. Is there something else that I could possibly try?
Thanks,
WyCKyD
The thing with Linux is that the developers themselves are actually customers too: that has always been an important part of Linux. - Linus Torvalds

User avatar
manyroads
Posts: 2623
Joined: Sat Jun 30, 2018 6:33 pm

Re: Screen Tearing for nvidia FIX

#6 Post by manyroads »

WyCKyD wrote: Sun Apr 14, 2019 2:00 pm I have tried the above with no resolution to my screen tearing issue. Is there something else that I could possibly try?
Thanks,
WyCKyD
You can try changing your compositor from xfwm4 (assuming you are using xfwm4) to compton or compiz or kwin one of them might work. :crossfingers:
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
Stevo
Developer
Posts: 12837
Joined: Fri Dec 15, 2006 8:07 pm

Re: Screen Tearing for nvidia FIX

#7 Post by Stevo »

WyCKyD wrote: Sun Apr 14, 2019 2:00 pm I have tried the above with no resolution to my screen tearing issue. Is there something else that I could possibly try?
Thanks,
WyCKyD
Can you give us the output of

Code: Select all

inxi -G
so we can see what hardware and driver you're dealing with?

User avatar
WyCKyD
Posts: 21
Joined: Sun Apr 14, 2019 2:20 am

Re: Screen Tearing for nvidia FIX

#8 Post by WyCKyD »

Code: Select all

Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 390.87 
           Display: x11 server: X.Org 1.19.2 driver: nvidia resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 390.87
I guess it would be better described as artifacts instead of tearing. Here is a picture of what I am talking about...
You do not have the required permissions to view the files attached to this post.
The thing with Linux is that the developers themselves are actually customers too: that has always been an important part of Linux. - Linus Torvalds

User avatar
manyroads
Posts: 2623
Joined: Sat Jun 30, 2018 6:33 pm

Re: Screen Tearing for nvidia FIX

#9 Post by manyroads »

I'm not certain what the problem is; what I see looks like you have Dock Shadows set "On" I have attached settings that might fix the problem. See attached:
Screenshot_2019-04-14_19-15-44.png
You do not have the required permissions to view the files attached to this post.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
WyCKyD
Posts: 21
Joined: Sun Apr 14, 2019 2:20 am

Re: Screen Tearing for nvidia FIX

#10 Post by WyCKyD »

I tried the changes and turned the dock shadows off. Unfortunately, it didn't solve the issue. I did notice that when exiting the game of WoW that the menus and everything else besides the gameplay looks great, it is just when you select a character and are in the open world that the artifacts are there (really bad, that it is unplayable. I do appreciate all of the suggestions and am trying everything that is thought of.
Thanks,
WyCKyD
The thing with Linux is that the developers themselves are actually customers too: that has always been an important part of Linux. - Linus Torvalds

Post Reply

Return to “Tips & Tricks by users”