Glxgears on ATI rage Pro

Les hlhowell at pacbell.net
Mon Apr 2 18:55:07 UTC 2007


On Mon, 2007-04-02 at 05:36 +0300, Gilboa Davara wrote:
> On Mon, 2007-04-02 at 05:16 +0300, Gilboa Davara wrote:
> > On Fri, 2007-03-30 at 19:01 -0700, Les wrote:
> > > Hi, everyone, the ongoing battle of the graphics cards.  My "good" read
> > > high speed full development system runs well.  However I want to use an
> > > older system with Croquet.  Problem: the older system appears
> > > misconficured somehow.
> > > It has an ATI Rage Pro graphics chip set according to lspci,  And the
> > > graphics configuration for X sets it up as a Rage board OK.  I have
> > > attempted to down load the latest ATI driver for it, but unsuccessfully,
> > > so I suspect I will have to attempt that late tonight when there is less
> > > traffic.  In the mean time, I am working to discover what I can about
> > > the current setup that is bad.  I went throght the configuration on
> > > Finley's site, and it appeared to work OK, then when I rebooted, it
> > > began to reconfigure the graphics on every reboot.  And I still have low
> > > performance, and moreover seem to have lost a bit of software from the
> > > graphics interface.  Here is the output from glxgears:
> > > [lesh at localhost ~]$ glxgears
> > > Xlib:  extension "XFree86-DRI" missing on display ":0.0".
> > > 541 frames in 6.1 seconds = 89.342 FPS
> > > 452 frames in 5.6 seconds = 80.584 FPS
> > [snip]
> > > Does anyone have any idea of what I should try next? Or where I could
> > > look for debugging this program?
> > > 
> > > Regards,
> > > Les H
> > 
> > Sadly enough, there's no easy solution for your problem.
> > For the time being I'm forced to download/patch/build/install the DRI
> > drivers (and the mesa RPM) for my mach64 based laptop display by hand.
> > On the upside, the next kernel - libDRI sync will most likely include
> > the latest mach64/rage/rage128 drivers paving the pay to a
> > out-of-the-box experience.
> > 
> > In the mean time, if you're willing to put an effort into it, do the
> > following:
> > A. Download the latest rage128 snapshot from freedesktop [1]. You'll
> > need to patch it to make it compatible withe latest kernel. (Let me know
> > if you need help.)
> > B. Build and install the rage128 DRI kernel module using the build-in
> > install.sh script.
> > C. As far as I remember, the mesa RPM already includes the user-land
> > rage128 DRI driver, so there's no need to patch and rebuild the mesa
> > SRPM. (One of my least favorite tasks :()
> > 
> > - Gilboa
> > [1] http://dri.freedesktop.org/snapshots/
> 
> Strike that.
> Oops... you don't have a rage128, you have a rage-pro chipset - which
> AFAIR, is more-or-less the same as my mach64/rage-LT chipset. (Am I
> right?)
> If so, do the following:
> A. Download the latest mach64 snapshot from freedesktop [1]. You'll need
> to patch it to make it compatible withe latest kernel. (Let me know if
> you need help.)
> B. Build and install the mach64 DRI kernel module using the build-in install.sh script.
> C. Make sure you have a working SRPM build environment. [2]
> D. Download and install the latest mesa SRPM from Fedora. [3]
> E. Apply the attached patch to the mesa.spec file. [4] (cd ~/redhat/SPEC; patch -p0 < /patch/file/path/mesa.patch)
> F. Build and install the hand-build mesa SRPM. (rpmbuild -ba mesa.spec)
> 
> Be aware the mach64 DRI is a bit, err, sketchy, it should be enough to run a composite manager 
> (xcompmgr/kompmgr) and a nice OpenGL screen saver - but it's not iron proof.
> (Read: I never tried running compiz/beryl on it, and I had a few crashes)
> 
> - Gilboa
> [1] http://dri.freedesktop.org/snapshots/
> [2] http://postfix.state-of-mind.de/patrick.koetter/smtpauth/building_RPMS_from_SRPMS.html
> [3]
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/SRPMS/
> [4] mesa.patch follows:
> ==== BEGIN patch =======
> --- mesa.spec.old       2007-02-26 12:45:09.000000000 +0200
> +++ mesa.spec   2007-02-26 12:47:35.000000000 +0200
> @@ -47,7 +47,7 @@
>  Summary: Mesa graphics libraries
>  Name: mesa
>  Version: 6.5.1
> -Release: 9%{?dist}
> +Release: 10%{?dist}
>  License: MIT/X11
>  Group: System Environment/Libraries
>  URL: http://www.mesa3d.org
> @@ -310,7 +310,7 @@
> 
>  %if %{with_dri}
>  install -d $RPM_BUILD_ROOT%{_libdir}/dri
> -for f in i810 i915 i965 mga r128 r200 r300 radeon savage sis tdfx
> unichrome; do
> +for f in i810 i915 i965 mga r128 r200 r300 radeon savage sis tdfx
> unichrome mach64; do
>      so=%{_lib}/${f}_dri.so
>      test -e $so && install -m 0755 $so  $RPM_BUILD_ROOT%{_libdir}/dri
>  done
> @@ -419,6 +419,9 @@
>  %{_bindir}/glxinfo
> 
>  %changelog
> +* Wed Feb 26 2007 Gilboa Davara <gilboad [AT] gmail.com> 6.5.1-10.fc6
> +- Mach64 support.
> +
>  * Wed Jan 24 2007 Adam Jackson <ajax at redhat.com> 6.5.1-9.fc6
>  - Add a build (and hopefully runtime) fix for mach64.  (#221117)
> ====  END patch   =======
> 
> 
Thanks, Gilboa,
	That is good information, and I will try it, but from the comments here
and from others, I think I just need a good upgrade.  I will certainly
try this tonight and let you know how it turns out.

Regards,
Les H




More information about the fedora-list mailing list