linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Virtual framebuffer driver - mmap problem
@ 2004-09-08 13:51 Shivappa Kushtagi
  2004-09-09  0:31 ` Antonino A. Daplas
  0 siblings, 1 reply; 4+ messages in thread
From: Shivappa Kushtagi @ 2004-09-08 13:51 UTC (permalink / raw)
  To: linux-fbdev-devel

> I would like to use virtual framebuffer on a linux system which is
> installed with R.H.9 to simulate my target display ( an embedded
> device with 320*480 resolution).

== The virtual framebuffer is intended for testing _the kernel_ only.

> I have written a application which will mmap /dev/fb0 and fill it with
> some RGB values. I run framebuffer based VNC server to see whatever I
> have written. I always get a white image. Looks like mmap is mapped to
> some other address and fbvnc server is reading from somewhere else.
>
> Does the existing drivers/video/vfb.c code works ? or Do I need to
> tweak it ?

== You cannot mmap() the video memory of vfb.

==  Why don"t you use vesafb?

As I had mentioned in my earlier post, I wanted to use virtual
framebuffer to simulate the display of my target device (say some PDA
with size 320*480 ).  With vesafb, I will not be able to change the
resolution ( fbset fails telling,  invalid argument )


Is there any other framebuffer based methods to simulate a display ?

Regards
Shivappa


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-09 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-08 13:51 Virtual framebuffer driver - mmap problem Shivappa Kushtagi
2004-09-09  0:31 ` Antonino A. Daplas
2004-09-09  8:31   ` Geert Uytterhoeven
2004-09-09 10:16     ` Antonino A. Daplas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).