Live data from Hacker News

3D support for X11 guests

virtualbox.org

61–70 of 74 posts

Re: 3D support for X11 guests

#61
post #34
post #31

Earlier quoted context omitted.

Windows and OSX both come with native hypervisors now. Those are what eg Docker "Native" runs on

At least on Windows I find that Virtual box gives a better interactive desktop experience when running Linux as a guest.

Exactly. A few days using HyperV for my linux desktop guest was enough to convince me that I didn't need Docker for Windows THAT bad. I'm back to Virtualbox.

Re: 3D support for X11 guests

#62
post #58
post #54

Earlier quoted context omitted.

My personal laptop (1 GHz celleron) doesn't even have graphics drivers compiled and just uses the efi framebuffer. It's really great! It runs cool and performs well, software graphics are underrated. Just don't run ridiculous stuff like GNOME that's full of crazy animations every time you do something simple

Hmmm. I have a 2016-vintage celeron 3050 (think macbook, but $189 with half as many cores) and even on bare metal, web browsing is unusably slow without hw acceleration. Sites like HN load instantly, but amazon product pages take 10's of seconds after ~2 tabs. This is with firefox (they also broke 3d acceleration in linux); chrome is OK, and so is firefox if I force enable video acceleration and ignore the severe vis…

Try using 16-bit color depth instead of 32-bit

Re: 3D support for X11 guests

#63
post #36

Earlier quoted context omitted.

vagrant is completely modular though... i use vagrant with libvirt/qemu at work for nested VMs

How do you set up a two-way synced directory in Vagrant without virtualbox? IME, you can't.

I'm not a vagrant user, but your question intrigued me. A quick skim of the documentation for the vagrant-libvirt module shows a synced folders section[0], which appears to support configs for NFS and 9pfs for two-way sync. Do those not work? I use vanilla libvirt, and I've had great luck with exposing my development directories to VMs using the 9pfs resource sharing. If the vagrant plugin isn't doing that, then it may just be a small bug in the libvirt XML file they're generating. Or am I totally off-base?

[0] https://github.com/vagrant-libvirt/vagrant-libvirt#synced-fo...

Re: 3D support for X11 guests

#64
post #9

Without 3d support, basically no-one can use virtualbox, so is the dilemma whether to kill the project or not? (This is a serious question--what can possibly be more important to average virtualbox users than having a working desktop environment? Virtualbox has always occupied the desktop virtualization niche, so I'm trying to figure out what has changed...)

I use Virtualbox daily without ever using a desktop environment in the VM. It's very useful in headless form for development machines when working locally.

You don't even have to rule out DEs wholesale. Lightweight ones like XFCE run quite well with no 3D support.

Re: 3D support for X11 guests

#65

Earlier quoted context omitted.

How do you set up a two-way synced directory in Vagrant without virtualbox? IME, you can't.

"can't" is a strong word. why can't you do it in the user space within those VM's, communicating over a network adapter? If you don't care about putting on a raincoat, going outside to the Internet, and launching it up into the cloud, you can just install dropbox and get a sync'd directory without additional work. Obviously this is extra unnecessary overhead, two times, but for your use case you may not care. you can…

Bidirectional syncing primary use case is for development. Requiring a bunch of hacks and overhead is a terrible idea and controlling the traffic is not a useful feature for that use case.

Re: 3D support for X11 guests

#66
post #63

Earlier quoted context omitted.

How do you set up a two-way synced directory in Vagrant without virtualbox? IME, you can't.

I'm not a vagrant user, but your question intrigued me. A quick skim of the documentation for the vagrant-libvirt module shows a synced folders section[0], which appears to support configs for NFS and 9pfs for two-way sync. Do those not work? I use vanilla libvirt, and I've had great luck with exposing my development directories to VMs using the 9pfs resource sharing. If the vagrant plugin isn't doing that, then it m…

Thanks, I'll look into it more closely. I tried the libvirt module and I remember having issues with it. I don't remember if there were no compatible debian boxes for it, or it didn't work properly on windows... something was there.

I see this as a vagrant issue though. It really falls short of its promise of being a dev environment where you "never say 'it works on my machine' again".

Re: 3D support for X11 guests

#67
post #53

Earlier quoted context omitted.

There is no passthrough in LXC, because it is containerization, not virtualization. You are running the same kernel and kernel modules for both systems.

Yes, I had installed the Nvidia drivers on both the host system and the container. The CUDA programs run on the host, but didn't inside the container, even after creating the proper device nodes in /dev in the container.

My guess would be, that the user space driver uses additional mechanism to communicate with the kernel module. I don't thing that it hauls large data buffers via device files; I would try strace to see, where it fails.

Re: 3D support for X11 guests

#68
post #31

Earlier quoted context omitted.

KVM isn't an option on OS X or Windows - in those cases, VirtualBox is the most mature free VM software available.

Windows and OSX both come with native hypervisors now. Those are what eg Docker "Native" runs on

Portability of VMs shouldn't be overlooked, it's why VMware is still quite relevant and why when that is out of the question Virtual Box is very popular.

If my VMs can't easily be run on any host from backup they tend to be quite useless at the most critical of times.

Re: 3D support for X11 guests

#69
post #58
post #54

Earlier quoted context omitted.

My personal laptop (1 GHz celleron) doesn't even have graphics drivers compiled and just uses the efi framebuffer. It's really great! It runs cool and performs well, software graphics are underrated. Just don't run ridiculous stuff like GNOME that's full of crazy animations every time you do something simple

Hmmm. I have a 2016-vintage celeron 3050 (think macbook, but $189 with half as many cores) and even on bare metal, web browsing is unusably slow without hw acceleration. Sites like HN load instantly, but amazon product pages take 10's of seconds after ~2 tabs. This is with firefox (they also broke 3d acceleration in linux); chrome is OK, and so is firefox if I force enable video acceleration and ignore the severe vis…

Amazon pages are sluggish even on a my core i7 machine with hardware acceleration that I use for gaming. I really don't think that's a good benchmark.

Re: 3D support for X11 guests

#70
post #31

Earlier quoted context omitted.

KVM isn't an option on OS X or Windows - in those cases, VirtualBox is the most mature free VM software available.

Windows and OSX both come with native hypervisors now. Those are what eg Docker "Native" runs on

Do you know of a virtualbox-like manager for xhyve?
Post reply on HN