I had always assumed that the system was fully configured to run graphics (since I was able to see some graphical programs running). It seems that for OpenGL ES to work on this target, I need to set up GF and the io-display process. This was not done. The other programs didn’t have this requirement.
To get GF running, you need to first setup io-display, which needs to be run before your application can run.
See %QNX_TARGET%\usr\help\product\gf\dev_guide\monitor.html for more information.
It turns out that the QNX Advanced Graphics TDK will update your hardware driver, so that you can run io-display, GF and your application. However, currently the TDK only supports a few hardware, such as “Fujitsu CoralP”. My hardware is not yet supported, so I didn’t get any further…
Thanks!
I tried to set up io-display with this display.conf
device {
drivername=tnt
vid=0x10de
did=0x152
deviceindex=0
display {
xres=1280
yres=1024
refresh=60
pixel_format=rgb565
}
}
by calling io-display.
The process is displayed as running, but if I call “gf_dev_attach(&gdev,GF_DEVICE_INDEX(0),&gdev_info);”
it always returns the GF_ERR_IODISPLAY error.
I use a geforce 2 which is supported by the devg-tnt.so driver so far.
You wrote that your hardware was not supported… what happened?
Ok, if I just call io-display without any arguments it looks ok, but if I call it
io-display -dvid=0x10de,did=0x152
“Function not supported” is written.
I have tried several options… the only driver which seams to be working is the coral.
Do you know how it is possible to work without GF? Is there a way?
The only supported driver for the Advanced Graphics TDK is the Fujitsu Coral P/PA. The normal Photon drivers will not work. The TDK is new and driver mods had to be made for this release which makes existing 6.30 Photon drivers incompatible.