Skip to contentSkip to conversation

New: Radom X.org freeze by a GPU lockup

Bug 30227 [email protected] 1 participant 17 messages Sep 16, 2010 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=30227

Summary: Radom X.org freeze by a GPU lockup
Product: DRI
Version: XOrg CVS
Platform: PowerPC
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=38743)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38743)
dmesg after the fail

Apparently random GPU lockup (ati r300), with X.org freeze.

It happens more frequently if I compile and I switch over many applications (firefox, terminal, opera). Attached there is the dmesg after the fail (I could continue to work on others console - ctrl+alt+f1,2,3..).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 30227] Radom X.org freeze by a GPU lockup

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #1 from DaNiMoTh <[email protected]> 2010-09-16 05:59:13 PDT --- I forgot system spec:

Kernel: 2.6.35.4
X.org-server: 1.9.0
xf86-video-ati: 6.13.1

PowerPC 7447A, PowerBook G4.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 30227] Radom X.org freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #2 from DaNiMoTh <[email protected]> 2010-09-16 06:17:19 PDT --- Created an attachment (id=38744)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38744)
Xorg log after GPU lock

It re-happens, so I saved also Xorg.log.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 30227] Radom X.org freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #38743|application/octet-stream    |text/plain
          mime type|                            |
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 30227] Radom X.org freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #38744|application/octet-stream    |text/plain
          mime type|                            |
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 30227] Radom X.org freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #3 from Michel Dänzer <[email protected]> 2010-09-16 08:42:31 PDT --- Does radeon.agpmode=1 or radeon.agpmode=-1 help?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 30227] Radom X.org freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #4 from DaNiMoTh <[email protected]> 2010-09-16 12:00:25 PDT --- (In reply to comment #3)

Quoted 1 line

Does radeon.agpmode=1 or radeon.agpmode=-1 help?

This happens with radeon.agpmode=-1 on the kernel boot command line. Without it, the kernel doesn't boot (it freeze, without eth connection and monitor freeze on some openfirmware specification - I have no serial - when switching from openfirmware to kernel itself, I think).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 30227] Radom X.org freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #5 from Michel Dänzer <[email protected]> 2010-09-17 03:11:18 PDT --- (In reply to comment #4)

Quoted 4 lines

This happens with radeon.agpmode=-1 on the kernel boot command line. Without it, the kernel doesn't boot (it freeze, without eth connection and monitor freeze on some openfirmware specification - I have no serial - when switching from openfirmware to kernel itself, I think).

How about agpmode=1? There's an issue with higher transfer rates that Ben Herrenschmidt is working on fixing.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 30227] Radom X.org freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #6 from DaNiMoTh <[email protected]> 2010-09-18 03:59:13 PDT --- Created an attachment (id=38780)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38780)
error with agpmode=1

When system load radeon modules with agpmode=1, I had this error (fortunately I found it in /var/log/messages.log at next boot).

The lock happens more frequently, and give a black screen with no possibilities to switch to another console. There isn't operations which cause this lock more frequently than another: last time (this error) happens when I was scrolling an Opera window.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 30227] Radom X.org freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #7 from DaNiMoTh <[email protected]> 2010-09-18 04:01:46 PDT --- (In reply to comment #6)

Quoted 1 line

Created an attachment (id=38780)

--> (https://bugs.freedesktop.org/attachment.cgi?id=38780)

Quoted 9 lines

error with agpmode=1

When system load radeon modules with agpmode=1, I had this error (fortunately I found it in /var/log/messages.log at next boot).

The lock happens more frequently, and give a black screen with no possibilities to switch to another console. There isn't operations which cause this lock more frequently than another: last time (this error) happens when I was scrolling an Opera window.

Another thing, which happens both with -1 and 1: at time of loading modules from my fs (yaboot->initramfs->my system->load modules) sometimes the kernel freeze. I don't know where (unfortunately there aren't any log) but I think it's related to radeon.
I need from 5 to 10 try to load properly and continue boot, otherwise I need to force shutdown.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 30227] Radom X.org freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #8 from DaNiMoTh <[email protected]> 2010-09-18 04:12:56 PDT --- Uhm, black screen was here also with agpmode=-1, but I have no error message in logs.
I was playing (for the first time) with GLX version of cairo-dock. So now for me both modes doesn't do any difference :(

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 30227] [RADEON:KMS:AGP:R300:PPC] random X freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

Jerome Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Radom X.org freeze by a GPU |[RADEON:KMS:AGP:R300:PPC]
                   |lockup                      |random X freeze by a GPU
                   |                            |lockup
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 30227] [RADEON:KMS:AGP:R300:PPC] random X freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #9 from Michel Dänzer <[email protected]> 2011-03-24 10:03:54 PDT --- I'm not 100% sure (the radeon initialization output from dmesg could confirm), but I suspect this is a duplicate of bug 28402.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw

[Bug 30227] [RADEON:KMS:AGP:R300:PPC] random X freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #10 from GhostlyDeath <[email protected]> 2011-12-10 09:24:52 PST --- Created attachment 54296
--> https://bugs.freedesktop.org/attachment.cgi?id=54296
Dmesg crash

This also occurs to me on my system, a PowerPC 7447A PowerMac G4 with an ATI Radeon 9800 Pro AGP (128MB). Using the packages from Debian Squeeze Backports (7.10.3) with a near-Vanilla 3.1.0 kernel with radeon DRM modules built in along with firmware.

However, for me it crashes about 10-20 seconds when glxgears is running, or it instantly crashes when I attempt to move or resize a window in WindowMaker.

Setting agpmode=-1 fixes the problem for me.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 30227] [RADEON:KMS:AGP:R300:PPC] random X freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #11 from Michel Dänzer <[email protected]> 2011-12-15 10:12:05 PST --- (In reply to comment #10)

Quoted 4 lines

However, for me it crashes about 10-20 seconds when glxgears is running, or it instantly crashes when I attempt to move or resize a window in WindowMaker.

Setting agpmode=-1 fixes the problem for me.

Given your slightly different symptoms, I think we have to assume it's not exactly the same problem. Please file your own report with all the relevant information (at least dmesg output pertaining to agp/drm/radeon).

BTW, if you can narrow down where exactly in r300_asic_reset() the machine check happens, maybe we can fix that.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#15 lore raw

[Bug 30227] [RADEON:KMS:AGP:R300:PPC] random X freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

--- Comment #12 from Michel Dänzer <[email protected]> 2012-01-06 10:37:08 PST --- FWIW, http://lists.freedesktop.org/archives/dri-devel/2012-January/017932.html
should increase the chance of recovering from a GPU lockup, or at least being able to reboot cleanly, on a big endian host.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#16 lore raw

[Bug 30227] [RADEON:KMS:AGP:R300:PPC] random X freeze by a GPU lockup

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30227

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #13 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/156.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel