Bug 33038 - [RADEON:KMS:R600C] celestia crashes radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi->space_accounted' failed
Summary: [RADEON:KMS:R600C] celestia crashes radeon_cs_gem.c:181: cs_gem_write_reloc: ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R600 (show other bugs)
Version: 7.10
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 12:46 UTC by aceman
Modified: 2012-02-09 01:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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 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.
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 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 2.6.38.4 and Mesa 7.10.2.
Comment 10 aceman 2012-02-09 01:21:46 UTC
Let's close this, it does not currently happen. And also see bug 43893 comment 15.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.