Forum Topic - Passing custom options to the io-graphics: (4 Items)
   
Passing custom options to the io-graphics  
Hi,

we are using QNX 6.4.x.
The io-display manager is running and I start Photon via ph script.

How can I pass custom options to the io-graphics ?
Should I modify the "ph" file ?

Best regards,
Jacek
RE: Passing custom options to the io-graphics  
open /usr/bin/ph

there is a PHGFX envar you can set, it is described in the file.

-----Original Message-----
From: Jacek Rudnicki [mailto:community-noreply@qnx.com] 
Sent: Tuesday, August 03, 2010 5:50 AM
To: photon-graphics
Subject: Passing custom options to the io-graphics

Hi,

we are using QNX 6.4.x.
The io-display manager is running and I start Photon via ph script.

How can I pass custom options to the io-graphics ?
Should I modify the "ph" file ?

Best regards,
Jacek



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post61373
Re: RE: Passing custom options to the io-graphics  
Ok.

One more question.
What is application of the "h" option ?

"
-h
For HW Wait Idle calls, only wait for the specified video card (default: wait for all cards in use). 
"

What kind of effect can it cause when a multiple displays configuration is used ?

Regards,
Jacek
RE: RE: Passing custom options to the io-graphics  
If you have two cards in the machine, by default, if someone calls
PgWaitHWIdle() each card is stalled out, with the -h option, only the
specified card is stalled out, even if others are in the machine, and
drivers working for them.  Display artifacts can creep in using the -h
option, so I recommend _not_ using it, especially if you are reading
back from the framebuffer on multiple cards.

-----Original Message-----
From: Jacek Rudnicki [mailto:community-noreply@qnx.com] 
Sent: Wednesday, August 04, 2010 2:39 AM
To: photon-graphics
Subject: Re: RE: Passing custom options to the io-graphics

Ok.

One more question.
What is application of the "h" option ?

"
-h
For HW Wait Idle calls, only wait for the specified video card (default:
wait for all cards in use). 
"

What kind of effect can it cause when a multiple displays configuration
is used ?

Regards,
Jacek



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post61511