RE: Is it possible to have SDL without X?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Date: Wed, 30 Nov 2011 13:23:36 -0600
> From: iggy@xxxxxxxxxxx
> To: mattgraham78@xxxxxxxxxxx
> CC: kvm@xxxxxxxxxxxxxxx
> Subject: Re: Is it possible to have SDL without X?
>
> On 11/29/2011 9:29 PM, Matt Graham wrote:
> > Hello,
> >
> > Can a guest with SDL graphics run on a host without X? I get an error:
> > "init kbd.
> > Could not initialize SDL - exiting"
> >
> > The above happens on a host with X after running "/etc/init.d/xdm stop" and "chmod -R 777 /dev".
> > If I don't do the chmod, SDL complains about not being able to open the framebuffer and exits.
> >
> > The host is Debian Squeeze with the standard qemu-kvm package in their repository (version 0.12.5).
> > The guest xml does not specify a keyboard device.
> > The same guest runs fine under X.
> >
> > If there is any other information that could be useful, I will be very happy to provide it.
> > If this is not the right place for such questions, apologies, please let me know what the right place is.
>
>
> The qemu list might be better since that code all originated there. What
> exactly are you trying to achieve?

I don't have a fixed goal.
 - I was wondering if eliminating X could improve the graphics performance of the guest.
 - If I want to lock the (human) user into a virtual machine (e.g. when letting other people use my computer), the comparatively huge complexity of an X desktop with a fullscreen window makes it easier to overlook problems (e.g. I don't know if there are any X shortcuts that could interfere with my plans).
 - Also it seems neater to not have a large piece of software just for forwarding a video stream.

> It sounds like you are trying to get
> the guest to display on a Linux console via sdl. From what I understand
> that's going to be severely limited functionality wise.

What do you mean by 'limited'?

>
>
> >
> > Thanks!
> > Matt
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe kvm" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
>
 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux