Skip to contentSkip to conversation

*ERROR* radeon: failed testing IB on GFX ring (-35).

Bug 95017 [email protected] 1 participant 22 messages Apr 19, 2016 – Nov 19, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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

Alex Deucher <[email protected]> changed:

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

           Assignee|[email protected] |[email protected]
                   |                            |.org
         QA Contact|[email protected]       |
            Version|6.9.0                       |unspecified
          Component|Driver/Radeon               |DRM/Radeon
            Product|xorg                        |DRI

--- Comment #2 from Alex Deucher <[email protected]> --- Does disabling AGP help? Load the radeon module with agpmode=-1

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

#2 lore raw
In reply to a message not in the archive

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

--- Comment #3 from Mathieu Malaterre <[email protected]> --- Indeed that solve the symptoms. I discover this was also documented here:

https://wiki.debian.org/PowerPC/FAQ#How_do_I_get_graphics_working.3F

[...]
image=/boot/vmlinux
label=Linux
read-only
initrd=/boot/initrd.img append="radeon.agpmode=-1 modprobe.blacklist=ams"
[...]

I am not sure what the 'ams' thingy is doing, but I am using it over here.

The funny thing is that dragging window and moving them around makes the pointer and the window out-of-sync. Still usable though after a while.

If AGP is simply not supported on PowerPC, it would be nice to have a clearer message (or at least a warning).

Thanks

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

#3 lore raw
In reply to a message not in the archive

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

--- Comment #4 from Michel D�nzer <[email protected]> --- (In reply to Mathieu Malaterre from comment #3)

Quoted 2 lines

If AGP is simply not supported on PowerPC, it would be nice to have a clearer message (or at least a warning).

It is supported, it's just unstable on many PowerMacs.

A patch disabling AGP by default on PowerMacs or even PPC in general probably wouldn't be rejected. :)

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

#4 lore raw
In reply to a message not in the archive

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

--- Comment #5 from Mathieu Malaterre <[email protected]> --- Created attachment 123411
--> https://bugs.freedesktop.org/attachment.cgi?id=123411&action=edit
default to PCI for PowerPC

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

#5 lore raw
In reply to a message not in the archive

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

--- Comment #6 from Mathieu Malaterre <[email protected]> --- (In reply to Michel D�nzer from comment #4)

Quoted 8 lines

(In reply to Mathieu Malaterre from comment #3)

Quoted 2 lines

If AGP is simply not supported on PowerPC, it would be nice to have a clearer message (or at least a warning).

It is supported, it's just unstable on many PowerMacs.

A patch disabling AGP by default on PowerMacs or even PPC in general probably wouldn't be rejected. :)

Something like the patch: defaulttopci_powerpc.patch ? Should I submit it first on mesa-dev ?

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

#6 lore raw
In reply to a message not in the archive

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

--- Comment #7 from Ilia Mirkin <[email protected]> ---
FWIW on nouveau we just default agpmode=0 in a #ifdef __powerpc__. Perhaps the same thing can work for radeon.

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

#7 lore raw
In reply to a message not in the archive

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

--- Comment #8 from Mathieu Malaterre <[email protected]> --- (In reply to Ilia Mirkin from comment #7)

Quoted 2 lines

FWIW on nouveau we just default agpmode=0 in a #ifdef __powerpc__. Perhaps the same thing can work for radeon.

Well radeon_agpmode is already set to 0 already[*]. My patch force to PCI(-1) when user did not specify any value.

[*]https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/radeon/radeon_drv.c#L173

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

#8 lore raw
In reply to a message not in the archive

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

--- Comment #9 from Ilia Mirkin <[email protected]> --- (In reply to Mathieu Malaterre from comment #8)

Quoted 9 lines

(In reply to Ilia Mirkin from comment #7)

Quoted 2 lines

FWIW on nouveau we just default agpmode=0 in a #ifdef __powerpc__. Perhaps the same thing can work for radeon.

Well radeon_agpmode is already set to 0 already[*]. My patch force to PCI(-1) when user did not specify any value.

[*]https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/radeon/ radeon_drv.c#L173

Oh, the logic is flipped from nouveau... on nouveau, -1 == autodetect and 0 == no agp. So in your case, just set it to -1 instead of 0 for powerpc. i.e.

#ifdef __powerpc__
int radeon_agpmode = -1;
#else
int radeon_agpmode = 0;
#endif

or something similar.

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

#9 lore raw
In reply to a message not in the archive

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

--- Comment #10 from Rui Salvaterra <[email protected]> --- (In reply to Michel D�nzer from comment #4)

Quoted 8 lines

(In reply to Mathieu Malaterre from comment #3)

Quoted 2 lines

If AGP is simply not supported on PowerPC, it would be nice to have a clearer message (or at least a warning).

It is supported, it's just unstable on many PowerMacs.

A patch disabling AGP by default on PowerMacs or even PPC in general probably wouldn't be rejected. :)

Hi, Michel

I don't understand. I know about the coherency issues on some UniNorth bridges (DMA writes through the GART going directly to RAM, IIRC), but how did OS X cope with them? Did it also disable AGP transfers? If not, what can be done to fix this bug for real, instead of working around it? (I have a very vague memory that these hangs didn't happen before KMS, but I may be completely wrong.)
Also, on a somewhat related note, there are still issues with the Radeon (R600, not SI) DRM on big endian, as for
https://bugs.freedesktop.org/show_bug.cgi?id=95015.

Thanks,

Rui

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

#10 lore raw
In reply to a message not in the archive

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

--- Comment #11 from [email protected] ---
Also been hit by this bug on 2 of my 3 machines: PowerMac 7,3 (A1047) w. Radeon 9600 Pro and PowerBook 5,6 (A1106).

My PowerBook 5,8 (A1138) magically works with AGP! Which is interesting because both the 5,6 and the 5,8 use a Mobility Radeon 9700.

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

#11 lore raw
In reply to a message not in the archive

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

--- Comment #12 from Mathieu Malaterre <[email protected]> --- Patch has been submitted to mesa-dev:

https://lists.freedesktop.org/archives/mesa-dev/2016-May/115453.html

and Reviewed-By Christian König

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

#12 lore raw
In reply to a message not in the archive

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

--- Comment #13 from Mathieu Malaterre <[email protected]> --- Patch has also been submitted to dri-devel:

https://lists.freedesktop.org/archives/dri-devel/2016-May/107479.html

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

#13 lore raw
In reply to a message not in the archive

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

--- Comment #14 from [email protected] ---
It seems the patches to force Radeon cards into PCI-mode (or force it via radeon.agpmode=-1) are no definitive solution. My G4 and G5 Macs hold out longer running X but sooner or later a hard lock is unavoidable. Tested this on a recent software stack: 4.8.1-kernel, xorg-server-1.18.4, xf86-video-ati-7.7.1 and mesa-12.0.3.

See my comment at Bug 94877.

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

#14 lore raw
In reply to a message not in the archive

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

--- Comment #15 from [email protected] ---
Played around a bit with xorg and kernel options on my G5 and worked out that I can drive the Radeon 9650 at AGP x8 if I disable DRI completely via Option "NoAccel" "true" in /etc/xorg.conf.

I had no GPU-lockups since then and xorg is much more responsive despite lacking DRI hardware acceleration (radeon.agpmode=-1 with DRI enabled).

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

#15 lore raw
In reply to a message not in the archive

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

--- Comment #16 from [email protected] ---
linux-4.8.3-gentoo # dmesg | grep -i agp

[    0.000000] Found U3-AGP PCI host bridge.  Firmware bus number: 240->255
[   79.271669] Linux agpgart interface v0.103
[   79.286888] agpgart-uninorth 0000:f0:0b.0: Apple U3H chipset
[   79.300467] agpgart-uninorth 0000:f0:0b.0: configuring for size idx: 64
[   79.308235] agpgart-uninorth 0000:f0:0b.0: AGP aperture is 256M @ 0x0
[   82.883029] agpgart-uninorth 0000:f0:0b.0: putting AGP V3 device into 8x
mode
[   82.883040] radeon 0000:f0:10.0: putting AGP V3 device into 8x mode
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

#16 lore raw
In reply to a message not in the archive

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

--- Comment #17 from Michel Dänzer <[email protected]> --- (In reply to erhard_f from comment #15)

Quoted 5 lines

Played around a bit with xorg and kernel options on my G5 and worked out that I can drive the Radeon 9650 at AGP x8 if I disable DRI completely via Option "NoAccel" "true" in /etc/xorg.conf.

I had no GPU-lockups since then

Sure, because you're not actually using the problematic AGP functionality. :)

Quoted 2 lines

and xorg is much more responsive despite lacking DRI hardware acceleration (radeon.agpmode=-1 with DRI enabled).

FWIW, the value of the radeon.agpmode parameter shouldn't matter if you disable DRI (which BTW means no GPU hardware acceleration can be used at all).

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

#17 lore raw
In reply to a message not in the archive

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

--- Comment #18 from [email protected] ---

Quoted 2 lines

FWIW, the value of the radeon.agpmode parameter shouldn't matter if you disable DRI (which BTW means no GPU hardware acceleration can be used at all).

Yep. And I was astonished to see the desktop running faster actually. ;)

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

#19 lore raw
In reply to a message not in the archive

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

Simon <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #20 from Simon <[email protected]> ---
Created attachment 142691
--> https://bugs.freedesktop.org/attachment.cgi?id=142691&action=edit
dmesg

I think I have the same error with my Radeon HD 4670 on x64_64 arch with linux, I attached my dmesg with the error in the end.

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

#20 lore raw
In reply to a message not in the archive

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

Simon <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Hardware|PowerPC |All

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

#21 lore raw
In reply to a message not in the archive

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

--- Comment #21 from Simon <[email protected]> ---
nothing seems to help, I tried agpmode=-1, disabling glamor that didnt help and Option "NoAccel" "true" wont let me login on the grafical user interface at all.

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

#22 lore raw
In reply to a message not in the archive

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

Martin Peres <[email protected]> changed:

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

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

--- Comment #22 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/711.

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