On 13/07/18 21:09, Daniel Bauer wrote:
I have a win XP and a Win 10 guest. I guess they run with the graphics provide by the host (my leap 42.3). So I think (maybe I am wrong?) that when my leap 42.3 runs intel graphics, the guests will run on itle graphics too, and if 42.3 runs on nvidia, the guest will use that, too.
No. This is not how VMs work. VirtualBox provides an emulated software GPU to the guests. This has no hardware acceleration at all by default. *If* you have the guest additions installed and working in the guest OSes: - *If* your guest is Windows, you can install a driver, enable 2D acceleration in Vbox settings, and the guest will have 2D acceleration - For all OSes with installed and working guest additions, and working accelerated OpenGL via working hardware drivers on the host, you can enable 3D passthrough in VBox settings, and then the guest will get an emulated OpenGL card whose operations are hardware-accelerated by the host's OpenGL card. Note, you need 4 things for #2 to work: [1] The host must have hardware OpenGL with working drivers [2] The guest must be able to run the VBox guest additions. The FOSS ones might be enough, or you might have to install the VBox additions and update them yourself every time VBox is updated. [3] The setting must be enabled in VBox and the VM given enough VRAM [4] The stars must be right, the omens in your favour, a suitable wind blowing, the host's 3D hardware _AND_ the guest's 3D software needs to play nice with 3D passthrough, it *might* only work in fullscreen, you *might* have to tolerate display glitches such as incorrect textures, you *might* have to force screen redraws occasionally. I blogged about how to get it working on Ubuntu some years ago: https://liam-on-linux.livejournal.com/33987.html At that time, with Ubuntu guests, the FOSS guest additions worked better. I am not sure that this is the case any more. I have had the setup working fine with: - GNOME 3 - Cinnamon - Unity - XFCE with window composition enabled (if disabled, it's irrelevant) - LXDE with window composition enabled (ditto) I have _never_ got it to work correctly with: - KDE 4 or 5 - Deepin Oh, and if your guest uses Wayland, all bets are off and almost certainly nothing will work. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org