Live data from Hacker News

VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration

virtualbox.org

11–20 of 176 posts

Re: VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration

#11
What value does vm encryption have? I’d rather encrypt my host and leave my vms unencrypted, given it would be possible to back door virtual box binaries given an unencrypted file system, or keylog keys assuming a remote breach.

Re: VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration

#12
Has anyone had luck getting decent GUI performance (macOS host, Linux guest)? I don't need 3D, just sane 2D performance.

The last time I tried this, it was so bad that I had to drastically decrease the window size to get reasonable performance. As in, it would basically lock up above a certain window size, and no reasonable amount of waiting would get it to respond. (And yes, I fiddled with all of the obvious knobs for CPU/memory/graphics/etc.) I figure in this day and age of AWS and the like, we should have very, very good open source virtualization software, but no amount of fiddling seems to get it to work well for me.

Re: VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration

#14

Has anyone had luck getting decent GUI performance (macOS host, Linux guest)? I don't need 3D, just sane 2D performance. The last time I tried this, it was so bad that I had to drastically decrease the window size to get reasonable performance. As in, it would basically lock up above a certain window size, and no reasonable amount of waiting would get it to respond. (And yes, I fiddled with all of the obvious knobs f…

I don't know how the perf is, but this might be of interest: https://developer.apple.com/documentation/virtualization/run...

(Note: This is for the next major release of Mac OS.)

Re: VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration

#15
post #5

Earlier quoted context omitted.

What do people use who run an M1/M2 based Mac but want to run an x86 VM? Because you can't do this with Virtualbox.

UTM. It's qemu under the hood and will emulate x86 if you want it to. (Or other architectures, it runs Mac OS 9 under an emulated PowerPC perfectly. Great fun.) But it's not quick. I would not attempt to run a modern Windows on it, I don't think it would work due to a lack of performance.

For those not familiar with UTM:

https://mac.getutm.app/

"Securely run operating systems on your Mac"

Re: VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration

#16

What value does vm encryption have? I’d rather encrypt my host and leave my vms unencrypted, given it would be possible to back door virtual box binaries given an unencrypted file system, or keylog keys assuming a remote breach.

I used to encrypt ubuntu or home directory, these days I just use virtualbox's vm encryption, worked well so far.

virtualbox over the years is very helpful to me and I'm grateful for it. The only problem I had is that it can not handle high throughput under stress(e.g. build full Android release leads to filesystem corruption), for 99% of the time it is very usable.

Re: VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration

#18

Has anyone had luck getting decent GUI performance (macOS host, Linux guest)? I don't need 3D, just sane 2D performance. The last time I tried this, it was so bad that I had to drastically decrease the window size to get reasonable performance. As in, it would basically lock up above a certain window size, and no reasonable amount of waiting would get it to respond. (And yes, I fiddled with all of the obvious knobs f…

The only way I've been able to get good virtualized 2D performance without providing a GPU directly to the VM has been to use a display manager where you can disable compositing. Otherwise, you end up having to use a software 3D rasterizer like LLVMpipe, which can be quite slow.

The native display managers for XFCE, MATE, and (I believe) KDE allow you to disable compositing. GNOME and Unity's native display managers don't (AFAIK). I have no idea if display compositing can be disabled on macOS.

Re: VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration

#19

What value does vm encryption have? I’d rather encrypt my host and leave my vms unencrypted, given it would be possible to back door virtual box binaries given an unencrypted file system, or keylog keys assuming a remote breach.

Virtualbox VM encryption can be useful if the host hypervisor is compromised and the unauthorized party uploads data on disk that the host can trivially access (as is frequently the case with ransomware).

Re: VirtualBox 7.0 Released – Full VM Encryption Support, New Direct3D Acceleration

#20

Has anyone had luck getting decent GUI performance (macOS host, Linux guest)? I don't need 3D, just sane 2D performance. The last time I tried this, it was so bad that I had to drastically decrease the window size to get reasonable performance. As in, it would basically lock up above a certain window size, and no reasonable amount of waiting would get it to respond. (And yes, I fiddled with all of the obvious knobs f…

The only way I've been able to get good virtualized 2D performance without providing a GPU directly to the VM has been to use a display manager where you can disable compositing. Otherwise, you end up having to use a software 3D rasterizer like LLVMpipe, which can be quite slow. The native display managers for XFCE, MATE, and (I believe) KDE allow you to disable compositing. GNOME and Unity's native display managers…

Check out VirGL and the virtio-gpu projects. Is already available in qemu if you're willing to do some work. Virtualized OpenGL (and soon Vulkan?) access to the host GPU inside the VM.

e: my memory slips me, I've already run vulkan apps in qemu.

> [lexi@arch-steam ~]$ vkcube

> Selected GPU 0: Virtio-GPU Venus (Intel(R) UHD Graphics (CML GT2)), type: 1

Granted this was ChromeOS[0], but ultimately it's the same qemu. You just need the right flags and for the guest to have a mesa driver aware of virtio-gpu.

0. https://chromeunboxed.com/how-to-enable-vulkan-crostini/

Post reply on HN