Mesa versions, use of GLX
Matthias Drochner <M.Drochner <at> fz-juelich.de>
2007-01-17 22:36:05 GMT
I've just switched my laptop to modular xorg from pkgsrc. It has
some Intel i945 chipset graphics, not supported by the xfree86
sources in the NetBSD main tree, so something had to be done.
(I had tried to use xfree-4.6 within NetBSD's reachover build
structure which worked basically, but since I'm not able to
maintain this further I've given up on this. See an earlier
post on this list.)
The modular xorg server in pkgsrc doesn't build the GLX extension
for now. This is mostly a technical issue because Mesa sources
are required at build time which is not straightforward in pkgsrc.
It is easy to do anyway, so I've built an X server with GLX right
now, using the xorg 1.1.1 server and Mesa-6.5.1 sources.
(Mesa-6.5.2 looks harder because there are some assembler files
which need changes to the Makefiles, but this might be fixed in
newer, unstable xorg sources. I didn't want to go that far.)
DISCLAIMER: I'm mostly clueless about OpenGL/glx/etc issues.
Please correct me if I'm talking nonsense.
Now I've got an X server which does support GLX as did the xfree
server built within NetBSD's main tree. Next question is what
performance gain I get.
What I found is that the Mesa library from pkgsrc doesn't make
use of the GLX extension at all. GL rendering is always done
at the client side. The Mesa library built within NetBSD's
xfree framework does support GLX, but it is not used by any
pkgsrc application, and it is relatively old. (It identifies