Bug 23393 - Qt apps started with "--graphicssystem opengl" crash with KMS on radeon
Summary: Qt apps started with "--graphicssystem opengl" crash with KMS on radeon
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-18 08:58 UTC by Marc Dietrich
Modified: 2009-08-26 02:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
output of kcalc with RADEON_DEBUG=all (132.95 KB, text/plain)
2009-08-18 08:58 UTC, Marc Dietrich
no flags Details

Description Marc Dietrich 2009-08-18 08:58:59 UTC
Created attachment 28750 [details]
output of kcalc with RADEON_DEBUG=all

When running a Qt app with parameter "--graphicssystem opengl" (e.g. kcalc --graphicssystem opengl) the app crashes and leaves:

[drm:r300_cs_track_check] *ERROR* [drm] Buffer too small for z buffer (need 339264 have 335872) !
[drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

in the syslog.

I have installed latest mesa/drm/radeon and kernel, xorg 1.6.1 on openSUSE 11.1. This crash does not happen with KMS disabled (modeset=0).

Attached is the output of "RADEON_DEBUG=all kcalc --graphicssystem opengl"
Comment 1 Nicolai Hähnle 2009-08-25 13:42:40 UTC
Is your version of Mesa from recent Git master? I remember fixing the exact same symptom (though it might have been caused by something else) not so long ago.
Comment 2 Michel Dänzer 2009-08-25 14:34:48 UTC
This particular problem is fixed by Mesa commit dea10381864269bd6251a8b0af7a88de88296b32 . However, I'm hitting various other issues with KDE apps, but please file separate bugs for those (if they haven't been reported yet).

OTOH qtdemo -opengl works fine here, even without that fix.
Comment 3 Brian Paul 2009-08-25 15:15:55 UTC
Should that fix get cherry-picked to the 7.5 branch?
I'm planning on a 7.5.1 release soon...
Comment 4 Marc Dietrich 2009-08-26 02:35:38 UTC
I can confirm this error does not happen anymore. Instead it crashes in userspace, but that's another story...


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.