Forum Topic - rotate display: (10 Items)
   
rotate display  
Hi,

is it possible to rotate the display during runtime of io-graphics?
I know, that I can rotate the display using the hook option with devg-rotate90.so and devg-rotate270.so. But to rotate 
it during runtime of our application, I need to kill io-graphics and restart it with the corresponding hook option. Is 
there no other way to this?

We are using QNX 6.3.2 with Photon.

Best regards,
Stephen
Re: rotate display  
Unfortunately in 6.3.2 you can only re-start the io-graphics. The rotation API (PgPHookRegister) is available in 6.5.x 
only.
Re: rotate display  
Thanks for your answer!

It seems that our customer is planing to upgade their QNX from 6.3.2 to 6.5. Can you make a statement about the 
preformance of the new screen-rotation technique in QNX 6.5. At the moment it takes about 2-3 seconds to rotate the 
screen. And the CPU load is very high.
Our hardware is very similiar to the Atmel AT91SAM9263-EK. The display resolution is 640x480.

Best regards,
Stephen 
Re: rotate display  
Dear Stephen
We are using QNX 6.3.2 with Photon with Ateml AT91SAM9263 processor on coustom board.
Using LCD display 240*320, i want to rotate the photon window by 90 degree.
The display driver is the same which the QNX BSP provide.
I used the hook  option with the io-graphics command but it doesn't rotate.
Can u help me by providing the exact command for rotation.
I added the rotate90.so file in my build file.
Re: rotate display  
Hi Mukesh,

this is the command, which I use:
"io-graphics -datmel hook=devg-rotate90.so,photon,xres=480,yres=640,bitpp=8 -pphoton"

Re: rotate display  
i tried the option given by u but it doesn't work. It shows io-graphics stopped in pidin command & display is blank.

For your ref i attached the Build file and the atmel display driver conf. file

Please help me as this is very important for my project.

Thanks in adv.
Attachment: Text at91sam9263ek_mod for rot.build 19.59 KB
Re: rotate display  
first try to start the io-graphics from console via telnet or a serial connection. Then check sloginfo for debug outputs
 from io-graphics.
Re: rotate display  
Sloginfo gives error "Failed to open hook dll devg-rotate90.so, unable to library file".
though i have put the dll in /usr/lib and /lib/dll path also set LD_LIBRARY_PATH to these locations.
Also when i use pidin command with mem option the hook dll devg-rotate90.so is not shown in the list.
Please check my build file which i attached in my last post.
Re: rotate display  
Please help stephen its vv imp.
Re: rotate display  
I don't see any mistakes in your buildfile. But I am not a QNX specialist. Sorry.

Check the execute permissions of the devg-rotate90.so.