[RV350] system freeze randomly unless XAA used

Bug #349229 reported by MyName
72
This bug affects 11 people
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Won't Fix
Medium
xserver-xorg-video-ati (Ubuntu)
Invalid
High
Unassigned

Bug Description

Binary package hint: xorg

Hi,

I did a clean Jaunty install. Now I have the problem that the System freeze randomly. I cant't reproduce the freeze. It happens randomly 1-2 times a day at browsing with firefox, searching with Gnome-Do or nautilus or at idling.

The Keyboard and mouse stop working too. REISUB doesn't work, have to push Powerbutton to power-off system.

Intrepid works fine, there was no problem with freezes.

-------------------
The last entry in the xorg.0.log is:

exaCopyDirty: Pending damage region empty!

Some Information:
-------------------
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
-------------------
xserver-xorg-video-ati:
  Installiert: 1:6.12.1-0ubuntu1
  Kandidat: 1:6.12.1-0ubuntu1
  Versions-Tabelle:
 *** 1:6.12.1-0ubuntu1 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
-------------------
Description: Ubuntu jaunty (development branch)
Release: 9.04

With full updates
-------------------
Linux PC 2.6.28-11-generic #37-Ubuntu SMP Mon Mar 23 16:40:23 UTC 2009 i686 GNU/Linux
-------------------

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

Hi rapha,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

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

tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in xorg (Ubuntu):
status: New → Incomplete
Revision history for this message
Antanas Uršulis (antanas-ursulis-deactivatedaccount) wrote :

Hi,

I have the same GPU as yours, also a clean install of Jaunty and the same problems. It occurs in three types of freezes:
 - the mouse moves, everything else is unresponsive (sometimes REISUB helps)
 - a black screen
 - something completely different, might be my laptop - the screen fades into a blue/violet color with strange patterns (I could try and take a photo if this ever happens again (it happened twice))

None of this happened in Intrepid. Moreover, the system becomes stable after disabling Desktop Effects (I'm using KDE4), but then some screen corruption shows up occasionally.

I've attached my lspci -vvnn.

Revision history for this message
Antanas Uršulis (antanas-ursulis-deactivatedaccount) wrote :

Ok, disregard what I said about the system becoming stable, it still freezes from time to time (but really less often than with desktop effects). I've attached my Xorg.0.log from a recent freeze.

Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Revision history for this message
MyName (rk.) wrote :
Revision history for this message
MyName (rk.) wrote :
Revision history for this message
MyName (rk.) wrote :
Revision history for this message
MyName (rk.) wrote :

All my logs after a system freeze

Revision history for this message
Paul Weiss (interweiss) wrote :

I have the same problem with Ubuntu 9.04 AMD64. I have a Nvidia video card if that makes a difference.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Paul Weiss (interweiss) wrote :

After upgrading to Firefox 3.0.10, I don't get these freezes any more.

Revision history for this message
MyName (rk.) wrote :

I think this is a ati driver issue, not firefox.

have firefox 3.0.10 and the system is still freezing

Bryce Harrington (bryce)
summary: - system freeze randomly, need hard reset
+ [RV350] system freeze randomly, need hard reset
Revision history for this message
MyName (rk.) wrote : Re: [RV350] system freeze randomly, need hard reset

Hi,
I updated the driver to "xserver-xorg-video-ati - 1:6.12.2-0ubuntu1~xup~1 " (and the other packages) with one of the Ubuntu-X-Swat PPA

The System is still freezing.

******

For testing I installed Intrepid Ibex Ubuntu parallel to Ubuntu Jaunty, this installation is running fine, NO freezes.

Bryce Harrington (bryce)
tags: added: freeze
Revision history for this message
Mantas Zimnickas (sirex) wrote :

Same problem here. When I was using Gnome + Compiz freezes where more frequent, now I'm using LXDE without Compiz, but once a week my laptop still freezes.

 $ cat /etc/issue
Ubuntu 9.04 \n \l

 $ lspci | grep -i vga
01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon Xpress 200M]

 $ uname -a
Linux sirex-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Revision history for this message
Mantas Zimnickas (sirex) wrote :

Also, here is logs, when I first time restarted after freeze.

Revision history for this message
Mantas Zimnickas (sirex) wrote :
MyName (rk.)
tags: removed: needs-lspci-vvnn needs-xorglog
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Since your card is an AGP Radeon card, this might be an AGPMode issue. Please see https://wiki.ubuntu.com/X/Quirks#ATI%20AGP%20Mode%20Quirk and report back.

You other guys with other cards, please file your own bugs.

Changed in xserver-xorg-video-ati (Ubuntu):
assignee: nobody → Tormod Volden (tormodvolden)
status: Confirmed → Incomplete
Revision history for this message
Mantas Zimnickas (sirex) wrote :

I found, that my problem was related to Ext4 and not with video drivers. When my computer starts to write into lots of small files, computer just freezes.

Revision history for this message
MyName (rk.) wrote :

@Tormod Volden

I switched three days before to Karmic, 3 days no freezes yet. If a freeze occur, I try the workaround with AGPMode.

Revision history for this message
MyName (rk.) wrote :

I turned on Compiz and the System is freezing after a few minutes. Tried the workaround setting AGPmode to 1 / 2 / 4, doesn't help.

https://wiki.ubuntu.com/X/Quirks#ATI%20AGP%20Mode%20Quirk
<snip>
Typical Symptoms:

    * X hangs (pointer still moves) or shows corruption:
</snip>

Please see initial post. Mouse/keyboard freeze too.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Are you sure you spelled AGPMode correct, with caps and everything? Please attach your Xorg.0.log so that we can see it took effect.

Revision history for this message
MyName (rk.) wrote :

Changes for 1 / 2 / 4

........

xorg.conf

   Section "Device"
 Identifier "Configured Video Device"
 Option "AGPMode" "2"
   EndSection

........

Xorg.0.log

        (**) RADEON(0): Option "AGPMode" "2"

........

My last try is switch AccelMethod from EXA > XAA. I will report.

Revision history for this message
MyName (rk.) wrote :

I think the switch from EXA to XAA fixed this issue. No freezes with Compiz (10hours)

........
xorg.conf

Section "Device"
 Identifier "Configured Video Device"
 Option "AccelMethod" "XAA"
EndSection

........
Xorg.0.log

(**) RADEON(0): Option "AccelMethod" "XAA"
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
(II) RADEON(0): Acceleration enabled

........

Revision history for this message
Gobnuts (gobnuts) wrote :

@Raphael

Is your system running fine now? And could you perhaps post the contents of your xorg.conf ?

I've got the same video card, running Kubuntu jaunty with latest updates and experience these freezes all the time. Even when idle, the Xorg uses 20-50% of cpu time. And all of this without running compositing.

I can also confirm that this didn't happen with Intrepid. Everything ran smoothly _with_ compositing.

Revision history for this message
MyName (rk.) wrote :

No freezes since I switched from EXA to XAA. Compiz is running smoothly to.

........
xorg.conf
<snip>

Section "Device"
 Identifier "Configured Video Device"
 Option "AccelMethod" "XAA"
EndSection

</snip>

Revision history for this message
Gobnuts (gobnuts) wrote :

Thanks Raphael

It's weird. I tried a modified xorg.conf with just the "AccelMethod" "XAA" and that ran as crappily as before (20-50% cpu time for X).

I decided trying to re-install vanilla Jaunty (quite radical solution, but I figured I might have some crap installed I didn't remember and wanted to exclude that).

The only alteration to xorg I have right now is: Driver "radeon"
I can live without compositing, but it still bugs the hell out of me, what the high cpu usage of X was.

Here's hoping that someday compositing on R300/R350 chipsets will work again sometime, I know it did under intrepid.

Bryce Harrington (bryce)
summary: - [RV350] system freeze randomly, need hard reset
+ [RV350] system freeze randomly unless XAA used
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Confirmed
Bryce Harrington (bryce)
tags: added: jaunty
Revision history for this message
Bryce Harrington (bryce) wrote :

Raphael, I stuck in a patch to -ati today which forces XAA in some circumstances, but I'm uncertain if it is going to do it for your case. Would you mind retesting today's -ati update in Karmic and see if it solves the issue even if you do not specify XAA in your xorg.conf?

Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
MyName (rk.) wrote :

I tested it without Option "AccelMethod" "XAA". The System freezes after 1-2 minutes.

$ apt-cache policy xserver-xorg-video-ati
xserver-xorg-video-ati:
  Installiert: 1:6.12.99+git20090629.f39cafc5-0ubuntu6
  Kandidat: 1:6.12.99+git20090629.f39cafc5-0ubuntu6
  Versions-Tabelle:
 *** 1:6.12.99+git20090629.f39cafc5-0ubuntu6 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Please attach the new log.

Revision history for this message
MyName (rk.) wrote :
Revision history for this message
MyName (rk.) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

OK, the new version also defaults to EXA. It will only force XAA if you are low on VRAM, but your 64MB is considered enough.

Many random freezes issues have been fixed in Karmic or xorg-edgers, so if you have the possibility of trying them out it could be worthwhile.

Changed in xserver-xorg-video-ati (Ubuntu):
assignee: Tormod Volden (tormodvolden) → nobody
status: Incomplete → Confirmed
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :

This is still happening in karmic with the driver from the KMS ppa, no matter that even XAA is specified (although I suspect it still uses EXA).
The only option to avoid is to to have EXA and EXANoComposite turned on, but then this makes everything horribly slow.

Revision history for this message
Gytis Raciukaitis (noxxious) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.10
MachineType: IBM 2373CW9
Package: xserver-xorg-video-ati 1:6.12.99+git20090805.bd03977e-0ubuntu2
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.31-6-generic root=/dev/mapper/vg_system-lv_root ro crashkernel=384M-2G:64M,2G-:128M quiet splash
ProcEnviron:
 LC_PAPER=en_GB.UTF-8
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-6.25-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0~git20090805.ac3de85e-0ubuntu1
 libdrm2 2.4.12+git20090806.d74c67fb-0ubuntu1
 xserver-xorg-video-intel N/A
 xserver-xorg-video-ati 1:6.12.99+git20090805.bd03977e-0ubuntu2
Uname: Linux 2.6.31-6-generic i686
UserGroups: adm admin audio cdrom dialout dip fax fuse lpadmin netdev plugdev pulse pulse-access sambashare tape vboxusers video
dmi.bios.date: 06/18/2007
dmi.bios.vendor: IBM
dmi.bios.version: 1RETDRWW (3.23 )
dmi.board.name: 2373CW9
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr1RETDRWW(3.23):bd06/18/2007:svnIBM:pn2373CW9:pvrThinkPadT42:rvnIBM:rn2373CW9:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.name: 2373CW9
dmi.product.version: ThinkPad T42
dmi.sys.vendor: IBM
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.31-6-generic

Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
Revision history for this message
Gytis Raciukaitis (noxxious) wrote :
tags: added: apport-collected
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Gytis and Gobnuts, since you have slightly different cards or issues, it is better that you file your own bugs.

Revision history for this message
Gytis Raciukaitis (noxxious) wrote :

Tormod,

although I'm running karmic now, this bug was seen by me on Jaunty as well. Whenever EXA is enabled the hard freeze is happening. This is still experience in karmic regardless of KMS.

I have played around with the options a bit:
| DRI | RenderAccel | Freeze |
+++++++++++++++++++++++
| yes | yes | yes |
| no | yes | yes |
| no | no | no |
+++++++++++++++++++++++

The freeze usually happens after some time and mostly with firefox & flash. For example browsing for some time with Chromium and then launching firefox can cause a freeze.

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

Created an attachment (id=29128)
Xorg.0.log

Forwarding this bug from Ubuntu reporter MyName:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/349229

[Problem]
X freezes after about 1-2 minutes unless XAA used. The system has 64MB so XAA is not getting forced on by default.

This is a regression from Intrepid to Jaunty, verified as still affecting Karmic, and tested against git up to commit f39cafc5 via xorg-edgers, and by another user with the same hardware up to commit 20090805.bd03977e.

[Original Description]
Hi,

I did a clean Jaunty install. Now I have the problem that the System freeze randomly. I cant't reproduce the freeze. It happens randomly 1-2 times a day at browsing with firefox, searching with Gnome-Do or nautilus or at idling.

The Keyboard and mouse stop working too. REISUB doesn't work, have to push Powerbutton to power-off system.

Intrepid works fine, there was no problem with freezes.

Version 1:6.12.99+git20090629.f39cafc5-0ubuntu6 was tested and found to freeze the system within 1-2 minutes.

I turned on Compiz and the System is freezing after a few minutes. Tried the workaround setting AGPmode to 1 / 2 / 4, doesn't help.

https://wiki.ubuntu.com/X/Quirks#ATI%20AGP%20Mode%20Quirk
<snip>
Typical Symptoms:

    * X hangs (pointer still moves) or shows corruption:
</snip>

Please see initial post. Mouse/keyboard freeze too.

-------------------
The last entry in the xorg.0.log is:

exaCopyDirty: Pending damage region empty!

Some Information:
-------------------
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
-------------------
xserver-xorg-video-ati:
  Installiert: 1:6.12.1-0ubuntu1
  Kandidat: 1:6.12.1-0ubuntu1
  Versions-Tabelle:
 *** 1:6.12.1-0ubuntu1 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
-------------------
Description: Ubuntu jaunty (development branch)
Release: 9.04

With full updates
-------------------
Linux PC 2.6.28-11-generic #37-Ubuntu SMP Mon Mar 23 16:40:23 UTC 2009 i686 GNU/Linux
-------------------

Bryce Harrington (bryce)
tags: added: karmic
Revision history for this message
In , agd5f (agd5f) wrote :

please try with the latest git from master. make sure you have:
794ae743c305331741e7cf45dd71c755fe325ed5

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

MyName - I've forwarded this bug upstream to https://bugs.freedesktop.org/show_bug.cgi?id=23660 - please subscribe yourself to this bug, in case they need further information or wish you to test something. Thanks ahead of time!

Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Changed in xserver-xorg-driver-ati:
status: Unknown → Confirmed
Revision history for this message
In , Bryce Harrington (bryce) wrote :

A Ubuntu package of 794ae743 can be found in this PPA for testing:

https://edge.launchpad.net/~xorg-edgers/+archive/ppa
 + xserver-xorg-video-ati - 1:6.12.99+git20090902.794ae743-0ubuntu0tormod

Revision history for this message
In , raphael (raaa) wrote :

Hi,

I tested the suggested package from xorg-edgers PPA:

xserver-xorg-video-ati - 1:6.12.99+git20090902.794ae743-0ubuntu0tormod

System freezes after seconds.

---------

After restart I saved the Xorg.log. I think the log process was interrupted by the freeze. The saved Xorg.log is NOT complete, but I will attach it too.

Revision history for this message
In , raphael (raaa) wrote :

Created an attachment (id=29179)
Xorg.0.log - 1:6.12.99+git20090902.794ae743-0ubuntu0tormod

Revision history for this message
In , agd5f (agd5f) wrote :

Do any of the following options help?
Option "EXANoComposite"
Option "EXANoUploadToScreen"
Option "BusType" "PCI"

Revision history for this message
In , Gytis Raciukaitis (noxxious) wrote :

hi,

following the recommendations on the other defect on freedesktop I have force the card into the PCI mode using the radeon driver option radeon.agpmode=-1 in karmic.

After that I'm running with no problems for one week. I guess this should work with non KMS setup as well.

Do we really need an AGP Quirk ?

Revision history for this message
In , Gytis Raciukaitis (noxxious) wrote :

I'm using the latest from https://launchpad.net/~ubuntu-x-swat/+archive/kms

xserver-xorg-video-ati - 1:6.12.99+git20090805.bd03977e-0ubuntu2

Revision history for this message
In , agd5f (agd5f) wrote :

(In reply to comment #6)
> hi,
>
> following the recommendations on the other defect on freedesktop I have force
> the card into the PCI mode using the radeon driver option radeon.agpmode=-1 in
> karmic.
>
> After that I'm running with no problems for one week. I guess this should work
> with non KMS setup as well.
>
> Do we really need an AGP Quirk ?
>

Please file a different bug as your bug may not be related to this one.

Revision history for this message
MyName (rk.) wrote :

Hi,

I tested the suggested package from xorg-edgers PPA:

xserver-xorg-video-ati - 1:6.12.99+git20090902.794ae743-0ubuntu0tormod

System freezes after seconds.

---------

After restart I saved the Xorg.log. I think the log process was interrupted by
the freeze. The saved Xorg.log is NOT complete, but I will attach it too.

Revision history for this message
Gytis Raciukaitis (noxxious) wrote :

hi,

following the recommendations on the other defect on freedesktop I have force the card into the PCI mode using the radeon driver option radeon.agpmode=-1 in karmic.

After that I'm running with no problems for one week.

Do we really need an AGP Quirk ?

Revision history for this message
Rolf Leggewie (r0lf) wrote :

sounds a lot like bug 363238

Revision history for this message
Gytis Raciukaitis (noxxious) wrote :

No, this is a different issue. In this case EXA is actually performing, but causes system hard freeze.

Revision history for this message
In , Mrsteven (mrsteven) wrote :

Same here with all radeon driver releases that support render accelleration with EXA (latest I've tested is xf86-video-ati-6.12.4). The system freezes completely, even the music stops to play.

My current setup on gentoo:
x11-base/xorg-server-1.6.3.901-r2
x11-drivers/xf86-video-ati
media-libs/mesa-7.5.1

When I switch to AccelMethod "exa" it works fine again, but with EXA the system freezes, usually when I'm scrolling a website in firefox.

Revision history for this message
In , Mrsteven (mrsteven) wrote :

Forgot to mention: card is a Radeon Mobility 9600. Here's my lspci:

00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 21)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 21)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:01.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:01.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04)
02:02.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)

Revision history for this message
In , Mrsteven (mrsteven) wrote :

(In reply to comment #9)
> When I switch to AccelMethod "exa" it works fine again, but with EXA the system
> freezes, usually when I'm scrolling a website in firefox.
>

Switching to AccelMethod "xaa", I mean... Sorry for the spam!

Revision history for this message
philipp beitz (philippbeitz) wrote :

xaa activation in xorg.conf (manually created) and deactivating compiz helps. no freeze for 2 days now.

mobile ati radeon 9700 pro
centrino 1,6 ghz

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

The most interesting information right now would be the answers to the questions from comment #5.

Revision history for this message
In , Max Goodhart (chromakode) wrote :

(In reply to comment #12)
> The most interesting information right now would be the answers to the
> questions from comment #5.
>

I have also been affected by this bug since Ubuntu Jaunty (just found this bug last night). I was disappointed to find that the hard freezing still occurs under Karmic. Freezing happens within a few minutes with compiz running; it happens in a matter of days without compiz running (usually when moving a window, alt-tabbing, or opening a menu). Metacity with composite running and AccelMethod set to XAA seems to be doing fine so far.

I would like to do whatever I can to help get this fixed.

Michel, please let me know what to try. Would you like every combination of the options you posted tested? I am also available on FreeNode as 'chromakode' if you'd have things you'd like me to test.

Thank you,
-C

System Info:
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]

chromakode@druid:~$ apt-cache policy xserver-xorg-video-ati
xserver-xorg-video-ati:
  Installed: 1:6.12.99+git20090929.7968e1fb-0ubuntu1
  Candidate: 1:6.12.99+git20090929.7968e1fb-0ubuntu1
  Version table:
 *** 1:6.12.99+git20090929.7968e1fb-0ubuntu1 0
        500 http://us.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

chromakode@druid:~$ uname -a
Linux druid 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux

Revision history for this message
Fredoom (fredoom) wrote :

Same issue with a Radeon RV100 QY [Radeon 7000/VE].

xaa activation in a manually created xorg.conf helps too.

Revision history for this message
In , Mrsteven (mrsteven) wrote :

(In reply to comment #5)
> Option "BusType" "PCI"

That seems to do the trick. Haven't tried the other options yet, but with this EXA is stable, even with AIGLX and Compositing from KDE 4. Without the BusType Option the system freezes quite quickly.

Packages are as follows:

$ emerge -pv xf86-video-ati mesa libdrm vanilla-sources xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] x11-libs/libdrm-2.4.15 USE="-debug" 0 kB
[ebuild R ] sys-kernel/vanilla-sources-2.6.32.8 USE="symlink -build" 0 kB
[ebuild R ] media-libs/mesa-7.5.2 USE="nptl xcb -debug -motif -pic" VIDEO_CARDS="radeon -intel -mach64 -mga -none -r128 -radeonhd -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 0 kB
[ebuild R ] x11-base/xorg-server-1.6.5-r1 USE="hal nptl sdl xorg -debug -dmx -ipv6 -kdrive -minimal -tslib" 0 kB
[ebuild R ] x11-drivers/xf86-video-ati-6.12.4-r1 USE="-debug" 0 kB

Revision history for this message
In , agd5f (agd5f) wrote :

(In reply to comment #14)
> (In reply to comment #5)
> > Option "BusType" "PCI"
>
> That seems to do the trick. Haven't tried the other options yet, but with this
> EXA is stable, even with AIGLX and Compositing from KDE 4. Without the BusType
> Option the system freezes quite quickly.

Can you try changing the AGPMode? Remove the BusType option and try:
Option "AGPMode" "X"
where X = 1 or 2 or 4 or 8

Revision history for this message
In , Spoek (spoek) wrote :

I may have the same problem here.
If I use XAA, everything works fine but Xorg recommends me to use EXA over XAA.
If I use EXA, the graphical login appears corrupted, specially the fonts. If I log in, the system freezes in a few seconds. Even the SysRq combo doesn't work.

I've tried the next:
With "BusType" "PCI" I get "(WW) RADEON(0): Option "BusType" is not used".
Options "EXANoUploadToScreen" and "EXANoDownloadFromScreen" are useless, the freeze continues.
Option "EXANoComposite" gives me a working system but, in exchange, it seems to make X a very cpu hungry process.

My GPU is an "ATI R300 AD [Radeon 9500 Pro]". I'm on a Gentoo box using the git version of the graphic stack through the x11 overlay.

Please, feel free to ask for more information or if you want me to try a patch.

Revision history for this message
In , agd5f (agd5f) wrote :

(In reply to comment #16)
> I may have the same problem here.
> If I use XAA, everything works fine but Xorg recommends me to use EXA over XAA.
> If I use EXA, the graphical login appears corrupted, specially the fonts. If I
> log in, the system freezes in a few seconds. Even the SysRq combo doesn't work.
>
> I've tried the next:
> With "BusType" "PCI" I get "(WW) RADEON(0): Option "BusType" is not used".
> Options "EXANoUploadToScreen" and "EXANoDownloadFromScreen" are useless, the
> freeze continues.
> Option "EXANoComposite" gives me a working system but, in exchange, it seems to
> make X a very cpu hungry process.
>
> My GPU is an "ATI R300 AD [Radeon 9500 Pro]". I'm on a Gentoo box using the git
> version of the graphic stack through the x11 overlay.
>
> Please, feel free to ask for more information or if you want me to try a patch.
>

Can you attach your xorg log and dmesg? It sounds like you may be using KMS, in which case, there is only EXA support as XAA doesn't work with kms.

Revision history for this message
In , Spoek (spoek) wrote :

Created an attachment (id=34514)
dmesg output

dmesg output as requested.

Revision history for this message
In , Spoek (spoek) wrote :

Created an attachment (id=34515)
Xorg output

Xorg.0.log file.

Revision history for this message
In , Spoek (spoek) wrote :

(In reply to comment #17)
> Can you attach your xorg log and dmesg? It sounds like you may be using KMS,
> in which case, there is only EXA support as XAA doesn't work with kms.
>
I'm sorry, I forgot to tell that, indeed, I'm trying to use KMS. As you can see in dmesg, my kernel is from git also: 2.6.33-rc8.

I can attach my .config if you wish but these are the related parameters to radeon in it:
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FB=y
# CONFIG_FB_RADEON is not set

My last build from git was in March 5th but I can catch up if necessary, kernel included.

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

(In reply to comment #16)
> Option "EXANoComposite" gives me a working system but, in exchange, it seems to
> make X a very cpu hungry process.

I've found that drm-radeon-testing commit 924788672f9c802a4c8e6bc8d88fbc2c9b2e3089 ('drm/radeon/bo: add some fallback placements for VRAM only objects.') can result in GPU lockups due to the 3D engine trying to access unbound GTT memory, and the new GPU reset code can hardlock the system when trying to recover from the lockup. If your kernel has that commit, try reverting it.

Note that this report was about non-KMS so your problem should be tracked elsewhere.

Revision history for this message
In , Spoek (spoek) wrote :

(In reply to comment #21)
> (In reply to comment #16)
> > Option "EXANoComposite" gives me a working system but, in exchange, it seems to
> > make X a very cpu hungry process.
>
> I've found that drm-radeon-testing commit
> 924788672f9c802a4c8e6bc8d88fbc2c9b2e3089 ('drm/radeon/bo: add some fallback
> placements for VRAM only objects.') can result in GPU lockups due to the 3D
> engine trying to access unbound GTT memory, and the new GPU reset code can
> hardlock the system when trying to recover from the lockup. If your kernel has
> that commit, try reverting it.
>
> Note that this report was about non-KMS so your problem should be tracked
> elsewhere.
>

My kernel doesn't have that commit :(
I've followed your recommendation and I've filed a new bug report: #27355 (https://bugs.freedesktop.org/show_bug.cgi?id=27355)

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

[This is an automatic notification.]

Hi MyName,

This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?

Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:

    http://www.ubuntu.com/support

If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:

  apport-collect 349229

If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug 349229 in your report if you think it may be related):

  ubuntu-bug xorg

If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:

  https://bugs.launchpad.net/ubuntu/+bug/349229

Changed in xserver-xorg-video-ati (Ubuntu):
status: Triaged → Incomplete
tags: added: needs-retested-on-lucid-by-june
Bryce Harrington (bryce)
tags: added: hardy
Revision history for this message
In , Mrsteven (mrsteven) wrote :

I did not have the problem with the kernel 2.6.33 series (that I used for at least 2 months while writing my thesis), KMS and xf86-video-ati-6.13.0. Today I updated to Kernel 2.6.34 and I got the same freeze again. The system runs with radeon.agpmode=-1 right now, let's see if it crashes again.

Anyway, I think in this case it's more of a kernel bug...

Revision history for this message
pedro_magalhaes86 (pedro-magalhaes86) wrote :

I believe I have similar problem with my laptop, a LG LW65 Express. I am using Ubuntu 10.04 and it works fine, but sometimes the screen goes black and the system simply doesn't respond, requiring a so called hard reset. My VGA card is an ATI x700 mobility. In my opinion, the crashes are completely random. They don't happen because I start an extremely demanding application, they come out of nowhere.

Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
Changed in xserver-xorg-driver-ati:
importance: Medium → Unknown
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
Revision history for this message
Sebastian (sebastianhaselbeck) wrote :

same here. random freezes (mainly when using on battery, but also on cord), with blank screen. seems to be graphics adapter related, or buffer overflow, who knows.... on thinkpad edge 13 with amd/ati combo, 64bit.... please fix :(

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Closing bug, no response from original submitter.

Sebastian, your comment sounds like a completely different issue. Please file a new bug using "ubuntu-bug xserver-xorg-video-ati".

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Invalid
Changed in xserver-xorg-driver-ati:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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