You are not logged in.
Using nvidia-settings --load-config-only, I get this error:
Error parsing configuration file '.nvidia-settings-rc' on line 4: 'Section "ServerLayout"' (Unrecognized attribute name).
Th file looks like this:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
#generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/pasux"
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 "Samsung s22f350"
HorizSync 30.0 - 81.0
VertRefresh 50.0 - 75.0
Option "DPMS"
Endsection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1060 3GB"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaulttDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "720x480 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "Off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Last edited by insanoflex (2017-05-07 06:09:29)
Offline
That's an xorg config and no nvidia rc - i'd say you ran nvidias xorg config tool (since you obviously don't know what you're doing and it easily causes trouble: don't) and stored it overriding nvidias settings.
Use the "Save current configuration" button on the "nvidia-settings Configuration" page in nvidia-settings …
Offline
Ok, that makes sense. I save the config on the X configuration page as /etc/xorg.conf and that worked. Thanks!
i'd say you ran nvidias xorg config tool (since you obviously don't know what you're doing and it easily causes trouble: don't)
What's wrong with it? Why shouldn't I use it?
Offline
In the case of of a hybrid graphics system ( using either bumblebee or optimus ) the xorg.conf generated will not work.
In the case of an nvidia only system you have a monolithic xorg containing options that X will ignore or will be provided by autodetection and the useful configuration options could be provided by a smaller conf snippet.
For instance if you remove your systems /etc/Xorg.conf do you notice any difference?
Or to analyze the Xorg.conf from post #1
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Unneeded autodection will provide the same result
Section "Files"
EndSection
Empty section serves no purpoice.
Section "InputDevice"
#generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/pasux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4" "5"
EndSection
Section "InputDevice"
#generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
X will skip you should see a message to that effect in the system's xorg.log
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung s22f350"
HorizSync 30.0 - 81.0
VertRefresh 50.0 - 75.0
Option "DPMS"
Endsection
Section needed if autodetection fails ( if you switch monitors having X set to a different set of values than the monitor supports will cause issues)
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1060 3GB"
EndSection
Unneeded in a system with only a single GPU
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaulttDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "720x480 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "Off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Some of section needed if autodetection fails.
Offline
On top of what loqs said, the better approach is to configure things you want to adjust as configlets in /etc/X11/xorg.conf.d/20-nvidia.conf, eg. to pass
Section "Device"
Identifier "Default nvidia Device"
Driver "nvidia"
Option "NoLogo" "True" # no spam
Option "CoolBits" "24" # possibly more options in nvidia-settings
Option "TripleBuffer" "True" # enforce triple buffered GL, glswap won't block
EndSection
The monlithic /etc/X11/xorg.conf is actually considered deprecated since quite some time.
You can do likewise for the monitor and screen section, in "Monitor" use the label provided by xrandr as Idetifier to match the proper output (eg. "DVI-I-1" or "HDMI0")
Offline
Ah, I see. Thanks for analyzing the script as well, loqs. I learned quite a bit.
Offline
Cool, please always remember to mark a thread as [SOLVED] (edit your first post) once you're fine with the results (to hint others to either skip it or that there might be useful insights to their similar problem)
Offline