You are not logged in.
Pages: 1
First I'm sorry if this has been addressed before. I've been at it for hours. Google, Wiki, Nvidia all suggest things that don't work (at least for me).
How do I make Nvidia settings persistent after each reboot? This seems so simple but I just can't get it work...
I'm using xfce4 and lightdm,
- I've tried saving a config file using nvidia-settings to ~/.nvidia-settings.rc and it doesn't work; "nvidia-settings --load-config-only" doesn't load the configuration.
- I've tried saving a config file to another location and "nvidia-settings --load-config-only --config=/path/to/file" doesn't load the configuration.
- I've tried saving a config file to /etc/X11/xorg.conf.d/20-nvidia.conf and the screen hangs after lightdm user login.
- I've tried saving a config file to /etc/X11/xorg.conf and the screen hangs after lightdm user login.
- I've also tried several configuration files (the whole file as saved by nvidia-settings and the reduced version suggested by the arch wiki). None of them produce any results.
Is there something obvious that I'm missing?
Thank you!
Last edited by unnilquadium (2018-10-01 09:25:41)
Offline
What exactly are you changing and expecting to persist? Where did you add the nvidia-settings command while going that route? What do your not working xorg.confs/logs look like?
Offline
I'm trying to set Force Full Compostion Pipeline persistent to avoid screen tearing.
I ended up creating a script with "nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }" and executing that at login.
I'm marking this as solved, but I didn't solve it in any of ways suggested by the wiki or by nvidia-settings readme.
Here is the configuration file that's created by nvidia-settings and doesn't work:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 410.57
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Acer P203W"
HorizSync 31.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 660"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "CRT-0"
Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSectionI've also tried with this short version (suggested by the wiki) without success:
Section "Screen"
Identifier "Screen0"
Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
Option "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on"
EndSectionThank you.
Offline
I had the exact same issue when I was using Linux Mint Cinnamon DE.... there, using nvidia settings UI tool, I checked ForceCompositionPipeline under advance and then selected the save new configuration file as .nvidia-settings-rc in my home directory. With nvidia-settings installed.. it looks for that rc file for the user. (I can't recall if I had to edit an X11 conf somewhere to source that rc file or not)
Sorry this is not exactly helpful but the rc file was all I had to do in the past to make it stick.... but I always used the file generated by nvidia-settings
For me (now) In Arch...... something magical happened and I don't know what and would love to understand it.. but all I did when initially setting it up was install the "nvidia" group and then installed xorg-server and i3-gaps. Once up and running along with chrome installed... I expected to have the same tearing issue... because I "Always" have had the tearing issue with nvidia in several different distros (but all debian based)... however I didn't/don't and never got around to even installing nvidia-settings and haven't touched a thing past my initial install of the drivers. (of course I am knocking on my wood desk while typing this)
I believe it mostly has to do with what compositor is being used.... although, in my case which is compton, I copied my compton.conf from my Mint/I3 setup as a starting point.. but didn't have to change it... but in had tearing in Mint/I3 but no Tearing in Arch/I3.
Last edited by grininmonkey (2018-10-01 19:59:56)
Offline
Yeah, probably compton behaves a little better than Xfwm, which is the one that I use.
Anyway, it’s solved now... But thank you for your post.
Offline
Pages: 1