Bug 18299 - [9600xt] Hangs at boot 50% of time
Summary: [9600xt] Hangs at boot 50% of time
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.4 (2008.09)
Hardware: All Linux (All)
: high major
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-29 15:31 UTC by Bryce Harrington
Modified: 2010-10-25 20:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log from a hung session (49.64 KB, patch)
2008-10-29 15:31 UTC, Bryce Harrington
no flags Details | Splinter Review
gdb output during hang (10.07 KB, text/plain)
2008-10-29 15:33 UTC, Bryce Harrington
no flags Details
disable gatos code (1.70 KB, patch)
2008-10-30 06:59 UTC, Alex Deucher
no flags Details | Splinter Review

Description Bryce Harrington 2008-10-29 15:31:06 UTC
Created attachment 19946 [details] [review]
Xorg.0.log from a hung session

[Problem]
Occasional hang during X start on ATI 9600XT card, after line "(II) RADEON(0): Rage Theatre setting standard 0x0000".

This issue was reported initially against Hardy, but still occurs on Intrepid as of 9-27-2008 (-ati 1:6.9.0+git20080826.a3cc1d7a-2ubuntu3).

[Original Reoprt]
Hardy crashes about 50% of the time at a certain point in the boot process. After the splash screen, the screen goes blank and the system just freezes. There is no mouse cursor and I can't get a console to come up. I usually have to hit reset to start over.

The other 50% of the time Hardy gets passed this point and works beautifully. All the features in Compiz-Fusion work and it seems to run with 3D acceleration enabled.

I spent a lot of time fooling around with BIOS settings and changing Xorg.conf before I realized the crashes were random. Nothing I changed made it crash less often.

This might be a hardware problem because it seems to crash more often when the system is cold. On the other hand, MS Windows starts without any problems.

I have been saving good and bad Xorg.0.log files. It always crashes on the same line "(II) RADEON(0): Rage Theatre setting standard 0x0000".

Motherboard: ASUS A8V-Deluxe
Video Card: ATI 9600XT
Monitor: NEC LCD Multisync 1810
Hardy 8.04 is installed from the alternate disk. I am currently running the non-proprietary drivers but (before I did a second clean install) I ran the proprietary drivers with pretty much the same behavior. It did run a little faster though.

Previously I had lots of problems with bad screen settings and boot problems using Gutsy and Hardy Beta on this system. See: https://answers.launchpad.net/ubuntu/+question/19195 . Now it is actually a pleasure to use even with the random boot failures.

[lspci]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 AR [Radeon 9600] [1002:4152]
	Subsystem: ATI Technologies Inc Device [1002:4772]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (2000ns min), Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
	Region 1: I/O ports at e000 [size=256]
	Region 2: Memory at fbe00000 (32-bit, non-prefetchable) [size=64K]
	Expansion ROM at fbd00000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel modules: radeonfb

[Discussion]
We had the user experiment with some different AGP settings in BIOS and xorg.conf but none of the changes tested produced a change in behavior.
Comment 1 Bryce Harrington 2008-10-29 15:33:24 UTC
Created attachment 19947 [details]
gdb output during hang

We also had the user collect a backtrace, although it looks like it's just stuck in a wait loop (no surprise given the issue is a hang).  I'm including it anyway just in case it might be of some use.
Comment 2 Alex Deucher 2008-10-30 06:59:38 UTC
Created attachment 19962 [details] [review]
disable gatos code

It looks like this card has a tv tuner on it.  Can you confirm?  The tuner setup is idling the drawing engine which is failing sometimes for some reason (maybe an ordering issue).  If you don't use the tuner, this patch will disable it and should avoid the problematic case.  Unfortunately, the gatos video in code is unmaintained at the moment.
Comment 3 Don Fyler 2008-11-15 12:36:01 UTC
Hi, I posted the original bug. Yes, this card does have a TV tuner.  I will try disabling gatos.  It never worked anyway.

I have since updated to the release version of Intrepid.  It now refuses to start the fglrx driver and gives the error "Failed to allocate CMM buffer". It is able to recover, however, and boots up in the generic driver.  Several other people are getting this error:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/287413

Interestingly this person has an Asus K8V Deluxe motherboard and an ATI 9800XT AGP video card.  I have an Asus A8V Deluxe motherboard and an ATI 9600XT AGP video card.  Maybe gatos is causing both these problems.
Comment 4 Bryce Harrington 2008-11-15 12:48:15 UTC
Don, please note that -fglrx bugs are not handled in this bug tracker.  We must only focus on the -ati issue in this report.
Comment 5 Don Fyler 2008-12-06 14:37:28 UTC
Sorry, I got my drivers confused.  The first time Intrepid fails it defaults to the vesa driver and there is no obvious way to get back to the ati driver.  I had to add 'Driver "ati"' to xorg.conf.  It now hangs just like it did in Hardy except now it fails most of the time instead of half the time.  

I was able to apply the patch in comment #2 but I cannot get xf86_video_ati to build and install.  Is there instructions for doing this somewhere?  Thanks.
Comment 6 Alex Deucher 2010-10-19 16:48:12 UTC
Is this still an issue with KMS or a newer driver?
Comment 7 Don Fyler 2010-10-25 19:26:32 UTC
I have been running Lucid Lynx for about 2 months now and have not
seen this bug at all.  I have not changed any of my hardware since I
originally reported this bug so I assume it is now fixed.



On Tue, Oct 19, 2010 at 7:48 PM,  <bugzilla-daemon@freedesktop.org> wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=18299
>
> --- Comment #6 from Alex Deucher <agd5f@yahoo.com> 2010-10-19 16:48:12 PDT ---
> Is this still an issue with KMS or a newer driver?
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>


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.