[Resolved] Ubuntu 19.10 guest, Win10 host: 3D accel. enabled, not working

Discussions about using Linux guests in VirtualBox.
Underground78
Posts: 23
Joined: 5. Nov 2017, 17:16

Re: Ubuntu 19.04 guest, Win10 host: 3D accel. enabled, not working

Post by Underground78 »

Here it goes:

Code: Select all

$ dpkg -l | grep -i mesa
ii  libegl-mesa0:amd64                         19.0.8-0ubuntu0~19.04.1               amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:amd64                         19.0.8-0ubuntu0~19.04.1               amd64        transitional dummy package
ii  libgl1-mesa-dri:amd64                      19.0.8-0ubuntu0~19.04.1               amd64        free implementation of the OpenGL API -- DRI modules
ii  libglapi-mesa:amd64                        19.0.8-0ubuntu0~19.04.1               amd64        free implementation of the GL API -- shared library
ii  libglu1-mesa:amd64                         9.0.0-2.1build1                       amd64        Mesa OpenGL utility library (GLU)
ii  libglx-mesa0:amd64                         19.0.8-0ubuntu0~19.04.1               amd64        free implementation of the OpenGL API -- GLX vendor library
ii  mesa-utils                                 8.4.0-1build1                         amd64        Miscellaneous Mesa GL utilities
ii  mesa-va-drivers:amd64                      19.0.8-0ubuntu0~19.04.1               amd64        Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:amd64                   19.0.8-0ubuntu0~19.04.1               amd64        Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:amd64                  19.0.8-0ubuntu0~19.04.1               amd64        Mesa Vulkan graphics drivers
Underground78
Posts: 23
Joined: 5. Nov 2017, 17:16

Re: Ubuntu 19.04 guest, Win10 host: 3D accel. enabled, not working

Post by Underground78 »

I have upgraded to Virtualbox 6.0.14 but no change.

I will try upgrading to Ubuntu 19.10 as soon as possible with "do-release-upgrade".
Underground78
Posts: 23
Joined: 5. Nov 2017, 17:16

Re: Ubuntu 19.04 guest, Win10 host: 3D accel. enabled, not working

Post by Underground78 »

Same issue after upgrading to Ubuntu 19.10:

Code: Select all

$ glxinfo | grep OpenGL | head -n2
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0, 256 bits)
Any ideas?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Ubuntu 19.10 guest, Win10 host: 3D accel. enabled, not working

Post by socratis »

Can't believe how we missed this for so long, I had to take a fresh look at your VBox.log:
00:00:03.237358 supR3HardenedErrorV: supR3HardenedScreenImage/LdrLoadDll:
    rc=VERR_CR_PKCS7_KEY_USAGE_MISMATCH fImage=1 fProtect=0x0 fAccess=0x0
    \Device\HarddiskVolume5\Windows\System32\DriverStore\FileRepository\nv_ref_pubwu.
    inf_amd64_708ec8f9a4d134c6\nvldumdx.dll: fKeyUsage=0x0, missing 0x1:
    \Device\HarddiskVolume5\Windows\System32\DriverStore\FileRepository\nv_ref_pubwu.
    inf_amd64_708ec8f9a4d134c6\nvldumdx.dll
00:00:03.237440 supR3HardenedErrorV: supR3HardenedMonitor_LdrLoadDll: rejecting
    'C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_708ec8f9a4d134c6\nvldumdx.dll'
    (C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_708ec8f9a4d134c6
    \nvldumdx.dll): rcNt=0xc0000190
It looks like you're having a hardening issue with your Nvidia drivers, and they're being rejected, i.e. no 3D acceleration. Please read really carefully the following FAQ: Diagnosing VirtualBox Hardening Issues for some guidelines/ideas.

I would start by reinstalling the GPU drivers...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Underground78
Posts: 23
Joined: 5. Nov 2017, 17:16

Re: Ubuntu 19.10 guest, Win10 host: 3D accel. enabled, not working

Post by Underground78 »

Ok, that was it, thanks! :)

After installing the latest NVIDIA driver:

Code: Select all

$ glxinfo | grep OpenGL | head -n2
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: SVGA3D; build: RELEASE;  LLVM;
The display feels slightly less laggish now that it works but weirdly enough I get better results with glmark2 when using the software 3D acceleration...
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Ubuntu 19.10 guest, Win10 host: 3D accel. enabled, not working

Post by socratis »

Glad you got it going. Marking as [Resolved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply