
xorg.conf 파일에서 실제 그래픽 장치를 참조하는 방법을 파악하는 데 문제가 있습니다.
우분투 22.04 마테
zrandr를 사용하면 None-1: HDMI-1-1: 두 가지 출력을 얻습니다.
(실수로 None-1은 물리적으로 어떤 것에도 연결되지 않고(연결되지 않은 내부 MIPI 디스플레이) 어떤 이유로든 기본값이며 Xorg가 HDMI 포트에 표시되도록 할 수 없습니다.)
그렇다면 어떤 섹션에서 HDMI-1-1을 참조하고 이를 기본값으로 설정해야 합니까?
나는 이것을 읽고 있습니다 :https://www.oreilly.com/library/view/x-power-tools/9780596101954/ch04.html
하지만 섹션과 실제 장치 사이의 연결이 보이지 않습니다!
후속 조치:
xorg.conf에 일부 모니터 섹션을 추가하려고 시도했지만 xrandr에는 변경 사항이 없습니다.
Section "Device"
Identifier "DRM Graphics Acclerated"
## Use modesetting and glamor
Driver "modesetting"
Option "AccelMethod" "glamor" ### "glamor" to enable 3D acceleration, "none" to disable.
Option "DRI" "2"
Option "Dri2Vsync" "true"
Option "TripleBuffer" "True"
## End glamor configuration
EndSection
Section "Screen"
Identifier "Default Screen"
SubSection "Display"
Depth 24
EndSubSection
Monitor "Default Monitor"
EndSection
Section "Monitor"
Identifier "Default Monitor"
Option "Monitor-HDMI-1-1" "HDMI monitor"
Option "Primary"
Option "Enable" "1"
EndSection
Section "Monitor"
Identifier "Unused Monitor"
Option "Monitor-None-1" "None monitor"
Option "Ignore" "1"
EndSection
xrandr 출력:
Screen 0: minimum 320 x 200, current 720 x 576, maximum 4096 x 4096
None-1 connected primary 720x576+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
720x576 60.00*+
HDMI-1-1 connected (normal left inverted right x axis y axis)
2560x1440 59.95 +
1920x1080 60.00 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1400x1050 59.95
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 66.67