Bug 19716 - [GM965] UXA hangs X on logout
Summary: [GM965] UXA hangs X on logout
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-01-24 03:25 UTC by Martin
Modified: 2009-09-25 11:25 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Martin 2009-01-24 03:25:51 UTC
I'm testing the xserver and intel drivers from xorg-edgers ppa (launchpad) and noticed that I'm not able to logout from my KDE desktop when using UXA.
What happens is that the desktop shuts down and at the point where the KDE login manager (kdm) should reappear my screen stays black.

Last entry in kernel.log after pressing the logout button:
Jan 24 11:46:28 minivanes kernel: [  449.645876] mtrr: no MTRR for e0000000,10000000 found

Lines added to Xorg.0.log after pressing logout button:
(II) AT Translated Set 2 keyboard: Close                 
(II) UnloadModule: "evdev"                               
(II) Video Bus: Close                                    
(II) UnloadModule: "evdev"
(II) Video Bus: Close
(II) UnloadModule: "evdev"
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) UnloadModule: "synaptics"
(II) PS/2 Mouse: Close
(II) UnloadModule: "evdev"
(II) Logitech USB-PS/2 Optical Mouse: Close
(II) UnloadModule: "evdev"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) APM registered successfully
(II) intel(0): Kernel reported 1135360 total, 1 used
(II) intel(0): I830CheckAvailableMemory: 4541436 kB available
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 15, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 15, (OK)
drmOpenByBusid: drmOpenMinor returns 15
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) intel(0): [DRI2] Setup complete
(**) intel(0): Framebuffer compression disabled
(**) intel(0): Tiling enabled
(EE) intel(0): Failed to initialize kernel memory manager

Logging out with EXA causes no problems and presents the kdm login manager as expected. A quick check learned that the kernel mttr message also appears when loging out with EXA.


The contents of my /proc/mtrr
reg00: base=0x00000000 (   0MB), size=1024MB: write-back, count=1
reg01: base=0x40000000 (1024MB), size= 256MB: write-back, count=1
reg02: base=0x4df00000 (1247MB), size=   1MB: uncachable, count=1
reg03: base=0x4e000000 (1248MB), size=  32MB: uncachable, count=1
reg04: base=0xe8000000 (3712MB), size= 128MB: write-combining, count=1

This is a 4G machine using x86_64 kernel (2.6.28 Ubuntu Jaunty).
Hardware is GM965 like the subject says.

intel driver: 2.6.99.1+git20090102
libdrm2: 2.4.4
xserver: 1.5.99.901
Comment 1 Martin 2009-01-25 06:59:25 UTC
I can add another trigger to the bug's conditions: switching to (actually creating) a new user desktop triggers the bug also. After the black screen (instead of new logon manager) X is broken and won't let me in on my original desktop (ctl-alt-f7) as well.
Comment 2 Martin 2009-02-07 13:04:44 UTC
The bug is still present in xserver 1.5.99.902, intel drv 2.6.99.1+git20090127.
Also, using kernel 2.6.29(-rc3) doesn't make a difference.
For those affected with this bug, there is a workaround: you can switch to vt1, kill(all) kdm and restart kdm... a poor man's login/logout but functional nevertheless.
Comment 3 Joe Kowalski 2009-02-15 12:45:45 UTC
I'm seeing this on my GM965 laptop. When I logout, I just sak the VT, switch to vt1 & reload xdm. I get the same "(EE) intel(0): Failed to initialize kernel memory manager" error in Xorg.0.log. 
Comment 4 Gordon Jin 2009-02-24 21:51:38 UTC
Do you also meet bug#19578?
Comment 5 Martin 2009-02-24 23:53:28 UTC
No, the vt-switch is fixed for me (GM965) using xorg-edgers ppa:
xserver-xorg 7.4~5ubuntu12
xserver-xorg-core 1.5.99.902-0ubuntu7
xserver-xorg-video-intel 2.6.99.1+git20090207
Comment 6 Martin 2009-03-07 06:16:45 UTC
Logout is fixed now (2.6.99.1+git20090306) but VT switching is broken again.

Remark 1: Logging out involves a lot of screen flicker (probing?) before kdm is shown again.

Remark 2: VT switching fails different than before: switching to console works perfectly but switching back to VT7 freezes the console view.
System is not frozen, as pressing the shutdown button correctly powers-off the laptop after some time (shutdown sequence). This happens all without feedback on the screen, as the console is still frozen while shutting down.
Comment 7 ralf 2009-05-07 10:01:35 UTC
Logout NOT fixed on 855GM (i.e. X exits but background stays on screen).
Should I open a different one?
Comment 8 Mad 2009-06-28 14:39:33 UTC
ntel 965gma

xorg-server-1.6.1.901-r4
mesa-7.4.2
libdrm-2.4.11
video-intel-2.7.1
kernel-2.6.30 with kms


KDE 4.2 with desktop effects.

I can confirm this behaviour.
Comment 9 Eric Anholt 2009-07-01 00:29:53 UTC
Are you still having this problem with the current 2D driver?  If so, please attach Xorg.0.log and dmesg at the time of the problem.
Comment 10 Eric Anholt 2009-07-15 17:13:34 UTC
Also, KMS should greatly improve the stability of the VT switching path.
Comment 11 Eric Anholt 2009-09-25 11:25:26 UTC
Closing due to feedback timeout.  Looks like a failure we've either recently or not-so-recently 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.