New: Heroes of Newerth crashes with cs parser error
https://bugs.freedesktop.org/show_bug.cgi?id=31391
Summary: Heroes of Newerth crashes with cs parser error
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Keywords: regression
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: [email protected]
ReportedBy: [email protected]
The game Heroes of Newerth (also referred to as HoN) crashes in certain circumstances with the following error message in dmesg:
[ 1797.294324] [drm:radeon_cs_parser_init] *ERROR* cs IB too big: 26607 [ 1797.294327] [drm:radeon_cs_ioctl] *ERROR* Failed to initialize parser !
It's occuring during normal gameplay in situations with high graphic workload (as far as I can tell).
I was up until recently using older libs for playing HoN with the r600 driver and thus noticed this bug as a regression.
It is possible to reproduce the bug quite reliably by following these steps:
1. Start HoN
2. Create a practice game
3. Select a slot and start the game
4. Select any hero and wait for the countdown or skip the countdown by pressing ready
5. As the game starts, open the test-menu at the top left of the screen and press the “Spawn”-button right of where it reads “Creeps” multiple times (~20-30 times). There should be spawning many creeps at your base.
6. Pan the viewport to include as many creeps as possible.
7. Press the “Kill”-button right next to the “Spawn”-button.
8. 1-2 seconds later the game crashes.
9. You notice the error messages in dmesg
Bisecting issued the following bad commit:
e62e5b0922b6554431234a8a71c7aec7cff91864 is the first bad commit commit e62e5b0922b6554431234a8a71c7aec7cff91864
Author: Andre Maasikas <[email protected]> Date: Wed Aug 11 14:30:18 2010 +0300
r600: add support for draw_elements_base_vertex
use VTX_BASE_VTX_LOC for offset, last time using INDEX_OFFSET was probably a wrong register for this
:040000 040000 2daa2236ba96c969c80cd62b1199d0eacb56ecce376ee1345c8cbbb51c2b1c36cb7adafac276d5d6 M src
I tried to the best of my ability to manually revert the commit and it proved to be the cause of the bug.
I'm running mesa-git right now with that commit manually reverted and HoN is running fine.
Note: This might be the same bug as described in this comment:
https://bugs.freedesktop.org/show_bug.cgi?id=25114#c7
Let me know if there is any information missing.
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
[Bug 31391] Heroes of Newerth crashes with cs parser error
https://bugs.freedesktop.org/show_bug.cgi?id=31391
--- Comment #1 from Stephan Hilb <[email protected]> 2011-01-07 11:47:51 PST --- Created an attachment (id=41760)
View: https://bugs.freedesktop.org/attachment.cgi?id=41760
Review: https://bugs.freedesktop.org/review?bug=31391&attachment=41760
Patch against 82acc3b14c reverting the faulty commit
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.
[Bug 31391] [RADEON:R600C] heroes of newerth crashes with cs parser error
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=31391
Jerome Glisse <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Heroes of Newerth crashes |[RADEON:R600C] heroes of
|with cs parser error |newerth crashes with cs
| |parser error--- Comment #2 from Jerome Glisse <[email protected]> 2011-03-07 11:48:46 PST --- Does r600g works ?
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.
[Bug 31391] [RADEON:R600C] heroes of newerth crashes with cs parser error
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=31391
--- Comment #3 from Stephan Hilb <[email protected]> 2011-03-08 03:38:30 PST --- Apart from some other rendering bugs, there is no crash with r600g.
This bug does only occur with r600c.
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.
[Bug 31391] [RADEON:R600C] heroes of newerth crashes with cs parser error
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=31391
Jerome Glisse <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #4 from Jerome Glisse <[email protected]> 2011-03-08 11:13:46 PST --- Ok closing as we don't care about r600c
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.