L
L
Luchano2020-12-07 18:49:37
virtual box
Luchano, 2020-12-07 18:49:37

Can VirtualBox emulate a video card from a host machine to virtual machines, like android emulators do?

Dear friends, tell me please.

BlueStack, Memu and other android emulators are able to emulate the graphics of a real android, for this the emulator requires any video card on the host (discrete or integrated Intel - it doesn't matter). The question is, is it possible to implement this on hypervisors, so that, as a result, we have hardware acceleration on the created virtual machines.

The task is to have the following tasks on each virtual machine on these tests. Which way to achieve - it does not matter.
https://timvanscherpenzeel.github.io/detect-gpu/

And if possible, where can I find such people for implementation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2020-12-07
@rPman

install guest additions for windows, a set of drivers including an experimental 3d accelerator driver works clumsily, it is detected differently from the host one, but sometimes it works.
ps if the guest and the host (although there are paid xserver under windows with gpu support, but why bother) you have linux, then you can set up network operation using a regular mechanism, i.e. applications from the guest can connect over the network (environment variable DISPLAY) to the configured xserver (by default, access is only localhost), I remember launching a 3D toy from a machine without an accelerator, sitting on a machine with it (for fun, the user case does not make much sense, except maybe only for gpgpu software).
pps if you have a linux host and any guest, you can not use virtualbox, but take kvm (by the way, it is already used there, but not available for settings) and configure forwarding pci-e equipment from the host to the guest, you will need an additional video card, a little luck (if you have desktop hardware) and a bunch of hemorrhoids, but it works (there may be glitches, for example, in windows, nvidia drivers are not installed if the system is guest, but you can run it once outside the virtual machine, and then everything works with the configured drivers)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question