Hi Jan,

Yes, preloading an incorrect version of the library will only give you more
problems, that's the reason why I said to check the environmet variables.
BUT in older versions of Ubuntu and with Mesa drivers there was a bug with
the DRI drivers not linking to the libGL library see [1] and [2]. I have
experienced the same error on ATI cards. Anyway I agree that it seems like
a bad driver installation.

Cheers.

[2]http://www.xfree86.org/current/DRI11.html
[3]
http://www.mail-archive.com/[email protected]/msg01152.html

2012/11/13 Jan Ciger <[email protected]>

>
>
> On Tue, Nov 13, 2012 at 12:17 PM, Jordi Torres <[email protected]>wrote:
>
>> Hi Li,
>>
>> Just a long shot... have you tried to set LD_PRELOAD to your libGL.so
>> library. I have had similiar problems in the past with the old ATI drivers
>> as well as the Mesa drivers. Something like export
>> LD_PRELOAD=/usr/lib/libGL.so could do the trick. Anyway check your
>> environment variables with the command 'env' to see if there exist any
>> variable pointing to your libGL drivers.
>>
>
>
> That shouldn't be needed, unless the Ubuntu installation is badly broken.
> In fact, preloading an incorrect version of the library will only give you
> more problems (e.g. you may lose hw acceleration or even crash X).
>
> Run glxinfo and check whether proper driver is enabled - it should be in
> the 'renderer' string, including whether hw acceleration is on or not. The
> error above looks like an incorrectly installed graphic driver. I don't
> know what Ubuntu ships, but you need the AMD 'fglrx' driver, including the
> matching kernel module for OSG to work properly. Make sure to install it
> correctly and actually restart the machine after building/installing the
> kernel module.
>
> The X11 error means that the application is trying to do something that
> isn't supported by the driver.
>
> Regards,
>
> Jan
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to