LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-29-2005, 08:14 AM   #1
sureshraju
LQ Newbie
 
Registered: Jun 2005
Location: INDIA
Posts: 3

Rep: Reputation: 0
Question Frame Buffer problem


Hi,

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.

STB Engineer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
frame buffer problem sureshraju Linux - Software 3 06-29-2005 09:17 AM
frame buffer doesn't seem to work hubabuba Fedora 2 05-03-2005 12:39 PM
Frame Buffer and i810 problem!!! vaworx Linux - Hardware 3 12-18-2004 02:44 PM
Frame Buffer and i810 problem vaworx Slackware 2 12-18-2004 01:54 AM
Frame buffer bkeating Linux - Newbie 6 04-22-2003 06:09 PM


All times are GMT -5. The time now is 06:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration