Bug 19498 - [G33] Hangs after startx + logout + startx
Summary: [G33] Hangs after startx + logout + startx
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: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-10 06:02 UTC by Loïc Minier
Modified: 2009-02-16 01:07 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Working Xorg.0.log from Nov 26 (30.87 KB, text/x-log)
2009-01-10 06:02 UTC, Loïc Minier
no flags Details
NON-Working Xorg.0.log from Nov 26 (30.20 KB, application/x-trash)
2009-01-10 06:03 UTC, Loïc Minier
no flags Details
sudo lspci-vvnn output (24.19 KB, text/plain)
2009-01-10 06:04 UTC, Loïc Minier
no flags Details
Working Xorg.0.log from Jan 10 (31.18 KB, text/x-log)
2009-01-10 06:07 UTC, Loïc Minier
no flags Details
NON-Working Xorg.0.log from Jan 10 (32.21 KB, text/plain)
2009-01-10 06:07 UTC, Loïc Minier
no flags Details
Working Xorg.0.log from Feb 12 (34.51 KB, text/plain)
2009-02-12 02:40 UTC, Loïc Minier
no flags Details
NON-Working (slow) Xorg.0.log from Feb 12 (34.17 KB, text/plain)
2009-02-12 02:41 UTC, Loïc Minier
no flags Details

Description Loïc Minier 2009-01-10 06:02:26 UTC
Created attachment 21865 [details]
Working Xorg.0.log from Nov 26

Hi,

Forwarding my own bug already reported to Ubuntu at:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/302564

I start Xorg with startx; it doesn't come up the second time I start it (after a logout). I'm using the intel driver with a G33 integrated chipset.

Will attach Xorg.logs and lspci -vvnn.

Bye,
Comment 1 Loïc Minier 2009-01-10 06:03:37 UTC
Created attachment 21866 [details]
NON-Working Xorg.0.log from Nov 26
Comment 2 Loïc Minier 2009-01-10 06:04:27 UTC
Created attachment 21867 [details]
sudo lspci-vvnn output
Comment 3 Loïc Minier 2009-01-10 06:07:10 UTC
Created attachment 21868 [details]
Working Xorg.0.log from Jan 10

I'm now running Ubuntu tip (jaunty), that is:
libdrm2 2.4.1-0ubuntu9
xserver-xorg-video-intel 2:2.5.1-1ubuntu7
xserver-xorg-core 2:1.5.99.3-0ubuntu4

Kernel is linux-image-2.6.28-4-generic 2.6.28-4.9 (i.e. 2.6.28 based).
Comment 4 Loïc Minier 2009-01-10 06:07:34 UTC
Created attachment 21869 [details]
NON-Working Xorg.0.log from Jan 10
Comment 5 Loïc Minier 2009-01-10 06:10:26 UTC
As I was noting in the original Ubuntu bug, I saw a couple of interesting things when diffing the first two logs:
(from working to non-working)
 drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is -1, (No such device or address)
-drmOpenDevice: open result is -1, (No such device or address)
-drmOpenDevice: Open failed
+drmOpenDevice: open result is 11, (OK)
 drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is -1, (No such device or address)
-drmOpenDevice: open result is -1, (No such device or address)
-drmOpenDevice: Open failed
+drmOpenDevice: open result is 11, (OK)
 drmOpenByBusid: Searching for BusID pci:0000:00:02.0
...
-(II) [drm] loaded kernel module for "i915" driver.

and also:
+(WW) intel(0): ESR is 0x00000001, instruction error
+(WW) intel(0): Existing errors found in hardware state.


I just did this again on the updated logs from today:
(from working to non-working)
 (II) LoadModule: "ramdac"
 (II) Module "ramdac" already built-in
 (II) intel(0): Comparing regs from server start up to After PreInit
+(WW) intel(0): Register 0x61114 (PORT_HOTPLUG_STAT) changed from 0x00000000 to 0x00000b00
+(WW) intel(0): Register 0x70024 (PIPEASTAT) changed from 0x80000203 to 0x00000203
+(WW) intel(0): PIPEASTAT before: status: FIFO_UNDERRUN VSYNC_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS
+(WW) intel(0): PIPEASTAT after: status: VSYNC_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS
+(WW) intel(0): Register 0x71024 (PIPEBSTAT) changed from 0x00000202 to 0x00000000
+(WW) intel(0): PIPEBSTAT before: status: VSYNC_INT_STATUS VBLANK_INT_STATUS
+(WW) intel(0): PIPEBSTAT after: status:
 (==) Depth 24 pixmap format is 32 bpp
 (II) do I need RAC?  No, I don't.
 (II) resource ranges after preInit:

 (II) intel(0): Kernel reported 2229760 total, 1 used
 (II) intel(0): I830CheckAvailableMemory: 8919036 kB available
 drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is 11, (OK)
 drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is 11, (OK)
 drmOpenByBusid: Searching for BusID pci:0000:00:02.0
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is 11, (OK)
 drmOpenByBusid: drmOpenMinor returns 11
 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
+(II) [drm] loaded kernel module for "i915" driver.
 (II) [drm] DRM interface version 1.3
 (II) [drm] DRM open master succeeded.
 (II) intel(0): [drm] Using the DRM lock SAREA also for drawables.

 (II) intel(0): 0x00721000-0x00728fff: logical 3D context (32 kB)
 (II) intel(0): 0x00729000-0x00732fff: HW cursors (40 kB)
 (II) intel(0): 0x0b300000:            end of memory manager
-(WW) intel(0): ESR is 0x00000001, instruction error
 (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled
 (WW) intel(0): Existing errors found in hardware state.
 (II) intel(0): Output configuration:

 (II) intel(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
 (II) intel(0): EDID vendor "DEL", prod id 41002
 exaCopyDirty: Pending damage region empty!
+(II) G-Tech CHINA    USB Wireless Mouse & KeyBoard V1.01: Close
+(II) UnloadModule: "evdev"
+(II) G-Tech CHINA    USB Wireless Mouse & KeyBoard V1.01: Close
+(II) UnloadModule: "evdev"
+(II) Macintosh mouse button emulation: Close
+(II) UnloadModule: "evdev"
+(II) intel(0): xf86UnbindGARTMemory: unbind key 0
+(II) intel(0): xf86UnbindGARTMemory: unbind key 1
+(II) intel(0): [drm] removed 1 reserved context for kernel
+(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0x2efff000 at 0x7fba80dae000
+(II) intel(0): [drm] Closed DRM master.
+ ddxSigGiveUp: Closing log
Comment 6 Loïc Minier 2009-01-10 06:12:34 UTC
I don't know whether that matters, but I'm using both the builtin VGA and a SVDO DVI output.
Comment 7 Wang Zhenyu 2009-01-11 23:55:55 UTC
Do you mean X crash? or machine hang? What's the symptom?

Have you tried xf86-video-intel 2.5.99.2 release?
Comment 8 Loïc Minier 2009-01-12 01:08:44 UTC
The symptom is that the Xorg server seems to come up, I can see the mouse pointer and move it, but I just get a solid background, nothing more, and it just sits here.  I can't Ctrl-Alt-Backspace it.

I still have SSH access and can reboot the machine remotely.
Comment 9 Loïc Minier 2009-01-12 01:10:20 UTC
Bryce, will wget 2.5.99.2 in jaunty?  Or is it available from a PPA?
Comment 10 Bryce Harrington 2009-01-12 10:37:34 UTC
Yes, it's on my todo list to get that integrated possibly this week.
Comment 11 Wang Zhenyu 2009-01-19 19:46:36 UTC
Could you test with 2.6.0 release?
Comment 12 Bryce Harrington 2009-01-21 22:33:53 UTC
We are waiting on kernel changes before -intel can build:

https://lists.ubuntu.com/archives/kernel-team/2009-January/004178.html
Comment 13 Wang Zhenyu 2009-02-03 22:24:08 UTC
Please test with recent release, xf86-video-intel 2.6.1, kernel 2.6.28, mesa 7.3, etc.
Comment 14 Loïc Minier 2009-02-12 02:37:17 UTC
Hi,

I was away from my hardware in the last 10 days; I'm happy to report that this particular bug is fixed now; I can startx + logout + startx fine.

However, compiz is slow and Xorg hangs frequently for a short period when moving workspace.

I can see some warnings appearing in the second run:
[    0.987232] (WW) intel(0): PIPEASTAT before: status: VSYNC_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS
[    0.987238] (WW) intel(0): PIPEASTAT after: status: FIFO_UNDERRUN VSYNC_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS

and later:
[    1.200378] (WW) intel(0): ESR is 0x00000001, instruction error
[    1.200385] (WW) intel(0): Existing errors found in hardware state.

will attach updated logs.

Removing NEEDINFO keyword.

thanks,
Comment 15 Loïc Minier 2009-02-12 02:40:46 UTC
Created attachment 22855 [details]
Working Xorg.0.log from Feb 12
Comment 16 Loïc Minier 2009-02-12 02:41:24 UTC
Created attachment 22856 [details]
NON-Working (slow) Xorg.0.log from Feb 12
Comment 17 Loïc Minier 2009-02-12 02:45:00 UTC
Current package versions (latest Ubuntu 9.04/Jaunty):

libdrm-dev 2.4.4-0ubuntu6
libdrm-intel1 2.4.4-0ubuntu6
libdrm2 2.4.4-0ubuntu6
xserver-xorg-core 2:1.5.99.902-0ubuntu6
xserver-xorg-video-intel 2:2.6.1-1ubuntu2
Comment 18 Wang Zhenyu 2009-02-15 21:47:03 UTC
Loïc, we don't like to mix different issue in one bug track. For compiz, that should be another bug for 3D. Close this one, please fire another for seperate issue. Thanks.
Comment 19 Loïc Minier 2009-02-16 01:07:44 UTC
Filed as bug #20134.


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.