[Xprint] Re: SuSE and Mesa/GLX...
Roland Mainz
roland.mainz at nrubsig.org
Thu May 27 01:07:07 EDT 2004
Egbert Eich wrote:
> > Is there a specific reason why libGL.so on SuSE tries to tranfer giant
> > images over the wire when the remote Xserver supports the GLX extension
> > ?
> >
> > After some resarch I found that my problem is related to the issue that
> > SuSE uses "/usr/lib/GL/libGL.so.1.4.mesasoft" for "/usr/bin/libGL.so"
> > instead of "/usr/lib/GL/libGL.so.1.2.xf86_glx":
> > -- snip --
> > % ls -1 /usr/lib/GL/libGL.so.1.*
> > /usr/lib/GL/libGL.so.1.2.xf86_glx
> > /usr/lib/GL/libGL.so.1.4.mesasoft
> > -- snip --
> > This has two sideeffects:
> > 1. Using GLX on SuSE on a remote framebuffer _always_ uses Mesa which is
> > bad, esp. when you have a Sun ZULU framebuffer (XVR-4000) on the other
> > end which is much faster than anything on the Linux side.
> > 2. Printing using the OpenGL API via the Xprint server (which now
> > supports the GLX extension) results in transfers of _GIGANTIC_ images
> > instead if just the OpenGL rendering instructions.
> >
> > Egbert:
> > Any idea how to solve that ?
>
> This must be SUSE 8.2 or older as mesasoft was only required for XFree86 3
Yeah, this is plain, old, stock SuSE 8.2/x86...
> which was dropped after that.
So SuSE >= 9.0 does not have that problem anymore (e.g. then the GLX
extension in the Xserver does all the work, not the client (in the
MesaSoft case)), right ?
> There should be a link from the libGL.so.1 to the GLX version of libGL.
> I don't know why it doesn't exist.
The link from /usr/bin/libGL.so to /usr/lib/GL/libGL.so.1.4.mesasoft is
there... but it references the mesasoft library, not the GLX one... and
there the trouble begins... ;-(
> There is a script that fixes the links. Do: 'switch2xf86_glx' to
> set the links correctly.
Nice... that solves the problem, too (instead of manually adjusting the
soft link) ... - thanks! :)
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the Xprint
mailing list