저는 ubuntu 20에서 3개의 화면 설정, 2개의 수평 27" 1개의 수직 24" 화면으로 nvidia-driver-450을 사용하고 있습니다. 세션이 시작될 때마다 세로 화면 설정이 가로로 되돌아가고 다른 변경 사항도 16:10으로 설정되었을 때 16:9로 되돌려 보았습니다.
변경 사항은 xorg.conf에 저장됩니다.
어떤 아이디어가 있나요?
# 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
답변1
해결 방법은 파일을 복사하면 간단합니다.모니터.xml디렉토리에~gdm/.config/monitors.xml다음 명령을 사용하여:
sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml