Using multiple pipes with Xevent input

New Message Reply Date view Thread view Subject view Author view

Nigel Edward Jenkins (nej++at++Cs.Nott.AC.UK)
Thu, 7 Nov 96 10:22:27 GMT


Hi Everybody,

My aim is to use a space mouse in an application I'm using for object
manipulation, the problem I have run into is with XEvent handling when
using more than one pipe.

I'm using an iR (6.2 and Performer 2.1), with access to a three pipe
reality centre type screen. I want to use the three pipes for
rendering to the three screens, the problem is that when I open up a
second pipe, even if I don't initialize it for X input events the
program core dumps with the following error

X Error of failed request: BadWindow (invalid Window parameter)
  Major opcode of failed request: 2 (X_ChangeWindowAttributes)
  Resource id in failed request: 0x0
  Serial number of failed request: 303
  Current serial number in output stream: 309

It only occurs when using one of the X event handling functions such
as XNextEvent or XEventsQueued (as used in the torusLOD.c program),
I can get around this problem using pfuMouse and pfuEvent handling,
but then I cant use X handling for input from the space mouse.

It can get it to work using a single pipe and multiple windows, but
then I'm not using the full power of the machine!

Does anybody have any ideas???

Cheers

Nigel Jenkins

--------------------------------------------------------------
Nigel Jenkins

Virtual Reality Development Engineer

CIMI - The Centre for Industrial and Medical Informatics
Unit 8 William Lee Buildings
Highfields Science Park
University Boulevard
Nottingham
NG7 2RQ

Tel: 0115 9568990
Fax: 0115 9568991

e-mail: nej++at++cs.nott.ac.uk
http://www.cimi.nottingham.ac.uk

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

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