Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20076 - [ati-dri] R100 OpenGL Crash buffer overflow

Attached to Project: Arch Linux
Opened by Tux "Tuxie" Tuxality (Tuxality) - Sunday, 04 July 2010, 19:44 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 19 February 2011, 16:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

DRI is working with direct rendering and hardware acceleration, but only working OpenGL application is glxgears and small example written by me using gtkglext. When I try to run yabause or any application that uses OpenGL then I've got this:

*********************************WARN_ONCE*********************************
File radeon_swtcl.c function r100_swtcl_flush line 322
Rendering was 13 commands larger than predicted size. We might overflow command buffer.
***************************************************************************
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.

And then crash.

When I write dmesg I got this:

[drm:r100_cs_track_texture_check] *ERROR* No texture bound to unit 0
[drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

I'm using module radeon under ATI Radeon M6 (R100) and packages version:

ati-dri 7.8.2-1
xf86-video-ati 6.13.0-1
mesa 7.8.2-1
libgl 7.8.2-1

The DRI module is from 20090101, but was working ok with version from 20061018, so with Mesa 7.2 (2008).

I've tried to compile Mesa 7.2, but the DRI was not working (only swrast).

Please help me, I can't even watch youtube with proper speed. Only alternative for me is Debian Lenny that has everything (DRI) working ok.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 19 February 2011, 16:10 GMT
Reason for closing:  Not a bug
Additional comments about closing:  KMS is working well so your Xorg setup is done well. Feel free to open a new bug for the blender issue.
Comment by Tux "Tuxie" Tuxality (Tuxality) - Sunday, 04 July 2010, 19:55 GMT
Can anybody change severity from Critical to High?
Also I'll post this bug also on mesa bugtracker.
Comment by Andreas Radke (AndyRTR) - Sunday, 19 December 2010, 13:57 GMT
This is a very old report. How's state with mesa7.9 from extra and mesa7.10 from testing? If it's still broken please provide more informations (logs,configs...).
Comment by Tux "Tuxie" Tuxality (Tuxality) - Sunday, 19 December 2010, 17:40 GMT
Hello there!

Thanks for the reply even if it is old report! :) Actually I was sick of this bug, so I switched to the "old" Debian Lenny (by "old" I mean packages in this distribution). Everything was okay and then I installed the Squeeze and there were this same bugs like on Archlinux. Disabling KMS helped a lot (the "buffer overflow" don't occur!), but there are still artifacts. And even more after closing OpenGL applications the screen is messed up and I need to restart Xorg... This seems that VRAM management in the driver is bad. Now I added some options to the Xorg (AGPSize, AGPMode, GARTSize, ColorTiling) and "messed up screen" bug doesn't exist. :) But there is still third bug: artifacts on the textured polygons. Only ONE application that is NOT affected is ... Blender. Any other application is affected. Even Cairo Dock isn't working properly. I think that if I'll have some free time, I'll try newer mesa on Debian (actually using 7.7.1) and then if it will help, I'll switch back to Archlinux. If update will not work I'll post screenshots regarding the texturing bug. Maybe someone will help ATI Radeon M6 LY users. :)
Comment by Tux "Tuxie" Tuxality (Tuxality) - Wednesday, 09 February 2011, 15:44 GMT
Hello,

Actually with newest packages (I switched back to Arch Linux) there IS still similair problem. When using KMS everything is working ok, I mean no artifacts on textured polygons in OpenGL accelerated applications, but Blender is crashing while trying to use textures on models with "warn" info like before. After disabling KMS, Blender is buggy (the UI is not visible and it doesn't respond to the user input). This is not a Blender bug, because this same was in the Debian Squeeze with latest "experimental" packages. Overall I need only to get rid of this crash and everything is working ok.
Comment by Andreas Radke (AndyRTR) - Wednesday, 09 February 2011, 15:48 GMT
Because KMS is the only recommended mode nowadays and it seems to work fine for you with everything else this is more likely a Blender bug. You should look out for upstream reports there.

Loading...