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: dri-devel@lists.freedesktop.org ReportedBy: sa@whiz.se
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
https://bugs.freedesktop.org/show_bug.cgi?id=34096
--- Comment #1 from Sven Arvidsson sa@whiz.se 2011-02-17 13:27:30 PST --- Bisecting leads to this:
c95bc1224a4b20b9470ddcb37b5f78975991073b is the first bad commit commit c95bc1224a4b20b9470ddcb37b5f78975991073b Author: Marek Olšák maraeo@gmail.com Date: Mon Feb 7 02:00:44 2011 +0100
r300g: use the new vertex buffer manager
:040000 040000 4be08dc19f4fa4e1de6b1b259c6bd481b2fc33e5 28f8c721e519137890b5082fdff66671dbcfacb0 M src
https://bugs.freedesktop.org/show_bug.cgi?id=34096
--- Comment #2 from Marek Olšák maraeo@gmail.com 2011-02-18 05:00:59 PST --- Commit 449c4f3706bb479aaa3921cd8e6edc62e80c6e5b should fix this. Can you test please?
https://bugs.freedesktop.org/show_bug.cgi?id=34096
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Sven Arvidsson sa@whiz.se 2011-02-18 06:22:52 PST --- Confirmed, no more problems!
https://bugs.freedesktop.org/show_bug.cgi?id=34096
--- Comment #4 from 414N grsfdhj@tiscali.it 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.
https://bugs.freedesktop.org/show_bug.cgi?id=34096
--- Comment #5 from Sven Arvidsson sa@whiz.se 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.
https://bugs.freedesktop.org/show_bug.cgi?id=34096
--- Comment #6 from 414N grsfdhj@tiscali.it 2012-02-13 06:06:29 PST --- (In reply to comment #5)
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
dri-devel@lists.freedesktop.org