Bug 29367

Summary: [KMS] Assertion `boi->space_accounted' failed. on rv280
Product: Mesa Reporter: Andrew Randrianasulu <randrik>
Component: Drivers/DRI/r200Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: bugzi11.fdo.tormod
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: gdb.txt from ray demo

Description Andrew Randrianasulu 2010-08-02 14:39:38 UTC
With latest mesa (commit 313df4156279f84ebc5b98a7540820b994762650
Author: Jerome Glisse <jglisse@redhat.com>
Date:   Mon Aug 2 14:21:33 2010 -0400
   r600g: add autogenerated reg definition + debug print cleanup)

i have  very reproductable  bug with even glxgears, but also with ray demo. Ray demo aborts at startup, glxgears window must be resized before bug kill it.

Xserver - commit a2c13f0d6548310e3cd115cf486d3e43edf23dcc
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 14 12:57:29 2010 -0700
    Bump to version 1.8.99.905 (1.9 RC5)

libdrm - commit b803918f3f77c62edf22e78cb2095be399753423
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jul 1 22:38:54 2010 +0100
    drm mode: Return -errno on drmIoctl() failure

ddx - commit aca0a8669b538d58f018f95c9b22e6b3ec1ffe50
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jul 21 16:49:04 2010 -0400
    config: add comments for main statements

kernel - drm-radeon-testing (also tried with 2.6.35) up to 
commit ab9e1f5966591dc3e811418e96ba04f284c52458
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Jul 13 11:11:11 2010 +1000
    drm/radeon: add basic zmask/hiz support (v4)

-----------

Hw - rv280/agp.
Comment 1 Andrew Randrianasulu 2010-08-02 14:41:40 UTC
Created attachment 37532 [details]
gdb.txt from ray demo

I can easily produce more bt full , from glxgears for example, but not sure if they have any  value for developers ....
Comment 2 Andrew Randrianasulu 2010-08-02 14:48:33 UTC
vblank_mode=0 | 1 helps me avoid  this bug. But vblank_mode=2 expose bug, just like default.
Comment 3 Andrew Randrianasulu 2010-08-02 15:22:26 UTC
Forgot to say  - bug happens with compositing on, using e16's built-in compositor (xrender-based)
Comment 4 Tormod Volden 2010-10-08 00:39:06 UTC
Could you try the patch in bug 21374 which looks like a similar issue?
Comment 5 Andrew Randrianasulu 2010-10-08 01:28:21 UTC
(In reply to comment #4)
> Could you try the patch in bug 21374 which looks like a similar issue?

Patch  from https://bugs.freedesktop.org/show_bug.cgi?id=21374#c5 not applicable to latest mesa without modifications. I'll try to apply it manually, but right now i have different card in AGP slot, so  testing will take some time. Thanks for pointer!
Comment 6 Fabio Pedretti 2010-10-12 01:20:33 UTC
This could be fixed in mesa master and 7.9 branch:
http://lists.freedesktop.org/archives/mesa-dev/2010-October/003492.html
Comment 7 Andrew Randrianasulu 2010-10-19 22:38:38 UTC
Yes, fixed for me in mesa master.

Using mesa - commit 974fb466f299fc569a86097936ab89c8c369f6d2
Author: Chad Versace <chad.versace@intel.com>
Date:   Fri Oct 15 14:46:00 2010 -0700
    glsl: Commit generated file glsl_lexer.cpp
    Changes are due to commit "glsl: Fix lexer rule for ^=".


libdrm - commit 09b1062628f2cbddb3ebae20e7b3b8a0a93acebf
Author: Francisco Jerez <currojerez@riseup.net>
Date:   Tue Sep 28 22:45:27 2010 +0200
    nouveau: Let the user choose the push buffer size.
    Signed-off-by: Francisco Jerez <currojerez@riseup.net>
    Acked-by: Ben Skeggs <bskeggs@redhat.com>

xf86-video-ati - commit 0921ecc1c751df0dd56e0b1d0b78ab53d7164904
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Mon Oct 4 12:34:47 2010 -0400
    evergreen: use EXACreatePixmap2 if available 

plus build patch for new xserver (should update, build issue  fixed in  newer git)

xserver - commit 853d7ebfa3e2d281d92890a39010ff5787a00ffd
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Oct 5 11:24:28 2010 -0400
    vbe: Fix copying the mode info block
    Just use memcpy, seriously.
    
    Reviewed-by: Rémi Cardona <remi@gentoo.org>
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>

kernel - 
commit 8fd01d6cfbf75465d84a4e533ed70c5f57b3ff51
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Thu Oct 14 19:15:28 2010 -0700
    Export dump_{write,seek} to binary loader modules
    If you build aout support as a module, you'll want these exported.
    Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

(basically 2.6.36-rc8 + 1 commit)

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.