mixed OpenGL vendor drivers
Glynn Clements
glynn at gclements.plus.com
Tue Nov 16 05:13:28 PST 2010
Kai-Uwe Behrmann wrote:
> ATI and Nvidia ship separate version of libGL.so, for Linux and probably
> for other operating systems. Now I want to make a Live media with
> "out of the box" fantastic OpenGL support for a wide range of
> graphic cards.
>
> Is the replacement by vendors of libGL something dictated by the
> architecture of Xorg or the OpenGL spec?
No.
> What are good solutions to switch the library on the fly?
Put each version in a separate directory. Create a symlink from
/usr/lib/libGL.so to the "default" version. Set LD_LIBRARY_PATH if you
need to use a different version on a per-process basis (e.g. if
DISPLAY points to a remote display and the default libGL can't handle
that).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the xorg
mailing list