OpenQNX :: The QNX Community Portal

Jul 25, 2008 - 04:27 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 22 unlogged users and 3 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Will137
Post subject: io-graphics problem  PostPosted: Apr 22, 2008 - 01:05 AM
New Member


Joined: May 11, 2006
Posts: 7

Hi,

I am trying to get Photon running on a Freescale MPC8349 board with an ATI Rage 128 PCI video card. At the moment I am starting io-graphics with the following line:

io-graphics -dati_rage128 vid=0x1002,did=0x5245,index=0,xres=640,yres=480,bitpp=16,photon -pphoton

and it exits without an error. If I run sloginfo I get the following:

Jan 01 00:12:54 1 8 0 phfont_init
Jan 01 00:12:54 1 8 0 phfontXX started OK
Jan 01 00:12:54 6 8 0 pci_init: found PCI device 1002:5245
Jan 01 00:12:55 2 8 0 mode init() failed: Invalid argument
Jan 01 00:12:55 1 8 0 fontserver: clean
Jan 01 00:12:55 1 8 0 Received terminate request, exiting - EOK

I believe the mode init() failed line is coming from io-graphics although I don't know what the cause of it is. If i run io-graphics with DL_DEBUG=1 set, it doesn't seem as though there are any libraries missing. I have tried the latest patches for io-graphics and it hasn't made a difference.

Does anyone know what the "mode init() failed: Invalid argument" line is indicating?

Will.
 
 View user's profile Send private message  
Reply with quote Back to top
mario
Post subject: RE: io-graphics problem  PostPosted: Apr 22, 2008 - 02:51 AM
QNX Master


Joined: Sep 01, 2002
Posts: 2783

My guess would be that the driver is unable to set the gfx mode you requested.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Will137
Post subject: RE: io-graphics problem  PostPosted: Apr 22, 2008 - 03:17 AM
New Member


Joined: May 11, 2006
Posts: 7

Hi,

According to the information for the driver on the QNX site:

http://www.qnx.org/developers/docs/6.3.2/neutrino/utilities/d/devg-ati_rage128.so.html

it should be capable of the resolution and bit depth I have selected.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.