У меня есть ноутбук, который способен к управлению 4K, экраны (регулярно управляет экраном 2K). Я пытаюсь, без успеха, заставить это управлять 4K ТВ (LG 55UF7600) через Порт Дисплея к HDMI в (оба способны к 4K передачам). Однако Ubuntu только предлагает 1 080 пунктов как максимальное разрешение, которым она будет управлять по телевизору (через nvidia-settings
и Settings
-> Display
). Я озадачен относительно почему.
Я сделал некоторое чтение и попытался вынудить X отправить путем создания "10-monitor.conf" файла в /usr/share/X11/xorg.conf.d
. Однако это не работало. Файл содержит:
Section "Monitor"
Identifier "Monitor0"
Modeline "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -HSync +VSync
EndSection
Section "Screen"
Identifier "Screen0"
Device "DP-0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "3840x2160" "1920x1080"
EndSubSection
EndSection
Я генерировал Modeline
использование:
cvt 3840 2160 60
# 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
Modeline "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync
Прежде, чем создать 10-monitor.conf
файл, я пытался добавить режим с xrandr
:
xrandr --newmode "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -HSync +VSync
xrandr --addmode DP-0 3840x2160_60.00
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 45
Current serial number in output stream: 46
Я не мог выяснить, что сообщение об ошибке (это не точно полезно непосвященному).
Вот интересные сообщения, в которых я нашел /var/log/Xorg.0.log
:
[ 341.357] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 341.357] (**) NVIDIA(0): device LG Electronics LG TV (DFP-0) (Using EDID
[ 341.357] (**) NVIDIA(0): frequencies has been enabled on all display devices.)
[ 341.358] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-0) contradicts itself:
[ 341.358] (WW) NVIDIA(GPU-0): mode "1920x1080" is specified in the EDID; however, the
[ 341.358] (WW) NVIDIA(GPU-0): EDID's valid VertRefresh range (58.000-62.000 Hz) would
[ 341.358] (WW) NVIDIA(GPU-0): exclude this mode's VertRefresh (30.0 Hz); ignoring
[ 341.358] (WW) NVIDIA(GPU-0): VertRefresh check for mode "1920x1080".
[ 341.358] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-0) contradicts itself:
[ 341.358] (WW) NVIDIA(GPU-0): mode "1920x1080" is specified in the EDID; however, the
[ 341.358] (WW) NVIDIA(GPU-0): EDID's valid HorizSync range (30.000-83.000 kHz) would
[ 341.358] (WW) NVIDIA(GPU-0): exclude this mode's HorizSync (27.0 kHz); ignoring
[ 341.358] (WW) NVIDIA(GPU-0): HorizSync check for mode "1920x1080".
[ 341.358] (WW) NVIDIA(GPU-0): The EDID for LG Electronics LG TV (DFP-0) contradicts itself:
[ 341.358] (WW) NVIDIA(GPU-0): mode "1920x1080" is specified in the EDID; however, the
[ 341.358] (WW) NVIDIA(GPU-0): EDID's valid VertRefresh range (58.000-62.000 Hz) would
[ 341.358] (WW) NVIDIA(GPU-0): exclude this mode's VertRefresh (24.0 Hz); ignoring
[ 341.358] (WW) NVIDIA(GPU-0): VertRefresh check for mode "1920x1080".
[ 369.265] (II) NVIDIA(0): Setting mode "NULL"
[ 369.535] (II) NVIDIA(0): Setting mode "DP-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
Мое предположение - то, что ТВ отправляет несправедливости EDID, утверждая только поддерживать 1 080 пунктов. Я пытался добавить эту опцию к моему 10-monitor.conf
файл:
Option "UseEDID" "FALSE"
Но это просто уничтожило X. Это не запустилось бы вообще ("синий" экран, никакой вход в систему).
Я пытался использовать get/parse-edid программное обеспечение, но я не должен использовать его правильно, потому что я не мог получить EDIDs.
Для пользы полноты мой вывод xrandr:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
1920x1080 60.0*+ 59.9 30.0 24.0 60.1 60.0
1360x768 60.0
1280x1024 60.0
1280x720 60.0 59.9
1152x864 60.0
1024x768 60.0
800x600 60.3
720x480 59.9
640x480 60.0 59.9 59.9
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 60.0*+ 40.0
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
DP-6 disconnected (normal left inverted right x axis y axis)
3840x2160_60.00 (0x335) 712.8MHz
h: width 3840 start 4160 end 4576 total 5312 skew 0 clock 134.2KHz
v: height 2160 start 2163 end 2168 total 2237 clock 60.0Hz
smm@smmlaptop:/usr/share/X11/xorg.conf.d$ xrandr --addmode DP-0 3840x2160_60.00
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 45
Current serial number in output stream: 46
smm@smmlaptop:/usr/share/X11/xorg.conf.d$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
1920x1080 60.0*+ 59.9 30.0 24.0 60.1 60.0
1360x768 60.0
1280x1024 60.0
1280x720 60.0 59.9
1152x864 60.0
1024x768 60.0
800x600 60.3
720x480 59.9
640x480 60.0 59.9 59.9
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 60.0*+ 40.0
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
DP-6 disconnected (normal left inverted right x axis y axis)
3840x2160_60.00 (0x335) 712.8MHz
h: width 3840 start 4160 end 4576 total 5312 skew 0 clock 134.2KHz
v: height 2160 start 2163 end 2168 total 2237 clock 60.0Hz
Любая справка значительно ценится!Заранее спасибо.
У меня есть 55 дюймов 4K ТВ Samsung и портативный компьютер Acer 4K оба с портом HDMI. У меня есть два различных HDMI-кабели. Это не работало с одним, но работало отлично с другим. Просто попытайтесь измениться на лучший кабель.