Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - preparing a AGTDK demo: (14 Items)
   
preparing a AGTDK demo  
I am new to QNX and have Neutrino 6.3 SP2 and AG TDK 2.0 loaded on a system. Having found a graphics device listed as 
supported I am having difficulties in getting an initial demo of egl-gears to run.

First. The display adapter is an S3 Trio 64 (0x5333,0x8811) which show up as supported by the devg-s3.so driver. It 
doesn't work beyond 800x600. I am assuming you want the accelerated functionality for io-displays to work.

Second. While io-displays -dvid=0x5333,did=0x8811 seems to want to do something interesting, it fails with the addition 
of "gfpr_dlopen: library cannot be found".

Is there a step-by-step installation and configuration instructions as to how to install, configure and run a PC based 
system? What other graphics cards (available) would be useable (if not the S3)?

Thanks,
Re: preparing a AGTDK demo  
spelling it out from sloginfo:

"
...
Jul 25 17:31:52    6     8     0 VGA primary : bus 0x4 dev/func 0x20
Jul 25 17:31:52    6     8     0 Found 1 PCI/AGP display devices
Jul 25 17:31:52    6     8     0 pci_init: found PCI device 5333:8811
Jul 25 17:31:52    5     8     0 Attached /dev/io-graphics/s30, id = 0
Jul 25 17:33:16    2     8   200 No matching entry for device
5333,8811,0 in /etc/system/config/display.conf
Jul 25 17:35:35    2     8   200 devg-s30.so: gfpr_dlopen: Library
cannot be found
"
NOTE: the no matching entry for device line went away after entering listing the S30 interface at 5333:8881. Two minutes
 later trying "io-display -dvid=0x5333,did=8881" caused the last entry.

Some help please! 
Re: preparing a AGTDK demo  
> I am new to QNX and have Neutrino 6.3 SP2 and AG TDK 2.0 loaded on a system. 
> Having found a graphics device listed as supported I am having difficulties in
>  getting an initial demo of egl-gears to run.

Did You applied QNX® Momentics® 6.3.0 SP2 PE and SE Core Patch for the Advanced Graphics TDK (Patch ID 331) allready ?


http://www.qnx.com/developers/articles/rel_1952_1.html

Jeevan
Re: preparing a AGTDK demo  
Thanks for the reply. I applied 331 and patch-630SP2-1048-GLES-AGTDK.tar as well. 

I assume I cannot be running Photon at the same time...

What PCI display devices are validated with ADTDK?

Still no joy with S3 or Matrox Mystique...

Re: preparing a AGTDK demo  
I belive the only drivers which have officially been released and come in a PCI based card are the carmine and the coral
. However, if your just trying to put together a demo, there's a vmware driver that comes with the AGTDK, that works 
quite well.

Joel
Re: preparing a AGTDK demo  
devg graphics drivers for the AGTDK are different (and not compatible) with the devg drivers for Photon in the QNX 
runtime.

The only drivers available for AGTDK 2.0 are:

devg-carmine.so (for Fujitsu Carmine chipset)
devg-coral.so (for Fujitsu Coral P/PA chipsets)
devg-extreme2.so (for Intel Extreme2 graphics chipsets including 852/854/855G/GM)
devg-vmware.so (for use with Vmware)
devg-vesabios.so (for generic X86 graphics chipsets)

You will need to use the devg-vesabios.so driver with both the S3 Trio and Matrox Mystrique.    You need to ensure you 
have an entry in /etc/system/config/display.conf for your device (PCI vendor and device ID and put drivername=vesabios) 
 Then start io-display with the same vendor and device ID:   io-display -dvid=VID,did=DID

---------
Mike
Re: preparing a AGTDK demo  
Great, I'll give this a try.

--------------------------
Kim Hartman
TenAsys
Sent using BlackBerry

----- Original Message -----
From: Michael Van Reenen <community-noreply@qnx.com>
To: general-community <post11158@community.qnx.com>
Sent: Mon Jul 28 09:48:11 2008
Subject: Re: preparing a AGTDK demo

devg graphics drivers for the AGTDK are different (and not compatible) with the devg drivers for Photon in the QNX 
runtime.

The only drivers available for AGTDK 2.0 are:

devg-carmine.so (for Fujitsu Carmine chipset)
devg-coral.so (for Fujitsu Coral P/PA chipsets)
devg-extreme2.so (for Intel Extreme2 graphics chipsets including 852/854/855G/GM)
devg-vmware.so (for use with Vmware)
devg-vesabios.so (for generic X86 graphics chipsets)

You will need to use the devg-vesabios.so driver with both the S3 Trio and Matrox Mystrique.    You need to ensure you 
have an entry in /etc/system/config/display.conf for your device (PCI vendor and device ID and put drivername=vesabios) 
 Then start io-display with the same vendor and device ID:   io-display -dvid=VID,did=DID

---------
Mike

_______________________________________________
General
http://community.qnx.com/sf/go/post11158

Re: preparing a AGTDK demo  
still no joy...

using vesabios with Matrox Mystique 102b:051a

io-display loads now and egl-testegl produces output (attached).

egl-gears (or any other app) faults, like: 
Jul 29 16:18:03    6     8     0 VGA primary : bus 0x4 dev/func 0x20
Jul 29 16:18:03    6     8     0 Found 1 PCI/AGP display devices
Jul 29 16:18:03    6     8     0 pci_init: found PCI device 102b:51a
Jul 29 16:18:04    5    21     0 run fault pid 1318937 tid 1 signal 11 code 1 ip 0xb824d688 bin/egl-gears
Jul 29 16:18:04    6     8     0 Primary active: 4 20 87

I must be doing something stupid. But I've done nothing to configure the system other than load and run. What am I 
missing?

Is there any documentation on what resolution and magic pixal format string could be?
Attachment: Text egl_test 11.38 KB
Re: preparing a AGTDK demo  
Is there ANY vesabios driven PCI card that has been validated to work with io-display??? 

This routine is getting a bit old, and Carmine / Coral PCI interfaces are just 'not available' anywhere.

I would like some much needed support.
Re: preparing a AGTDK demo  
Do you get the same results with 2D test applications (ie vsync)?

Is your system using the libffb.so.2 that was included in patch 331?

Regards
Mike
Re: preparing a AGTDK demo  
gf_surface_create_layer() failed
Re: preparing a AGTDK demo  
My mistake - vsync requires a driver than can target 2 displayable surfaces which the vesabios driver cannot.   Are you 
able to run one of the other applications (demo-chroma, demo-alpha)
Re: preparing a AGTDK demo  
I reapplied the 0331 patch and it iis working now. I get display running egl-gears :) 

What can you tell me about changing resolution and this pixal format string of display.conf?

Thanks!
Re: preparing a AGTDK demo  
To change the resolution you'll need to change
the xres and yres parameters in display.conf.

The pixel_format is the color depth you are running in.
Depending on what your card/BIOS supports the following
pixel_formats are supported:

argb1555  (15 bit)
rgb565     (16 bit)
rgb888     (24 bit)
argb8888  (32 bit)