[Bug 43893] New: X is crashing very often X: radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi->space_accounted' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 16 08:38:42 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43893

             Bug #: 43893
           Summary: X is crashing very often X: radeon_cs_gem.c:181:
                    cs_gem_write_reloc: Assertion `boi->space_accounted'
                    failed.
    Classification: Unclassified
           Product: xorg
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/Radeon
        AssignedTo: xorg-driver-ati at lists.x.org
        ReportedBy: bugs-freedesktop at matthias-larisch.de
         QAContact: xorg-team at lists.x.org


Hi there,

I encountered the following error:
X: radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi->space_accounted'
failed.

on my x86_64 archlinux box. verified with newest arch-xorg version with
video-ati driver replaced by git version.

Reproduce (very simple):
start xinit session (default, the one without any fancy window manager, just a
xterm in it).
In xterm I did "yaourt -S milkytracker" to show some coloured output.
When asking me if I want to see PKGBUILD, X crashes.

Attached gdb to X (without stripped symbols from radeon driver):


failed to revalidate
X: radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi->space_accounted'
failed.

Program received signal SIGABRT, Aborted.
0x00007fd09ade5905 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007fd09ade5905 in raise () from /lib/libc.so.6
#1  0x00007fd09ade6d7b in abort () from /lib/libc.so.6
#2  0x00007fd09adde74e in ?? () from /lib/libc.so.6
#3  0x00007fd09adde7f2 in __assert_fail () from /lib/libc.so.6
#4  0x00007fd098b035eb in ?? () from /usr/lib/libdrm_radeon.so.1
#5  0x00007fd098dbcfd3 in r600_cp_set_surface_sync.isra.0 ()
   from /usr/lib/xorg/modules/drivers/radeon_drv.so
#6  0x00007fd098dc7c29 in r600_finish_op () from
/usr/lib/xorg/modules/drivers/radeon_drv.so
#7  0x00007fd098dbba0a in R600Copy () from
/usr/lib/xorg/modules/drivers/radeon_drv.so
#8  0x00007fd0982e1148 in ?? () from /usr/lib/xorg/modules/libexa.so
#9  0x00007fd0982e147f in ?? () from /usr/lib/xorg/modules/libexa.so
#10 0x00000000005456ca in miCopyRegion ()
#11 0x0000000000545bc2 in miDoCopy ()
#12 0x00007fd0982df786 in ?? () from /usr/lib/xorg/modules/libexa.so
#13 0x00000000004fa78c in ?? ()
#14 0x000000000042fcf3 in ?? ()
#15 0x0000000000433c59 in ?? ()
#16 0x0000000000422e8a in ?? ()
#17 0x00007fd09add214d in __libc_start_main () from /lib/libc.so.6
#18 0x000000000042317d in _start ()



I have a M4A78LT-M-LE, BIOS 0507    02/23/2010 board
with CPU0: AMD Athlon(tm) II X2 235e Processor stepping 02.

Dont ask about the onboard video chip, here is what dmesg says:
radeon 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    3.968925] radeon 0000:01:05.0: setting latency timer to 64
[    3.969170] [drm] initializing kernel modesetting (RS780 0x1002:0x9616
0x1043:0x8388).
[    3.969187] [drm] register mmio base: 0xFEAF0000
[    3.969188] [drm] register mmio size: 65536
[    3.969815] ATOM BIOS: B27722_RS780C
[    3.969831] radeon 0000:01:05.0: VRAM: 32M 0x00000000C0000000 -
0x00000000C1FFFFFF (32M used)
[    3.969833] radeon 0000:01:05.0: GTT: 512M 0x00000000A0000000 -
0x00000000BFFFFFFF
[    3.970062] [drm] Detected VRAM RAM=32M, BAR=32M
[    3.970065] [drm] RAM width 32bits DDR
[    3.970121] [TTM] Zone  kernel: Available graphics memory: 1010832 kiB.
[    3.970123] [TTM] Initializing pool allocator.
[    3.970146] [drm] radeon: 32M of VRAM memory ready
[    3.970148] [drm] radeon: 512M of GTT memory ready.
[    3.970167] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    3.970168] [drm] Driver supports precise vblank timestamp query.
[    3.970186] [drm] radeon: irq initialized.
[    3.970190] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    3.971148] [drm] Loading RS780 Microcode



I also installed XFCE4. With very light usage I encountered the same problem. I
did not try to reproduce it there, but it might be possible with some steps...

Does nobody except me use this kind of graphics chip under linux?! All other
bugs I found to that crash are not relevant, the only one relevant was closed
as fixed in april 2011.
(http://comments.gmane.org/gmane.linux.debian.devel.x/102978)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list