VMSVGA + Ubuntu 20.04 No 3d acceleration

Discussions about using Linux guests in VirtualBox.
Post Reply
MarkR
Posts: 6
Joined: 1. Aug 2017, 23:51

VMSVGA + Ubuntu 20.04 No 3d acceleration

Post by MarkR »

Hi,

Despite many efforts, I still can't get 3d acceleration to happen in Ubuntu 20.04

I've installed a completely new VM - with no unusual settings, set the video to 128Mb RAM SVGA + 3d acceleration.

I've checked many instructions such as those on the Oracle Blog here: https://blogs.oracle.com/scoter/oracle- ... l-machines

I've installed the latest version of Virtualbox and the latest version of the additions.

I *THINK* that this error is the problem:

Code: Select all

Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: VMware: No 3D enabled (0, Success).
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (WW) vmware(0): Failed to initialize Gallium3D Xa. No render acceleration 
available.
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (WW) vmware(0): Skipped initialization of direct rendering due to lack of 
render acceleration.
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (--) vmware(0): Render acceleration is disabled.
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (==) vmware(0): Rendercheck mode is disabled.
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (--) vmware(0): Direct rendering (DRI2 3D) is disabled.
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (--) vmware(0): Direct rendering (DRI3 3D) is disabled.
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (==) vmware(0): Backing store enabled
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (==) vmware(0): Silken mouse enabled
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (==) vmware(0): DPMS enabled
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (II) vmware(0): No 3D acceleration. Not setting up textured video.
Aug 13 11:55:59 ubuntu2 /usr/lib/gdm3/gdm-x-session[880]: (WW) vmware(0): Disabling Xv because no adaptors could be initialized.
But so far I've drawn a blank on how to make this problem go away. Any ideas?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VMSVGA + Ubuntu 20.04 No 3d acceleration

Post by scottgus1 »

Start the VM from full power off, not save-state. Run until you see the problem happen, then shut down the VM from within the VM OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Please right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip the log file, and post the zip file, using the forum's Upload Attachment tab.
MarkR
Posts: 6
Joined: 1. Aug 2017, 23:51

Re: VMSVGA + Ubuntu 20.04 No 3d acceleration

Post by MarkR »

Here is the zipped log.

There is something about 3d internal error which looks suspicious.

00:00:04.122211 VMSVGA3d: 3D support disabled! (vmsvga3dPowerOn -> VERR_INTERNAL_ERROR)
Attachments
ubuntu2-2021-08-14-12-07-45-no3d.zip
zipped logfile
(30.34 KiB) Downloaded 20 times
MarkR
Posts: 6
Joined: 1. Aug 2017, 23:51

Re: VMSVGA + Ubuntu 20.04 No 3d acceleration

Post by MarkR »

It looks like maybe it's a host OS driver signing problem, maybe this one:

https://community.intel.com/t5/Graphics ... -p/1237090

It's not clear if this is a bug in Virtualbox or Intel's graphics drivers. I suppose Intel will not fix it any time soon and it seems it affects other users and other Guest OS.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VMSVGA + Ubuntu 20.04 No 3d acceleration

Post by mpack »

It would be useful to have the hardening log too, but yes it does look like an unsigned graphics driver (see https://en.wikipedia.org/wiki/X.509).

That said, Intel are not famous for the quality of their OpenGL implementations, especially for their generic business graphics chipsets.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VMSVGA + Ubuntu 20.04 No 3d acceleration

Post by fth0 »

MarkR wrote:It looks like maybe it's a host OS driver signing problem, maybe this one: [...]
It's not clear if this is a bug in Virtualbox or Intel's graphics drivers.
Yes, it's exactly that one. One of the certificates involved has a Subject Key Identifier extension that is marked as critical. This is in violation to RFC 5280, so the initial mistake was made by the party creating the certificate. To be compliant to RFC 5280, VirtualBox can either throw this error or implement handling the Subject Key Identifier extension for this rare case.
MarkR
Posts: 6
Joined: 1. Aug 2017, 23:51

Re: VMSVGA + Ubuntu 20.04 No 3d acceleration

Post by MarkR »

Is there some way to disable driver signature checking of Virtualbox? It seems unnecessary, as Windows has presumably already checked the signature of the driver before it loads it? Or is there some special magic required?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VMSVGA + Ubuntu 20.04 No 3d acceleration

Post by scottgus1 »

MarkR wrote:Is there some way to disable driver signature checking of Virtualbox?
There is a way, if you build Virtualbox from source code, but I don't know how to do it.

The checking, called hardening, prevents usually unsigned malware from injecting into Virtualbox processes on Windows hosts and getting more privileges. Diagnosing VirtualBox Hardening Issues explains the problem more. Unfortunately, other unsigned or poorly signed services get caught up in the security sweep. Nvidia video drivers had a bad run recently, then the devs figured out a different way to check them. Maybe a post on the Bugtracker with suitable logs might help.
Post Reply