Frame Buffer problem
Nice to meet you all. New to this forum and recently started working on Linux.
Here is my problem. I'm working a Set top Box with Linux Embedded. The framebuffer of this box supports for 16 bits per Pixel. When I try to draw something (setting few colors) it is NOT displaying any thing. Now when I do the below procedure then I see something on screen.
1. Receive the Variable Screen Info
2. Forcibly Set the Pixel size to 32 bits.
3. Write the Variable Screen info using IOCTL with FBIOPUT_VSCREENINFO
4. Again set back the Pixel Size from 32 bits to 16 bits
5. Do step 3.
After following above 5 steps then I'm able to see something.
Does anybody face this problem please discuss and please guide me if anybody have a solution.
Thanks in Advance.
|All times are GMT -5. The time now is 08:24 PM.|