Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 11-26-2009, 12:31 AM   #1
LQ Newbie
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
Accessing Frame buffer in linux desktop

My system has fedora core 9.I want to use frame buffer directly.It has /dev/fb node also.I could open the frame buffer device and could write on the memory mapped address of the frame buffer.My problem is I could not see the out put on the console.What I did is , I drew some color rectangle on the screen and I was expecting to see those rectangle on the screen.
I have installed qt/embedded and tried to run their example program.Here also I find the similar kind of problem.Program is running but out put is not visible on the screen.
But I could run directfb program properly, where in I can see the out put on the sreen.
"fbset" gives the following output
mode "1024x768-76"
# D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
geometry 1024 768 1024 768 32
timings 12714 128 32 16 4 128 4
rgba 8/16,8/8,8/0,8/24
To create the /dev/fb node I have added the following line in /ect/grub.conf file:"vga=792 append="video=vesa:ywrap,mtrr"

Could anybody please help me?
Thanks in advance.

Old 12-03-2009, 10:04 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Moved: This thread is more suitable in Programming and has been moved accordingly to help your question get the exposure it deserves.


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 problems on Carmine GPU and Embedded Linux jshakthi Linux - Embedded & Single-board computer 0 07-18-2008 03:07 AM
Linux frame buffer console help needed ssenuta Linux - Hardware 0 09-20-2007 10:55 AM
about frame buffer yugandhar Linux - Kernel 2 06-03-2006 05:07 PM
Frame buffer bkeating Linux - Newbie 6 04-22-2003 06:09 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:17 PM.

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