Summary: | [i845] xorg hang on video driver 2.8.0 | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Bryce Harrington <bryce> | ||||||||||||||||||||
Component: | Driver/intel | Assignee: | Chris Wilson <chris> | ||||||||||||||||||||
Status: | RESOLVED DUPLICATE | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||||||||||||
Severity: | critical | ||||||||||||||||||||||
Priority: | high | CC: | erecio, gomyhr, jerrylamos, moikkis, pde | ||||||||||||||||||||
Version: | 7.4 (2008.09) | Keywords: | NEEDINFO | ||||||||||||||||||||
Hardware: | x86 (IA32) | ||||||||||||||||||||||
OS: | Linux (All) | ||||||||||||||||||||||
Whiteboard: | |||||||||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||||||||
Attachments: |
|
Description
Bryce Harrington
2009-07-29 20:14:07 UTC
Created attachment 28180 [details]
dri_debug.tgz
Created attachment 28181 [details]
Xorg.0.log.845
00:00.0 Host bridge [0600]: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface [8086:2560] (rev 01)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
00:02.0 VGA compatible controller [0300]: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device [8086:2562] (rev 01)
Subsystem: IBM Device [1014:0267]
Could you test my patches on bug #23082? (In reply to comment #3) > Could you test my patches on bug #23082? > I know enough linux to do some limited fix installation. For example Bryce Harrington built a PPA: deb http://ppa.launchpad.net/bryceharrington/blue/ubuntu karmic main deb http://us.archive.ubuntu.com/ubuntu/ karmic-proposed restricted main multiverse universe deb-src http://ppa.launchpad.net/bryceharrington/blue/ubuntu karmic main which is an xserver-xorg-video-intel 2.8.0-0ubuntu2~bug382017 which still hangs on Ubuntu A3, namely kernels 2.6.31-4 and -5. It does run on Ubuntu A2 kernel 2.6.31-3. Today's Ubuntu update resulted in 2:2.8.0-0ubuntu2 which also hangs on karmic Alpha 3 kernel 2.6.31-5. Jerry I filed Ubuntu bug 412245 (https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/412245). I have the same symptoms reported here. In particular, when X is hung, I can still use an ssh session from another machine, but I have to move the mouse pointer on the hung machine in order to see any output in the ssh session. I'm running Ubuntu 9.10 Alpha 3 on a Dell Inspiron 1100 with BIOS rev A32. lspci -nn | grep VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device [8086:2562] (rev 03) You can see more details and log files at the Ubuntu bug, or ask me to provide any further information you would find useful. I'd be happy to test any fixes. I tried adding the PPA in comment 4 and update/upgrade, but there was no change. If you really need me to try kernel patches as described in bug 23082 I could. It's been many years since I built kernels and I'd appreciate pointers to recent documentation about how you build kernels, if there is any. Today's update on karmic the cursor either won't move or else it is absent as I try CD Live 20090812 or hard disk update. ssh won't work. I boot in recovery mode, get ssh going, then resume. brown screen with no cursor or else black screen fixed cursor. ssh doesn't work. Will attach Xorg.0.log and dmesg as obtained by dual booting & copying the files. If I boot in recovery, do nano /etc/X11/xorg.conf to change to Driver "vesa" it runs. I'm using it now. Default xserver-xorg-video-intel 2:2.8.0-0ubuntu2 is the one that hangs. Jerry Created attachment 28593 [details]
Copied from dual boot
Created attachment 28594 [details]
dmesg from the hang
Created attachment 28595 [details]
.xsession-errors from the hang
Created attachment 28596 [details]
lspci from the hang pc
The "have to move the mouse to get ssh to show up" should be fixed in .31 release (it was rc4 or so that I got the fix merged). The intel_gpu_dump command parsing fails on a bunch of these 8xx commands, so the dump attached ended up not showing the place where the GPU's hung. I think we'll need to try disabling render acceleration for you, unfortunately it's not a xorg.conf option at this point, though. Agree the "have to move the mouse to get ssh to show up" is fixed in 2.6.31-9. Boot still fails with xserver-xorg-video-intel 2:2.8.1-1ubuntu1. Boot is successful with "vesa". Runs fine (given some ubuntu Alpha bugs). Is the "vesa" option going to be readily obvious to an ordinary linux Ubuntu user with i845 (and i830) video graphics? Is there a grub boot option I could try? There used to be a recovery mode option for this I think. Thanks for looking at this bug. Jerry Option "DRI" "0" in xorg.conf on default driver 2:2.8.1-1ubuntu1 does boot. A few minutes later it hung. With "DRI" "0" GtkPerf runs slowly three times longer than with driver "vesa". So it's back to driver "vesa". Could that be default for i845 and i830? Jerry Eric Anholt posted a kernel patch yesterday that fixes several hangs for pre-9xx chipsets: http://lists.freedesktop.org/archives/intel-gfx/2009-September/004122.html Jerry, it would be very useful if you could test with that patch and report here whether or not it fixes your bug. Thanks, -Carl Carl, wouldn't mind if I knew how to edit the driver source and re-compile? Is that what is involved? I haven't done patches. About the earliest level I get into is when someone like Bryce Harrington makes a ppa or there's something to sudo apt-get install. Thanks for working on this. Jerry Bryce, is the patch mentioned in comment#14 made into Ubuntu 9.10? Karmic release code now running on i845 and i830 pc's here, with module version = 2.9.0 on ubuntu 2.6.31-14-generic 32 bit. The i845 is getting occasional hangs however I don't have a good handle on whether it is Xorg or Firefox or kernel or Gnome as yet. Jerry Created attachment 32355 [details]
same here, see intel_gpu_dump info
There's not enough information here to classify this bug. It is most probably a dup of 26345. Perhaps if you try a recent kernel with "Record batch buffer at time of error" the i915_error_state would be enlightening. (In reply to comment #19) > There's not enough information here to classify this bug. It is most probably a > dup of 26345. Perhaps if you try a recent kernel with "Record batch buffer at > time of error" the i915_error_state would be enlightening. Jerry, in order to do this with Ubuntu Lucid, you can install the newest kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next/ (see https://wiki.ubuntu.com/KernelTeam/MainlineBuilds for information about how to install and test these kernels). Now, you only need to copy /sys/kernel/debug/dri/0/i915_error_state and not all the other files that you copied before. Created attachment 33753 [details]
xorg crash with 2.6.32-15 kernel
Will try to see how to do "Record batch buffer at time of error".
With latest kernel:
Linux version 2.6.32-15-generic (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-3ubuntu1) ) #22-Ubuntu SMP Tue Mar 2 02:24:17 UTC 2010
ran for several hours then crashed. Will try to attach apport crash report.
Jerry
Created attachment 33754 [details]
Also got this crash report
When the crash occurred, Firefox was up, just moving mouse over youtube.com page having previously played a video.
Jerry
After spending more time banging my head against the Brookdale-G breakage, I can see the same GTT coherency issues in the GPU dumps. *** This bug has been marked as a duplicate of bug 26345 *** |
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.