Stubborn MCO configuration.

New Message Reply Date view Thread view Subject view Author view

Steve Baker (steve++at++mred.bgm.link.com)
Tue, 11 Jun 96 21:35:50 -0500


  I'm using a single-pipe RE2/Perf 2.0/IRIX 5.3 machine
with 4xRM4's. I need to drive 3++at++1025x768_60 though an MCO,
and the MCO manual suggests that I can have 4 multisamples,
24 bit Z and 12+12+12 video in this mode.

  If I just let Performer pick default values for things - or
even if I try hard to override the defaults, can't get
multisampling to work with my Perf 2.0 application.

  I have a chunk of ancient Perf 1.2 code that succeeds in
doing just that - so I know that the MCO manual and my
hardware configuration is correct.

  This looks like a drop-off in Perf 2.0.

    pfQueryFeature ( PFQFTR_MULTISAMPLE, &ms_mode ) ;

(called from my open_win routine) says: PFQFTR_FALSE.

I have tried using pfPWinFBConfigAttrs to set up the RGB depths to
12 each, stencil size to zero and zbuffer depth to 24 - but the effect
is the same.

I also tried adding in GL code:-

    subpixel (TRUE);
    zbuffer (TRUE);
    zbsize (24);
    doublebuffer();
    overlay (0);
    RGBmode ();
    RGBsize (12);
    acsize (0);
    gconfig ();

...still no luck.

pfQueryPWin says:-

    PFQWIN_RGB_BITS = 8
    PFQWIN_ALPHA_BITS = 0
    PFQWIN_CI_BITS = 0
    PFQWIN_DEPTH_BITS = -32
    PFQWIN_MIN_DEPTH_VAL = -2147471360
    PFQWIN_MAX_DEPTH_VAL = 2146959360
    PFQWIN_MS_SAMPLES = 0
    PFQWIN_STENCIL_BITS = 1
    PFQWIN_DOUBLEBUFFER = 0
    PFQWIN_NUM_AUX_BUFFERS = 0
    PFQWIN_ACCUM_RGB_BITS = 0
    PFQWIN_ACCUM_ALPHA_BITS = 0

I also see:-

DEBUG _pfMSConfig(#m,mZ,mS,Z,S,RGB) (4,32,1,0,0,12)->(0,0,0,0,0,0)
DEBUG pfInitGfx() - Window "RightView Logo Database." has -32 bits of depth buffer.
DEBUG pfInitGfx() - Window "RightView Logo Database." has 1 bits of stencil.
DEBUG _pfMSConfig(#m,mZ,mS,Z,S,RGB) (0,0,0,32,1,12)->(0,0,0,-32,1,0)

My code looks like this:-

  int attributes [ 100 ] ;
  int next_attr = 0 ;

#ifndef IRISGL
  attributes [ next_attr++ ] = PFFB_SAMPLE_BUFFER ;
  attributes [ next_attr++ ] = 1 ;
#endif
  attributes [ next_attr++ ] = PFFB_SAMPLES ;
  attributes [ next_attr++ ] = 4 ;
  attributes [ next_attr++ ] = PFFB_DEPTH_SIZE ;
  attributes [ next_attr++ ] = 24 ; /* I tried 16 and 32 here - no change */
  attributes [ next_attr++ ] = PFFB_STENCIL_SIZE ;
  attributes [ next_attr++ ] = 1 ;
  attributes [ next_attr++ ] = PFFB_RED_SIZE ;
  attributes [ next_attr++ ] = 12 ; /* I tried 8 and 10 here - no change */
  attributes [ next_attr++ ] = PFFB_GREEN_SIZE ;
  attributes [ next_attr++ ] = 12 ; /* I tried 8 and 10 here - no change */
  attributes [ next_attr++ ] = PFFB_BLUE_SIZE ;
  attributes [ next_attr++ ] = 12 ; /* I tried 8 and 10 here - no change */
  attributes [ next_attr++ ] = PFFB_ALPHA_SIZE ;
  attributes [ next_attr++ ] = 0 ;

  attributes [ next_attr++ ] = 0 ; /* End of attribute list */

  pfPWinFBConfigAttrs ( pw, attributes ) ;

  pfOpenPWin ( pw ) ;

I also tried (in desperation):

  pfFeature ( PFFTR_MULTISAMPLE, 0 );
  pfFeature ( PFFTR_MULTISAMPLE_ROUND_POINTS, 0);

It didn't help any.

HELP!!!

  Steve Baker 817-323-1361 (Vox-Lab)
  Hughes Training Inc. 817-695-8776 (Vox-Office/vMail)
  2200 Arlington Downs Road 817-695-4028 (Fax)
  Arlington, Texas. TX 76005-6171 steve++at++mred.bgm.link.com (eMail)

=======================================================================
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:53:00 PDT

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