[i965] Fast user switch freezes X (UXA bug)

Bug #370343 reported by Hugo St-Germain
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
High
xserver-xorg-video-intel (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

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.

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

Acer 7720-6374

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xserver-xorg-video-intel 2:2.6.3-0ubuntu9
ProcEnviron:
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.28-11-generic i686

http://launchpadlibrarian.net/26219178/dri_debug.tgz

Revision history for this message
Hugo St-Germain (hugo-st-germain) wrote :
Revision history for this message
Hugo St-Germain (hugo-st-germain) wrote :

Ooops. This is a duplicate of https://bugs.launchpad.net/bugs/331795

Missed it somehow in my original search for an existing bug.

Bryce Harrington (bryce)
description: updated
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → High
status: New → Triaged
Bryce Harrington (bryce)
summary: - [i965] Fast user swtich crashes X with UXA enabled (UXA)
+ [i965] Fast user switch crashes X (UXA bug)
summary: - [i965] Fast user switch crashes X (UXA bug)
+ [i965] Fast user switch freezes X (UXA bug)
Revision history for this message
In , Bryce Harrington (bryce) wrote :

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

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=25497)
XorgLog.txt

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=25498)
XorgLogOld.txt

Revision history for this message
In , Bryce Harrington (bryce) wrote :

See also https://bugs.launchpad.net/bugs/331795 which appears to be a dupe

Revision history for this message
In , Hugo St-Germain (hugo-st-germain) wrote :

I am the reporter of the associated Ubuntu bug. I will be happy to provide any additional information that might be helpful.

Thanks!

Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

Eric you have pushed a fix for this, right? Could you give the commit info?

Revision history for this message
Bryce Harrington (bryce) wrote :

Hugo,

I've forwarded your bug upstream to https://bugs.freedesktop.org/show_bug.cgi?id=21575 - please subscribe to that bug report in case upstream needs further information or wishes you to test something. Thanks ahead of time.

Also, in case they wish you to test with a newer version of the driver, check here for available git snapshots: https://edge.launchpad.net/~xorg-edgers/+archive/ppa

Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Revision history for this message
Hugo St-Germain (hugo-st-germain) wrote :

Bryce,

Thanks for taking the bug upstream.

Please see https://bugs.launchpad.net/bugs/358114 which also appears to be a duplicate. The reporter of that bug states that it is fixed in xorg-edgers. I will verify as soon as I have a chance and report back.

Thanks,
Hugo

Revision history for this message
In , Eric Anholt (eric-anholt) wrote :

At least these are required:

commit 3187c7698b93f1d0e07798e9c42ca2877d55e055
Author: Eric Anholt <email address hidden>
Date: Mon Apr 27 14:50:54 2009 -0700

    Fix assert at startup with DRI initialiation failure.

commit fbaf13c93511547c563129527797fbef8628652e
Author: Eric Anholt <email address hidden>
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 <email address hidden>
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 <email address hidden>
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 <email address hidden>
Date: Sat Apr 18 11:48:08 2009 +0800

    Free front buffer bo when X exit

Revision history for this message
In , Hugo St-Germain (hugo-st-germain) wrote :

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!

Bryce Harrington (bryce)
tags: added: freeze
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for pointing that out.
Since the dupe says that the issue is resolved with kernel 2.6.30 and xorg-edgers ppa, it would be helpful to see your test of each of those as well.

Revision history for this message
Hugo St-Germain (hugo-st-germain) wrote :

I tested with latest driver from xorg-edgers (xserver-xorg-video-intel - 2:2.7.99.1+git20090505.r1.a8a771a8-0ubuntu0sarvatt) and the stock Jaunty Kernel (2.6.28-11): the problem is still present in this configuration. The symptoms are slightly different as I get a corrupted screen instead of a blank screen and/or sometime X spontaneously restarts after a while (approx 30s to 1 minute). Otherwise unchanged, X freezes after selecting fast user switch 100% of the time and the keyboard is locked up (until a spontaneous restart occurs or I manually restart gdm via SSH).

I also tested with the driver above and Kernel 2.6.30-020630rc4-generic: The bug is fixed in this configuration as X no longer freezes on fast user switch. X however often (but not always) crashes and automatically restarts during or within seconds after a fast user switch (but that is a different bug to watch for as Karmic comes together - I will report if it is present then).

Several commits from April have been listed as addressing this bug upstream. The testing above along with the comment from the reporter of one of the duplicate bugs discussed earlier confirm that this bug is indeed fixed upstream (but it requires changes to both Kernel and xorg).

Thanks!

Changed in xserver-xorg-video-intel:
status: Confirmed → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

Okay, we have 2.6.30 in karmic now, and it sounds like that's sufficient to consider this resolved.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Fix Released
Changed in xserver-xorg-video-intel:
importance: Unknown → High
Changed in xserver-xorg-video-intel:
importance: High → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.