Re: FBConfig on iR

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose.asd.sgi.com)
Mon, 10 Jun 1996 10:25:20 -0700


+>---- On Jun 6, 10:29pm, Gilles Reymond wrote:

->
->What I would need is a list of all the actual possibilities of frame buffer
->configurations adressed by the Performer function pfPWinFBConfigAttrs with such
->an iR configuration.

Use the shell command glxinfo to get a listing of all visual types
on the machine.
When you specify an attribute array as below, we send it directly to
glXChooseVisual(). Currently, if that fails, we just try our
normal default visual scheme described in the pfAntialias and pfWindow
reference pages. In the future we'll try to do something a little more
helpful in this case but right now at least it is simple.

->
->So far, I have tried :
->int FBAttrs[] =
->{
-> PFFB_RGBA,
-> PFFB_DOUBLEBUFFER,
-> PFFB_DEPTH_SIZE, 23,
-> PFFB_RED_SIZE, 8,
-> PFFB_GREEN_SIZE, 8,
-> PFFB_BLUE_SIZE, 8,
-> PFFB_ALPHA_SIZE, 8,
-> PFFB_SAMPLES, 8,
-> PFFB_STENCIL_SIZE, 1,
-> None,
->};
->
->And the result is : "pfChooseFBConfig: failed to make configuration matching
->specified attributes". What can be wrong?

Check this request against the visuals listed by glxinfo.
You probably don't have a 23bit depth and 8 multisample doublebuffered
visual. This will be fixed in future iR releases.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (415) 933 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:59 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.