|Summary:||[RADEON:KMS:R600C] celestia crashes radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi->space_accounted' failed|
|Component:||Drivers/DRI/R600||Assignee:||Default DRI bug account <dri-devel>|
|Status:||RESOLVED WORKSFORME||QA Contact:|
|i915 platform:||i915 features:|
Description aceman 2011-01-12 12:46:25 UTC
Celestia program starts, draws the universe for a few seconds, then crashes with the error message: "radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi->space_accounted' failed". Using kernel 22.214.171.124 (2.6.37 already out, but hangs the X server at start), Mesa 7.10 r600c, radeon 6.13.99-af2e6d7d2f1b3d8f8f6b0acfb2b7b0cfaff7bcdb.
Comment 1 aceman 2011-02-19 08:24:06 UTC
This does not happen when the Option "NoAccel" is set to "true" and Mesa is then using software rendering.
Comment 2 Alex Deucher 2011-02-19 08:56:53 UTC
Does r600g work any better?
Comment 3 aceman 2011-02-22 12:46:09 UTC
Yes, r600g (from Mesa 7.10) does not have this particular bug. But it has loads of other visual problems in celestia (which are not in r600c).
Comment 4 Fabio Pedretti 2011-02-23 00:28:34 UTC
IIRC there was a similar problem on other radeon drivers that was fixed with the following commits: r200: http://cgit.freedesktop.org/mesa/mesa/commit/?id=603741a86df0e43c0b52e8c202a35c7fe2fc1d9c r100: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b194b9b23801cd716244047b0b9b8bd9be518b78 r300: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8eef5196fcd6f51e443d4dfa0fda8aadc668f9f
Comment 5 aceman 2011-02-23 10:38:08 UTC
If you could provide a patch for R600c (mesa 7.10) I can compile and test it.
Comment 6 Jerome Glisse 2011-03-08 09:54:04 UTC
Please try r600g, classic driver is no longer actively supported
Comment 7 aceman 2011-03-08 11:05:49 UTC
Please do not spam my celestia bugs with useless comments without reading the history. R600g was already proposed and I already said in this same bug, that r600g is not an option, it is much worse than r600c. R600c works almost fine, just with small problems filed as bugs (e.g. bug 30502). R600g fails to render whole planets, stars, labels. Anyway, where can I read this 'no longer maintained' press release? I haven't seen anything like that.
Comment 8 aceman 2011-04-03 07:37:41 UTC
The original report was with celestia 1.6.0. Now with version 1.6.1 and a Qt4 build, it starts up fine. It may be because the default value for "Texture resolution" is Medium. When toggling this to High (it means celestia loads other higher resolution texture files (jpg/png images)) it crashes again. However, the crash happens only at certain planets, i.e. toggling to High while viewing Mercury works fine. When moving to Earth, it crashes before displaying it. The highres texture for Mercury is 4096x2048px. The texture for Earth is 8192x4096px. This radeon hardware should support 8192px textures, it is also shown in Help->OpenGL info. It also worked fine before Mesa 7.10 (and some devel version of 7.9).
Comment 9 aceman 2011-04-30 05:17:51 UTC
This bug currently does not happen on kernel 126.96.36.199 and Mesa 7.10.2.