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
# 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
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.
Moved: This thread is more suitable in Programming and has been moved accordingly to help your question get the exposure it deserves.
|All times are GMT -5. The time now is 07:42 PM.|