Problems with Triple X-Server on Triple Pipe

New Message Reply Date view Thread view Subject view Author view

Jens Schiefele (schief++at++fmr.maschinenbau.tu-darmstadt.de)
Mon, 27 Jul 1998 11:34:22 +0200 (CDST)


Dear Performer community:

currently I'm developing a visual for a flight simulator based on Performer.
We have a triple pipe with triple keyboard option running three X-servers.

While using this code to connect the three servers:

  pfMultipipe (NumPipes); /* set number of pipes */
  pfMultiprocess(PFMP_APP_CULL_DRAW ); /* set multiprocessing if possible */
  pfMultiprocess(PFMP_FORK_DBASE); /* parallezie database loading */
  pfdInitConverter("iv"); /* init Inventor for reading */
  pfSharedArenaSize(1572864); /* set arena size to maximum */

  pfConfig();

  for(i=0;i<NumPipes;i++){
    char Name[PF_MAXSTRING];
     
    perPipe[i]= pfGetPipe(i);
     
    perPipe[i]->setScreen(0);
    sprintf(Name,":%d.0",i);
    perPipe[i]->setWSConnectionName(Name);

     
    perWindow[i]= new pfPipeWindow(perPipe[i]);

    sprintf(Name,"Visual (%d)",i);
    perWindow[i]->setName(Name);
    perWindow[i]->setConfigFunc(OpenPipeWin);
    perWindow[i]->setFullScreen();

    perWindow[i]->config();
  }/*for*/

  .....
  pfFrame();

It'll crash most times in pfSync() with the following error (sometimes
it also works):

PF Notice: Using 72Hz video rate.
PF Notice: Initializing stage 0x4 of pipe 1
PF Notice: Pipe 1 size: 1280x1024
PF Notice: Initializing stage 0x4 of pipe 0
PF Notice: Pipe 0 size: 1280x1024
PF Notice: Initializing stage 0x4 of pipe 2
PF Notice: Pipe 2 size: 1280x1024
PF Notice: Load: /usr/people/dbusers/Data/UDFdata/Visual/E000/E006/E008/N40/N49/IV/UDFn178560000e29700000.iv
X Error of failed request: BadWindow (invalid Window parameter)
  Major opcode of failed request: 3 (X_GetWindowAttributes)
  Resource id in failed request: 0x4c00005
  Serial number of failed request: 45
  Current serial number in output stream: 46

Does anybody have an idea what might cause these problems. I would also
be happy if someone has a test program that also opens pipe windows
on triple X-servers (code to compare or an executable to test if this
is a system problem).

Any help is appreciated

Many greetings

Jens

+-------------------------------------------------------------------+
| Jens Schiefele http://www.igd.fhg.de/~schief|
| University of Technology, Darmstadt schief++at++fmr.tu-darmstadt.de |
| Flight Mechanics & Control |
| Petersenstrasse 30 Tel. (49)-6151-16-2890 |
| 64287 Darmstadt, Germany Fax. (49)-6151-16-5434 |
+-------------------------------------------------------------------+
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            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:57:43 PDT

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