[snb DP-to-DVI dongle] miniDP to external monitor with DVI-D via miniDP to DVI-D adapter and blank screen
genpur@o2.pl
Submitted byAssigned to Manasi Navare @mdnavare
Link to original bug (#106596)
Description
Created attachment 139667
logs : dmesg, xrandr, Xorg.0.log
Connection from miniDP port (Intel HD Graphics 3000) to DVI-D input of external monitor (iiyama ProLite E1900S) via miniDP to DVI-D adapter (Startech MDP2DVIS).
Laptop specification:
Dell XPS L502x with Optimus combo
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] (rev ff)
This bug is kind of continuation of https://bugs.freedesktop.org/show_bug.cgi?id=105891
Previous adapter has been tested with your suggestions (different cables and so on). I gave up with previous adapter when I have checked that it doesn't work even with Windows.
Now I have new adapter from Startech. It works with Win10 and Win7sp1. I have installed Win7sp1 on separate disk and external monitor works perfect after installing Intel HD Graphics drivers.
My point is to work with external monitor on Linux without problems. I did many tests and I can separate few cases.
CASE 01) On Linux external monitor is not detected automatically (I have checked many kernels 4.x including the latest 4.16.x)
xrandr
command returns :
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 60.01+ 59.93
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1360x768 59.80 59.96
1152x864 60.00
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
960x600 60.00
960x540 59.99
800x600 60.00 60.32 56.25
840x525 60.01 59.88
800x512 60.17
700x525 59.98
640x512 60.02
720x450 59.89
640x480 60.00 59.94
680x384 59.80 59.96
576x432 60.06
512x384 60.00
400x300 60.32 56.34
320x240 60.05
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
CASE 02) On Linux (kernels <= 4.10.x) it's possible to manually activate external monitor (with some limits pointed below) when system is fully started :
Generated entries with cvt :
"640x480_60.00" 23.75 640 664 720 800 480 483 487 500 -hsync +vsync
"640x480_75.00" 30.75 640 664 728 816 480 483 487 504 -hsync +vsync
"800x600_60.00" 38.25 800 832 912 1024 600 603 607 624 -hsync +vsync
"800x600_75.00" 49.00 800 840 920 1040 600 603 607 629 -hsync +vsync
"1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
"1024x768_75.00" 82.00 1024 1088 1192 1360 768 771 775 805 -hsync +vsync
"1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
"1280x1024_75.00" 138.75 1280 1368 1504 1728 1024 1027 1034 1072 -hsync +vsync
Modes added manually with xrandr :
xrandr --newmode "${entry_xrandr}"
xrandr --addmode "${output}" ${xrandr_mode}
xrandr --output "${output}" --mode ${xrandr_mode}
xrandr
command returns :
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
(...)
DP-1 disconnected (normal left inverted right x axis y axis)
640x480_60.00 59.38
640x480_75.00 74.77
800x600_60.00 59.86
800x600_75.00 74.91
1024x768_60.00 59.92
1024x768_75.00 74.90
1280x1024_60.00 59.89
1280x1024_75.00 74.90
Mode "1280x1024_75.00" activation :
xrandr --output DP-1 --mode 1280x1024_75.00 --right-of LVDS-1
xrandr
command returns :
Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192
(...)
DP-1 disconnected 1280x1024+1920+0 (normal left inverted right x axis y axis) 0mm x 0mm
640x480_60.00 59.38
640x480_75.00 74.77
800x600_60.00 59.86
800x600_75.00 74.91
1024x768_60.00 59.92
1024x768_75.00 74.90
1280x1024_60.00 59.89
1280x1024_75.00 74.90
Question : Why does external monitor works now, but status is "disconnected" ??? Additionally any graphical applications like LXRandR does not allow to change mode of DP-1 to any others. DP-1 is simple not available in this case. Is it normal ?
CASE 03) On Linux (kernels <= 4.10.x) it's possible to activate external monitor (without any limits like in case 02) with grub2 parameters on command line :
drm.debug=0xe video=DP-1:1280x1024@60D
xrandr
command returns :
Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192
(...)
DP-1 connected 1280x1024+1920+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.02*+ 75.02
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
Now everything works perfect. External screen is activated during system start-up even before login manager is shown. Xrandr shows status "connected", graphical applications like LXRandR allows to change to any of all properly discovered modes. Perfect! No questions.
CASE 04) On Linux (kernels >= 4.11.x) it's NOT POSSIBLE to activate external monitor with grub2 parameters on command line :
drm.debug=0xe video=DP-1:1280x1024@60D
xrandr
command returns :
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
(...)
DP-1 connected (normal left inverted right x axis y axis)
I have also tried to manually add modes (like in case 02), but I have got error:
xrandr --output DP-1 --mode 1280x1024_75.00 --right-of LVDS-1
xrandr: Configure crtc 1 failed
xrandr
command returns :
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
(...)
DP-1 connected (normal left inverted right x axis y axis)
640x480_60.00 59.38
640x480_75.00 74.77
800x600_60.00 59.86
800x600_75.00 74.91
1024x768_60.00 59.92
1024x768_75.00 74.90
1280x1024_60.00 59.89
1280x1024_75.00 74.90
Question : Why do the latest kernels (I have checked 4.11 up to 4.17-rc5) not have this functionality ? It's not possible to activate external monitor by no means.
In my opinion normally external monitor should be activated automatically (case 01), but it will be enough if all the kernels >= 4.11.x (case 04) will allow to achieve it, even with extra kernel parameters added to grub2 (like in case 03).
Best regards.
Attachment 139667, "logs : dmesg, xrandr, Xorg.0.log":
system_logs.zip