У меня есть NVidia GT8600 с двумя подключенными мониторами (один через порт VGA, один через порт компонента). По умолчанию xorg.conf второй монитор (компонент) не обнаруживается, а первый работает с разрешением, которое заставляет монитор выключаться. Вот и пытаюсь настроить их вручную. У меня оба монитора включены, но с неправильным разрешением. Я пробовал создавать модели и т. Д., Но они просто игнорируются, и на обоих мониторах работает неправильное разрешение.
Я хочу, чтобы монитор 0 (ЖК-экран) имел разрешение 800x480 60 Гц, монитор 1 (проектор) 1920x1080 60 Гц, расширенный рабочий стол с монитором 1 справа от монитора 0. Мои две конфигурации xorg:
50-lcd.conf:
# LCD display in SilverStoneTek case
Section "Monitor"
Identifier "LCD"
VendorName "SilverstoneTek"
ModelName "Chassis"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Modeline "800x480_60.00" 29.58 800 816 896 992 480 481 484 497 -HSync +Vsync
EndSection
Section "Device"
Identifier "VGAport"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600 GT"
EndSection
Section "Screen"
Identifier "Screen0"
Device "VGAport"
Monitor "LCD"
DefaultDepth 24
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-0: 800x480_60.00 +0+0, TV-0: 1920x1080_60.00 +0+0"
Option "ConnectedMonitor" "CRT-0, TV-0"
SubSection "Display"
Depth 24
Modes "800x480_60.00" "800x480"
EndSubSection
EndSection
60 -jector.conf:
Section "Monitor"
Identifier "Projector"
VendorName "Sony"
ModelName "VPL-HW20"
HorizSync 15.0 - 600.0
VertRefresh 15.0 - 600.0
Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
Option "dpms"
EndSection
Section "Device"
# do not use the frequencies provided by the monitor edid
Identifier "ComponentPort"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600 GT"
EndSection
Section "Screen"
Identifier "Screen1"
Device "ComponentPort"
Monitor "Projector"
DefaultDepth 24
Option "metamodes" "CRT-0: 800x480_60.00 +0+0, TV-0: 1920x1080_60.00 +0+0"
SubSection "Display"
Depth 24
Modes "1920x1080_60.00" "1920x1080"
EndSubSection
EndSection
, но xrandr показывает, что используются неправильные разрешения, а мои собственные модели даже не отображаются:
Screen 0: minimum 8 x 8, current 1824 x 768, maximum 8192 x 8192
DVI-I-0 connected primary 800x600+0+168 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00 +
800x600 72.19 60.32* 56.25
800x480 60.00
640x480 59.94
512x384 60.00
400x300 72.19
320x240 60.05
DVI-I-1 disconnected (normal left inverted right x axis y axis)
TV-0 connected 1024x768+800+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00*+
800x600 60.01
720x480 60.00
640x480 60.01
640x400 60.00
512x384 60.00
DVI-I-2 disconnected (normal left inverted right x axis y axis)
DVI-I-3 disconnected (normal left inverted right x axis y axis)
Если это важно, Xorg.0.log ссылается на CRT-0 и TV -0, в то время как xranrd называет их DVI-I-0 и TV-0. В Xorg.0.log нет ошибок, и потому что он длинный, я не буду репостить все, но вот несколько странных строк:
[ 3545.187] (II) NVIDIA(0): Setting mode "CRT-0:800x480_60.00+0+0,TV-0:1920x1080_60.00+0+0"
[ 3546.255] (II) NVIDIA(0): Setting mode "DVI-I-0: 800x480_60.00 @800x480 +0+0 {ViewPortIn=800x480, ViewPortOut=800x480+0+0}, TV-0: nvidia-auto-select @1024x768 +800+0 {ViewPortIn=1024x768, ViewPortOut=1024x768+0+0}"
[ 3546.425] (II) NVIDIA(0): Setting mode "DVI-I-0: 800x600_60 @800x600 +0+168 {ViewPortIn=800x600, ViewPortOut=800x600+0+0}, TV-0: nvidia-auto-select @1024x768 +800+0 {ViewPortIn=1024x768, ViewPortOut=1024x768+0+0}"
Похоже, он пытался установить ЖК-дисплей на 800x480, а затем сразу же изменил его на 800x600. Почему? И он даже не пытается установить проектор на 1920x1080, он просто использует nvidia-auto-select. Почему?
Я полагаю, что nvidia получает разрешение на основе EDID с монитора и, таким образом, игнорирует вашу модель. Вы можете добавить опцию игнорирования EDID в разделе «Монитор» вашего xorg.conf. Что-то вроде:
Option "UseEDID" "false"
Option "UseEDIDFreqs" "false"
Option "IgnoreEDID" "true"