linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] virtual framebuffer device visible on host
       [not found] <mailman.1307.1157397566.8760.user-mode-linux-user@lists.sourceforge.net>
@ 2006-09-06 20:11 ` Antoine Martin
  2006-09-06 20:31   ` Geert Uytterhoeven
  2006-09-15 17:01   ` Jeff Dike
  0 siblings, 2 replies; 4+ messages in thread
From: Antoine Martin @ 2006-09-06 20:11 UTC (permalink / raw)
  To: user-mode-linux-devel

Just a thought, but how hard would it be to have a virtual device in the 
guests that mimics a framebuffer device and is in fact an X window on 
the host? I think this could almost be a killer-app.
Or is there already a way to do this using VFB?
Surely an X window is rich enough to provide all the primitives that a 
framebuffer device provides?

Antoine

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] virtual framebuffer device visible on host
  2006-09-06 20:11 ` [uml-devel] virtual framebuffer device visible on host Antoine Martin
@ 2006-09-06 20:31   ` Geert Uytterhoeven
  2006-09-06 22:12     ` Antoine Martin
  2006-09-15 17:01   ` Jeff Dike
  1 sibling, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2006-09-06 20:31 UTC (permalink / raw)
  To: Antoine Martin; +Cc: User-mode Linux Kernel Development

On Wed, 6 Sep 2006, Antoine Martin wrote:
> Just a thought, but how hard would it be to have a virtual device in the 
> guests that mimics a framebuffer device and is in fact an X window on 
> the host? I think this could almost be a killer-app.
> Or is there already a way to do this using VFB?
> Surely an X window is rich enough to provide all the primitives that a 
> framebuffer device provides?

It's been done before (but not yet in mainline), cfr.
http://www.gatago.com/linux/kernel/6105868.html.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] virtual framebuffer device visible on host
  2006-09-06 20:31   ` Geert Uytterhoeven
@ 2006-09-06 22:12     ` Antoine Martin
  0 siblings, 0 replies; 4+ messages in thread
From: Antoine Martin @ 2006-09-06 22:12 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: User-mode Linux Kernel Development

Geert,

Thanks for that, the patch is quite small and still applies without too 
much effort to 2.6.17 (a lot of the rejects are whitespace/no change)
Is there any reason not to merge this? Is it hackish or something?


I've only compile tested it here since it seems I can't run any guests 
kernels since I updated to gcc4.1.1/glibc2.4, but I will certainly 
revisit this code once mainline is fixed.

As I mentioned yesterday, older kernels die with:
"cannot set up thread-local storage: set_thread_area failed when setting 
up thread-local storage"
And newer (~ 2.6.16 onwards) fail even quicker on my desktop:
# ./kernel32-2.6.17.11-x11-fb ubd0=./FedoraCore5-x86-root_fs
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking for tmpfs mount on /dev/shm...nothing mounted on /dev/shm
Checking PROT_EXEC mmap in /tmp/...OK
Checking for the skas3 patch in the host:
   - /proc/mm...not found
   - PTRACE_FAULTINFO...not found
   - PTRACE_LDT...not found
UML running in SKAS0 mode
remove_umid_dir - actually_do_remove failed with err = -2


Geert Uytterhoeven wrote:
> On Wed, 6 Sep 2006, Antoine Martin wrote:
>> Just a thought, but how hard would it be to have a virtual device in the 
>> guests that mimics a framebuffer device and is in fact an X window on 
>> the host? I think this could almost be a killer-app.
>> Or is there already a way to do this using VFB?
>> Surely an X window is rich enough to provide all the primitives that a 
>> framebuffer device provides?
> 
> It's been done before (but not yet in mainline), cfr.
> http://www.gatago.com/linux/kernel/6105868.html.
> 
> Gr{oetje,eeting}s,
> 
> 						Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> 							    -- Linus Torvalds
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] virtual framebuffer device visible on host
  2006-09-06 20:11 ` [uml-devel] virtual framebuffer device visible on host Antoine Martin
  2006-09-06 20:31   ` Geert Uytterhoeven
@ 2006-09-15 17:01   ` Jeff Dike
  1 sibling, 0 replies; 4+ messages in thread
From: Jeff Dike @ 2006-09-15 17:01 UTC (permalink / raw)
  To: Antoine Martin; +Cc: user-mode-linux-devel

On Wed, Sep 06, 2006 at 09:11:00PM +0100, Antoine Martin wrote:
> Just a thought, but how hard would it be to have a virtual device in the 
> guests that mimics a framebuffer device and is in fact an X window on 
> the host? I think this could almost be a killer-app.

There is such a patch in my development tree.  The problem is that it
totally doesn't work for me, even though it's fine for the guy who wrote
it.

It needs to be run on a local X server since it uses the shared memory
extension, but even when I do that, I get a black window with nothing
in it.

				Jeff

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2006-09-15 17:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1307.1157397566.8760.user-mode-linux-user@lists.sourceforge.net>
2006-09-06 20:11 ` [uml-devel] virtual framebuffer device visible on host Antoine Martin
2006-09-06 20:31   ` Geert Uytterhoeven
2006-09-06 22:12     ` Antoine Martin
2006-09-15 17:01   ` Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox