https://bugs.freedesktop.org/show_bug.cgi?id=33038
Summary: celestia crashes with error: "radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi->space_accounted' failed" Product: Mesa Version: 7.10 Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Drivers/DRI/R600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: acelists@atlas.sk
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 2.6.36.2 (2.6.37 already out, but hangs the X server at start), Mesa 7.10 r600c, radeon 6.13.99-af2e6d7d2f1b3d8f8f6b0acfb2b7b0cfaff7bcdb.
https://bugs.freedesktop.org/show_bug.cgi?id=33038
--- Comment #1 from aceman acelists@atlas.sk 2011-02-19 08:24:06 PST --- This does not happen when the Option "NoAccel" is set to "true" and Mesa is then using software rendering.
https://bugs.freedesktop.org/show_bug.cgi?id=33038
--- Comment #2 from Alex Deucher agd5f@yahoo.com 2011-02-19 08:56:53 PST --- Does r600g work any better?
https://bugs.freedesktop.org/show_bug.cgi?id=33038
--- Comment #3 from aceman acelists@atlas.sk 2011-02-22 12:46:09 PST --- 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).
https://bugs.freedesktop.org/show_bug.cgi?id=33038
--- Comment #4 from Fabio Pedretti fabio.ped@libero.it 2011-02-23 00:28:34 PST --- 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=603741a86df0e43c0b52e8c202a... r100: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b194b9b23801cd716244047b0b9... r300: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8eef5196fcd6f51e443d4dfa0f...
https://bugs.freedesktop.org/show_bug.cgi?id=33038
--- Comment #5 from aceman acelists@atlas.sk 2011-02-23 10:38:08 PST --- If you could provide a patch for R600c (mesa 7.10) I can compile and test it.
https://bugs.freedesktop.org/show_bug.cgi?id=33038
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|celestia crashes with |[RADEON:KMS:R600C] celestia |error: |crashes |"radeon_cs_gem.c:181: |radeon_cs_gem.c:181: |cs_gem_write_reloc: |cs_gem_write_reloc: |Assertion |Assertion |`boi->space_accounted' |`boi->space_accounted' |failed" |failed
--- Comment #6 from Jerome Glisse glisse@freedesktop.org 2011-03-08 09:54:04 PST --- Please try r600g, classic driver is no longer actively supported
https://bugs.freedesktop.org/show_bug.cgi?id=33038
--- Comment #7 from aceman acelists@atlas.sk 2011-03-08 11:05:49 PST --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=33038
--- Comment #8 from aceman acelists@atlas.sk 2011-04-03 07:37:41 PDT --- 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).
https://bugs.freedesktop.org/show_bug.cgi?id=33038
--- Comment #9 from aceman acelists@atlas.sk 2011-04-30 05:17:51 PDT --- This bug currently does not happen on kernel 2.6.38.4 and Mesa 7.10.2.
https://bugs.freedesktop.org/show_bug.cgi?id=33038
aceman acelists@atlas.sk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME
--- Comment #10 from aceman acelists@atlas.sk 2012-02-09 01:21:46 PST --- Let's close this, it does not currently happen. And also see bug 43893 comment 15.
dri-devel@lists.freedesktop.org