Upgrade from Ubuntu 17.04 to 17.10 in VirtualBox 5.1.26 - very slow!
Solution 1
I had the same issue (8GB ram, 4 cpu's). The gnome-shell
process constantly uses 10% cpu.
Disabling 3d acceleration did fix it (I didn't have 2D enabled as Virtualbox complains about it). Before you disable 3d acceleration be sure to disable the Virtualbox graphics driver under "Additional Hardware" inside of Unity. If you don't do that gdm3 won't even load.
The Unity desktop is still available and works fine, but one of the reasons to upgrade is to use Gnome. Even logging into unity and doing Additional drivers didn't help gnome.
Solution 2
I disabled 2d acceleration in virtual box. It seems fine now.
Solution 3
With or without 3D it was all laggy for me on VirtualBox 5.2.8, host Mac OS X High Sierra and guest Ubuntu 7.10.
Switched to Unity and lag is gone.
Solution 4
It seems that the Wayland display server may be the source of this bug.
I already had 2D and 3D acceleration deselected and was still getting very slow performance from Ubuntu17.10.
Clicking the gear icon beside the "Sign In" button on the log in screen gives the choice of using the default display server (Wayland) or Xorg and when I chose Xorg the flickering and high cpu usage all disappeared without having to switch to Unity.
Apparently the forthcoming 18.04 LTS will revert to using Xorg by default
Related videos on Youtube
kenpeter
Updated on September 18, 2022Comments
-
kenpeter over 1 year
Just upgrade from Ubuntu 17.04 to 17.10 in VirtualBox 5.1.26, very slow. It is unusable. It is running 4G RAM for Ubuntu 17.10. Any idea?
-
user535733 over 6 yearsWhat does
top
say?
-
-
Dexter over 6 yearsFWIW, both 2D and 3D acceleration needs to be disabled in VirtualBox - only disabling 2d acceleration didn't work for me.
-
Megan Jones over 6 yearsWith 17.04 I could even watch youtube videos in HD fine. Now in 17.10 everything lags. I don't know why though
-
ymmyk over 6 yearsHopefully this is just a bug and will get worked out. For now not having 3D acceleration works for me, but it was even worse before
-
Megan Jones over 6 yearsWorks but anything graphics related lags and freezes whole machine
-
ymmyk over 6 yearsYeah, but before this resizing a window caused the whole machine to crash, so it is at least better than that.
-
jtpereyda about 6 yearsThanks! This worked for me, but only after installing VirtualBox Guest ADditions as well.
-
nzifnab almost 6 yearsMy only options were
Xorg
(already selected), orUnity
, the Xorg one was causing massive lag and crashes every time I tried doing anything - resizing windows etc. Andtop
showed 60%+ constant CPU usage by gnome. Selectingunity
from this gear when logging in made all the problems go away, and gave me back all my wasted top space so that my apps didn't all have 4 toolbars worth of space being wasted on screen. -
nzifnab almost 6 yearsYa thanks for this... switching to Unity fixed all my issues. I already had updated guest additions suspecting that might be the culprit; but
gnome-shell
was using 60%+ cpu.