Bug 1833 - r200: use of stencil buffer in resolutions with no hw stencil may lead to gpu lockup
Summary: r200: use of stencil buffer in resolutions with no hw stencil may lead to gpu...
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r200 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Default DRI bug account
QA Contact:
Depends on:
Reported: 2004-11-11 11:34 UTC by Roland Scheidegger
Modified: 2017-07-25 09:17 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Description Roland Scheidegger 2004-11-11 11:34:59 UTC
If the stencil buffer is used in 16bit resolutions, a lockup may happen. I'm not
sure what's the culprit, maybe the swrast fallback has some problems?
This happened on a rv250. To reproduce, edit your xorg config to use a 16bpp
resolution. Start Quake3, enter /r_stencilbits 8, /vid_restart. As soon as
/cg_shadows 2 is entered (which enables stencil shadows), a gpu lockup occurs.
Kernel log showed
Nov 11 20:10:33 ZakTower kernel: [drm:drm_lock_take] *ERROR* 3 holds heavyweight
CVS drm-core module was used.
So maybe it's actually not really a gpu lockup, but some locking trouble...
Comment 1 Oliver McFadden 2007-05-25 03:50:19 UTC
I just tested this with Mesa and DRM from Git and it works fine for me; no lockup.  If you can reproduce this with the latest Git, then please reopen the bug report. 
Comment 2 Oliver McFadden 2007-05-25 03:52:42 UTC
I just made a silly mistake. I misread "R200" as "R300" and tested this on R300.
I'll change this to reopened now.

Sorry for the bugmail spam.
Comment 3 Adam Jackson 2009-08-24 12:22:52 UTC
Mass version move, cvs -> git

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.