Bug 692759 - [CEDAR] Boot laptop with external monitor, then remove VGA plug and suspend/resume => blank screen
Summary: [CEDAR] Boot laptop with external monitor, then remove VGA plug and suspend/r...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 15
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: [cat:suspend]
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-01 04:41 UTC by Luke Hutchison
Modified: 2018-04-11 07:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 14:40:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Garbled screen after resumiung from suspend (4.57 MB, image/png)
2011-05-17 11:54 UTC, Wes
no flags Details
Xorg.0.log (175.43 KB, text/plain)
2011-05-17 11:57 UTC, Wes
no flags Details
Dmesg log (71.96 KB, text/plain)
2011-05-17 11:58 UTC, Wes
no flags Details
Messages (110.68 KB, text/plain)
2011-05-17 12:04 UTC, Wes
no flags Details

Description Luke Hutchison 2011-04-01 04:41:49 UTC
If my Toshiba laptop was initially booted with an external monitor plugged into the VGA port, and the VGA cable is later unplugged, then when the laptop is suspended/resumed, the laptop's built-in screen comes back blank. This makes it impossible to have the laptop set up with an external monitor and "grab it and go", because after unplugging and suspending there's no way using just the laptop of turning the built-in screen back on:

-- I can't bring the screen back on with Fn+F5 which is the normal video pipe switch key combination.

-- If I manually plug the VGA adapter back in (=> laptop panel stays black) and *then* when go Fn+F5, I can cycle through the various pipe modes and eventually get the laptop screen back again. 

Note that on this laptop:

(1) If the VGA plug is *not* plugged in when the laptop boots, xrandr can't ever enable the VGA pipe, and hotplugging the monitor fails to produce an image on the external monitor.  So I have to reboot with the VGA plug in if I ever want to operate an external monitor or projector.

(2) Generally once I have booted with the VGA cable attached and entered a graphical mode, I can pull out the cable and plug it back in again at will => hotplugging works (as long as I don't suspend).


Smolt profile:
http://www.smolts.org/client/show/pub_23bfefe1-3686-445b-a57b-7a661a3325f6


Version-Release number of selected component (if applicable):
Fedora 15 Alpha (power test day snapshot)


How reproducible:
100%


[I also noticed that if the VGA-out is plugged into an external monitor when the lid is closed, the laptop does not suspend -- I expect this is by design to prevent unintentional suspending?]

Comment 1 Luke Hutchison 2011-04-01 04:57:54 UTC
See also Bug 692761.

Comment 2 Matěj Cepl 2011-04-04 21:34:54 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 3 Wes 2011-05-17 11:54:04 UTC
Created attachment 499320 [details]
Garbled screen after resumiung from suspend

Comment 4 Wes 2011-05-17 11:55:59 UTC
I am experiencing similar behaviour, but my screen is more garbled than blank (see attachment).

I am also attaching the requested info

Comment 5 Wes 2011-05-17 11:57:23 UTC
Created attachment 499322 [details]
Xorg.0.log

Comment 6 Wes 2011-05-17 11:58:47 UTC
Created attachment 499324 [details]
Dmesg log

Comment 7 Wes 2011-05-17 12:04:19 UTC
Created attachment 499325 [details]
Messages

Comment 8 Wes 2011-05-18 09:05:44 UTC
I have experimented with this and it is 100% reproducible.  It also happens if I use a HDMI->DMI cable in the HDMI socket (obviously) as well as with a standard DSUB cable.

Comment 9 Wes 2011-05-31 10:59:35 UTC
This bug is no NOT experienced with a fresh install of Fedora 15/KDE.

Comment 10 Nikolai Maziashvili 2011-07-03 08:50:18 UTC
(In reply to comment #9)
> This bug is no NOT experienced with a fresh install of Fedora 15/KDE.

I have fresh KDE/F15 install and this bug is reproducible. When i plug in to VGA external monitor i get pop up message asking me if i want to configure external monitor. I choose to activate external and deactivate native laptop screen. When i unplug VGA connector (and want to sit on the couch :) i left with black screen. 
I have to reboot after that.

Comment 11 Nikolai Maziashvili 2011-07-14 16:34:46 UTC
Couple of days ago i tested laptop with Gnome3 (F15) and i couldn't reproduce this any more.
I plugged in VGA cable attached to external monitor, i was greeted with monitor selection menu on my laptop screen. I have chosen to activate external monitor and deactivate laptop screen.
GDM session jumped to external monitor asking me if i wanted to keep this settings. After confirming it i could go on with my work.
Then i just unplugged my external monitor from laptop and GDM session jumped back to the laptop screen without a glitch.
When i rebooted laptop and plugged in external monitor GDM session jumped immediately to the external screen.
I have suspended laptop while external monitor plugged on VGA and after bringing laptop back from suspension i got GDM session back on external screen as (hoped) expected.
I ran another test. Suspended laptop while external monitor was attached to it, put laptop to suspend, unplugged monitor and then woke laptop up. GDM screen jumped to laptop screen....Nice. 
At least in my case it looks like specific KDE issue.

Comment 12 Luke Hutchison 2011-07-14 17:20:02 UTC
It's a GNOME3 issue, not a KDE issue for me.

Comment 13 Nikolai Maziashvili 2011-07-14 22:45:37 UTC
(In reply to comment #12)
> It's a GNOME3 issue, not a KDE issue for me.

soooo....wonna exchange problems? :)

Comment 14 Fedora End Of Life 2012-08-07 14:40:10 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.