From 16b12726145839a872f5ac509b62b82198dcd84b Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 28 Jan 2023 15:52:03 +0200 Subject: Fixed formatting/indentation --- virt/vm.md | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/virt/vm.md b/virt/vm.md index 1a2792d..9676015 100644 --- a/virt/vm.md +++ b/virt/vm.md @@ -1,9 +1,30 @@ #### Virtualbox -1. Install the following onto the host: -virtualbox -virtualbox-guest-utils -virtualbox-guest-iso -virtualbox-host-dkms +- - - +1. First install the following onto the host: + +| Program | Description | +| --- | --- | +| virtualbox|| +| virtualbox-guest-utils | | +| virtualbox-guest-iso | | +| virtualbox-host-dkms | VirtualBox Host kernal modules sources | +- - - +2. Recommend to verify 3D acceleration is enabled/supported on host +- On Linux: +Make sure mesa-utils package is installed so we can use tools like **glxinfo** and **glxgears** + - Check for direct rendering +`$ glxinfo | grep "direct rendering"` # Value should be **Yes** to indicate 3D acceleration is enabled + - Test framerate/3D acceleration +`$ glxgears` # Framerate should be approximately the same as the monitor refresh rate +  +- - - +- Enable safe mode via commandline in a windows guest + `bcedit /set {default} bootmenupolicy legacy` +- Download guest additions in windows guest + http://download.virtualbox.org/virtualbox/ +vboxmanage modifyvm "win10" --accerlerate3d on +- To check VM log file in case of errors. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and optionally save "VBox.log" + - How to fix Grayed out [ ] Enable Nested VT-x/AMD-V in Settings/System/Processor/Extended Features: ```bash $ VBoxManage modifyvm "Virtualbox name" --nested-hw-virt on -- cgit v1.2.3