From: Yves GAUVIN (yves.gauvin++at++sncf.fr)
Date: 06/29/2000 00:52:05
I try to change my Xserver to a 24 bpp mode, but my app is slower and
I can't launch town_ogl.perfly anymore.
perfly town_ogl.perfly makes the same result as perfly -help (?!).
In 16 bpp mode, I have no problem to launch the town.
By the way, I have another question.
Even if I use pfPWinOriginSize(shared->pw, 0, 0, 1280,1024), when I log
on and I wan't to launch my app for the first time, my Performer window
has random size and random position three or four time before it runs
correctly. The problem is the same with pefly, even if I use -W 1280,1024.
Cheers,
Yves
Tom Flynn wrote:
>
> could also be as simple as changing your Xserver to run in 24/32bpp. with
> the NVidia chips, if you specify a depth of 24 in your XF86Config, you get
> a RGBA8 visual with 8bits of stencil and 24bits of Z. If you specify a
> depth of 16, you get a 565 visual with no stencil and 16bits of Z.
>
> -tom
>
> On Wed, 28 Jun 2000, Allan Schaffer wrote:
>
> > On Jun 28, 4:22pm, Yves GAUVIN wrote:
> > > How could I do to increase my Z buffer to 24 bits?
> >
> > Ultimately you need to convince Performer to pick a visual for you
> > with 24 bits of Z. You can specify a framebuffer attribute array
> > and pass that in:
> >
> > [...]
> > static int FBAttrs[] = {
> > PFFB_RGBA,
> > PFFB_DOUBLEBUFFER,
> > PFFB_DEPTH_SIZE, 24,
> > PFFB_RED_SIZE, 1,
> > PFFB_SAMPLES, 1,
> > PFFB_STENCIL_SIZE, 1,
> > None,
> > };
> > [...]
> > pfPWinFBConfigAttrs(pipewindow, FBAttrs);
> >
> > Values of 1 (above) mean, "as much of this as is available". Values
> > other than one are interpreted as precise requirements. Have a look
> > at the 'pipewin.c' sample in /usr/share/Performer/src/pguide/libpf/C
> > to see how this is done.
> >
> > Even so, there are two issues:
> >
> > 1. Your graphics card must be running in a mode where it makes
> > such a visual available.
> >
> > 2. I'm not 100% certain this is working well in Mongoose; the
> > window-configuration code was difficult to port. If there's
> > any lingering bugs please let us know.
> > (mongoose-feedback++at++corp.sgi.com)
> >
> > Allan
> > ps. please use plain-text mode when posting to info-performer,
> > to keep the daily digest readable.
> >
> >
> > --
> > Allan Schaffer allan++at++sgi.com
> > Silicon Graphics http://reality.sgi.com/allan
> > -----------------------------------------------------------------------
> > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> > Submissions: info-performer++at++sgi.com
> > Admin. requests: info-performer-request++at++sgi.com
> >
>
> --
> "Mongooses are famous for their snake-fighting ability, and are
> almost always victorious because of their speed, agility, and timing
> and also because of their thick coat."
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>
>
This archive was generated by hypermail 2b29 : Thu Jun 29 2000 - 00:55:09 PDT