https://bugs.freedesktop.org/show_bug.cgi?id=28847
Summary: Regnum Online only works in safe mode Product: Mesa Version: git Platform: Other URL: http://www.regnumonline.com.ar/ OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: sa@whiz.se
The game Regnum Online (MMO but can be downloaded and played at no cost), only runs if "Safe Mode" is selected in the options.
With r300c, I get these errors:
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info. Found 4 messages leaked
[...]
[ 9468.240398] radeon 0000:01:00.0: (PW 1) Vertex array 0 need 268396832 dwords have 47104 dwords [ 9468.240402] [drm:r100_cs_track_check] *ERROR* Max indices 16774802 [ 9468.240404] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
With r300g, the game starts, but doesn't render correctly (see attached screenshot).
The game is run with "Fixed pipeline" set in the options, using shaders will apprently need the new glsl2 compiler.
System environment: -- system architecture: 32-bit -- Linux distribution: Debian unstable -- GPU: RV570 -- Model: Asus EAX1950Pro 256MB -- Display connector: DVI
-- xf86-video-ati: 801e83227a59a29eea425ea612083bbf2b536c30 -- xserver: 1.8.1.901 -- mesa: 75acb896c6da758d03e86f8725d6ca0cb2c6ad82 -- drm: 6ea2bda5f5ec8f27359760ce580fdad3df0464df -- kernel: 2.6.35-rc3
https://bugs.freedesktop.org/show_bug.cgi?id=28847
--- Comment #1 from Sven Arvidsson sa@whiz.se 2010-06-30 07:27:42 PDT --- Created an attachment (id=36634) --> (https://bugs.freedesktop.org/attachment.cgi?id=36634) RO with r300g
https://bugs.freedesktop.org/show_bug.cgi?id=28847
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regnum Online only works in |[r300c, r300g] Regnum |safe mode |Online only works in safe | |mode
https://bugs.freedesktop.org/show_bug.cgi?id=28847
--- Comment #2 from Sven Arvidsson sa@whiz.se 2010-07-17 14:11:28 PDT --- Created an attachment (id=37161) --> (https://bugs.freedesktop.org/attachment.cgi?id=37161) Screenshot of bug in RO in safe mode
Even safe mode isn't working perfectly. Every few seconds all characters flickers and seems to lose their shape. The attached screenshot shows the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=28847
--- Comment #3 from Marek Olšák maraeo@gmail.com 2010-07-17 23:48:09 PDT --- It looks like a new issue, can you bisect it?
https://bugs.freedesktop.org/show_bug.cgi?id=28847
--- Comment #4 from Sven Arvidsson sa@whiz.se 2010-07-18 09:26:33 PDT --- This is odd, I can only reproduce it with some of the games NPCs now, not my own character. I'm not really sure what has changed from yesterday, but I guess it's possible that some update to the game has changed the behaviour.
Doesn't seem to be a new bug though, I can reproduce it with the same checkout as I used in my initial bug report. Probably didn't notice it then, or forgot to mention it.
The bug seems to have something to do with the angle or location from which I look at an NPC, shifting slightly to the right or left will either show it rendered properly, or corrupt.
https://bugs.freedesktop.org/show_bug.cgi?id=28847
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|Drivers/DRI/r300 |Drivers/Gallium/r300
https://bugs.freedesktop.org/show_bug.cgi?id=28847
--- Comment #5 from Sven Arvidsson sa@whiz.se 2010-09-26 13:03:52 PDT --- The bug in safe mode (the one in the screenshot) goes away if RADEON_NO_TCL=1 is set.
https://bugs.freedesktop.org/show_bug.cgi?id=28847
--- Comment #6 from Marek Olšák maraeo@gmail.com 2011-02-11 07:31:18 PST --- The bug with corrupted vertices appears to be fixed.
https://bugs.freedesktop.org/show_bug.cgi?id=28847
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #36634|0 |1 is obsolete| | Attachment #37161|0 |1 is obsolete| |
--- Comment #7 from Sven Arvidsson sa@whiz.se 2011-02-11 09:41:09 PST --- Created an attachment (id=43260) --> (https://bugs.freedesktop.org/attachment.cgi?id=43260) Regnum with shader backend
(In reply to comment #6)
The bug with corrupted vertices appears to be fixed.
Indeed, the fixed function backend seems to be working fine now.
The shader backend is still busted (screenshot attached). Not sure if it's relevant, but Intel has been making some progress on that end: https://bugs.freedesktop.org/show_bug.cgi?id=28138#c13
https://bugs.freedesktop.org/show_bug.cgi?id=28847
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[r300c, r300g] Regnum |Regnum Online: shader |Online only works in safe |backend not rendering |mode |
https://bugs.freedesktop.org/show_bug.cgi?id=28847
--- Comment #8 from Tom Stellard tstellar@gmail.com 2011-09-16 20:22:50 PDT --- Is this still an issue with the latest mesa from git?
https://bugs.freedesktop.org/show_bug.cgi?id=28847
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Sven Arvidsson sa@whiz.se 2011-09-19 12:05:02 PDT --- (In reply to comment #8)
Is this still an issue with the latest mesa from git?
The game is still busted, but this is not specific to r300g but a problem with the GLSL compiler. There's already bug 28138 open about this, but that's filed against i965 and Intel is making some progress there, but only on their own backend.
It's probably easier to close this report and file a new one against Mesa core to keep things simple.
dri-devel@lists.freedesktop.org