Skip to contentSkip to conversation

New: pipes triggers Assertion `boi->space_accounted' failed

Bug 29066 [email protected] 1 participant 18 messages Jul 14, 2010 – Aug 13, 2010

lore
Share & tools
lore
#0 lore raw

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

           Summary: pipes triggers Assertion `boi->space_accounted' failed
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: [email protected]
        ReportedBy: [email protected]

Created an attachment (id=37056)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37056)
full backtrace (classic driver from git)

Originally reported on Ubuntu 10.04 in https://bugs.launchpad.net/bugs/602267
and the user has also tested latest git, classic and gallium.

Running "pipes" from xscreensaver crashes on RS482 with this message:
pipes: ../../radeon/radeon_cs_gem.c:129: cs_gem_write_reloc: Assertion `boi->space_accounted' failed.
(see attached backtrace)

With gallium, it does not crash but this message is seen:
radeon: The kernel rejected CS, see dmesg for more information. dmesg contains:
[drm:r100_cs_packet_parse] *ERROR* Packet (351:3:16383) end after CS buffer (1020) !
[drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

Hardware:
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS482 [Radeon Xpress 200M] [1002:5975]

    Subsystem: NEC Corporation Device [1033:8800]
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 29066] pipes triggers Assertion `boi->space_accounted' failed

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

--- Comment #1 from Tormod Volden <[email protected]> 2010-07-14 14:02:37 PDT --- Created an attachment (id=37057)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37057)
dmesg output including gallium run

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 29066] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

Tormod Volden <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #37056|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|pipes triggers Assertion    |[r300c, r300g] pipes
                   |`boi->space_accounted'      |triggers Assertion
                   |failed                      |`boi->space_accounted'
                   |                            |failed

--- Comment #2 from Marek Olšák <[email protected]> 2010-07-14 23:39:03 PDT --- Bad news. It works for me on RV530 and RV350 with both TCL turned on and off.

RS482 is RV350-based IIRC.

Kernel 2.6.35-rc3, libdrm from git.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

Tormod Volden <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                URL|                            |https://bugs.launchpad.net/
                   |                            |bugs/602267

--- Comment #3 from Tormod Volden <[email protected]> 2010-07-15 13:26:35 PDT --- Yes, I don't know if they are closer to RV350 or to RV370. One difference from those is that RS4xx have only two render output units, but that's irrelevant for the driver, right? All I know is that these Xpress IGP have all kind of problems.

Would it be important to try latest libdrm? Ubuntu 10.04 has only 2.4.18.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #4 from Marek Olšák <[email protected]> 2010-07-15 19:04:32 PDT --- (In reply to comment #3)

Quoted 3 lines

Yes, I don't know if they are closer to RV350 or to RV370. One difference from those is that RS4xx have only two render output units, but that's irrelevant for the driver, right?

It should be.

Quoted 1 line

Would it be important to try latest libdrm? Ubuntu 10.04 has only 2.4.18.

I can't tell for sure, though there are a few fixes since 2.4.18.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #5 from Yann <[email protected]> 2010-07-16 06:57:20 PDT --- Dear all,
I am the Launchpad bug reporter.

I tried kernel 2.6.35-020635rc5-generic , and I see no change when running /usr/lib/xscreensaver/pipes :
I get the same error message ("radeon: The kernel rejected CS, see dmesg for more information.") in terminal and the screensaver does not crash (like with the normal Lucid kernel).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #6 from Marek Olšák <[email protected]> 2010-07-26 06:11:41 PDT --- Yann> Is the error in dmesg still the same, i.e. "Packet (351:3:16383) end after CS buffer"?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #7 from Yann <[email protected]> 2010-07-27 00:01:16 PDT --- (In reply to comment #6)

Quoted 2 lines

Yann> Is the error in dmesg still the same, i.e. "Packet (351:3:16383) end after CS buffer"?

Yes, I tried again with rc6, and I get the following error :

[  288.532079] [drm:r100_cs_packet_parse] *ERROR* Packet (354:3:16383) end
after CS buffer (1026) !
[  288.532086] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #8 from Marek Olšák <[email protected]> 2010-07-27 01:07:30 PDT --- Have you compiled mesa with --enable-debug? It might give you some nice assertion failures hopefully.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #9 from Yann <[email protected]> 2010-07-27 01:36:26 PDT --- (In reply to comment #8)

Quoted 2 lines

Have you compiled mesa with --enable-debug? It might give you some nice assertion failures hopefully.

i am not fan of compilation, but i can try it if it is necessary and if you explain me step-by-step :)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #10 from Marek Olšák <[email protected]> 2010-07-27 03:06:40 PDT --- git clone git://anongit.freedesktop.org/mesa/mesa
cd mesa
./autogen.sh --with-dri-drivers= --with-state-trackers=dri --enable-debug --enable-glx-tls --enable-gallium-radeon --disable-gallium-swrast --disable-egl --disable-glu --disable-glut --disable-glw
make
cd lib/gallium
ln -s radeong_dri.so r300_dri.so
LIBGL_DRIVERS_PATH=. glxinfo|grep renderer # it should say Gallium 0.4 on R* LIBGL_DRIVERS_PATH=. /usr/lib/xscreensaver/pipes

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #11 from Yann <[email protected]> 2010-07-27 03:22:31 PDT --- Thank you. Please how can I revert those changes after I test ? (I save my data, but this is my production PC so I would like to keep it as stable as possible)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #12 from Marek Olšák <[email protected]> 2010-07-27 03:43:29 PDT --- It doesn't install anything, so there is nothing to revert. Your system will be untouched.

LIBGL_DRIVERS_PATH=some_path program

says that the 3D driver for the "program" is loaded from "some_path".

If you don't type "LIBGL_DRIVERS_PATH=some_path", the driver will be loaded from your default system location.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #13 from Yann <[email protected]> 2010-07-27 05:05:44 PDT ---

Quoted 1 line

LIBGL_DRIVERS_PATH=. glxinfo|grep renderer # it should say Gallium 0.4 on R*

it said "OpenGL renderer string: Gallium 0.4 on RS482"

Quoted 1 line

LIBGL_DRIVERS_PATH=. /usr/lib/xscreensaver/pipes

works without crashing. Here is the terminal output :

yyy@yyy-laptop:~/mesa/lib/gallium$ LIBGL_DRIVERS_PATH=.
/usr/lib/xscreensaver/pipes
radeon: Successfully grabbed chipset info from kernel!
radeon: DRM version: 2.5.0 ID: 0x5975 GB: 1 Z: 1
radeon: GART size: 29 MB VRAM size: 128 MB
debug_get_flags_option: RADEON_DEBUG = 0x0
debug_get_bool_option: RADEON_NO_TCL = FALSE
couldn't open libtxc_dxtn.so, software DXTn compression/decompression
unavailable
debug_get_bool_option: GALLIUM_RBUG = FALSE
debug_get_option: GALLIUM_TRACE = (null)
debug_get_bool_option: GALLIUM_GALAHAD = FALSE
debug_get_bool_option: DRAW_FSE = FALSE
debug_get_bool_option: DRAW_NO_FSE = FALSE
debug_get_bool_option: GALLIUM_DUMP_VS = FALSE
debug_get_bool_option: GALLIUM_NOSSE = FALSE
Mesa: CPU vendor: AuthenticAMD
Mesa: CPU name: Mobile AMD Sempron(tm) Processor 3200+
Mesa: Mesa 7.9-devel DEBUG build Jul 27 2010 20:48:56
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
debug_get_bool_option: MESA_MVP_DP4 = FALSE
debug_get_flags_option: ST_DEBUG = 0x0
^C

Do you need some more log ?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #14 from Marek Olšák <[email protected]> 2010-07-27 05:18:52 PDT --- If I understand this correctly, the gallium driver from the PPA prints "radeon:
The kernel rejected CS, see dmesg for more information.", but the driver from git works like a charm. Is that correct?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#16 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTOURBUG

--- Comment #15 from Marek Olšák <[email protected]> 2010-08-05 16:57:15 PDT --- According to the last feedback, this issue seems to be resolved by using the driver from git instead of the PPA. Closing..

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#17 lore raw

[Bug 29066] [r300c, r300g] pipes triggers Assertion `boi->space_accounted' failed

In reply to [email protected]

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

--- Comment #16 from Yann <[email protected]> 2010-08-13 14:21:38 PDT --- Does it mean it will be solved in Ubuntu 10.10 ?
Or is there something Ubuntu developpers have to do ?
Do I need to add something in https://bugs.launchpad.net/bugs/602267 ?

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