Skip to contentSkip to conversation

New: r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

Bug 34096 [email protected] 1 participant 7 messages Feb 9, 2011 – Feb 13, 2012

lore
Share & tools
lore
#0 lore raw

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

Summary: r300: Cannot get a relocation in
radeon_drm_cs_write_reloc.
Product: Mesa
Version: git
Platform: Other
URL: http://www.minecraft.net/
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=43168)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43168)
more dmesg output

When starting the game Minecraft, I'm getting these messages in the terminal:

radeon: The kernel rejected CS, see dmesg for more information.
r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

dmesg:

[  527.282839] [drm:r100_packet3_load_vbpntr] *ERROR* No reloc for packet3 47
[  527.282841] [drm] ib[13751]=0xC0052F00
[  527.282842] [drm] ib[13752]=0x00000023
[  527.282843] [drm] ib[13753]=0x08010803
[  527.282844] [drm] ib[13754]=0x000EA840
[  527.282845] [drm] ib[13755]=0x000EA858
[  527.282846] [drm] ib[13756]=0x00000802
[  527.282847] [drm] ib[13757]=0x000EA84C
[  527.282849] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

If needed, I will try and bisect when I have more time.

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: 6.13.2
-- xserver: 1.9.4
-- mesa: 04c5cc5b8bec1f34f2405b08fd0d9ed6bd70ea61
-- drm: 2.4.23
-- kernel: 2.6.37

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 34096] r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

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

--- Comment #1 from Sven Arvidsson <[email protected]> 2011-02-17 13:27:30 PST --- Bisecting leads to this:

c95bc1224a4b20b9470ddcb37b5f78975991073b is the first bad commit commit c95bc1224a4b20b9470ddcb37b5f78975991073b

Author: Marek Olšák <[email protected]>
Date:   Mon Feb 7 02:00:44 2011 +0100

r300g: use the new vertex buffer manager

:040000 040000 4be08dc19f4fa4e1de6b1b259c6bd481b2fc33e5
28f8c721e519137890b5082fdff66671dbcfacb0 M src

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
#2 lore raw

[Bug 34096] r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

In reply to [email protected]

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

--- Comment #2 from Marek Olšák <[email protected]> 2011-02-18 05:00:59 PST --- Commit 449c4f3706bb479aaa3921cd8e6edc62e80c6e5b should fix this. Can you test please?

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
#3 lore raw

[Bug 34096] r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

In reply to [email protected]

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

Sven Arvidsson <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Sven Arvidsson <[email protected]> 2011-02-18 06:22:52 PST --- Confirmed, no more problems!

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.
#4 lore raw

[Bug 34096] r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

In reply to [email protected]

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

--- Comment #4 from 414N <[email protected]> 2012-02-09 06:00:05 PST --- Having this problem too with a mesa built from a 2 days old git snapshot. The problem occurs when trying to launch a WebGL demo
(http://www.chromeexperiments.com/detail/glass-shader/) using Firefox 10.0 (x86_64).
On the shell the following message appears:

radeon: Cannot get a relocation in radeon_drm_cs_write_reloc.

and then Firefox crashes.
Reading the previous comments I looked at dmesg too and the following happens:
1) When using a 3.1.0 kernel, some lines similar to those already mentioned in the above comments appear;
2) When using a 3.2.5 kernel, nothing appears in dmesg anymore after Firefox crashing.
I tried using the 3.2.5 kernel because I thought that some changes undergone in libdrm would only be available with a newer kernel.
My system specs follow:
CPU: AMD Athlon 64 FX-55
GPU: ATI Technologies Inc R420 JP [Radeon X800XT]
OS: Slackware64 13.37
Mesa git snapshot taken on February, the 7th
libdrm-2.4.31

If more information is needed, please tell 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.
#5 lore raw

[Bug 34096] r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

In reply to [email protected]

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

--- Comment #5 from Sven Arvidsson <[email protected]> 2012-02-09 06:05:40 PST --- 414N : It's probably a better idea to open a new bug for this, it might not be the same problem.

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.
#6 lore raw

[Bug 34096] r300: Cannot get a relocation in radeon_drm_cs_write_reloc.

In reply to [email protected]

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

--- Comment #6 from 414N <[email protected]> 2012-02-13 06:06:29 PST --- (In reply to comment #5)

Quoted 1 line

414N : It's probably a better idea to open a new bug for this, it might not be the same problem.

Thanks for the advice. I just opened bug 45993 for my problem

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.