You are not logged in.
So, here is what I did:
I configured my dual monitors in the nvidia-settings. Set them correctly and saved to "/etc/X11/xorg.conf" (no merging).
Went to "nvidia-settings Configuration", I clicked the "Save Current Configuration" and saved it in $(HOME)/viko with the name ".nvidia-settings-rc".
Added the following lines to the ".xinitrc" file(located in $(HOME)):
nvidia-settings --load-config-only
exec $(get-session)Note: Tried with only the "nvidia-settings", with only "nvidia-settings --load-config-only", tried with "exec nvidia-settings --load-config-only", tried with removing the "exec $(get-session)" in every previous scenario. Nothing worked.
Then rebooted and nothing is saved. In the nvidia-settings the only thing saved is the option "Force Full Composition Pipeline". Nothing more. Arrangement - gone, positioning - gone. I have to redo it every time I reboot my PC.
Any suggestions how to fix it?
Info:
Running GNOME DE
Drivers: nvidia 440.100-2
Config:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 440.100
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/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 "LG Electronics LG FULL HD"
HorizSync 30.0 - 85.0
VertRefresh 56.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"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "HDMI-0: nvidia-auto-select +1920+516, HDMI-1: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSectionLast edited by viko (2020-06-29 07:42:29)
Offline
Welcome to the forum. Please edit your post and use [ code ] tags (not quote tags) when posting output.
https://wiki.archlinux.org/index.php/Co … s_and_code
https://bbs.archlinux.org/help.php#bbcode
Offline
It's probably reset by either the DM or gnome and idk whether re-loading the nvidia settings will actually alter the output config.
Speaking of which: GDM etc. will not use xinitrc, do you use xinit or startx?
Remove the static server config and use a /etc/X11/xorg.conf.d/11-monitor.conf (the identifiers need to match the output names as seen in "xrandr -q")
Section "Monitor"
Identifier "HDMI-0"
Option "Enable" "True"
Option "Primary" "False"
Option "Position" "1920 516"
EndSection
Section "Monitor"
Identifier "HDMI-1"
Option "Primary" "True"
Option "Enable" "True"
EndSectionThe full composition pipeline should™ be active for a dualscreen layout anyway.
Offline