I'm currently trying to get Linux Mint 18.2 to work in Oracle Virtual Box.What have I done so far:Installed VBoxAdditions 5.0.40 or 5.1.26 (first one through apt-get, second one through the VirtualBox-Guest-Additions .iso itself). That does not mean that I installed them concurrently, after each try I removed the packages with following method:Completely removed everything about VirtualBox with apt-get purge virtualbox* and apt-get purge Virtualbox*. The Synaptic Package Manager showed a total of 0 installed virtualbox packages after that.I found several tests that show 3D-Acceleration is enabled:$/usr/lib/nux/unity_support_test -pOpenGL vendor string:   HumperOpenGL renderer string: ChromiumOpenGL version string:  2.1 Chromium 1.9Not software rendered:    yesNot blacklisted:          yesGLX fbconfig:             yesGLX texture from pixmap:  yesGL npot or rect textures: yesGL vertex program:        yesGL fragment program:      yesGL vertex buffer object:  yesGL framebuffer object:    yesGL version is 1.4+:       yesUnity 3D supported:       yesand:$inxi -G | grep Renderer      GLX Renderer: Chromium GLX Version: 2.1 Chromium 1.9and:$glxinfo | grep OpenGLOpenGL vendor string: HumperOpenGL renderer string: ChromiumOpenGL version string: 2.1 Chromium 1.9OpenGL shading language version string: 4.30 - Build 20.19.15.4531OpenGL extensions:A quick benchmark showed following result:$glxgears1242 frames in 5.0 seconds = 248.234 FPS1280 frames in 5.0 seconds = 255.818 FPS1209 frames in 5.0 seconds = 241.569 FPS1107 frames in 5.0 seconds = 221.356 FPS1243 frames in 5.0 seconds = 248.558 FPS1167 frames in 5.0 seconds = 233.303 FPS1233 frames in 5.0 seconds = 246.507 FPS1140 frames in 5.0 seconds = 227.865 FPSXIO:  fatal IO error 11 (Resource temporarily unavailable) on X server :0      after 71944 requests (71944 known processed) with 0 events remainingI have to note that the whole system became extremely sluggish and unusable during that benchmark.In general everything seems to work. The usual things associated with Guest-Additions (copy-and-paste, resizing the windows, etc.) seem to work. Browsing with Firefox is extremely smooth, even smoother than browsing with Chrome on my Host machine.But as soon as 3D-accelerated things have to be drawn (it seems like the cinnamon-menu is 3D-accelerated too), my CPU usage on the host machine rises from 0-10% to 40-80% and in general everything becomes extremely laggy. I'm just talking about TYPING single characters in the search bar on the cinnamon start menu. Whenever I type something in Firefox or other entering masks, it's extremely smooth. But as soon as I do that in the menu or use other 3D-accelerated things, it seems like the drawing of the 2D-desktop slows down to 5-10 FPS.That are my settings in VirtualBox:3072 MB RAM2 processor cores100% CPU ratioPAE/NX enabledVT-x enabled128 MB (max) VRAM3D-acceleration enabledIt occurs at both of my computers with following hardware:i7-4500U8 GB DDR3 RAMIntel HD Graphicsand:i5-2400 OC to 4,4 GHz8 GB DDR3 RAM GTX 1060I don't think my hardware is the problem here.I tried to not use the 3D-acceleration, namely using software-rendering. On a restart, the message that I am currently using software-renering and therefore the UI can seem sluggish appeared.But quite the contrary. The menu is smoother (NOT smooth. But I would guess something around 15 FPS) and the benchmark (glxgears) showed something around 650 FPS, so about 3x of that we achieved before. So clearly there is something not working correctly with the hardware acceleration.
Extremely high CPU usage and laggy behaviour with 3D-acceleration in Linux Mint (Virtual Box) but not with software rendering
linux mint;virtualbox;virtual machine;gpu