Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2006 18:15:57 -0400
From:      "Isaac Waldron" <isaac.waldron@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   6-STABLE with Wine 0.9.12 on ATI X800
Message-ID:  <9c16502b0605081515o8f25183r827af1524467d002@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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=3D3D"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 =3D3D> /usr/local/lib/libwine.so.1 (0x281f1000)
        libSM.so.6 =3D3D> /usr/X11R6/lib/libSM.so.6 (0x2820b000)
        libICE.so.6 =3D3D> /usr/X11R6/lib/libICE.so.6 (0x28213000)
        libXxf86dga.so.1 =3D3D> /usr/X11R6/lib/libXxf86dga.so.1 (0x28229000=
)
        libXxf86vm.so.1 =3D3D> /usr/X11R6/lib/libXxf86vm.so.1 (0x2822e000)
        libXext.so.6 =3D3D> /usr/X11R6/lib/libXext.so.6 (0x28233000)
        libX11.so.6 =3D3D> /usr/X11R6/lib/libX11.so.6 (0x28240000)
        libGL.so.1 =3D3D> /usr/X11R6/lib/libGL.so.1 (0x28301000)
        libGLU.so.1 =3D3D> /usr/X11R6/lib/libGLU.so.1 (0x2835d000)
        libm.so.4 =3D3D> /lib/libm.so.4 (0x283ce000)
        libc.so.6 =3D3D> /lib/libc.so.6 (0x28077000)
        libstdc++.so.5 =3D3D> /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@gmail.com
mobile: 1-508-353-3453
aim: n1yzi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9c16502b0605081515o8f25183r827af1524467d002>