Ubuntu 18 and Fedora 31: Animations not smooth

Discussions about using Linux guests in VirtualBox.
Post Reply
Prakhar Mishra
Posts: 2
Joined: 29. Jan 2020, 11:37

Ubuntu 18 and Fedora 31: Animations not smooth

Post by Prakhar Mishra »

Hello,

I have installed Ubuntu 18.04 and Fedora 31 on VirtualBox on my machine. I have enabled 3D acceleration with VMSVGA graphics controller, installed the guest additions but still animations are not as smooth as expected. I have checked that vboxvideo driver is being loaded in the kernel. Also, I have checked the OpenGL renderer is SVGA3D:

Code: Select all

$ glxinfo | grep -i open
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: SVGA3D; build: RELEASE;  LLVM;
OpenGL version string: 2.1 Mesa 19.2.8
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 19.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
I am attaching VBox.log file along with this post
Attachments
Fedora 31-2020-01-29-15-15-27 VBox.log
VBox.log
(107.36 KiB) Downloaded 12 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Ubuntu 18 and Fedora 31: Animations not smooth

Post by mpack »

It possibly doesn't help that you assign 100% of available cores to the guest, leaving none for the host. Consider that the VirtualBox hardware simulation is an application running on your HOST.

I would reduce the guest allocation to 2 cores min and max.

Please zip your logs in future, it saves on server space and avoids hitting the attachment size limit.
Prakhar Mishra
Posts: 2
Joined: 29. Jan 2020, 11:37

Re: Ubuntu 18 and Fedora 31: Animations not smooth

Post by Prakhar Mishra »

Hi mpack,

Actually, my machine has 4 cores, but 8 logical cores. As suggested, I also tried reducing no. of cores to 2, but still no luck with smooth UI performance. Here is a little online test I took for comparison:

www wirple com

Fedora VM Score:-

Code: Select all

Canvas score - Test 1: 19 - Test 2: 360
WebGL score - Test 1: 178 - Test 2: 47
Total score: 604
Windows 10 Host score:-

Code: Select all

Canvas score - Test 1: 476 - Test 2: 1756
WebGL score - Test 1: 723 - Test 2: 652
Total score: 3607
Is this difference expected? Is VM supposed to be 5-6 times slower as compared to its host?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Ubuntu 18 and Fedora 31: Animations not smooth

Post by mpack »

There is no such thing as a "logical core". The term "core" means actual silicon. Multi-core refers to packaging what could be separate CPUs onto one silicon die. Threads are not cores, that refers to multiprocessing capability of a single core.

But yes, it is expected that a VM will not have native graphics performance, though whether it's still usable will depend on the quality of the drivers and the expectations of the user, and also how high you make the graphics resolution (beyond a certain point the simulated I/O will become a burden).
Post Reply