Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - New with QNX OpenGL ES: (14 Items)
   
New with QNX OpenGL ES  
I've been playing around with OpenGL on 6.4.1 under Photon.  I have Mike to thank for some demo code that got me started
.

I'm wondering, is there a desktop AGP or PCI card that has hardware supported openGL from QNX?   I've tried an ATI 9250 
card, but I'm 90% sure that there is no hardware acceleration going on.   
RE: New with QNX OpenGL ES  
Unfortunately not anything current at the moment.  Our focus has been
primarily on more embedded chipsets.    

When running a GLES app on the 9250 with 6.4.1 can you send the output
of pidin mem?

Thanks


-----Original Message-----
From: Mitchell Schoenbrun [mailto:community-noreply@qnx.com] 
Sent: September 29, 2009 2:00 AM
To: opengles-graphics
Subject: New with QNX OpenGL ES

I've been playing around with OpenGL on 6.4.1 under Photon.  I have Mike
to thank for some demo code that got me started.

I'm wondering, is there a desktop AGP or PCI card that has hardware
supported openGL from QNX?   I've tried an ATI 9250 card, but I'm 90%
sure that there is no hardware acceleration going on.   



_______________________________________________

OpenGL ES
http://community.qnx.com/sf/go/post38933
Re: RE: New with QNX OpenGL ES  
> 
> Unfortunately not anything current at the moment.  Our focus has been
> primarily on more embedded chipsets.    

Ummm, what can I say?   Not even one?   Well I understand QNX's focus is on the embedded market, but even with that in 
mind, there are customers who might want a card solution.   The customer I'm working with sells a large medical device 
with two embedded computers running QNX and they would need some kind of card, PCI, AGP, or PCI-Express to provide 
hardware acceleration.    There's no need to be concerned about them at the moment as the software powered openGL seems 
to be fast enough for our current application, just something to think about.

BTW, there's posted something about an Intel Extreme something or other?   Is this a motherboard hardware openGL 
supported in it?


> 
> When running a GLES app on the 9250 with 6.4.1 can you send the output
> of pidin mem?
> 

Absolutely.   See Below.   
Just out of curiosity though, I've noticed that my openGL ES photon application on 6.4.1 does not work if I set the 
driver to VESA or VGA.   That sounds odd since there appears to be no hardware acceleration.   Could the problem be in 
my EGL setup?  Just wondering.


The openGL application is called displayph8.   I hope this is useful to you.

Mitchell

     pid tid name               prio STATE            code  data        stack
       1   1 /procnto-smp-instr   0f READY            503K 2708K    320(320)*
       1   2 /procnto-smp-instr   0f READY            503K 2708K    320(320)*
       1   3 /procnto-smp-instr 255r RECEIVE          503K 2708K  8192(8192) 
       1   4 /procnto-smp-instr 255r RECEIVE          503K 2708K  8192(8192) 
       1   5 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1   6 /procnto-smp-instr 255r RECEIVE          503K 2708K  8192(8192) 
       1   8 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1   9 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1  10 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1  12 /procnto-smp-instr  10r RUNNING          503K 2708K  8192(8192) 
       1  15 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1  17 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1  18 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       2   1 sbin/tinit          10o REPLY            8192  112K  8192(516K)*
            libc.so.3          @b0300000             468K   12K
    4099   1 proc/boot/pci-bios  10o RECEIVE           60K  108K  8192(516K)*
            libc.so.3          @b0300000             468K   12K
    4100   1 proc/boot/slogger   10o RECEIVE           12K  172K  8192(516K)*
            libc.so.3          @b0300000             468K   12K
    4101   1 proc/boot/io-usb    10o SIGWAITINFO       84K  256K  8192(516K)*
    4101   2 proc/boot/io-usb    21r RECEIVE           84K  256K   4096(20K) 
    4101   3 proc/boot/io-usb    21r RECEIVE           84K  256K   4096(20K) 
    4101   4 proc/boot/io-usb    21r RECEIVE           84K  256K   4096(20K) 
    4101   5 proc/boot/io-usb    10o RECEIVE           84K  256K   4096(20K) 
    4101   6 proc/boot/io-usb    10r NANOSLEEP         84K  256K   4096(20K) 
    4101   7 proc/boot/io-usb    10o RECEIVE           84K  256K   4096(20K) 
            libc.so.3          @b0300000             468K   12K
            devu-uhci.so       @b8200000              24K  4096
            devu-ohci.so       @b8207000              24K  4096
            devu-ehci.so       @b820e000              32K  4096
    4102   1 proc/boot/io-hid    10o SIGWAITINFO       28K  112K  8192(516K)*
    4102   2 proc/boot/io-hid    21r RECEIVE           28K  112K   4096(12K) 
    4102   3 proc/boot/io-hid    15r RECEIVE           28K  112K   4096(12K) 
    4102   4 proc/boot/io-hid    10o RECEIVE           28K  112K   4096(20K) 
   ...
View Full Message
Re: RE: New with QNX OpenGL ES  
Sorry for the delay on this response - although I'm monitoring the forum I didn't get an update.

We do have GLES 1.0 acceleration for the Intel Extreme2 chipsets  (Intel 85x)  and the Intel GMA915/945GM (with devg-
gma9xx.so) but these are embedded on the motherboard - not add-on cards so I'm not sure if this helps you.

The output below does confirm that the software 3D is being used.   

As far as the appliation running with the Radeon driver but not VESA or SVGA - do you get any kind of error message when
 starting the application with these drivers?    Are you running at a resolution/refresh rate that the BIOS supports?




Re: RE: New with QNX OpenGL ES
> 
> Unfortunately not anything current at the moment.  Our focus has been
> primarily on more embedded chipsets.    

Ummm, what can I say?   Not even one?   Well I understand QNX's focus is on the embedded market, but even with that in 
mind, there are customers who might want a card solution.   The customer I'm working with sells a large medical device 
with two embedded computers running QNX and they would need some kind of card, PCI, AGP, or PCI-Express to provide 
hardware acceleration.    There's no need to be concerned about them at the moment as the software powered openGL seems 

to be fast enough for our current application, just something to think about.

BTW, there's posted something about an Intel Extreme something or other?   Is this a motherboard hardware openGL 
supported in it?


> 
> When running a GLES app on the 9250 with 6.4.1 can you send the output
> of pidin mem?
> 

Absolutely.   See Below.   
Just out of curiosity though, I've noticed that my openGL ES photon application on 6.4.1 does not work if I set the 
driver to VESA or VGA.   That sounds odd since there appears to be no hardware acceleration.   Could the problem be in 
my EGL setup?  Just wondering.


The openGL application is called displayph8.   I hope this is useful to you.

Mitchell

     pid tid name               prio STATE            code  data        stack
       1   1 /procnto-smp-instr   0f READY            503K 2708K    320(320)*
       1   2 /procnto-smp-instr   0f READY            503K 2708K    320(320)*
       1   3 /procnto-smp-instr 255r RECEIVE          503K 2708K  8192(8192) 
       1   4 /procnto-smp-instr 255r RECEIVE          503K 2708K  8192(8192) 
       1   5 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1   6 /procnto-smp-instr 255r RECEIVE          503K 2708K  8192(8192) 
       1   8 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1   9 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1  10 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1  12 /procnto-smp-instr  10r RUNNING          503K 2708K  8192(8192) 
       1  15 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1  17 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       1  18 /procnto-smp-instr  10r RECEIVE          503K 2708K  8192(8192) 
       2   1 sbin/tinit          10o REPLY            8192  112K  8192(516K)*
            libc.so.3          @b0300000             468K   12K
    4099   1 proc/boot/pci-bios  10o RECEIVE           60K  108K  8192(516K)*
            libc.so.3          @b0300000             468K   12K
    4100   1 proc/boot/slogger   10o RECEIVE           12K  172K  8192(516K)*
            libc.so.3          @b0300000             468K   12K
    4101   1 proc/boot/io-usb    10o SIGWAITINFO       84K  256K  8192(516K)*
    4101   2 proc/boot/io-usb    21r RECEIVE           84K  256K   4096(20K) 
    4101   3 proc/boot/io-usb    21r RECEIVE           84K  256K   4096(20K) 
    4101   4 proc/boot/io-usb    21r RECEIVE           84K  256K   4096(20K) 
    4101   5 proc/boot/io-usb    10o RECEIVE           84K  256K   4096(20K) 
    4101   6 proc/boot/io-usb    10r NANOSLEEP ...
View Full Message
Re: RE: New with QNX OpenGL ES  
> We do have GLES 1.0 acceleration for the Intel Extreme2 chipsets  (Intel 85x)  and the Intel GMA915/945GM (with devg-
gma9xx.so) but these are embedded on the motherboard - not add-on cards so I'm not sure if this helps you.
>

Well, I can only repeat my previous shagrin.   Not every embedded system
runs on a special embedded board.     It would be nice if there was
even just one plug in board supported.   Maybe that will come down the
line.   If I knew what was involved, I might be interested the
project.   Is it hard getting the hardware specs to do this out of a
hardware manufacturer these days?  I've heard NVidia is close lipped,
but maybe there is someone else more open?

> The output below does confirm that the software 3D is being used.
>
> As far as the appliation running with the Radeon driver but not VESA or SVGA - do you get any kind of error message 
when starting the application with these drivers?    Are you running at a resolution/refresh rate that the BIOS supports
?

I'll be the first to admit that I don't really undestand the EGL
startup code so maybe that is the problem.  I used the "Gears" demo program as a starting point.
Yes there is an error message, some code that calls an EGL routine and
burps I believe.   I'm not in my office now, but within a few days
I'll get back to you on that error message.

Thanks,

Mitchell
RE: RE: New with QNX OpenGL ES  
I can understand your concern as you're not the first to raise the issue
of having a plug-in card available.  Unfortunately with the rising
complexity of graphics devices its not as easy as it used to be to add
this support but we'll take this under consideration.

-----Original Message-----
From: Mitchell Schoenbrun [mailto:community-noreply@qnx.com] 
Sent: October 19, 2009 11:38 AM
To: opengles-graphics
Subject: Re: RE: New with QNX OpenGL ES

> We do have GLES 1.0 acceleration for the Intel Extreme2 chipsets
(Intel 85x)  and the Intel GMA915/945GM (with devg-gma9xx.so) but these
are embedded on the motherboard - not add-on cards so I'm not sure if
this helps you.
>

Well, I can only repeat my previous shagrin.   Not every embedded system
runs on a special embedded board.     It would be nice if there was
even just one plug in board supported.   Maybe that will come down the
line.   If I knew what was involved, I might be interested the
project.   Is it hard getting the hardware specs to do this out of a
hardware manufacturer these days?  I've heard NVidia is close lipped,
but maybe there is someone else more open?

> The output below does confirm that the software 3D is being used.
>
> As far as the appliation running with the Radeon driver but not VESA
or SVGA - do you get any kind of error message when starting the
application with these drivers?    Are you running at a
resolution/refresh rate that the BIOS supports?

I'll be the first to admit that I don't really undestand the EGL
startup code so maybe that is the problem.  I used the "Gears" demo
program as a starting point.
Yes there is an error message, some code that calls an EGL routine and
burps I believe.   I'm not in my office now, but within a few days
I'll get back to you on that error message.

Thanks,

Mitchell



_______________________________________________

OpenGL ES
http://community.qnx.com/sf/go/post40239
Re: RE: RE: New with QNX OpenGL ES  
Ok, I experimented with the original "Gears" program and this is the error message I got when I'm not using the Radeon 
driver, but rather the Vesabios driver.

PdCreateOffscreenContextGFC() failed.

I'm guessing that this is not technically an OpenGL problem, but rather an OS environment problem.   I'm also guessing 
that the solution is to just not use an off screen context because the vesabios doesn't support it?

Is that right?
RE: RE: RE: New with QNX OpenGL ES  
Hi Mitchell,

Just to clarify, what code is being used here?

I have a Radeon (actually 2), and I have run the gf-ph-3d demo from
foundry without issue, using devg-radeon.so and devg-vesabios.so (on one
of the cards, the other crashed, but that's another story).

From the statement, PdCreateOffscreenContextGF() below, I assume this is
a GLES and Photon hybrid application.

-Derek



-----Original Message-----
From: Mitchell Schoenbrun [mailto:community-noreply@qnx.com] 
Sent: Wednesday, October 21, 2009 9:11 PM
To: opengles-graphics
Subject: Re: RE: RE: New with QNX OpenGL ES

Ok, I experimented with the original "Gears" program and this is the
error message I got when I'm not using the Radeon driver, but rather the
Vesabios driver.

PdCreateOffscreenContextGFC() failed.

I'm guessing that this is not technically an OpenGL problem, but rather
an OS environment problem.   I'm also guessing that the solution is to
just not use an off screen context because the vesabios doesn't support
it?

Is that right?



_______________________________________________

OpenGL ES
http://community.qnx.com/sf/go/post40473
Re: RE: RE: RE: New with QNX OpenGL ES  
Well the name of the program is gf-ph-3d and it came with source and PhAB development files.   I don't really know where
 I first obtained it.   Can you point me at a link to the version you are using?   I will download and re-test.
RE: RE: RE: RE: New with QNX OpenGL ES  
http://community.qnx.com/sf/frs/do/viewRelease/projects.graphics/frs.photon.
gf_ph_2d

-----Original Message-----
From: Mitchell Schoenbrun [mailto:community-noreply@qnx.com] 
Sent: Thursday, October 22, 2009 11:31 AM
To: opengles-graphics
Subject: Re: RE: RE: RE: New with QNX OpenGL ES

Well the name of the program is gf-ph-3d and it came with source and PhAB
development files.   I don't really know where I first obtained it.   Can
you point me at a link to the version you are using?   I will download and
re-test.



_______________________________________________

OpenGL ES
http://community.qnx.com/sf/go/post40504
Re: RE: RE: RE: RE: New with QNX OpenGL ES  
There were 3 demos at this location.  I downloaded them all and here is what I have to report:

Radian Mode
    All Three work properly

Vesa.Bios Mode
    Only the "Demo" one worked properly, the other two _2d and _3d get the message I posted previously.

VGA Mode
    Only the "Demo" one worked at all.   I had to put the screen into 800x600 mode to get into VGA mode, and the program
 didn't work very well, but no need to follow up on this in my opinion.   The other two got the same error message about
 the off screen context.

So, apparently software Open GL can work in Vesa.Bios mode.   I'll have to dig into that "demo" program to see what is 
different about it.

Thanks,

Mitchell
RE: RE: RE: RE: RE: New with QNX OpenGL ES  
I would hope they would all work, no matter the driver, using soft3d if
necessary ... but if you can narrow down the root cause/differences,
please post it back here ...

-----Original Message-----
From: Mitchell Schoenbrun [mailto:community-noreply@qnx.com] 
Sent: Thursday, October 22, 2009 8:00 PM
To: opengles-graphics
Subject: Re: RE: RE: RE: RE: New with QNX OpenGL ES

There were 3 demos at this location.  I downloaded them all and here is
what I have to report:

Radian Mode
    All Three work properly

Vesa.Bios Mode
    Only the "Demo" one worked properly, the other two _2d and _3d get
the message I posted previously.

VGA Mode
    Only the "Demo" one worked at all.   I had to put the screen into
800x600 mode to get into VGA mode, and the program didn't work very
well, but no need to follow up on this in my opinion.   The other two
got the same error message about the off screen context.

So, apparently software Open GL can work in Vesa.Bios mode.   I'll have
to dig into that "demo" program to see what is different about it.

Thanks,

Mitchell



_______________________________________________

OpenGL ES
http://community.qnx.com/sf/go/post40572
Re: RE: RE: RE: New with QNX OpenGL ES  
Where can we get the source for no photon version of gears, gf 2d vsync 
etc...
Regards
Praveen
----- Original Message ----- 
From: "Derek Leach" <community-noreply@qnx.com>
To: "opengles-graphics" <post40544@community.qnx.com>
Sent: Friday, October 23, 2009 2:16 AM
Subject: RE: RE: RE: RE: New with QNX OpenGL ES


> http://community.qnx.com/sf/frs/do/viewRelease/projects.graphics/frs.photon.
> gf_ph_2d
>
> -----Original Message-----
> From: Mitchell Schoenbrun [mailto:community-noreply@qnx.com]
> Sent: Thursday, October 22, 2009 11:31 AM
> To: opengles-graphics
> Subject: Re: RE: RE: RE: New with QNX OpenGL ES
>
> Well the name of the program is gf-ph-3d and it came with source and PhAB
> development files.   I don't really know where I first obtained it.   Can
> you point me at a link to the version you are using?   I will download and
> re-test.
>
>
>
> _______________________________________________
>
> OpenGL ES
> http://community.qnx.com/sf/go/post40504
>
>
>
>
> _______________________________________________
>
> OpenGL ES
> http://community.qnx.com/sf/go/post40544
>
> 

RE: RE: RE: RE: New with QNX OpenGL ES  
from the source repository under this project.

-----Original Message-----
From: Praveen VS [mailto:community-noreply@qnx.com] 
Sent: Thursday, October 22, 2009 11:26 PM
To: opengles-graphics
Subject: Re: RE: RE: RE: New with QNX OpenGL ES

Where can we get the source for no photon version of gears, gf 2d vsync 
etc...
Regards
Praveen
----- Original Message ----- 
From: "Derek Leach" <community-noreply@qnx.com>
To: "opengles-graphics" <post40544@community.qnx.com>
Sent: Friday, October 23, 2009 2:16 AM
Subject: RE: RE: RE: RE: New with QNX OpenGL ES


>
http://community.qnx.com/sf/frs/do/viewRelease/projects.graphics/frs.pho
ton.
> gf_ph_2d
>
> -----Original Message-----
> From: Mitchell Schoenbrun [mailto:community-noreply@qnx.com]
> Sent: Thursday, October 22, 2009 11:31 AM
> To: opengles-graphics
> Subject: Re: RE: RE: RE: New with QNX OpenGL ES
>
> Well the name of the program is gf-ph-3d and it came with source and
PhAB
> development files.   I don't really know where I first obtained it.
Can
> you point me at a link to the version you are using?   I will download
and
> re-test.
>
>
>
> _______________________________________________
>
> OpenGL ES
> http://community.qnx.com/sf/go/post40504
>
>
>
>
> _______________________________________________
>
> OpenGL ES
> http://community.qnx.com/sf/go/post40544
>
> 





_______________________________________________

OpenGL ES
http://community.qnx.com/sf/go/post40580