Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Regarding framebuffer concept in QNX 4.25.: (1 Item)
   
Regarding framebuffer concept in QNX 4.25.  
Dear Oleg,

Thank you for your valuable support.
We were trying to understand the concepts which you discussed in your earlier reply to use the frame buffer pointer in 
QNX 4.25. Please see our replies inline.

[Oleg] >> You can create at least two configurations with Photon components to achieve your target.
You can disable (just do not launch) all unneeded Photon components like pdm, pwm, etc and create PtRaw-based 
application maximized to whole screen.

[Honey] >> We have edited our ph script as follows:
Added the following lines.
1. export PHWM=""
2. export PHWMOPTS=""
3. export PHPDM_DISABLE=""
and commented out pdm invokation in the script.
Then we rebooted our QNX 4.25 machine. We ensured that pdm, pwm are not running by running pidin command.
Then we started learning on PtRaw widget from "Raw drawing and animation" chapter from Photon MicroGUI manual.
Created a sample application which has a PtRaw widget and a PtRect canvas placed on it. Also draw an ellipse and fill 
color on it. This is what we can achieve till now.
Hope this is the way you mentioned how to get the raw drawing feature using frame buffer. Please correct us if we are 
wrong.

[Oleg] >> Also you can try to launch Hydra.ms to switch to graphics mode and access framebuffer directly using 
framebuffer pointer. To get framebuffer pointer you can use show_pci or show_vesa utils.

[Honey] >> We can't understand this fully. We have tried to run show_pci command. Attached file (show_pci.png) is the 
output which we got. show_vesa command is not found in our QNX 4.25 machine.
Also we are not clear about Hydra.ms; so didn't make a trial on it. How hydra.ms can be used to access frame buffer 
directly?

Could you please detail on our concerns?

Thank you for your understanding and patience.
Regards,
Honey S

________________________________

Confidentiality Statement / Disclaimer : This message and any attachments is intended for the sole use of the intended 
recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly 
prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your 
systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the 
recipient to make sure that it is virus/malicious code exempt.

The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you 
require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable 
for any errors or omissions in the content of this message.

________________________________
Attachment: HTML sf-attachment-mime28204 6.26 KB Image show_pci.png 106.71 KB