[RV710 & RV730] X freezes starting on 10th April

Bug #565790 reported by Greg A
84
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
High
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-ati

The crashes happen with no warning and nothing I can see in the logs (but I wouldn't really know what to look for and where).

Since changing to the fglrx non-free driver I have had no such crashes. The crashes started after updates on the 10th April.

Previously the screen froze, but today I had a grey screen with white stripes coming down.

There is a forum thread, however there appears to be a number of different issues there.
http://ubuntuforums.org/showthread.php?t=1450961

I apologise for struggling to be able to understand what else I can do to help ( https://wiki.ubuntu.com/X/Backtracing#Debugging%20Hangs%20/%20Freezes%20/%20Lockups )

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xserver-xorg-video-ati 1:6.13.0-1ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
Architecture: amd64
Date: Sun Apr 18 07:46:23 2010
DkmsStatus: Error: [Errno 2] No such file or directory
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100217)
MachineType: Dell Inc. Dell DXP061
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=6136e36a-180b-4aec-9e52-a9cb5f7a3c68 ro quiet splash
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: xserver-xorg-video-ati
dmi.bios.date: 11/22/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.5.3
dmi.board.name: 0WG855
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr2.5.3:bd11/22/2007:svnDellInc.:pnDellDXP061:pvr:rvnDellInc.:rn0WG855:rvr:cvnDellInc.:ct7:cvr:
dmi.product.name: Dell DXP061
dmi.sys.vendor: Dell Inc.
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-21-generic

Revision history for this message
Greg A (etulfetulf) wrote :
Bryce Harrington (bryce)
tags: added: crash
Revision history for this message
Greg A (etulfetulf) wrote :

Just thought I should add this might be better described as a hang or freeze, rather than a crash.

Revision history for this message
Jerry Ablan (lucifurious) wrote :

Same thing for me on an HD 4650.

Revision history for this message
Andrew Sellers (ackondro) wrote :

Again on a HD 4650

Revision history for this message
Pierre-Olivier Megret (sorrodje) wrote :

I've the same problem with Radeon Driver and ATI HD4670 .... random freeze with first black screen and after white /light grey screen .. and necessary to do a hard reboot. ;)

Excuse my poor english ;)

Revision history for this message
Danielle (karcher-danielle) wrote :

Same issue here with Lucid Lynx on HP dv6, ATI Mobility Radeon HD4530 and free driver.

Revision history for this message
Andy Fawcett (andy-athame) wrote :

And here, Acer E360, ATI HD4350 pcie, 32bit lucid (fully up to date as of 20 minutes ago).

I'll try and gather logs next time it happens.

Revision history for this message
Reiger (jm-ouwerkerk) wrote :

I noticed the following entries in the boot dmesg messages:

[ 17.846987] [drm] radeon defaulting to kernel modesetting.
[ 17.846990] [drm] radeon kernel modesetting enabled.
[ 17.847037] radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 17.847042] radeon 0000:01:00.0: setting latency timer to 64
[ 17.849248] [drm] radeon: Initializing kernel modesetting.
[ 17.863917] [drm] register mmio base: 0xDFDF0000
[ 17.863920] [drm] register mmio size: 65536
[ 17.863978] ATOM BIOS: 113
[ 17.863993] [drm] Clocks initialized !
[ 17.864016] mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combining
[ 17.864019] [drm] Detected VRAM RAM=256M, BAR=256M
[ 17.864020] [drm] RAM width 64bits DDR
[ 17.869406] [TTM] Zone kernel: Available graphics memory: 1996288 kiB.
[ 17.869422] [drm] radeon: 256M of VRAM memory ready
[ 17.869424] [drm] radeon: 512M of GTT memory ready.
[ 17.869462] alloc irq_desc for 29 on node -1
[ 17.869464] alloc kstat_irqs on node -1
[ 17.869473] radeon 0000:01:00.0: irq 29 for MSI/MSI-X
[ 17.869478] [drm] radeon: using MSI.
[ 17.869506] [drm] radeon: irq initialized.

Perhaps booting with radeon.modeset=0 fixes this; or booting with pci=nomsi ( https://bugs.launchpad.net/ubuntu/+source/linux/+bug/509273 )

Revision history for this message
Marco Antonucci (marco-antonucci) wrote :

I can confirm the description in the original report. I can also confirm that the problem has appeared around the day 10th April.

Revision history for this message
Greg A (etulfetulf) wrote :

It's been suggested this may be a duplicate of Bug #557829 however I think this bug appeared only after that one was reported.

People might also be interested in the 2nd post of: http://ubuntuforums.org/showthread.php?s=8674fdc2aaebd69745b39dd9f877ed8b&p=9146088 It suggests this bug may cause hardware damage and strongly suggests switching to fglrx in the meantime.

Revision history for this message
AO (aofrl10n) wrote :

Same problem here on ATI Radeon HD 4600 Series Device ID 9490. Proprietary driver is not used.

Revision history for this message
Rowan (cross-fell-box) wrote :

I can reproduce this bug by switching to open source driver from fglrx.
ATI Radeon HD4670 here.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote : Re: [HD 4350] X freezes starting on 10th April

Please stop posting 'me-too's if you have nothing more than that to say, just tick the 'affects me too' button. 'me-toos' just bloat the bug report and make it harder for developers to read the report.

summary: - random crashes with free driver, but not fglrx (ATI Radeon HD 4350)
+ [HD 4350] X freezes starting on 10th April
summary: - [HD 4350] X freezes starting on 10th April
+ [RV710] X freezes starting on 10th April
Revision history for this message
Bryce Harrington (bryce) wrote : Re: [RV710] X freezes starting on 10th April

If it is correct that this regression started April 10th, that roughly coincides to when we brought in the 6.13.0 version of -ati.

It would be helpful of those of you able to reproduce this problem could downgrade to version 1:6.12.192-2ubuntu2 and verify the issue goes away. If it does not go away, then the bug is not likely to be in xserver-xorg-video-ati. After that, the next thing to check would be to boot an earlier kernel from before April 10th and see if that makes the issue go away.

In either case, I think this bug report should be sent upstream, as the changes we've added to ubuntu are almost entirely cherrypicks from upstream, so this is probably relevant to them.

Revision history for this message
AO (aofrl10n) wrote :

Willing to downgrade to 1:6.12.192-2ubuntu2 to need guidance on how do do that.

Revision history for this message
Woodbj (woodbj) wrote :

Happens to me on ATI Mobility Radeon HD 4570

Revision history for this message
Phillip Susi (psusi) wrote :

Radeon HD 4850 here and no problems whatsoever.

Greg A (etulfetulf)
summary: - [RV710] X freezes starting on 10th April
+ [RV710 & RV730] X freezes starting on 10th April
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Stefanauss (stefanauss) wrote :

I can confirm this on my Mobility Radeon HD 4570.

It happens only with current radeon module if 3D effects (Compiz) are enabled.
I had 5 days uptime with current radeon module (1:6.13.0-1ubuntu5) and NO Compiz enabled.
I had 4 days uptime with fglrx proprietary module and BOTH compiz enabled or disabled.

The system hangs up randomly. Just before a striped green screen appears, mouse freezes.
Hang-ups started after 6.13.* version of xserver-xorg-video-{radeon,ati} packages appeared in the repos.
Last working version (10+ days of uptime) was https://launchpad.net/ubuntu/+source/xserver-xorg-video-ati/1:6.12.192-2ubuntu2

Revision history for this message
Bryce Harrington (bryce) wrote :

I've made a downgrade package of this version for convenience of testers:

  https://edge.launchpad.net/~ubuntu-x-swat/+archive/x-retro

I'm really skeptical that this would fix it however. There's only a tiny number of changes between the two versions, none of which look like things which could cause a freeze, but who knows, these freezes can often be sneaky things.

I'd be more curious if the Apr 10th date coincided with an update to the kernel. Downgrading the kernel might be a more productive thing to test.

Revision history for this message
Stefanauss (stefanauss) wrote :

I'm on my way in testing your downgrade packages, thanks.

There was also a kernel update on that date, indeed.

Revision history for this message
Nikolai Bochev (n-bochev) wrote :

Since i am getting the same hangs i will try those packages and ( separately ) downgrading the kernel. Let's hope it helps to nail down the reason.

Revision history for this message
Stefanauss (stefanauss) wrote :

Downgrading these packages didn't solve the issue. It just gained a few more hours of uptime than before, and this time screen got totally blank instead of "green-striped".

Revision history for this message
Nikolai Bochev (n-bochev) wrote :

Downgrade the kernel then ? What was the version introduced on 10th ?

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Bug 565790] Re: [RV710 & RV730] X freezes starting on 10th April

On Fri, Apr 23, 2010 at 09:26:03AM -0000, Stefanauss wrote:
> Downgrading these packages didn't solve the issue. It just gained a few
> more hours of uptime than before, and this time screen got totally blank
> instead of "green-striped".

Okay, that's what I suspected. It's probably just coincidental that it
stayed up longer. Maybe the stars were aligned differently that moment.

Revision history for this message
Bryce Harrington (bryce) wrote :

Resetting to complete while folks test kernels. Check your /var/log/dpkg.log to see what got upgraded when.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Stefanauss (stefanauss) wrote :

On 13/04 i upgraded simultaneosly

2010-04-13 17:52:07 upgrade xserver-xorg-video-radeon 1:6.13.0-1ubuntu1 1:6.13.0-1ubuntu2

and

2010-04-13 17:51:49 upgrade linux-headers-2.6.32-20 2.6.32-20.29 2.6.32-20.30

Revision history for this message
Andy Fawcett (andy-athame) wrote :

Regarding my comment in #7, I've been running for the last 4 days without problems after disabling KMS (radeon.modeset=0).

So I'm inclined to agree that the problem is down at the kernel level rather than in the driver itself.

Bryce Harrington (bryce)
tags: added: freeze
Revision history for this message
Stefanauss (stefanauss) wrote :

Disabling KMS workarounded this issue for me.

I was wondering. Since this bug still affects many user with a *default* configuration, which is KMS and desktop effects with the radeon module ENABLED, wouldn'it be appropriate to change default settings? How is ubuntu policy about that?

Revision history for this message
Bryce Harrington (bryce) wrote :

On Mon, Apr 26, 2010 at 06:14:45PM -0000, Stefanauss wrote:
> Disabling KMS workarounded this issue for me.
>
> I was wondering. Since this bug still affects many user with a *default*
> configuration, which is KMS and desktop effects with the radeon module
> ENABLED, wouldn'it be appropriate to change default settings? How is
> ubuntu policy about that?

I dunno, we also saw the case where a bunch of people found KMS caused
freezes, so we turned it off by default on those chips, and subsequently
a different bunch of people with the same hardware turned up to say
turning it off caused freezes for them.

Who knows what other problems could exist in the non-KMS case; we've
been running with KMS enabled by default for most of the release, so
blindly switching it off at this point seems like playing Russian
Roulette.

I think the better approach is to understand exactly why the freeze
happens and fix it. After all, at some point there won't be an option
other than KMS so this bug really does have to be fixed.

Revision history for this message
Bryce Harrington (bryce) wrote :

Alright, well the recent comments at least seem pretty convincing that the issue is a kernel regression, so I'll go ahead and reassign this to the kernel team at this point.

Hopefully JFo and the kernel team can help pinpoint the source of this breakage more precisely.

affects: xserver-xorg-video-ati (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → High
milestone: none → lucid-updates
status: Incomplete → New
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Greg,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Greg A (etulfetulf) wrote :

I have been using the fglrx driver for the last few days. Have just switched back to 'normal' Lucid. If (and I imagine it will) I get a crash I will try the v2.6.34-rc5-lucid kernel I have just installed from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-rc5-lucid/ as I believe I've been instructed above. Will report back again later.

Revision history for this message
HX_unbanned (linards-liepins) wrote :

Cannot confirm on my HD4670.

Revision history for this message
Greg A (etulfetulf) wrote : Re: [Bug 565790] Re: [RV710 & RV730] X freezes starting on 10th April

I haven't seen the problem recently. Not sure what has changed.

On 4 May 2010 13:20, HX_unbanned <email address hidden> wrote:
> Cannot confirm on my HD4670.
>
> --
> [RV710 & RV730] X freezes starting on 10th April
> https://bugs.launchpad.net/bugs/565790
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Stefanauss (stefanauss) wrote :

I have reverted my set-up to radeon, kms-enabled, compiz-enabled. With the current kernel image (2.6.32.21.22) the problem just seems to have disappeared. My current uptime is 2 days.

Greg A (etulfetulf)
Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.