Skip to contentSkip to conversation

New: Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

Bug 39882 [email protected] 1 participant 12 messages Aug 6, 2011 – Aug 23, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=39882

Summary: Regression: Plugging in a HDMI connector makes the LCD
of X120e go dark
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

When I plug in my external TFT monitor while my X120e is in use, the laptop's internal LCD immediately goes dark - yet I don't have a picture on the TFT.

I first noticed this with kernel 3.0.0, this is fully reproducible also on 3.0.1. Since I did not remember this happening before, I tested with an older kernel (Ubuntu's 2.6.38, but should not make a difference), and indeed: with 2.6.38 the internal LCD stays on (which is the expected behavior).

The TFT is connected via a HDMI-to-DVI cable. Userspace is Xubuntu 11.04 with xorg-edgers PPA.

At a first glance, I do not see anything interesting in either dmesg or Xorg.log when this happens. Note: the machine does not hang, since I can still (blindly) launch a terminal and make the machine restart - for which I briefly get a picture on the LCD again after XOrg shutdown.

I am attaching lspci and a dmesg/Xorg.log below - please let me know if I can help with anything else (I can easily test kernel patches).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

https://bugs.freedesktop.org/show_bug.cgi?id=39882

--- Comment #1 from [email protected] 2011-08-06 06:28:25 PDT --- Created an attachment (id=49992)
--> (https://bugs.freedesktop.org/attachment.cgi?id=49992)
lspci of Lenovo X120e

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=39882

--- Comment #2 from [email protected] 2011-08-06 06:31:57 PDT --- Created an attachment (id=49993)
--> (https://bugs.freedesktop.org/attachment.cgi?id=49993)
dmesg (nothing interesting after HDMI insertion)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=39882

--- Comment #3 from [email protected] 2011-08-06 06:33:29 PDT --- Created an attachment (id=49994)
--> (https://bugs.freedesktop.org/attachment.cgi?id=49994)
Xorg.log (HDMI insertion happened just before 906.688)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=39882

--- Comment #4 from Alex Deucher <[email protected]> 2011-08-06 07:27:46 PDT --- Can you bisect? If I had to guess, it's probably one of the display rework patches added in 3.0. Does a VT switch help?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=39882

--- Comment #5 from [email protected] 2011-08-06 12:26:19 PDT --- Sorry, I tried bisecting, but defconfig does not boot here.. and my normal config takes ages for a full rebuild.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=39882

--- Comment #6 from [email protected] 2011-08-10 17:03:12 PDT --- Regarding VT switching: When I press Ctrl+Alt+F1 after plugging in I do get a picture again on the internal LCD.. when I then press Ctrl+Alt+F7 I am even properly back in X.

Thanks

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=39882

--- Comment #7 from Alex Deucher <[email protected]> 2011-08-12 14:45:34 PDT --- It's a bad interaction between modesetting and hotplug. I'm working on a patch.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=39882

--- Comment #8 from Alex Deucher <[email protected]> 2011-08-13 10:28:00 PDT --- Created an attachment (id=50185)
View: https://bugs.freedesktop.org/attachment.cgi?id=50185
Review: https://bugs.freedesktop.org/review?bug=39882&attachment=50185

fix

This patch fixes the issue.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=39882

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Alex Deucher <[email protected]> 2011-08-17 11:21:36 PDT --- The patch works for me. If you still have issues, please reopen.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=39882

--- Comment #10 from [email protected] 2011-08-19 18:31:55 PDT --- Sorry that it took a bit long, but I confirm this as being fixed. (Thanks!)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 39882] Regression: Plugging in a HDMI connector makes the LCD of X120e go dark

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=39882

--- Comment #11 from Florian Mickler <[email protected]> 2011-08-23 13:18:55 PDT --- A patch referencing this bug report has been merged in Linux v3.1-rc3:

commit d5811e8731213f80c80d89e980505052f16aca1c

Author: Alex Deucher <[email protected]>
Date:   Sat Aug 13 13:36:13 2011 -0400

drm/radeon/kms: don't try to be smart in the hpd handler

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.