5 ms·
I ask this in sincerity; in Linux land, what is a good alternative to VirtualBox? Are there any that can do proper 3D acceleration to play games at a reasonabl
by tombert 8y ago
I ask this in sincerity; in Linux land, what is a good alternative to VirtualBox? Are there any that can do proper 3D acceleration to play games at a reasonable speed?
- robeastham 8y agoOn linux you could try QEMU/KVM with GPU passthrough - install virtmanager for GUI. Easy with a desktop, difficult to do, but possible on Optimus laptops with - so you need the right kind of integrated and dedicated GPU there - see this guide https://gist.github.com/Misairu-G/616f7b2756c488148b7309addc940b28 https://gist.github.com/Misairu-G/616f7b2756c488148b7309addc.... Easy, but expensive route for a laptop, on a more modern laptop, would be to attach a eGPU enclosure via thunderbolt and share/passthrough that to your VM. If you are considering doing your VM's on a server then it's worth a look at Unraid too - it uses QEMU/KVM under the hood but has some other advantages too. Edit: you are likely to lose a little GPU 2-3% due to vm overhead, but GPU passthrough is as close to native as you are going to get. I've happily run a high end VR headset via a Windows VM running on Unraid in the past.
- deleted 8y ago[deleted]
- pmalynin 8y agoI had a similar setup about a year back. Running a Ubuntu Host with KVM, passing through an NVIDIA 970 to a Windows host. Yea...the GPU performance was fast, but everything else was so slow compared to running native. I think my biggest issue was with disk R/W, especially when memory pressure went up from the VM the system bogged down to a halt. After that, my biggest problems were with the fact that after the Windows host turned off, the GPU was stuck in the weird state where you can't reset it ( I know its a feature™ from Nvidia) and the Keyboard / Mouse would flake since I would attach the whole USB root to the VM as well. In the end just decided to install back Windows and not have to deal with it.
- dijit 8y agoQEMU recently got multi-threaded I/O. It used to be single threaded and that caused a lot of performance issues.
- AstralStorm 8y agoBy recently do you mean 2 to 3 years ago with a simple toggle? Say hello to distributions not providing latest releases.
- deleted 8y ago[deleted]
- shmerl 8y ago> in Linux land, what is a good alternative to VirtualBox Qemu/KVM + virt-manager. No Oracle nonsense about closed USB drivers and the like. > Are there any that can do proper 3D acceleration to play games at a reasonable speed? Just ditch Windows and use Wine, it works very well these days especially paired with DXVK.
- tombert 8y agoTypically I do use Wine+PlayOnLinux, but I have a specific old game I want to play (Facade), that is incredibly picky to get working on any computer, let alone through some semi-emulation like Wine.
- shmerl 8y agoThis one? https://appdb.winehq.org/objectManager.php?sClass=application&iId=2326 https://appdb.winehq.org/objectManager.php?sClass=applicatio... Usually Wine is actually running older games better than recent Windows. If not - you can check for errors and file some bugs. It would help developers know there are issues.
- tombert 8y agoThat's the one, though even in the writeup they mention that you can't get very far into the game with it. It's too bad; it's like an interactive version of "Who's Afraid of Virginia Woolf". Wine definitely is better for older games 99% of the time, this one is just something that was incredibly picky even when it was new. I've bothered them to ask if they'd open source it or let me port it with me signing an NDA, but they haven't responded.
- shmerl 8y agoThose results are very old, so you can try again since things are likely much better now. And if it still fails, you can open some bugs to help fixing it. However if the game itself is very buggy, it might be not Wine's fault it's not working.
- deleted 8y ago[deleted]
- rhn_mk1 8y agoThere's nothing stable that I know of, but watch out for VIRGL [0][1] (KVM). Currently only for Linux, but maybe some day Windows could support it. For Intel hardware, there's GPU virtualization called GVT-g [2], and the docs mention Windows. If you're on a desktop, GPU passthrough would be the easiest option. [0] https://virgil3d.github.io/ https://virgil3d.github.io/ [1] https://www.reddit.com/r/archlinux/comments/7nmceg/kvmqemu_with_virtiogpu_virgl_support_enabled/ https://www.reddit.com/r/archlinux/comments/7nmceg/kvmqemu_w... [2] https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide
- bubblethink 8y agoTwo projects to watch out for: 1) The Gvt-g stuff from Intel 2) Crostini on chromebooks. Both are in development, but may eventually enable a wide variety of use cases out of the box.
- candiodari 8y agoYou did read the article, right ? It stated that the real problem is in the OpenGL graphics driver, and that the only thing "wrong" with VirtualBox is not properly "firewalling"/sanity checking what is passed into it (and the OpenGL driver itself for not properly checking what is passed into the hardware, which can read all memory). So there's very little point in switching software, assuming you play games with the virtualized system. QEMU ought to be as vulnerable as VirtualBox/VMWare to this problem. And sure, they could fix this issue by checking this one pointer. But there's going to be 50 more where this problem came from, and they haven't even mentioned bounds checks.
- fulafel 8y ago> QEMU ought to be as vulnerable as VirtualBox/VMWare to this problem. In the GPU passhthrough scenario, the host OS GPU drivers are not involved, and this exact problem won't occur. But it's another question how well the GPU is isolated from the host system using mechanisms like IOMMU. To shield against attacks like manipulating host memory from code running on the GPU.