Estoy usando nvidia-driver-450 en ubuntu 20 con una configuración de 3 pantallas, 2 horizontales de 27 "y 1 vertical de 24". Cada vez que comienza una sesión, la configuración de la pantalla vertical vuelve a ser horizontal, así como otros cambios que intenté, como volver a 16:9 cuando estaba configurado en 16:10.
los cambios se guardan en xorg.conf
¿algunas ideas?
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 440.82
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 450.57
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"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung S27H65x"
HorizSync 30.0 - 81.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2070"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-5"
Option "metamodes" "DP-0: nvidia-auto-select +3000+124 {ForceCompositionPipeline=On, AllowGSYNCCompatible=On}, DP-4: nvidia-auto-select +1080+124 {ForceCompositionPipeline=On, AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +0+0 {rotation=right, ForceCompositionPipeline=On, AllowGSYNCCompatible=On}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Respuesta1
La solución es sencilla copiando el archivo.monitores.xmlen el directorio~gdm/.config/monitors.xmlusando el comando:
sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml