Bug 99641

Summary: External monitor attached to minidisplay port does not work
Product: Drivers Reporter: GiulioDP (depasquale.giulio)
Component: Video(DRI - Intel)Assignee: intel-gfx-bugs (intel-gfx-bugs)
Status: RESOLVED INVALID    
Severity: blocking CC: ander.conselvan.de.oliveira, intel-gfx-bugs
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.0.4, 4.0.5 Subsystem:
Regression: No Bisected commit-id:
Attachments: xrandr
xorg log
lspci -k | grep -i vga
lshw -c display
kernel config
dmesg with drm.debug=0xe
Bug picture (green stripes)

Description GiulioDP 2015-06-08 14:58:32 UTC
Created attachment 179111 [details]
xrandr

I attached several monitors to my laptop through a VGA connection successfully. I can't say that when I attach one to the minidisplay port though. The monitor just shows a black screen; the only method which actually allows me to see something on the screen is changing the resolution. Sometimes it works (on 640x480 everything seems ok), sometimes not. Although, the video output is scrambled with visible graphic glitches (a lot of horizontal green lines) and vsync problems.

I tested this bug on several distros: Ubuntu 14.04, 14.10, 15.04 and my daily one, Gentoo.
Comment 1 GiulioDP 2015-06-08 14:59:04 UTC
Created attachment 179121 [details]
xorg log
Comment 2 GiulioDP 2015-06-08 15:01:01 UTC
Created attachment 179131 [details]
lspci -k | grep -i vga
Comment 3 GiulioDP 2015-06-08 15:03:50 UTC
Created attachment 179141 [details]
lshw -c display
Comment 4 GiulioDP 2015-06-08 15:04:57 UTC
Created attachment 179151 [details]
kernel config
Comment 5 Ander Conselvan de Oliveira 2015-06-22 14:05:23 UTC
Please add drm.debug=0xe to your kernel command line and attach the output of dmesg from boot.

Also, a picture of the glitches you see might be helpful.
Comment 6 GiulioDP 2015-06-22 18:56:03 UTC
Created attachment 180561 [details]
dmesg with drm.debug=0xe

Here I've attached the external monitor ~30 seconds after the boot. I changed various resolutions (all of them ended up in a black screen) until I got a glitchy one (picture attached).
Comment 7 GiulioDP 2015-06-22 18:57:17 UTC
Created attachment 180571 [details]
Bug picture (green stripes)
Comment 8 Ander Conselvan de Oliveira 2015-06-23 07:18:16 UTC
Your log got truncated. Could you add log_buf_len=1M to the kernel command line and try again?

Also, I have seen similar glitches caused by a faulty cable/adapter. It would be good to rule out any cable issues first if possible.
Comment 9 GiulioDP 2015-06-27 13:45:29 UTC
I can confirm that was a cable issue. I bought an active one and now everything works perfectly. I'm sorry for having wasted your time.