On Tue, 26 Mar 2002, Leif Delgass wrote:

> On Tue, 26 Mar 2002, Felix Kühling wrote:
> 
> > Hi,
> > 
> > > GL ScreenSavers: perfect
> > 
> > Not quite! The pipe demo shows only one segment of the pipe at a time.
> > I never see the whole pipe. I'm using xscreensaver 3.34-1.1 (Debian
> > woody).
> 
> I see problems here too.  It looks like it's using fallback for the draw 
> buffer, but I can't imagine why it would need stereo (which should be the 
> only fallback, I think). I'll look into it.
> 

Well, the short answer for this one is: upgrade xscreensaver.  ;) I just
downloaded 4.02 and pipes works fine in both single- and double-buffered
mode.  I still suspect the problem might have something to so with the
draw buffers, but I noticed this problem on Rage 128 (built from the
mach64 branch, not CVS head) as well.

I ran through all the gl screensavers, and everything else worked except
glplanet which exits with "texture error: invalid value".  Turns out the
problem is that the planet texture (512x256) was larger than the max
texture size (512x512).  So I borrowed some code from r128 to set the
MaxTextureLevels (which determines the max size), based on the on-card 
memory.  Here's the current breakdown:

on-card texHeap      MaxTextureLevels  GL_MAX_TEXTURE_SIZE
---------------      ----------------  -------------------
 heap < 2MB                9                 256
 2MB <= heap < 8MB         10                512
 heap >= 8MB               11                1024



-- 
Leif Delgass 
http://www.retinalburn.net


_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to