On Mon, 25 Aug 2003 17:58:41 -0700
Eric Anholt <[EMAIL PROTECTED]> wrote:

> On Mon, 2003-08-25 at 17:45, Eric Anholt wrote:
> > CVSROOT:    /cvsroot/dri
> > Module name:        xc
> > Repository: xc/xc/lib/GL/mesa/src/drv/common/
> > Changes by: [EMAIL PROTECTED]       03/08/25 17:45:05
> > 
> > Log message:
> >   Fix config-0-0-1-branch on FreeBSD: expat is located in /usr/local, so we need
> >   to add EXPATINCLUDES to the build and update the definition of UseExpat.
> > 
> > Modified files:
> >       xc/xc/config/cf/:     Tag: config-0-0-1-branch
> >         X11.tmpl FreeBSD.cf 
> >       xc/xc/lib/GL/mesa/src/drv/common/:    Tag: config-0-0-1-branch
> >         Imakefile 
> 
> With this, I was able to run glxgears on Rage 128 and MGA G400 on
> FreeBSD.  If there's more specific testing to be done with these cards I
> would be willing, but for now I was too lazy to install py-gtk and all
> of its dependencies to really play with the configuration.

Ok. There is one thing that is BSD specific that I could not test
myself. As configuration is application specific the driver tries to
find out the name of the running application. It uses different methods
depending on the OS version (see lib/GL/mesa/src/drv/common/xmlconfig.c
for details). Here is a configuration file that you can use to test
this. It enables vblank syncing for all applications but disables it for
glxgears. So glxgears should run full speed but everything else should
be slow.

<driconf>
  <device driver="r128" screen="0">
    <application name="all">
      <option name="sync_refresh" value="true"/>
    </application>
    <application name="glxgears" executable="glxgears">
      <option name="sync_refresh" value="false"/>
    </application>
  </device>
</driconf>

Install this as ~/.drirc. If you run programs with LIBGL_DEBUG envvar
set then you'll get warnings about mostly harmless configuration
problems.

> 
> -- 
> Eric Anholt                                [EMAIL PROTECTED]          
> http://people.freebsd.org/~anholt/         [EMAIL PROTECTED]

Regards,
  Felix

------------    __\|/__    ___     ___       -------------------------
 Felix       ___\_e -_/___/ __\___/ __\_____   You can do anything,
   Kühling  (_____\Ä/____/ /_____/ /________)  just not everything
 [EMAIL PROTECTED]       \___/   \___/   U        at the same time.


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to