Bug 21575

Summary: [i965] Fast user switch freezes X (UXA bug)
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/intelAssignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high CC: hugo_st_germain
Version: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
XorgLog.txt
none
XorgLogOld.txt none

Description Bryce Harrington 2009-05-05 13:39:20 UTC
Forwarding this issue from a ubuntu reporter (a couple people have seen the same issue now):
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/370343

[Problem]
Crashes when attempting to switch to another user. 100% reproducible. Blank screen, keyboard locked-up must hard reboot. Does not occur when UXA not enabled.

Standard Ubuntu 9.04 install except for Option "AccelMethod" "uxa" added to Xorg.conf.

[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 03)

 distro:             Ubuntu
 architecture:       i686
 kernel:             2.6.28-11-generic
 xserver-xorg:       1:7.4~5ubuntu18
 mesa:               7.4-0ubuntu3
 libdrm:             2.4.5-0ubuntu4
 -intel:             2:2.6.3-0ubuntu9
 -ati:               1:6.12.1-0ubuntu2
Comment 1 Bryce Harrington 2009-05-05 13:39:57 UTC
Created attachment 25497 [details]
XorgLog.txt
Comment 2 Bryce Harrington 2009-05-05 13:40:20 UTC
Created attachment 25498 [details]
XorgLogOld.txt
Comment 3 Bryce Harrington 2009-05-05 13:40:52 UTC
See also https://bugs.launchpad.net/bugs/331795 which appears to be a dupe
Comment 4 Hugo St-Germain 2009-05-05 16:55:47 UTC
I am the reporter of the associated Ubuntu bug. I will be happy to provide any additional information that might be helpful.

Thanks!
Comment 5 Gordon Jin 2009-05-05 19:00:41 UTC
Eric you have pushed a fix for this, right? Could you give the commit info?
Comment 6 Eric Anholt 2009-05-06 13:35:30 UTC
At least these are required:

commit 3187c7698b93f1d0e07798e9c42ca2877d55e055
Author: Eric Anholt <eric@anholt.net>
Date:   Mon Apr 27 14:50:54 2009 -0700

    Fix assert at startup with DRI initialiation failure.

commit fbaf13c93511547c563129527797fbef8628652e
Author: Eric Anholt <eric@anholt.net>
Date:   Mon Apr 27 16:05:50 2009 -0700

    Don't clear the framebuffer if it isn't currently bound.

commit ab878118b9fb46c437a02f824d29f4a206e7fd80
Author: Eric Anholt <eric@anholt.net>
Date:   Mon Apr 27 16:00:05 2009 -0700

    Don't initialize DRI2 if the fd we get is not master-capable.

commit e55d943126cdd3eac7dfec5f40e794f89dbf038b
Author: Eric Anholt <eric@anholt.net>
Date:   Mon Apr 27 11:18:07 2009 -0700

    Don't try to do anything for I830Sync when VT switched.

commit 9748aa5594a8357754c06dd82108b131260b1a71
Author: Shuang He <shuang.he@intel.com>
Date:   Sat Apr 18 11:48:08 2009 +0800

    Free front buffer bo when X exit
Comment 7 Hugo St-Germain 2009-05-06 19:16:16 UTC
I confirm that this bug is no longer present with Kernel 2.6.30-020630rc4 and xserver-xorg-video-intel 2:2.7.99.1+git20090505 from the Ubuntu xorg-edgers PPA installed on top of Ubuntu 9.04. 

Thanks!

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.