[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GL rendering in xscreensaver's flipflop



On Fri, Mar 11, 2005 at 11:09:07AM -0500, John wrote:
> On (11/03/05 10:47), John M Flinchbaugh wrote:
> > I'm running Debian unstable (with XFree86) on a ThinkPad R40.
> > With my Radeon 7500, if I run the flipflop screensaver normally (with
> > acceleration):
> >     /usr/lib/xscreensaver/flipflop
> > the little tiles don't have the nice shadows on the edges which give it
> > a nice 3D look, but it does run nice and fast (42fps by its own count).
> > If i run it as:
> >     LIBGL_ALWAYS_INDIRECT=true /usr/lib/xscreensaver/flipflop
> > the rendering is much nicer with the proper shadows on the edges, so
> > they look rectangular.  The framerate is only 35fps then, and CPU usage
> > greatly increases (since I guess it's software rendering).
> > 
> > Am I missing something in my XFree86 config to let the accelerated 3D
> You might consider this:
> <snip>
> Section "Device"
>         Identifier      "ATI Radeon 7500"
>         Driver          "radeon"
>         VideoRam        32768
>         Option          "Accel"         "on"
>         Option          "AGPMode"       "4"
>         Option          "AGPFastWrite"  "on"
>         Option          "EnablePageFlip""on"
>         Option          "HWCursor"      "on"
>         Option          "DDCMode"       "on"
>         Option          "UseFBDev"      "on"
>         Option          "BusType"       "AGP"
> EndSection          
> me:~$ glxgears
> 7418 frames in 5.0 seconds = 1483.600 FPS

I tried these settings, but they did nothing for the rendering.  I see
similar performance in glxgears (1100fps).  The seemingly slow FPS from
flipflop takes into account a functional delay to make it look nice.
the LIBGL_ALWAYS_INDIRECT really affects the FPS of glxgears.

Generally, I don't have a performance problem with acceleration.  It's
just that the rendering is not of the quality I see with software
rendering.  It looks like shading is not happening at all in flipflop
screensaver.

-- 
John M Flinchbaugh
john@hjsoft.com

Attachment: signature.asc
Description: Digital signature


Reply to: