Virtualbox guest additions isn't working properly in Ubuntu 16.04

Bug #1580482 reported by V字龍(Vdragon)
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Low
Unassigned
ubuntu-drivers-common (Ubuntu)
Invalid
Low
Unassigned
virtualbox (Ubuntu)
Invalid
Low
Unassigned

Bug Description

## Symptoms ##
* OpenGL processing offloading is not supported(3D hardware acceleration is enabled in VM settings and is available on Intel Graphics host)
* VBoxClient warns about "Failed to connect to the ViratualBox kernel service, rc=VERR_ACCESS_DENIED"(refer attached screenshot)

You may checkout the screen record for what exactly this issue is about:
https://www.youtube.com/watch?v=aB1sb3D4Q9g

## Workarounds ##
Install VirtualBox provided guest additions iso from the menu works

## Additional Information ##
* I uses the VirtualBox from upstream on the host side, the version is 5.0.20
* Note that the Ubuntu Kernel bundled with 16.04 has integrated VirtualBox guest modules(vboxguest, vboxsf, and vboxvideo specifically) for unknown reason, this bug is reproduced *without* the virtualbox-guest-dkms package(since the Additional Drivers interface doesn't provide me the option to do so(the option is greyed-out, refer attached screenshot))
* I have another 14.04 VM and it's OpenGL offloading works, so it's not likely that the host isn't providing proper OpenGL functionallity

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: virtualbox-guest-x11 5.0.18-dfsg-2build1
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed May 11 12:08:31 2016
InstallationDate: Installed on 2016-01-07 (124 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: virtualbox
UpgradeStatus: Upgraded to xenial on 2016-04-07 (33 days ago)

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :
description: updated
Revision history for this message
V字龍(Vdragon) (vdragon) wrote :
description: updated
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
Changed in virtualbox (Ubuntu):
status: New → Incomplete
Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

@LocutusOfBorg, why should I try your ppa? It doesn't provide any guest-side packages and there's even no xenial ones.

What have you change in your packages that may be related to this issue?

description: updated
Changed in virtualbox (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

ough, seems that I forgot to push it :)

yes, it does provide the guest packages.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

packages will be available in an hour or two.

description: updated
description: updated
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Indeed, you need to install virtualbox-guest-utils, not virtualbox-guest-x11 directly.
this will pick up virtualbox-guest-dkms and fix the issue.

description: updated
description: updated
description: updated
description: updated
description: updated
Revision history for this message
V字龍(Vdragon) (vdragon) wrote :
description: updated
Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

@LocutusOfBorg
I've tested the PPA, and here's the result:
https://www.youtube.com/watch?v=QmQt0VIpBuc

I still encountering the VERR_ACCESS_DENIED issue until I install the previously not installed virtualbox-guest-dkms package, however the 3D offloading problem still exist.

About the virtualbox-guest-dkms package, I'm not sure it is really needed in 16.04 as xenial kernel already packs virtualbox's guest modules(you can lsmod it even without installing the package)

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I'm not sure about this bug, I didn't have such issue with the kernel module from src:linux, neither with the one from src:virtualbox.

Changed in linux (Ubuntu):
status: New → Incomplete
summary: - virtualbox-guest-x11 isn't working properly in Ubuntu 16.04
+ Virtualbox guest additions isn't working properly in Ubuntu 16.04
description: updated
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I know they are provided, but probably a little bit outdated

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-drivers-common (Ubuntu):
status: New → Confirmed
Changed in virtualbox (Ubuntu):
importance: Undecided → Low
Changed in ubuntu-drivers-common (Ubuntu):
importance: Undecided → Low
Changed in linux (Ubuntu):
importance: Undecided → Low
Revision history for this message
Ron Tackaberry (retackaberry) wrote :

"About the virtualbox-guest-dkms package, I'm not sure it is really needed in 16.04 as xenial kernel already packs virtualbox's guest modules(you can lsmod it even without installing the package)"

Actually, I had the same problem. Installing this package solved it. Error gone and pasting and screen resize is now working fine.

Thanks for the help.

Revision history for this message
Sven (5-launmhpad-t) wrote :

I think, this bug is related to #1619277.

Changed in virtualbox (Ubuntu):
status: Incomplete → Invalid
Changed in ubuntu-drivers-common (Ubuntu):
status: Confirmed → Invalid
Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.