[UFO Chicago] optimization of OpenGL/SDL
Rob Latham
rob@terizla.org
Sun, 28 Jul 2002 23:44:39 -0500
On Sun, Jul 28, 2002 at 09:41:27PM +0100, Sean Neakums wrote:
> The output of glxinfo would be a useful starting point. I forget
> exactly what indicates that hardware support is present, though.
> Somebody else might.
cryptic exerpts:
[0] aragorn:~% glxinfo | grep direct
direct rendering: Yes
[0] aragorn:~% grep DRI /var/log/xdm.log
(II) R128(0): [DRI] installation complete
[0] aragorn:~% grep dri /etc/X11/XF86Config-4
Load "dri"
Section "dri"
[0] aragorn:~% grep -C dri /etc/X11/XF86Config-4
Load "drm"
Load "glx"
Load "dri"
Load "pex5"
Load "record"
--
EndSection
Section "dri"
Mode 0666
EndSection
and now some more meager explanations:
you need kernel support (direct rendering manager, DRM):
[0] aragorn:~% grep R128 /boot/config-`uname -r`
CONFIG_DRM_R128=m
for your g200 card, that's CONFIG_DRM_MGA
Configure.help says you need agpgart support too (CONFIG_AGP). i
don't have a g200 card, so i'm just the messenger.
I don't remember the gl libraries you need. i set it up a year ago and
promptly forgot it all :<
the other gotcha was the XFree86 color depth. i spent months trying to
figure out what piece i missed, but in the end it ended up that a
color depth of 15 ( and not 16) would do the trick.
i could have sworn theres a DRI howto somewhere. both google and
tldp.org failed me. Debian's
/usr/share/doc/xserver-xfree86/README.DRI.gz should be a good start.
I'm sure other distributions have README.DRI in some form in a
comparable location.
good luck. bug if you can't get things working.
==rob
>
> --
> Sean Neakums - <sneakums@ufo.chicago.il.us> --- --- -- -
> Director of International Operations, UFO Chicago - -- -
> http://ufo.chicago.il.us/ --- ------ ----- ---- --- -- -
>
> _______________________________________________
> UFO Chicago -- Users of Free Operating Systems
> Free Software Rules -- Proprietary Drools!
> http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/ufo
>