Bug 10410

Summary: xorg fails to re-initialize hardware for sessions after the first one
Product: xorg Reporter: Jens Stroebel <dr-xorg>
Component: Server/GeneralAssignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
normal Xorg.log (working)
none
2nd session log, failure to init pipeA (non-working)
none
Xorg config none

Description Jens Stroebel 2007-03-26 04:46:41 UTC
When starting X via a display-manager (e.g. kdm), it fails to re-initialze after the first session has been quit. The display powers off instead and the log contains lines like:
---------------------------------------------
(EE) intel(0): I830 Vblank Pipe Setup Failed 0
     (...)
(WW) intel(0): ESR is 0x00000001
(WW) intel(0): Existing errors found in hardware state.
     (...)
(WW) intel(0):   Hardware claims plane A is off while software believes it is on
---------------------------------------------
Comment 1 Jens Stroebel 2007-03-26 04:48:51 UTC
Created attachment 9298 [details]
normal Xorg.log (working)
Comment 2 Jens Stroebel 2007-03-26 04:50:16 UTC
Created attachment 9299 [details]
2nd session log, failure to init pipeA (non-working)
Comment 3 Jens Stroebel 2007-03-26 04:51:00 UTC
Created attachment 9300 [details]
Xorg config
Comment 4 Jens Stroebel 2007-03-26 04:55:43 UTC
Additional info about the local setup:
kernel 2.6.20.4
drm from git (last commit: 5ad43f46759ff1eb473c9101e7de0d46a4ed8177 )
Xserver from git (last commit: 2e3cc861f90415f200826bc71dab6298d759c42b )
xf86-video-intel from git (last commit: d5727717c9141be28a69b1154ccd23c23207f8f6 )

lspci -vxx (for vga):
00:02.0 VGA compatible controller: Intel Corporation Integrated Graphics Controller (rev 02) (prog-if 0
0 [VGA])
        Subsystem: ASUSTeK Computer Inc. Unknown device 81ea
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at ffa00000 (32-bit, non-prefetchable) [size=1M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at ec00 [size=8]
        Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
        Capabilities: [d0] Power Management version 2
00: 86 80 a2 29 07 00 90 00 02 00 00 03 00 00 00 00
10: 00 00 a0 ff 00 00 00 00 0c 00 00 d0 00 00 00 00
20: 01 ec 00 00 00 00 00 00 00 00 00 00 43 10 ea 81
30: 00 00 00 00 90 00 00 00 00 00 00 00 0b 01 00 00
Comment 5 Jens Stroebel 2007-03-26 05:52:01 UTC
Just for clarity's sake:
This is unfortunately not only the case with a display manager.
When using plain "startx", the first time succeeds (like first DM-startup), the next try after finishing the first X fails like described for the DM-case.
Comment 6 Jens Stroebel 2007-03-27 08:30:55 UTC
After checking around today, I had to acknowledge that the cause of the failure to re-initialize had to be somewhere inside of xserver.

I can successfully run xorg-git-xserver of 2007-03-19 with the latest xf86-video-intel but the symptom appears as soon as I use xorg-git-xserver from
2007-03-23 (I didn't check closer as we didn't make checkouts between 19th and 23rd of march) or later.
Comment 7 Jens Stroebel 2007-04-04 04:49:21 UTC
as of 2007-04-04, the latest git checked out versions do not show the described behaviour anymore. Great work, as always :)

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.