Bug 752759

Summary: Turning off external monitor does not recover after turn on
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan.kratochvil>
Component: xorg-x11-serverAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 16CC: jan.kratochvil, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-3.4.9-2.fc16.x86_64 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-20 10:46:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
/var/log/Xorg.0.log
none
tail -fn0 /var/log/* none

Description Jan Kratochvil 2011-11-10 11:27:15 UTC
Description of problem:
This is X220 notebook with "Use this output" disabled for its "Laptop" output
in XFCE and using the "HDMI1" output instead (X220 has DP connector).

Version-Release number of selected component (if applicable):
xorg-x11-server-Xorg-1.11.2-1.fc16.x86_64
kernel-3.1.0-7.fc16.x86_64

How reproducible:
Always.

Steps to Reproduce:
Connect external display.
XFCE Settings->Display->Laptop->Use this output = OFF
XFCE Settings->Display->HDMI1->Use this output = keep at ON
Turn off the external monitor.
Turn on the external monitor.

Actual results:
Monitor displays text console with getty but it does not respond to anything.

Expected results:
Monitor displays live X session.

Additional info:
One can easily recover it by:
ctrl-alt-F2 - the cursor starts flashing, text console becomes alive.
alt-f1 - X session is displayed again and everything works there fine.
Sorry I have tested/running only XFCE.

Comment 1 Jan Kratochvil 2011-11-10 11:27:53 UTC
Created attachment 532782 [details]
/var/log/Xorg.0.log

Comment 2 Jan Kratochvil 2011-11-10 11:28:25 UTC
Created attachment 532783 [details]
tail -fn0 /var/log/*

Comment 3 Jan Kratochvil 2011-11-10 11:29:03 UTC
Normal mode:

# xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS1 connected (normal left inverted right x axis y axis)
   1366x768       60.0 +
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm
x 268mm
   1920x1080      59.9*+   60.0     60.0  
   1680x1050      60.0  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        60.0  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)


After turning off the "HDMI1" output:
# xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS1 connected (normal left inverted right x axis y axis)
   1366x768       60.0 +
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm
x 0mm
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
  1920x1080 (0x4e)  138.5MHz
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock   66.6KHz
        v: height 1080 start 1083 end 1088 total 1111           clock   59.9Hz


There is in fact no active display that time.

Comment 4 Adam Jackson 2012-09-19 18:17:13 UTC
3.1.0 was ages ago.  F16 updates currently has 3.4.9; is that any better?

Even if it's not, it'd help to see the output of intel_reg_dumper(1) from the working and broken states.

Comment 5 Jan Kratochvil 2012-09-20 10:46:31 UTC
It really works now; I use the display different way now so I no longer face it.
That's great, this was a long-standling "Linux" desktop usability issue.

xorg-x11-server-Xorg-1.11.4-3.fc16.x86_64
kernel-3.4.9-2.fc16.x86_64