Ticket #12513 (closed defect: fixed)
3D acceleration in Ubuntu 13.10 guest broken - workaround -> fixed as of 11 March 2014, version 4.3.x and later
|Reported by:||DrRob||Owned by:|
|Version:||VirtualBox 4.3.6||Keywords:||Ubuntu 13.10, VBoxOGLcrutil.so|
I run Ubuntu inside VirtualBox on a Windows laptop. Until some months ago the 3D acceleration was working fine, which meant that the desktop effects were nice and slick, but something happened, I think when I upgraded to 13.10, and it broke.
Very long story shorter - a VirtualBox library was failing to load:
From Xorg.0.log: [ 25.572] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/vboxvideo_dri.so failed (VBoxOGLcrutil.so: cannot open shared object file: No such file or directory)
I won't pretend that I fully understand what's broken, but it seems that ldconfig can't see the VirtualBox guest additions libraries that are in /opt/VBoxGuestAdditions-4.3.6/lib, which are linked from /usr/lib64/, two of which in turn are linked from /usr/lib/x86_64-linux-gnu/dri/.
Partly that seems to be because /usr/lib/x86_64-linux-gnu/dri/ isn't in the ldconfig paths (x86_64-linux-gnu_EGL.conf -> /etc/alternatives/x86_64-linux-gnu_egl_conf references /usr/lib/x86_64-linux-gnu/mesa-egl instead).
Also, even if these libs were in the right path for ldconfig, ldconfig doesn't seem to pick them up because their names don't begin with "lib".
I've no idea how this worked in an earlier version of Ubuntu, and I don't have time to reinstall an earlier version to find out.
For now I've cheated by adding:
to the end of /etc/profile and rebooted. It's ugly but it has done the trick - 3D acceleration works again, and Ubuntu feels fast again.
Confusingly, after this change, the newly-written Xorg.0.log file /still/ contains the AIGLX error line quoted above.
However, /usr/lib/nux/unity_support_test -p reports a full list of "yes", whereas before it gave a "no" for "Not software rendered" and "Unity 3D supported".
- Summary changed from 3D acceleration in Ubuntu 13.10 guest broken - workaround to 3D acceleration in Ubuntu 13.10 guest broken - workaround -> fixed as of 11 March 2014, version 4.3.x and later