You are not logged in.

#1 2018-10-14 21:36:00

bilith
Member
Registered: 2018-10-14
Posts: 6

Nvidia screen tearing and not loading nvidia-settings-rc

Hello,

For couple of weeks I'm struggling with screen tearing problem. I have GTX660 and newest nvidia drivers (nvidia 410.57-4), but I also had this issue with older version of drivers. I'm also using Gnome (Xorg) and two monitors (one DVI and one HDMI if this matters). I did some research and found this post which gave me a "solution". When I run

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

my screens become black for 2 sec (I guess X11 restart) and then the first monitor come back and display desktop, but second wont (still black screen) until I unplug it from graphics card and plug it again (here also my screens become black for 2 sec, X11 restarts again I guess). After that both monitors are displaying desktop and my screen tearing problem is gone untill the next reboot.

I noticed that before issuing this nvidia-settings command CurrentMetaMode looks like that:

$ nvidia-settings -q CurrentMetaMode
Attribute 'CurrentMetaMode' (bilith-arch:1.0): id=50, switchable=yes, source=xconfig :: DPY-4: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DPY-2: nvidia-auto-select @1920x1080 +1920+0 
{ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}

and after:

$ nvidia-settings -q CurrentMetaMode
Attribute 'CurrentMetaMode' (bilith-arch:1.0): id=50, switchable=no, source=RandR :: DPY-4: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceCompositionPipeline=On,
  ForceFullCompositionPipeline=On}, DPY-2: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}

Other problem is that when I change my screen colors settings for my 2nd monitor through nvidia-settings UI, these settings won't load after reboot. However when I issue

nvidia-settings --load-config-only

it's properly loading my config which is in /home/myuser/.nvidia-settings-rc. I'm sure it's loading this config, because this command with --config /home/myuser/.nvidia-settings-rc options works as well.

Please, let me know if you need any additional logs or info. Thank you

Offline

#2 2018-10-15 07:08:13

seth
Member
Registered: 2012-09-03
Posts: 51,253

Offline

#3 2018-10-15 08:55:49

bilith
Member
Registered: 2018-10-14
Posts: 6

Re: Nvidia screen tearing and not loading nvidia-settings-rc

Thank you. It helped with screen tearing. Earlier I tried to add {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On} options to the main xorg.conf, but it didn't solve my issue, so I assumed making custom config won't help either.

As for the second problem with colors settings, where's some script which is loaded when gnome or xorg starts? I thought about some kind of workaround, to simply add "nvidia-settings --load-config-only --config /home/myuser/.nvidia-settings-rc" to this script. However if someone know proper solution, please let me know.

Offline

#4 2018-10-15 13:30:44

seth
Member
Registered: 2012-09-03
Posts: 51,253

Re: Nvidia screen tearing and not loading nvidia-settings-rc

https://wiki.archlinux.org/index.php/GNOME#Autostart

I don't think the CscMatrix has xorg.conf support.

Offline

Board footer

Powered by FluxBB