6-STABLE with Wine 0.9.12 on ATI X800

Isaac Waldron isaac.waldron at gmail.com
Mon May 8 22:15:59 UTC 2006


Hello,

I am running FreeBSD 6-STABLE, built on May 4, with Xorg 6.9 and Wine
0.9.12 from the
ports tree.  The DRI extensions are installed and working properly for
my ATI X800 AIW, as reported by glxinfo:

display: :0  screen: 0
direct rendering: Yes
** snip **
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R300 20040924 AGP 8x TCL
OpenGL version string: 1.2 Mesa 6.4.1

glxgears gets about 400 FPS or so when maximized, and tuxracer runs
fine.  However, when I use wine to run graphics applications, it seems
to be defaulting to the Mesa Indirect driver, based on realtech VR's
glview application:

<GLView version=3D"2.24"><System>Windows XP Professional </System>
<CPU>32-bit</CPU>
<Vendor>Mesa project: www.mesa3d.org</Vendor>
<Version>1.2 (1.5 Mesa 6.4.1)</Version>
<Renderer>Mesa GLX Indirect</Renderer>

/usr/local/lib/wine/opengl32.dll.so picks up the right libGL:

%ldd /usr/local/lib/wine/opengl32.dll.so
/usr/local/lib/wine/opengl32.dll.so:
        libwine.so.1 =3D> /usr/local/lib/libwine.so.1 (0x281f1000)
        libSM.so.6 =3D> /usr/X11R6/lib/libSM.so.6 (0x2820b000)
        libICE.so.6 =3D> /usr/X11R6/lib/libICE.so.6 (0x28213000)
        libXxf86dga.so.1 =3D> /usr/X11R6/lib/libXxf86dga.so.1 (0x28229000)
        libXxf86vm.so.1 =3D> /usr/X11R6/lib/libXxf86vm.so.1 (0x2822e000)
        libXext.so.6 =3D> /usr/X11R6/lib/libXext.so.6 (0x28233000)
        libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0x28240000)
        libGL.so.1 =3D> /usr/X11R6/lib/libGL.so.1 (0x28301000)
        libGLU.so.1 =3D> /usr/X11R6/lib/libGLU.so.1 (0x2835d000)
        libm.so.4 =3D> /lib/libm.so.4 (0x283ce000)
        libc.so.6 =3D> /lib/libc.so.6 (0x28077000)
        libstdc++.so.5 =3D> /usr/lib/libstdc++.so.5 (0x283e4000)
%pkg_info -W /usr/X11R6/lib/libGL.so.1
/usr/X11R6/lib/libGL.so.1 was installed by package xorg-libraries-6.9.0

I checked the configure output for the wine port and it picked up all
the OpenGL headers from Mesa, but can't figure out why native
applications are getting the DRI renderer while wine is stuck to the
indirect renderer.  Any help will be greatly appreciated.

Thanks,
Isaac

--
Isaac Waldron
isaac.waldron at gmail.com
mobile: 1-508-353-3453
aim: n1yzi


More information about the freebsd-stable mailing list