Bug 1052248 - After unplugging external monitor laptop left with black screen
Summary: After unplugging external monitor laptop left with black screen
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau
Version: 20
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Skeggs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-13 14:21 UTC by Oskar Berggren
Modified: 2017-11-08 17:55 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 14:25:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
lspci on intel (23.89 KB, text/plain)
2014-03-10 16:51 UTC, Marius Andreiana
no flags Details
output from "lspci -v" (9.57 KB, text/plain)
2014-04-17 13:09 UTC, Jim Shepherd
no flags Details
output from "xrandr --verbose -q" (5.11 KB, text/plain)
2014-04-17 13:10 UTC, Jim Shepherd
no flags Details
output from "Xorg -configure :1" (1.36 KB, text/plain)
2014-04-17 13:11 UTC, Jim Shepherd
no flags Details
Resulting config file from "Xorg -configure :1" (8.76 KB, text/plain)
2014-04-17 13:12 UTC, Jim Shepherd
no flags Details

Description Oskar Berggren 2014-01-13 14:21:01 UTC
Description of problem:
When the external monitor (HDMI) is disconnected, the laptop screen goes black and stays that way.

Version-Release number of selected component (if applicable):
xorg-x11-drv-nouveau.x86_64            1:1.0.9-2.fc20


How reproducible:
Always.


Steps to Reproduce:
1. Start with laptop screen only. Works as expected
2. Pluging an external monitor (in my case same resolution and using HDMI).
3. Based on previous usage the external monitor is detected and automatically
   configured as primary monitor, while the laptop becomes secondary. These
   settings have been selected previously using the Gnome Display settings.
4. Unplug the external monitor. Now the laptop screen goes black/blank.

At this point it's possible to reconnected the external monitor to bring back the correct view on both monitors.

Actual results:
When the external monitor (HDMI) is disconnected, the laptop screen goes black and stays that way.

Expected results:
When the external monitor (HDMI) (configured as primary) is disconnected, the laptop screen should remain active, and revert to being the primary one (i.e. the GNOME activites bar should move back to the laptop screen.

Additional info:
Both screens are 1920x1080. The screen layout is that the laptop screen is secondary, and on the left. The external monitor is primary and to the right of the laptop screen. Since they have the same resolution, the upper and lower edged align exactly.


Possibly related:
Bug #718461 - [Arrandale] After unplugging external monitor laptop left with black screen 
https://bugs.freedesktop.org/show_bug.cgi?id=48386
https://bugs.kde.org/show_bug.cgi?id=312410

Comment 1 Marius Andreiana 2014-03-10 16:50:22 UTC
Same for me, but I'm on an Intel chip and plugging external monitor back has no effect.

Should I file a new bug, or change this one to a more generic component?

Comment 2 Marius Andreiana 2014-03-10 16:51:34 UTC
Created attachment 872798 [details]
lspci on intel

Comment 3 Jim Shepherd 2014-04-11 02:48:07 UTC
Same issue. Unplugged external monitor and now laptop display is blank even after reboot. Only way to get it back is to connect external monitor then press ctrl-alt-F2 to get text screen then ctrl-alt-F1 to get back gnome shell. Seems like a bad state had been saved somewhere or a file got corrupted. Worked fine even with various external monitors until today.

Comment 4 Jim Shepherd 2014-04-11 15:10:14 UTC
A little more detail:

Boot Fedora with no external displays. Grub and the initial gui bootup show up fine on the laptop display. Right before the login screen, the laptop display goes blank. Even pressing Ctrl-Alt-F2 will not bring up a text display. Have not found any way to activate the laptop display without plugging in an external monitor.

Once an external monitor is plugged in, the login screen / desktop shows up fine on the external monitor as the secondary display, but the laptop screen (primary display is still blank). Ctrl-Alt-F2 will bring up text on external monitor but still not laptop screen.

To get the laptop screen to work, must get into gnome settings to make the external monitor primary display, then cycling Ctrl-Alt-F2 / Ctrl-Alt-F1 will enable the laptop screen. Once the laptop screen is on, the laptop screen can then be made the primary display and after another Ctrl-Alt-F2 / Ctrl-Alt-F1 cycle, the laptop screen will still be active.

Unplugging the external monitor at any time will cause the laptop screen to go blank again and cannot be reactivated without connecting an external monitor.

Let me know what configuration files or output I can provide to help with debugging. The laptop is unusable if I cannot find a monitor to attach to.

Comment 5 Jim Shepherd 2014-04-17 13:08:14 UTC
Attached output from a shell after the laptop display is enabled and external monitor disconnected: "Xorg --configure :1", "xrandr --verbose -q", and "lspci -v".

Let me know if I can provide any further information. Thanks.

Comment 6 Jim Shepherd 2014-04-17 13:09:37 UTC
Created attachment 887185 [details]
output from "lspci -v"

Comment 7 Jim Shepherd 2014-04-17 13:10:15 UTC
Created attachment 887186 [details]
output from "xrandr --verbose -q"

Comment 8 Jim Shepherd 2014-04-17 13:11:24 UTC
Created attachment 887187 [details]
output from "Xorg -configure :1"

Comment 9 Jim Shepherd 2014-04-17 13:12:17 UTC
Created attachment 887188 [details]
Resulting config file from "Xorg -configure :1"

Comment 10 foddex 2014-05-10 10:24:13 UTC
Had the exact same issue with a Lenovo Z710 laptop in Fedora 20. This was permanently fixed by taking the following steps:
- go into the BIOS and set "Optimus dGPU device" to "UMA only"
- reboot into Linux (YMMV, I had no screen activity whatsoever)
- restart and go into BIOS again
- switch "Optimus dGPU device" back to "Optimus Graphic"
- reboot, everything works again!

Comment 11 Jim Shepherd 2014-05-15 14:40:43 UTC
foddex, great that you were able to resolve the problem on your laptop. Unfortunately, the Dell M3800 does not have any Optimus settings in the BIOS (version A03) that I can find. Looked online and was not able to find any other way to make these setting changes. Any ideas?

This behavior is both frustrating and interesting that I have to perform the Ctrl-Alt-F2, Ctrl-Alt-F1 dance with an external display to get the internal display working. It gets back to "what does the Ctrl-Alt-F1/F2 sequence do to XWindows that allows the internal display to work?". Seems to perform some sort of restart of Xwindows, maybe resetting some display state that enables the internal display.

Comment 12 Jim Shepherd 2014-08-11 14:46:52 UTC
This bug seems to have been corrected in an update over the last couple of months and the multiscreen behavior has been working as expected since.

Comment 13 Fedora End Of Life 2015-05-29 10:28:55 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

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

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is 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  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

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.

Comment 14 Fedora End Of Life 2015-06-29 14:25:21 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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