Bug 25325 - [855GM] Freeze shortly after Startup, mouse still moves
Summary: [855GM] Freeze shortly after Startup, mouse still moves
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.5 (2009.10)
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Carl Worth
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 21:23 UTC by Bill Farrow
Modified: 2011-07-02 04:13 UTC (History)
8 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (37.42 KB, text/x-log)
2009-11-27 21:23 UTC, Bill Farrow
no flags Details
dmesg (41.97 KB, text/plain)
2009-11-27 21:24 UTC, Bill Farrow
no flags Details
lspci -vvv (11.15 KB, text/plain)
2009-11-27 21:25 UTC, Bill Farrow
no flags Details
tarball of intel_gpu_dump and all other log and debug files (261.78 KB, application/x-compressed-tar)
2009-11-27 21:29 UTC, Bill Farrow
no flags Details

Description Bill Farrow 2009-11-27 21:23:42 UTC
Created attachment 31518 [details]
Xorg.0.log

System environment:
-- chipset: Intel 855GM
-- system architecture: i686
-- xf86-video-intel version: xserver-xorg-video-intel = 2:2.9.0-1ubuntu2
   xserver version: xserver-xorg = 1:7.4+3ubuntu7
   mesa version: libgl1-mesa-dri = 7.6.0-1ubuntu4
   libdrm version: libdrm-intel1 = 2.4.14-1ubuntu1
-- kernel version: 2.6.31-15-generic
-- Linux distribution: Ubuntu 9.10 karmic
-- Machine or mobo model: Asus M5200N
-- Display connector: LVDS (laptop LCD), VGA (external for external monitor)

Reproduced by turning laptop on and booting up to the GDM screen, then moving mouse and clicking on GUI elements like the cancel button on the GDM login.

It is also reproducible by logging into the gnome desktop from the GDM screen and pulling down a menu or other mouse related action.

The mouse pointer still moves but nothing responds to the mouse or keyboard, and it is not possible to switch to a VT.  It is possible to ssh into the machine and collect logs, etc.  Restarting GDM does not work, a full reboot is required.

Also tried completely removing all compiz packages from the system, but this still results in a freeze at the GDM screen.
Comment 1 Bill Farrow 2009-11-27 21:24:36 UTC
Created attachment 31519 [details]
dmesg
Comment 2 Bill Farrow 2009-11-27 21:25:09 UTC
Created attachment 31520 [details]
lspci -vvv
Comment 3 Bill Farrow 2009-11-27 21:29:18 UTC
Created attachment 31521 [details]
tarball of intel_gpu_dump and all other log and debug files

"intel_gpu_dump batch" was too big to attach as plain text so I just included the entire tarball.
Comment 4 Bill Farrow 2009-11-28 17:05:41 UTC
Adding "acpi=off" to the kernel command line results in a blank screen with the LCD backlight blinking on and off.
Comment 5 Bill Farrow 2009-11-28 17:45:25 UTC
Tried installing packages from ppa:xorg-edgers, but the updated intel module still results in the freeze up.
    https://launchpad.net/~xorg-edgers/+archive/ppa

xserver-xorg-core = 2:1.6.5+git20091107+server-1.6-branch.2dbcb06a-0ubuntu0sarvatt~karmic

xserver-xorg-video-intel = 2:2.9.0+git20091125.917f9bb2-0ubuntu0tormod~karmic

Comment 6 Bill Farrow 2009-11-28 20:49:12 UTC
Tried installing an updated kernel from ubuntu kernel-ppa repo.
  kernel version: 2.6.32-020632rc8-generic
  kernel command line: i915.modeset=1

This results in a flickering but operational VT console, but no X.  Killing GDM stops the flickering.  The dmesg output contains the following error messages:

[   46.792094] Linux agpgart interface v0.103
[   46.968844] [drm] Initialized drm 1.1.0 20060810
[   47.145965] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   47.145973] i915 0000:00:02.0: setting latency timer to 64
[   47.146005] [drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
[   47.146013] DRM: Fill_in_dev failed.
[   47.146017] i915 0000:00:02.0: PCI INT A disabled
[   47.146027] i915: probe of 0000:00:02.0 failed with error -22

This was using the xorg-edgers packages previously installed.
xserver-xorg-core =
2:1.6.5+git20091107+server-1.6-branch.2dbcb06a-0ubuntu0sarvatt~karmic
xserver-xorg-video-intel = 2:2.9.0+git20091125.917f9bb2-0ubuntu0tormod~karmic
Comment 7 Tomasz Rozynek 2009-12-04 15:00:48 UTC
I'm also affected by the bug.

My hardware: 
laptop DELL Latitude D500
(lspci -vvv)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
        Subsystem: Dell Device 0152
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
        Region 1: Memory at faf00000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [d0] Power Management version 1
                Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

Arch Linux
kernel 2.6.31-ARCH (i686, KMS enabled)
xorg 1.7.2-2
intel driver 2.9.1-1

It also freezes when I close the lid. When it's frozen I can move the mouse, the clock in KDE isn't ticking, no desktop element is responding. Can not switch to a terminal. Can not ssh into the machine. My temporary fix is to downgrade to:
xorg-server-1.6.3.901-1
kernel26-2.6.30.6-1
xf86-input-evdev-2.2.5-1
xf86-input-mouse-1.4.0-2
xf86-input-keyboard-1.3.2-2
xf86-video-intel-legacy-2.3.2-3
hal-0.5.13-2
udev-146-2
and finally - turn of KMS.

Can I provide some more info?
Comment 8 Lee Matheson 2009-12-25 01:31:04 UTC
I have same problem on my Fujitsu-Siemens Amilo 7400M laptop with the Intel 855GM with the 2.6.31 kernel on openSUSE-11.2.  I note that a limited workaround is to apply the boot code acpi=off and after a very long time, the laptop will boot with no such freeze after the successful boot.  I don't like that work around so I have gone back to the functioning 2.6.27 kernel in openSUSE-11.1.

I am thinking this 25325 bug is a duplicate of the 24789 bug report:  https://bugs.freedesktop.org/show_bug.cgi?id=24789

If there is concurrence this is a duplicate, then this could be flagged according as a duplicate ?
Comment 9 Bill Farrow 2009-12-26 19:25:56 UTC
This bug should remain open until it is resolved.  The bug may be related to other similar bugs, but then it may also be specific to my hardware model.  For example, I have another laptop with the same chipset that does not exhibit this bug.
Comment 10 Bill Farrow 2010-01-05 18:15:38 UTC
There has been some progress made on this bug.  The freeze bug on my machine was caused by this kernel change:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.31.y.git;a=commit;h=7abf3aa8294d95e3f0be375f30e8d933f874ada0

Please refer to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/447892

Now that the cause has been identified, how do I progress this to getting it fixed upstream ?

Comment 11 Daniel Vetter 2010-03-18 06:38:23 UTC
I've created a preliminary patch that fixes gtt related cache coherency problems at least for my i855GM. Look here for instructions:

http://bugs.freedesktop.org/show_bug.cgi?id=26345#c61
Comment 12 Chris Wilson 2011-07-02 04:13:53 UTC
commit bdb8b975fc66e081c3f39be6267701f8226d11aa
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Dec 22 11:37:09 2010 +0000

    agp/intel: Experiment with a 855GM GWB bit
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=27187
    Tested-by: Thorsten Vollmer <thorsten@thvo.de> (DFI-ACP G5M150-N w/852GME)
    Tested-by: Moritz Brunner <2points@gmx.org> (Asus M2400N/i855GM)
    Tested-by: Indan Zupancic <indan@nul.nu> (Thinkpad X40/855GM rev 02)
    Tested-by: Eric Anholt <eric@anholt.net> (865G)
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


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.