All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: virtualGraphicCards
@ 2005-09-07 15:45 Retzki, Sascha [Xplain]
  2005-09-07 15:55 ` virtualGraphicCards Mark Williamson
  0 siblings, 1 reply; 12+ messages in thread
From: Retzki, Sascha [Xplain] @ 2005-09-07 15:45 UTC (permalink / raw)
  To: Daniel Hulme, xen-devel

> Exactly, so you support the first option Mark mentioned. The second
> option is that we shift the boundary higher up than that: the domU
just
> has a special X driver that, instead of writing the data to a gfx
card,
> packages it up in whatever way for the backend driver in dom0 to look
at
> later. This is probably an easier way to do it -- we only have to
> interface to X calls, rather than having to pretend to be a whole
> graphics card, with VESA and everything -- but strikes me as being
> almost cripplingly platform-specific.
> 

X is not the center of this world. If it is, something is wrong.
I think VESA, VGA, other (better, newer) protocols are way better. They
are more generic, and thus *can* be supported by other Operating
Systems. Despite that X is on another "layer" (layer as in OSI, just for
graphics cards ;-))...

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: virtualGraphicCards
@ 2005-09-07 15:11 Retzki, Sascha [Xplain]
  2005-09-07 15:24 ` virtualGraphicCards Mark Williamson
  2005-09-07 15:25 ` virtualGraphicCards Daniel Hulme
  0 siblings, 2 replies; 12+ messages in thread
From: Retzki, Sascha [Xplain] @ 2005-09-07 15:11 UTC (permalink / raw)
  To: xen-devel

> > 1 kernel fb mapping? or X server?
> 
> The idea is that the graphical console will have "back/front"
structure
> similar to the other devices, with a viewer in dom0 reading screen
data
> from
> the guest and either displaying it, or exporting it over the network.
> 
> The question here is: do we write a kernel framebuffer driver for this
> (and
> get the X server to use that) or implement it in the X server
directly?  

I still don't get it, I'd like to make a little ASCII-art:


			Xen
			 |
			 |
			dom0 [graphical system]
			 |
			 |
	-------------+----------------
	|					|
	domU_1 [graphical]	domU_2 [text]


So, dom0 sees the real graphics card, and attaches to it.
Xen offers virtual graphics cards for each domU. domU_2 does not fire up
a graphical system, thus works with the emulated text buffer. domU_1
fires up its graphical system. Both domU write some data to some place,
managed by Xen (because Xen offered the vGraphicscard).
1.) Is the data actually saved as the domUs wrote them? Or is some
glue-layer in-between, converting it to .e.g VNC-compatible data, to
make the memory consumption problem go away?
Anyway, if the dom0 wants to "see" any of domU, it just asks Xen for the
data, getting a pointer or something (it just reads, anyway). It is best
if we can interact with the domUs, so we get some virtual HIDs (Human
Interface Devices)? Anyway the data is accessed, either in a "raw" way
or through some "protocol" like VNC. Still, I don't see why any of the
displaying systems, in the bottom (dom0 graphical system and/or Xen) or
the top (domU graphical systems), and their transporting systems, should
be known; In the end, all of those systems transfer data to a graphic
card, in a standard way (VGA for instance), no matter if it is a linux
framebuffer, a Unix x11, a Plan9 Rio, or any other system.

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: virtualGraphicCards
@ 2005-09-07 10:52 Retzki, Sascha [Xplain]
  2005-09-07 14:58 ` virtualGraphicCards Mark Williamson
  0 siblings, 1 reply; 12+ messages in thread
From: Retzki, Sascha [Xplain] @ 2005-09-07 10:52 UTC (permalink / raw)
  To: Daniel Hulme, xen-devel


> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-
> bounces@lists.xensource.com] On Behalf Of Daniel Hulme
> Sent: Wednesday, September 07, 2005 12:07 PM
> To: xen-devel@lists.xensource.com
> Subject: Re: [Xen-devel] virtualGraphicCards
> 
> > I'd love to see this on Xen, I'd love to work on this, but I am
> > "unskilled" ;-), so it is a bit hard for me at the moment. Anyway,
any
> > help, brainstorming, code, is highly appreciated.
> So would I, but even for "skilled" people it is a bit hard. This is
> already on http://wiki.xensource.com/xenwiki/XenTodoList but the list
is
> quite long and it is not high-priority. Of course, the more people
want
> it, the sooner it will get done.


You mean
"Graphic console support - post 3.0"
?
I don't quiet get:
1 kernel fb mapping? or X server?

Do you mean how the virtual graphics card is "seen" by the dom0? Or/And
accessed? 

Imho, a glue-layer could abstract several approaches, for example 9P
(the Plan9-folks love it, I did not have the time to test it and thus I
don't have an opinion yet. However, I believe it is good ;-)) and VNC,
and the dom0 decides itsself howto access the "data" - this would be
pretty good because some OSes (which may be dom0-cabable some day) may
find method-N better (are optimized for it) than method-M... and so on
;-)

^ permalink raw reply	[flat|nested] 12+ messages in thread
* virtualGraphicCards
@ 2005-09-07  9:59 Retzki, Sascha [Xplain]
  2005-09-07 10:07 ` virtualGraphicCards Daniel Hulme
  0 siblings, 1 reply; 12+ messages in thread
From: Retzki, Sascha [Xplain] @ 2005-09-07  9:59 UTC (permalink / raw)
  To: xen-devel

Hi Xen-developers,


I would love to see "virtualGraphicCards":

Each domU is shown a virtual graphics cards (besides the console?). The
domUs graphic system (x11r6 on unix, rio on plan9, $whatever on
$what-OS-ever-support-xen) can use those to startup the graphical
system, window manager, Desktop environment.

The dom0 can $somehow "attach" to those displays. Effectivly, this means
dom0 can interact with all OSes via the graphical system, and the
user(s) can use all domUs via their respective UserInterfaces.

I'd love to see this on Xen, I'd love to work on this, but I am
"unskilled" ;-), so it is a bit hard for me at the moment. Anyway, any
help, brainstorming, code, is highly appreciated.


Who else is in?

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

end of thread, other threads:[~2005-09-08  0:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-07 15:45 virtualGraphicCards Retzki, Sascha [Xplain]
2005-09-07 15:55 ` virtualGraphicCards Mark Williamson
2005-09-07 21:15   ` virtualGraphicCards Anthony Liguori
2005-09-08  0:19     ` virtualGraphicCards Mark Williamson
  -- strict thread matches above, loose matches on Subject: below --
2005-09-07 15:11 virtualGraphicCards Retzki, Sascha [Xplain]
2005-09-07 15:24 ` virtualGraphicCards Mark Williamson
2005-09-07 15:25 ` virtualGraphicCards Daniel Hulme
2005-09-07 10:52 virtualGraphicCards Retzki, Sascha [Xplain]
2005-09-07 14:58 ` virtualGraphicCards Mark Williamson
2005-09-07 19:31   ` virtualGraphicCards Anthony Liguori
2005-09-07  9:59 virtualGraphicCards Retzki, Sascha [Xplain]
2005-09-07 10:07 ` virtualGraphicCards Daniel Hulme

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.