Title: Re: [Newbie] virtual hardware screen in desktop window

Maybe Xvfb + rfb (vnc or similar).

Regards...  Matthew


--
Blackberry-Sent
Matthew Tippett
Engineering Manager, Linux Software Engineering
ATI Technologies Inc.
Ph: +1 905 882 2600 x8014 Cell: +1 416 671 0673

-----Original Message-----
From: [EMAIL PROTECTED]
To: devel@xfree86.org; Matthew Tippett
Sent: Sat Nov 26 05:15:53 2005
Subject: Re: [Newbie] virtual hardware screen in desktop window

On Monday 03 October 2005 18:36, Matthew Tippett wrote:
> Look at XNest.

Hi Matthew,

Thanks for the post.

I tried Xnest and it seems to work, but I am still a bit foggy on where to go
from here.

I did:
$ Xnest -geometry 116x80 :1

This shows an incredibly small window on my 1600x1200 desktop.

Also, trying to pass "-depth 1"
gives the error:
Fatal server error:
Unable to find desired default visual.

What I need to do is run Xvfb somehow with the display window set to the
resolution that I need above.  It would be nice if I could zoom it or somehow
duplicate pixels, but if that is what I am stuck with , then so be it.

That is, I want to be able to define a virtual framebuffer device that the
application programmer can write to and display on the X desktop.  Then, in
parallel, I would write the real device driver and real framebuffer driver
(do I need two devices??) for my non-existent hardware, hopefully needing
only to change the name of the framebuffer device for everything to work. 
This neatly separates the application work from the systems work.

How do I configure it so that I can somehow make the window size a strange
geometry and not have an error.

Thanks for any help.

>
> Regards...  Matthew
>
>
> --
> Blackberry-Sent
> Matthew Tippett
> Engineering Manager, Linux Software Engineering
> ATI Technologies Inc.
> Ph: +1 905 882 2600 x8014 Cell: +1 416 671 0673
>
> -----Original Message-----
> From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> To: devel@XFree86.Org <devel@XFree86.Org>
> Sent: Mon Oct 03 11:23:55 2005
> Subject: [Newbie] virtual hardware screen in desktop window
>
> Hello,
>
> I hope that this is directed at the right mailing list. If not, please
> excuse, and if possible, show me the way to the proper list.  I hope I'm in
> the ballpark, at least.
>
> I am very unfamiliar with X programming in general, being a low-level
> systems programmer.
>
> I would like to be able to somehow define a virtual X screen with a
> non-regular WxH size that mimics some custom hardware display device and
> lives inside a window on my regular X desktop (Fedora Core 4, stock).  I
> would like to be able to write X applications that use that screen, and
> then be able to switch with minimum pain to the real hardware.
>
> I would of course be writing the low-level OS drivers for the custom
> hardware. I would also probably need to write some sort of X driver as
> well??
>
> I am assuming that this has been done before but cannot find word one about
> it using search engines on the Internet.
>
> I thought to use Xvfb but am getting a fatal error when I try to define a
> screen of 500x300x1.  Basically I want to simulate an LCD display, perhaps
> zoomable.
>
> Can anybody here at least throw a few buzzwords my way that I can use to
> effectively search for how to do something like this?  Perhaps direct me to
> some sort of documentation site that talks about X server programming?
>
> Thanks in advance for any help.
>
> _______________________________________________
> Devel mailing list
> Devel@XFree86.Org
> http://XFree86.Org/mailman/listinfo/devel

Reply via email to