Bug 22021

Summary: glPushClientAttrib undefined symbol in r300-gallium (DRI doesn't work)
Product: Mesa Reporter: Alec Ari <neotheuser>
Component: OtherAssignee: mesa-dev
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: My xorg log

Description Alec Ari 2009-06-01 09:31:22 UTC
glPushClientAttrib is an undefined symbol, therefor, r300-gallium only uses software rendering. glPushClientAttrib should be a defined symbol.

Pulled from Xorg.0.log:

(EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/r300_dri.so failed (/usr/lib/xorg/modules/dri/r300_dri.so: undefined symbol: glPushClientAttrib)
(EE) AIGLX: reverting to software rendering
(II) AIGLX: Screen 0 is not DRI capable
(EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: undefined symbol: glPushClientAttrib)
(EE) GLX: could not load software renderer
Comment 1 Alec Ari 2009-06-01 09:32:15 UTC
Created attachment 26339 [details]
My xorg log

My xorg log to help the developers
Comment 2 Corbin Simpson 2009-06-01 10:44:10 UTC
Don't install it to your system; it'll eventually break you hard.

Works for me here; are you using autotools, configs, or scons to build?
Comment 3 Alec Ari 2009-06-01 10:56:12 UTC
(In reply to comment #0)
> glPushClientAttrib is an undefined symbol, therefor, r300-gallium only uses
> software rendering. glPushClientAttrib should be a defined symbol.
> 
> Pulled from Xorg.0.log:
> 
> (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/r300_dri.so failed
> (/usr/lib/xorg/modules/dri/r300_dri.so: undefined symbol: glPushClientAttrib)
> (EE) AIGLX: reverting to software rendering
> (II) AIGLX: Screen 0 is not DRI capable
> (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed
> (/usr/lib/xorg/modules/dri/swrast_dri.so: undefined symbol: glPushClientAttrib)
> (EE) GLX: could not load software renderer
> 

(In reply to comment #2)
> Don't install it to your system; it'll eventually break you hard.
> 
> Works for me here; are you using autotools, configs, or scons to build?
> 

Here is my exact autotools line:

CXXFLAGS='-march=athlon-xp -O3 -fomit-frame-pointer' CFLAGS='-march=athlon-xp -O3 -fomit-frame-pointer' ARCH_FLAGS='-mmmx -msse -m3dnow' ./autogen.sh --prefix=/usr --enable-32-bit --disable-64-bit --disable-debug --disable-selinux --disable-selinux --disable-pic --enable-xcb --enable-gallium-radeon --with-x --with-dri-drivers=swrast,r300 --with-driver=dri --with-dri-driverdir=/usr/lib/xorg/modules/dri --disable-gallium-intel
Comment 4 Corbin Simpson 2009-10-19 21:13:50 UTC
This appears to be a build error on your side; we now have independent confirmation that r300g can be used as an AIGLX library, and it looks like your swrast got the same misbuild too.

If you can still duplicate this, feel free to re-open; for now, closing as INVALID.

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.