View topic - devg-pxa250 driver & 800x600 graphics mode

devg-pxa250 driver & 800x600 graphics mode

Read-only archive of qnx.ddk (Writing device drivers for scanners, video card, optical mouse, etc) at inn.qnx.com

devg-pxa250 driver & 800x600 graphics mode

Postby jacus » Tue Mar 16, 2004 8:27 am

Hi,

What is a max. resolution supported by devg-pxa250 driver?

Is it possible to obtain 800x600x8 mode for example?

Thanks,
Jacek
jacus
Senior Member
 
Posts: 239
Joined: Tue Apr 22, 2003 8:36 am

Re: devg-pxa250 driver & 800x600 graphics mode

Postby Sascha Morgenstern » Tue Mar 16, 2004 8:47 am

Hi Jacek,

I already tried it with that kind of resoultion.
It should support every resolution from the pxa250.

Sascha



"Jacek Rudnicki" <jacek.rudnicki@quantum.com.pl> schrieb im Newsbeitrag
news:c36c3o$520$1@inn.qnx.com...
Hi,

What is a max. resolution supported by devg-pxa250 driver?

Is it possible to obtain 800x600x8 mode for example?

Thanks,
Jacek

Sascha Morgenstern
 

Re: devg-pxa250 driver & 800x600 graphics mode

Postby jacus » Tue Mar 16, 2004 9:16 am

Thank you Sascha for fast reply,

One more question. Did you have any serious problems during graphics
driver starting procedure?

Regards,
Jacek

U¿ytkownik "Sascha Morgenstern" <sascha.morgenstern@bitctrl.de> napisa³ w
wiadomo¶ci news:c36d1u$676$1@inn.qnx.com...
Hi Jacek,

I already tried it with that kind of resoultion.
It should support every resolution from the pxa250.

Sascha



"Jacek Rudnicki" <jacek.rudnicki@quantum.com.pl> schrieb im Newsbeitrag
news:c36c3o$520$1@inn.qnx.com...
Hi,

What is a max. resolution supported by devg-pxa250 driver?

Is it possible to obtain 800x600x8 mode for example?

Thanks,
Jacek



jacus
Senior Member
 
Posts: 239
Joined: Tue Apr 22, 2003 8:36 am

Re: devg-pxa250 driver & 800x600 graphics mode

Postby Sascha Morgenstern » Wed Mar 17, 2004 9:06 am

The only problem I ever had is the timing stuff for the display.
The photon graphics driver works just fine for me.

Keep in mind, if you use this kind of resolution, you will lose realtime
performance
based on the architecture of xscale.

Sascha

"Jacek Rudnicki" <jacek.rudnicki@quantum.com.pl> schrieb im Newsbeitrag
news:c36evq$8m4$1@inn.qnx.com...
Thank you Sascha for fast reply,

One more question. Did you have any serious problems during graphics
driver starting procedure?

Regards,
Jacek

U¿ytkownik "Sascha Morgenstern" <sascha.morgenstern@bitctrl.de> napisa³ w
wiadomo¶ci news:c36d1u$676$1@inn.qnx.com...
Hi Jacek,

I already tried it with that kind of resoultion.
It should support every resolution from the pxa250.

Sascha



"Jacek Rudnicki" <jacek.rudnicki@quantum.com.pl> schrieb im Newsbeitrag
news:c36c3o$520$1@inn.qnx.com...
Hi,

What is a max. resolution supported by devg-pxa250 driver?

Is it possible to obtain 800x600x8 mode for example?

Thanks,
Jacek





Sascha Morgenstern
 

Re: devg-pxa250 driver & 800x600 graphics mode

Postby jacus » Wed Mar 17, 2004 11:53 am

Hi Sascha,

I have just prepared cables, LCD and all files required for embedded
Photon start.
This is a part of my Photon startup script:

echo Starting Photon...
Photon

echo Starting phfontFF manager ...
phfontFF -b300K -d /photon/font_repository -c 20K -j -s 200K

echo Starting io-graphics ...
io-graphics -g800x600x8 -dl devg-pxa250.so -amode=/photon/config/pxa250.conf

Let's assume that all enviroment variables like PATH, LD_LIBRARY_PATH,...
are set properly.
During starting procedure I get the following error message:
dlopen("") failed: Shared library is corrupted

What does mean?

The io-graphics manager loads into memory below components:
40970 1 bin/io-graphics 12r SIGWAITINFO 96K 24K
8192(132K)*
ldqnx.so.2 @ 1000000 352K 16K
libgri.so.2 @ 105c000 44K 8192
gri-photon.so @ 1069000 28K 4096
libphrender.so.2 @ 1071000 180K 8192
and fails at devg-pxa250.so execution.

I also attached output from sloginfo utility:
Time Sev Major Minor Args
Jan 01 00:00:03 1 8 0 phfontXX started OK - EOK
Jan 01 00:00:03 1 8 0 MainLoop
Jan 01 00:00:03 2 8 0 Unable to open phfont.so DLL
Jan 01 00:00:03 5 8 0 Plugin gri-photon.so opened successfully
Jan 01 00:00:03 2 8 0 Failed to init device 0: No mode funcs

Is "Failed to init device 0" info printed by devg-pxa250 graphics driver?
Should I also do some additional settings in IPL/startup except
GPIO pins configuration (LCD controler)?

Thank's,
Jacek

U¿ytkownik "Sascha Morgenstern" <sascha.morgenstern@bitctrl.de> napisa³ w
wiadomo¶ci news:c392gk$j7f$1@inn.qnx.com...
The only problem I ever had is the timing stuff for the display.
The photon graphics driver works just fine for me.

Keep in mind, if you use this kind of resolution, you will lose realtime
performance
based on the architecture of xscale.

Sascha

"Jacek Rudnicki" <jacek.rudnicki@quantum.com.pl> schrieb im Newsbeitrag
news:c36evq$8m4$1@inn.qnx.com...
Thank you Sascha for fast reply,

One more question. Did you have any serious problems during graphics
driver starting procedure?

Regards,
Jacek

U¿ytkownik "Sascha Morgenstern" <sascha.morgenstern@bitctrl.de> napisa³
w
wiadomo¶ci news:c36d1u$676$1@inn.qnx.com...
Hi Jacek,

I already tried it with that kind of resoultion.
It should support every resolution from the pxa250.

Sascha



"Jacek Rudnicki" <jacek.rudnicki@quantum.com.pl> schrieb im
Newsbeitrag
news:c36c3o$520$1@inn.qnx.com...
Hi,

What is a max. resolution supported by devg-pxa250 driver?

Is it possible to obtain 800x600x8 mode for example?

Thanks,
Jacek







jacus
Senior Member
 
Posts: 239
Joined: Tue Apr 22, 2003 8:36 am

Re: devg-pxa250 driver & 800x600 graphics mode

Postby jacus » Wed Mar 17, 2004 1:33 pm

Without space I get the following error message:
Process 49162 (io-graphics) terminated SIGSEGV code=1 fltno=11 ip=010a6b9c
mapad
dr=00002b9c. ref=00000004

sloginfo reports this time:
Time Sev Major Minor Args
Jan 01 00:00:08 1 8 0 phfontXX started OK - EOK
Jan 01 00:00:08 1 8 0 MainLoop
Jan 01 00:00:13 5 8 0 Plugin gri-photon.so opened successfully
Jan 01 00:00:13 5 8 0 Opened photon connection:
Jan 01 00:00:13 1 8 0 Received terminate request, exiting - EOK

What is a reason of the io-graphics termination?

Jacek

I think that you can't have a whitespace between -dl and library name, try
... -dldevg-pxa250.so ...
jacus
Senior Member
 
Posts: 239
Joined: Tue Apr 22, 2003 8:36 am

Re: devg-pxa250 driver & 800x600 graphics mode

Postby jacus » Wed Mar 17, 2004 2:45 pm

Problem solved :-).

Jacek
jacus
Senior Member
 
Posts: 239
Joined: Tue Apr 22, 2003 8:36 am

Re: devg-pxa250 driver & 800x600 graphics mode

Postby safarik jakub » Wed Mar 17, 2004 2:51 pm

Jacek Rudnicki wrote:
Hi Sascha,

I have just prepared cables, LCD and all files required for embedded
Photon start.
This is a part of my Photon startup script:

echo Starting Photon...
Photon

echo Starting phfontFF manager ...
phfontFF -b300K -d /photon/font_repository -c 20K -j -s 200K

echo Starting io-graphics ...
io-graphics -g800x600x8 -dl devg-pxa250.so -amode=/photon/config/pxa250.conf

I think that you can't have a whitespace between -dl and library name, try
.... -dldevg-pxa250.so ...

Let's assume that all enviroment variables like PATH, LD_LIBRARY_PATH,...
are set properly.
During starting procedure I get the following error message:
dlopen("") failed: Shared library is corrupted

What does mean?

The io-graphics manager loads into memory below components:
40970 1 bin/io-graphics 12r SIGWAITINFO 96K 24K
8192(132K)*
ldqnx.so.2 @ 1000000 352K 16K
libgri.so.2 @ 105c000 44K 8192
gri-photon.so @ 1069000 28K 4096
libphrender.so.2 @ 1071000 180K 8192
and fails at devg-pxa250.so execution.

I also attached output from sloginfo utility:
Time Sev Major Minor Args
Jan 01 00:00:03 1 8 0 phfontXX started OK - EOK
Jan 01 00:00:03 1 8 0 MainLoop
Jan 01 00:00:03 2 8 0 Unable to open phfont.so DLL
Jan 01 00:00:03 5 8 0 Plugin gri-photon.so opened successfully
Jan 01 00:00:03 2 8 0 Failed to init device 0: No mode funcs

Is "Failed to init device 0" info printed by devg-pxa250 graphics driver?
Should I also do some additional settings in IPL/startup except
GPIO pins configuration (LCD controler)?

Thank's,
Jacek
safarik jakub
 


Return to qnx.ddk

Who is online

Users browsing this forum: No registered users and 3 guests