Bug 34116 - Intel Ironlake in Dell e6510: connecting external display switches panel off
Summary: Intel Ironlake in Dell e6510: connecting external display switches panel off
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg 6.7.0
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Jesse Barnes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 15:51 UTC by manuelcarro
Modified: 2017-07-24 23:06 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Output of the dmesg command (19.25 KB, text/plain)
2011-02-10 13:26 UTC, manuelcarro
no flags Details
Contents of /var/log/dmesg (112.29 KB, text/plain)
2011-02-10 13:27 UTC, manuelcarro
no flags Details
output of xrandr --verbose (7.85 KB, text/plain)
2011-02-10 13:28 UTC, manuelcarro
no flags Details
Contents of the log file of the X server (32.42 KB, text/plain)
2011-02-10 13:28 UTC, manuelcarro
no flags Details
Output of the dmesg command (123.13 KB, text/plain)
2011-02-11 13:08 UTC, manuelcarro
no flags Details
Contents of /var/log/dmesg (110.89 KB, text/plain)
2011-02-11 13:10 UTC, manuelcarro
no flags Details
output of xrandr --verbose (7.85 KB, text/plain)
2011-02-11 13:13 UTC, manuelcarro
no flags Details
Contents of the log file of the X server (30.81 KB, text/plain)
2011-02-11 13:13 UTC, manuelcarro
no flags Details
Kernel boot options (176 bytes, text/plain)
2011-02-11 13:14 UTC, manuelcarro
no flags Details

Description manuelcarro 2011-02-09 15:51:41 UTC
On a Dell e6510, i5, full HD, running the kernel from drm-intel-next: connecting an external display configures the external display automatically but switches off the backlight of the panel and I suspect than the panel itself is also off.  The external display works fine, but I cannot do anything to recover the internal one: changing brigthness does not help, switching to VT1 and back does not work.
Comment 1 Chris Wilson 2011-02-09 15:59:01 UTC
Add drm.debug=0xe to your grub boot parameters and attach the dmesg after connecting the display, the output of xrandr --verbose and Xorg.log
Comment 2 manuelcarro 2011-02-10 13:26:40 UTC
Created attachment 43217 [details]
Output of the dmesg command
Comment 3 manuelcarro 2011-02-10 13:27:21 UTC
Created attachment 43218 [details]
Contents of /var/log/dmesg
Comment 4 manuelcarro 2011-02-10 13:28:03 UTC
Created attachment 43219 [details]
output of xrandr --verbose
Comment 5 manuelcarro 2011-02-10 13:28:39 UTC
Created attachment 43220 [details]
Contents of the log file of the X server
Comment 6 Chris Wilson 2011-02-10 13:44:26 UTC
And have you tried drm-intel-next for the eDP fixes therein?
Comment 7 manuelcarro 2011-02-10 14:50:44 UTC
(In reply to comment #6)
> And have you tried drm-intel-next for the eDP fixes therein?

drm-intel-next is what I have tried.
Comment 8 manuelcarro 2011-02-10 15:23:24 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > And have you tried drm-intel-next for the eDP fixes therein?
> 
> drm-intel-next is what I have tried.

To be more precise, up to commit 139467433e50926d22338e9dc754feaaf94b9db0. 

Upon connection of an external monitor to the VGA output, the VGA port is automatically activated and the external monitor (which has less resolution than the panel) shows the leftmost uppermost part of the panel.  The panel is switched off.  Fn-F8 (to cycle between configurations) switches the external monitor off but does not turn the internal panel on.  At this point the laptop becomes non responsive: ctrl-alt-del (which should bring up a window to turn off the computer) does not seem to do anything; and I cannot switch to vt1.
Comment 9 manuelcarro 2011-02-11 13:08:51 UTC
Created attachment 43267 [details]
Output of the dmesg command

The previous dmesg output was messed up by network messages and I had to filter them out. This made dmesg output not to have all the information since boot.
Comment 10 manuelcarro 2011-02-11 13:10:15 UTC
Created attachment 43268 [details]
Contents of /var/log/dmesg

Contents of /var/log/dmesg corresponding to the now current dmesg.
Comment 11 manuelcarro 2011-02-11 13:13:09 UTC
Created attachment 43270 [details]
output of xrandr --verbose
Comment 12 manuelcarro 2011-02-11 13:13:45 UTC
Created attachment 43271 [details]
Contents of the log file of the X server
Comment 13 manuelcarro 2011-02-11 13:14:15 UTC
Created attachment 43272 [details]
Kernel boot options
Comment 14 Jesse Barnes 2011-02-14 13:16:34 UTC
If you revert dcbe6f2b3d136995915e2f9ecc7d4f3b28f47b6c and 633f2ea26665d37bb3c8ae30799aa14988622653 (in that order) does the problem go away?  I'm pretty sure I'm reproducing it here, and it looks like a PCH refclk problem.
Comment 15 manuelcarro 2011-02-15 08:45:21 UTC
(In reply to comment #14)
> If you revert dcbe6f2b3d136995915e2f9ecc7d4f3b28f47b6c and
> 633f2ea26665d37bb3c8ae30799aa14988622653 (in that order) does the problem go
> away?  I'm pretty sure I'm reproducing it here, and it looks like a PCH refclk
> problem.

Seems to work - thanks a lot. Should I send any other trace to track what is happening now?
Comment 16 manuelcarro 2011-02-15 08:48:48 UTC
(In reply to comment #15)
> (In reply to comment #14)
> > If you revert dcbe6f2b3d136995915e2f9ecc7d4f3b28f47b6c and
> > 633f2ea26665d37bb3c8ae30799aa14988622653 (in that order) does the problem go
> > away?  I'm pretty sure I'm reproducing it here, and it looks like a PCH refclk
> > problem.
> 
> Seems to work - thanks a lot. Should I send any other trace to track what is
> happening now?

One note: pressing Fn-F8 (which in other kernel versions rotate between activating external - cloning - deactivating external) still switches off both screens and locks the machine.  I mean hard locking: it is not that the keyboard does not respond, but also that a "sleep 10; sudo reboot" I left in a shell did not have any effect.
Comment 17 Jesse Barnes 2011-02-22 11:19:47 UTC
Yeah, if the hang still happens when you try the display switch button, please file a new bug.  If you can, set up netconsole and see if your machine spits anything out before it dies; too bad it's a hard hang though, that makes things a lot harder.
Comment 18 manuelcarro 2011-02-24 02:06:45 UTC
(In reply to comment #17)
> Yeah, if the hang still happens when you try the display switch button, please
> file a new bug.  If you can, set up netconsole and see if your machine spits
> anything out before it dies; too bad it's a hard hang though, that makes things
> a lot harder.

I am not sure about filing a new bug. Linus' tree rc6 (commit 4a508dd259f5995b8d31c576b894263f5947d654) plus the patch you pointed at elsewhere (https://bugs.freedesktop.org/attachment.cgi?id=43401) work beatifully - they boot, they suspend and resume, VGA output works, and cycling through display configurations with Fn+F8 works so far.  I haven't tested Linus' tree alone and I haven't re-tested the drm-intel-next branch, but I will today or tomorrow.
Comment 19 manuelcarro 2011-03-04 04:47:21 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > Yeah, if the hang still happens when you try the display switch button, please
> > file a new bug.  If you can, set up netconsole and see if your machine spits
> > anything out before it dies; too bad it's a hard hang though, that makes things
> > a lot harder.
> 
> I am not sure about filing a new bug. Linus' tree rc6 (commit
> 4a508dd259f5995b8d31c576b894263f5947d654) plus the patch you pointed at
> elsewhere (https://bugs.freedesktop.org/attachment.cgi?id=43401) work
> beatifully - they boot, they suspend and resume, VGA output works, and cycling
> through display configurations with Fn+F8 works so far.  I haven't tested
> Linus' tree alone and I haven't re-tested the drm-intel-next branch, but I will
> today or tomorrow.

The drm-intel-next branch has the problem described above (external display behaving incorrectly and locking up when circulating among configurations).  However, Linus' linux-2.6 repository works very well, so I am not sure I should file a bug against drm-intel-next?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.