Bug 7143

Summary: Cannot run dri as user( R300)
Product: DRI Reporter: Rui Caridade <waiha_othafa>
Component: libGLAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact:
Severity: blocker    
Priority: high CC: ace
Version: DRI git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Rui Caridade 2006-06-06 18:24:46 UTC
When i try to run the DRI drivers for the R300 as a user i get this

glxinfo: main/context.c:1065: check_context_limits: Assertion
`ctx->Const.MaxTextureImageUnits <= 8' failed.

If i run it as root it works.

I'm running the latest Mesa CVS, the DRM from cvs Xorg 7.0 with radeon ddx 6.5.8.
According to Xorg.0.log i should have DRI enabled.
Thanks
Comment 1 Dave Airlie 2006-06-06 18:34:44 UTC
you've probably got a ~/.drirc with texture units set to 16 or something..
Comment 2 Aapo Tahkola 2006-06-07 01:44:53 UTC
And you probably have two libGL's in your system, /usr/local/lib/libGL.so and
/usr/lib/libGL.so . libGL built from mesa sources uses
/usr/X11R6/lib/modules/dri/r300_dri.so and default one /usr/lib/dri/r300_dri.so .
Comment 3 Rui Caridade 2006-06-07 05:12:22 UTC
(In reply to comment #1)
> you've probably got a ~/.drirc with texture units set to 16 or something..
> 

Thanks that was my problem :)
Comment 4 Roland Scheidegger 2006-09-30 15:19:32 UTC
*** Bug 8447 has been marked as a duplicate of this bug. ***

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.