Bug 22791

Summary: X fails to restore the console on exit
Product: xorg Reporter: Guido Socher <guidosocher>
Component: Driver/intelAssignee: Jesse Barnes <jbarnes>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: guidosocher
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log
none
xorg.conf none

Description Guido Socher 2009-07-15 20:43:36 UTC
Created attachment 27747 [details]
Xorg.0.log

This problem is independent of the system CPU load and 100% reproducible
on my Thinkpad X301 (Intel X4500 graphics hardware).

The server exists clean and there is no crash or apparent failure in
the Xorg.0.log. There is no more X server running and all X applications
have terminated. I have checked this with ps -auxw
They all exit quickly and normally. The cpu load is near to zero.

However the server (or probably the xf86-video-intel driver) fails 
to restore the console.

I can still remotely log into the machine and shut it down clean but
the console is not usable. The screen is just black and the
backlight is still on.

I am myself a bit puzzled by this problem and I am happy to provide
any additional printouts.

The system is gentoo with:
 
ACCEPT_KEYWORDS=~x86 emerge -pv =x11-base/xorg-server-1.6.2-r1
ACCEPT_KEYWORDS=~x86 emerge -pv =x11-drivers/xf86-video-intel-2.7.1
ACCEPT_KEYWORDS=~x86 emerge -pv =x11-drivers/xf86-input-keyboard-1.3.2
ACCEPT_KEYWORDS=~x86 emerge -pv =x11-drivers/xf86-input-mouse-1.4.0

Attached is an Xorg.0.log take after the X server has already terminated
and the console is in this un-usable state.

I will also attached my xorg.conf file.

Related to this problem might also be that I can not use
crtl-alt-backspace
to switch to the console while X is running. It results in a
frozen screen where the image is still there but the pixels seem 
not so smooth.
Comment 1 Guido Socher 2009-07-15 20:45:06 UTC
Created attachment 27748 [details]
xorg.conf
Comment 2 Guido Socher 2009-07-16 18:50:49 UTC
I found now a work around for this problem. If I compile the linux
kernel with a frame buffer console then the problem does not appear.

I still think that this is a fault.
Comment 3 Gordon Jin 2009-07-16 18:59:38 UTC
this configuration has been decided as wontfix. See details in bug#22040.

*** This bug has been marked as a duplicate of bug 22040 ***
Comment 4 Guido Socher 2009-07-16 21:03:03 UTC
If you do not plan to fix this fault then you should document
this requirement in the installation instruction.

There is not a single word saying that intel requires a frame buffer console.
It is also quite unexpected because most other drivers do not have such
a behavior.
Comment 5 Jesse Barnes 2009-07-17 09:41:31 UTC
Actually, newer kernels will automatically select framebuffer console for you, so this could me marked fixed.

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.