Video driver performance issue of VirtualBox 6.0 and Xorg 1.19 and newer
VirtualBox is Oracle’s excellent open-source virtual machine product. I was quite comfortable with it until version 6.0.
I knew a Reddit user has warned version 6.0 issues, but I upgraded.
VirtualBox 6.0
I’m using Xubuntu 18.10 guest on Windows 10 host. After upgrade, graphics performance became horrible. It was able to resize the screen. Xorg server process was always consuming CPU time. Larger screen size, more CPU load.
Xorg.0.log
shows failing to load vboxvideo
Xorg driver.
[ 53.621] (EE) Failed to load module “vboxvideo” (module does not exist, 0)
It seems that fb
sub module of fbdev
module was loaded.
I guess this is the cause of CPU load.
Here is the full log.
According to this comment, vboxvideo
Xorg driver is not needed.
That’s true but we don’t intend to ship a driver for X.org 1.19 because systems with such a new X server should be able to load the vboxvideo kernel module.
According to Oracle® VM VirtualBoxRelease Notes for Release 6.0: 1.8. User Interface Changes,
version 6.0 has three types of virtual video controllers, VBoxSVGA, VBoxVGA and VMSVGA.
VBoxSVGA is the default.
I tried VMSVGA, too. vmware
Xorg driver was loaded in that case.
It performed better than fbdev
, but not good enough.
VirtualBox 5.2
Then, I downgraded to version 5.2, and everything is working fine.
lsmod
showsvboxvideo
andvmwgfx
kernel modules are loaded.lspci
showsVMware SVGA II Adapter
.Xorg.0.log
showsvmware
Xorg driver is used.
Here is the full log.
VirtualBox 6.0.12
In 2019-10-16, I tested VirtualBox 6.0.12 with Xubuntu 19.04. The situation gets worse.
- VMSVGA:
- It’s easy to crash VirtualBox by closing chrome window
- Seems this issue.
- bad performance while using OpenGL (chrome or glmark2)
- VBoxSVGA: bad performance
I found Oracle’s blog article, and tested it with Ubuntu 18.04 too. VMSVGA works nicely, but VBoxSVGA doesn’t. I didn’t try installing xserver-xorg-video-vmware-hwe-18.04.