phfont and io-graphics problems

Hi, I have seen a similar problem mentioned in the discussion forums (posted by - iangibb). I am building an embedded system with a SH4 using QNX 6.3. When I run the io-graphics command I also get the same error as the user iangibb, however as far as I can tell All the environment variables and dll’s are present. Can anyone suggest what might be missing?

[color=green]# io-graphics -dldevg-coral.so -g640x480x8 -d0x10cf,0x2019
Fatal error - check sloginfo.

Process 8200 (io-graphics) terminated SIGINT code=0 by process 1 value=0.

sloginfo

Time Sev Major Minor Args
Jan 01 00:00:13 4 8 0 Legacy mode config file found.
Jan 01 00:00:13 1 8 0 phfont_init
Jan 01 00:00:13 1 8 0 phfontXX started OK
Jan 01 00:00:13 1 8 0 FatalError
Jan 01 00:00:13 1 8 0 No render engines loaded. io-font
Jan 01 00:00:13 1 8 0 Unable to launch Photon Font Server main.
Jan 01 00:00:13 2 8 0 Unable to open font DLL
Jan 01 00:00:13 4 8 0 Cannot open palette file “default.pal”: No such file or directory
Jan 01 00:00:13 6 8 0 Could not open config file “”: No such file or directory
Jan 01 00:00:13 6 8 0 pci_init: found PCI device 10cf:2019

Enviroment:
[color=darkblue]LD_LIBRARY_PATH=/proc/boot:/usr/lib:/lib:/lib/dll:/lib/dll/font

File structure:
[color=darkblue]/lib/dll: devg-coral.so, font, phfont.so, devg-svga.so, gri-photon.so, pi_io_jpeg.so
/lib/dll/font: FCcore.so, PHFcore.so, ttfFFcore.so
/etc/system/config: crtc-settings
/usr/lib: ldqnx.so.2, libgri.so.2, libphexlib.so.3, libAp.so, libjpeg.so, libphimg.so, libAp.so.3, libjpeg.so.3 , libphimg.so.2, libdisputil.so, libm.so, libphrender.so, libdisputil.so.2, libm.so.2,libphrender.so.2, libffb.so, libph.so, libffb.so.2, libph.so.3, libgri.so, libphexlib.so

If I try and use phfont I also get:
[color=green]Jan 01 00:12:46 1 8 0 phfont_init
Jan 01 00:12:46 1 8 0 phfontXX started OK
Jan 01 00:12:46 1 8 0 FatalError
Jan 01 00:12:46 1 8 0 No render engines loaded. io-font
Jan 01 00:12:46 1 8 0 Unable to launch Photon Font Server main.

Thanks in advance,
Paul

Do you have the latest SH4 critical patches? From the last notice:

SH4 ARCHITECTURE - PROBLEM IMPACT:

This problem affects drivers that perform non-cacheable mappings of anonymous
memory for DMA (examples include USB and networking), or allocate memory buffers
shared with applications (examples include audio). Possible symptoms range from
data-buffer corruption to random driver faults. Observed symptoms, in the case
of USB, were the crash (through a SIGSEGV) of the USB stack during initialization;
in the case of audio, the symptom was typically periods of silence in the playback
stream.

Rick…

Thanks Rick,

The patches fixed some USB issues I had and fixed some strange crashes when using ls -al in /dev/…

I think that the io-graphics engine is working now (at least no more errors) - it turned out that I had not set:

setconf CS_LIBPATH /proc/boot:…etc…


Paul :slight_smile: