Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Photon and QNET: (3 Items)
   
Photon and QNET  
Hi,

I would like to understand if Photon and QNET have any relationship. Is it possible to use remote Photon on a different 
node over QNET? I would use phditto to do that, but it uses IP.

But what about starting a graphical application on a system that has no Photon at all, but would use a remote Photon 
over QNET? All display etc. would then be on the remote machine, but the process itself would run locally... is this 
possible? Is it useful?


- Malte
RE: Photon and QNET  
Hi Malte,
 
Well, we haven't _intentionally_ removed any pathmgr stuff from Photon, but I am unsure if it still "works".  It is a 
cool concept, but I am not sure if there really is a useful "use case" for this capability ... unless you have two 
really memory constrained systems.  You would be piping draw stream and commands over the net ... offscreen/pgshmem 
might not work as well.
 
Do you have an actual scenario in mind?
 
Regards,
-Derek 

________________________________

From: Malte Mundt [mailto:community-noreply@qnx.com]
Sent: Thu 26/03/2009 7:02 AM
To: photon-graphics
Subject: Photon and QNET



Hi,

I would like to understand if Photon and QNET have any relationship. Is it possible to use remote Photon on a different 
node over QNET? I would use phditto to do that, but it uses IP.

But what about starting a graphical application on a system that has no Photon at all, but would use a remote Photon 
over QNET? All display etc. would then be on the remote machine, but the process itself would run locally... is this 
possible? Is it useful?


- Malte


_______________________________________________
Photon microGUI
http://community.qnx.com/sf/go/post25300



Attachment: Text winmail.dat 3.94 KB
RE: Photon and QNET  
Hi Malte. Customers have used this from time to time. It could be useful
if there was a lot of non-graphical processing to be done that needed a
separate CPU, with graphical output that is not too complicated so it
doesn't slow down too much over the network. eg.: 

/usr/photon/bin/phcalc -s/net/<hostname>/dev/photon 

As Derek said there would be problems with offscreen contexts and shared
memory images. Phrelay was designed to get around these problems.

I have also tried running io-graphics connected to the remote machine.
This acts as kind of a ditto, with no input available. Set PHOTON and
PHFONT to point to /net/<host>/dev/photon
and /net/<host>/dev/phfont respectively, then as root start io-graphics.
There will be shmem and offscreen problems.

Cheers,
Max

-----Original Message-----
From: Malte Mundt [mailto:community-noreply@qnx.com] 
Sent: Thursday, March 26, 2009 7:03 AM
To: photon-graphics
Subject: Photon and QNET

Hi,

I would like to understand if Photon and QNET have any relationship. Is
it possible to use remote Photon on a different node over QNET? I would
use phditto to do that, but it uses IP.

But what about starting a graphical application on a system that has no
Photon at all, but would use a remote Photon over QNET? All display etc.
would then be on the remote machine, but the process itself would run
locally... is this possible? Is it useful?


- Malte


_______________________________________________
Photon microGUI
http://community.qnx.com/sf/go/post25300