|
Accessing Frame buffer in linux desktop
Hi,
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
endmode
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.
Thanks,
Moutusi
|