Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - help problem with gf_ph_3d: (5 Items)
   
help problem with gf_ph_3d  
Hi, All

I'm trying to run gf_ph_3d on qnx with svga driver.

But there is a error message : PdCreateOffscreenContextGF() failed!

Or sometimes it hang.

How to solve this issue?

Thanks!
RE: help problem with gf_ph_3d  
I am able to run it with devg-svga, what video card are you using?
What resolution?

Do you have devg-soft3d.so on your target?  I do not believe the svga
driver uses any vram, only system ram.  Do you have enough free memory
on the system?

Oh, yes, and what is the OS release version?

-Derek

-----Original Message-----
From: ivan chen [mailto:community-noreply@qnx.com] 
Sent: Wednesday, March 31, 2010 3:34 AM
To: photon-graphics
Subject: help problem with gf_ph_3d

Hi, All

I'm trying to run gf_ph_3d on qnx with svga driver.

But there is a error message : PdCreateOffscreenContextGF() failed!

Or sometimes it hang.

How to solve this issue?

Thanks!




_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post50901
Re: help problem with gf_ph_3d  
> Hi, All
> 
> I'm trying to run gf_ph_3d on qnx with svga driver.
> 
> But there is a error message : PdCreateOffscreenContextGF() failed!
> 
> Or sometimes it hang.
> 
> How to solve this issue?
> 
> Thanks!

Do you have few CPUs and currently SMP kernel is in use ? I can confirm that on multi CPU configuration gf-ph-3d 
sometimes hang. Not gf-ph-3d itself, but it hangs somewhere in the GF or io-display or io-graphics internals. Looks 
similair to a mutex deadlock.

And all works fine when non-SMP procnto is used.
Re: help problem with gf_ph_3d  
Thanks for the reply!

Yes, my computer is amd3800+, dual core , memory is 1G , i think it's enough.

And it's very strange that gf_gl_pg_demo can run.

PdCreateOffscreenContext always succeed and no hang.

And another question: 

From these two demos: 3d is rendered to an offscreen surface, and app use photon library to blt this surface to visible 
layer. At the same time app is responsible to handle window resize.

Is it the standard way to make 3d , photon co-exist? Any other ways?


Thanks!
Ivan

 
RE: help problem with gf_ph_3d  
That is the standard way, since 3D is supported via the GF interface.
If you have a graphics card that supports multiple layers, you could run
a native GF application on a separate layer, but then you have less
control.

What version of the OS are you using?
What is the GPU on your machine (attach output of 'pci -v').

Thanks,
Derek

-----Original Message-----
From: ivan chen [mailto:community-noreply@qnx.com] 
Sent: Wednesday, March 31, 2010 11:29 PM
To: photon-graphics
Subject: Re: help problem with gf_ph_3d

Thanks for the reply!

Yes, my computer is amd3800+, dual core , memory is 1G , i think it's
enough.

And it's very strange that gf_gl_pg_demo can run.

PdCreateOffscreenContext always succeed and no hang.

And another question: 

From these two demos: 3d is rendered to an offscreen surface, and app
use photon library to blt this surface to visible layer. At the same
time app is responsible to handle window resize.

Is it the standard way to make 3d , photon co-exist? Any other ways?


Thanks!
Ivan

 



_______________________________________________

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