Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Unable to launch io-graphics: (4 Items)
   
Unable to launch io-graphics  
Hi,

I'm trying to run a small photon application on my embedded system (for instance phcalc).

Here's my issue :

I am able to run io-display, see my display.conf :
# My PCI
device {
	drivername=lx800
	vid=0x1022
	did=0x2081
	deviceindex=0
	display {
		xres=1024
		yres=768
		refresh=60
		pixel_format=argb8888
	}
}

I am able to run vsync.

I can't launch demo-alpha > sloginfo :

When I run io-graphics I've got the following error :
Oct 15 15:07:47    6     8     0 Primary active: 0 9 7
Oct 15 15:07:58    6     8     0 VGA primary : bus 0x0 dev/func 0x9
Oct 15 15:07:58    6     8     0 Found 1 PCI/AGP display devices
Oct 15 15:07:58    6     8     0 pci_init: found PCI device 1022:2081
Oct 15 15:07:58    6     8     0 No config file specified

Oct 15 15:07:59    6     8     0 Primary active: 0 9 7

Il I launch Photon binary and then phcalc (for example), I have :
"unable to attach to font server, pf_attach() : No such file or directory"
"Ap: Unable to locate Photon (2)"

If I run phfont I have : "PfAttachLocalDllArgv() : Invalid argument "
and the following slog :
Oct 15 15:07:59    6     8     0 Primary active: 0 9 7
Oct 15 15:12:42    1     8     0 phfont: init...
Oct 15 15:12:42    1     8     0 phfont: unable to load font extension rules

If I run ph script I have : "Unable to start graphics driver(s)"
and the followin slog :
Oct 15 15:16:46    1     8     0 phfont.so: init...
Oct 15 15:16:46    1     8     0 phfont.so: unable to load font extension rules
Oct 15 15:16:46    2     8     0 io-graphics:  FAIL PfAttachLocalDll(): Invalid argument, please verify font server 
configuration.
Oct 15 15:16:46    2     8     0 fontserver_setup()

My script is attached. My environment variables are defined hereafter :
HOME=/
PATH=/proc/boot:/bin:/usr/bin:/usr/sbin:/sbin:/APD:/usr/photon/bin
LD_LIBRARY_PATH=/proc/boot:/lib:/usr/lib:/lib/dll
PHOTON_PATH=/usr/photon
PHOTON2_PATH=/usr/photon
PHOTON=/dev/photon
PHFONT=/dev/phfont
setconf _CS_LIBPATH :/proc/boot:/lib/dll:/dev/shmem:/lib:/usr/lib:/lib/dll:/lib/dll/font:/usr/photon/lib

I'm running QNX 6.5.0. My board is a Rhodeus Geode (AMD 500Mghz) : http://www.diamondsystems.com/products/rhodeus

My starting point was this official BSP : http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/AmdGeodeLxdb800
 
But I had to change things (surcvh as realtek driver)...

I use devg-lx800.so graphic library.

Any help would be appreciated.

Thanks.
Attachment: Text bsh.txt.txt 3.2 KB
Re: Unable to launch io-graphics  
Never mind this issue is solved.
For further information check on this topic : http://www.openqnx.com/phpbbforum/viewtopic.php?f=8&t=13205
RE: Unable to launch io-graphics  
Good :)

-----Original Message-----
From: KB [mailto:community-noreply@qnx.com] 
Sent: October-19-12 2:08 AM
To: advanced-graphics
Subject: Re: Unable to launch io-graphics

Never mind this issue is solved.
For further information check on this topic : http://www.openqnx.com/phpbbforum/viewtopic.php?f=8&t=13205



_______________________________________________

Advanced Graphics
http://community.qnx.com/sf/go/post96441
To cancel your subscription to this discussion, please e-mail advanced-graphics-unsubscribe@community.qnx.com
RE: Unable to launch io-graphics  
Do you have a /usr/photon/font_repository on your target?

-----Original Message-----
From: KB [mailto:community-noreply@qnx.com] 
Sent: October-15-12 9:35 AM
To: advanced-graphics
Subject: Unable to launch io-graphics

Hi,

I'm trying to run a small photon application on my embedded system (for instance phcalc).

Here's my issue :

I am able to run io-display, see my display.conf :
# My PCI
device {
	drivername=lx800
	vid=0x1022
	did=0x2081
	deviceindex=0
	display {
		xres=1024
		yres=768
		refresh=60
		pixel_format=argb8888
	}
}

I am able to run vsync.

I can't launch demo-alpha > sloginfo :

When I run io-graphics I've got the following error :
Oct 15 15:07:47    6     8     0 Primary active: 0 9 7
Oct 15 15:07:58    6     8     0 VGA primary : bus 0x0 dev/func 0x9
Oct 15 15:07:58    6     8     0 Found 1 PCI/AGP display devices
Oct 15 15:07:58    6     8     0 pci_init: found PCI device 1022:2081
Oct 15 15:07:58    6     8     0 No config file specified

Oct 15 15:07:59    6     8     0 Primary active: 0 9 7

Il I launch Photon binary and then phcalc (for example), I have :
"unable to attach to font server, pf_attach() : No such file or directory"
"Ap: Unable to locate Photon (2)"

If I run phfont I have : "PfAttachLocalDllArgv() : Invalid argument "
and the following slog :
Oct 15 15:07:59    6     8     0 Primary active: 0 9 7
Oct 15 15:12:42    1     8     0 phfont: init...
Oct 15 15:12:42    1     8     0 phfont: unable to load font extension rules

If I run ph script I have : "Unable to start graphics driver(s)"
and the followin slog :
Oct 15 15:16:46    1     8     0 phfont.so: init...
Oct 15 15:16:46    1     8     0 phfont.so: unable to load font extension rules
Oct 15 15:16:46    2     8     0 io-graphics:  FAIL PfAttachLocalDll(): Invalid argument, please verify font server 
configuration.
Oct 15 15:16:46    2     8     0 fontserver_setup()

My script is attached. My environment variables are defined hereafter :
HOME=/
PATH=/proc/boot:/bin:/usr/bin:/usr/sbin:/sbin:/APD:/usr/photon/bin
LD_LIBRARY_PATH=/proc/boot:/lib:/usr/lib:/lib/dll
PHOTON_PATH=/usr/photon
PHOTON2_PATH=/usr/photon
PHOTON=/dev/photon
PHFONT=/dev/phfont
setconf _CS_LIBPATH :/proc/boot:/lib/dll:/dev/shmem:/lib:/usr/lib:/lib/dll:/lib/dll/font:/usr/photon/lib

I'm running QNX 6.5.0. My board is a Rhodeus Geode (AMD 500Mghz) : http://www.diamondsystems.com/products/rhodeus

My starting point was this official BSP : http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/AmdGeodeLxdb800
 
But I had to change things (surcvh as realtek driver)...

I use devg-lx800.so graphic library.

Any help would be appreciated.

Thanks.



_______________________________________________

Advanced Graphics
http://community.qnx.com/sf/go/post96328
To cancel your subscription to this discussion, please e-mail advanced-graphics-unsubscribe@community.qnx.com