Allow Mir/Unity8 to run inside Virtualbox

Bug #1669807 reported by Andreas Pokorny
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Mir
Won't Fix
High
Daniel van Vugt
linux (Ubuntu)
Fix Released
High
Seth Forshee
Nominated for Xenial by Daniel van Vugt
Nominated for Zesty by Daniel van Vugt
virtualbox (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Xenial by Daniel van Vugt
Nominated for Zesty by Daniel van Vugt

Bug Description

(See duplicate bug 1639745 for more history)

Vboxvideo lacks PRIME support. A patch has been sent upstream.

https://www.virtualbox.org/pipermail/vbox-dev/2017-March/014293.html

It may take some time until that hits the repository. I attached a patch I tested on zesty and allows unity8 to run virtualbox.

Related branches

CVE References

Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1669807

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote : Re: Allow Unity8 to run inside Virtualbox

No logs required this is just a patch to enable prime support

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: patch
affects: linux (Ubuntu) → virtualbox (Ubuntu)
Changed in virtualbox (Ubuntu):
status: Confirmed → New
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi, I saw the patch on mail list some hours ago, however I would appreciate:
1) upstream merging it before fixing the Ubuntu package
2) some other developer doing that :)

what do you think?

Changed in virtualbox (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

I am not sure how close the ubuntu version of virtualbox is to the svn trunk. I feared that even if it gets integrated soon it might take some time until that patch is picked up. So since the change has no dependencies towards other pieces of the virtualbox package, I thought we could benefit from having another convenient VM working with unity8.

Maybe look again next week whether there is upstream activity?

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Path for vboxvideo module to allow importing and exporting of dmabuf fd" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
Changed in virtualbox (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox - 5.1.14-dfsg-3

---------------
virtualbox (5.1.14-dfsg-3) unstable; urgency=medium

  [ Andreas Pokorny ]
  * Add support for Unity8 (LP: #1669807)

  [ Gianfranco Costamagna ]
  * Update virtualbox desktop file.

 -- Gianfranco Costamagna <email address hidden> Fri, 03 Mar 2017 19:28:43 +0100

Changed in virtualbox (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

So since the patch is now in the virtualbox package it still needs to be picked up by the next kernel update?

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
affects: virtualbox (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Fix Released → Fix Committed
Changed in virtualbox (Ubuntu):
status: New → Fix Released
Changed in linux (Ubuntu):
status: Fix Committed → New
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1669807

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu):
assignee: nobody → Seth Forshee (sforshee)
Seth Forshee (sforshee)
Changed in linux (Ubuntu):
status: Incomplete → Fix Committed
summary: - Allow Unity8 to run inside Virtualbox
+ Allow Mir/Unity8 to run inside Virtualbox
description: updated
Changed in mir:
status: New → Won't Fix
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → High
tags: added: black-screen vm
Revision history for this message
Alberto Mardegan (mardy) wrote :

Will this get to xenial as well?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for reminding me. I meant to target xenial a couple of hours ago.

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

This bug was fixed in the package linux - 4.10.0-13.15

---------------
linux (4.10.0-13.15) zesty; urgency=low

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1671614

  * ehci-platform needed in usb-modules udeb (LP: #1671589)
    - d-i: add ehci-platform to usb-modules

  * irqchip/gic-v3-its: Enable cacheable attribute Read-allocate hints
    (LP: #1671598)
    - irqchip/gic-v3-its: Enable cacheable attribute Read-allocate hints

  * iommu: Fix static checker warning in iommu_insert_device_resv_regions
    (LP: #1671599)
    - iommu: Fix static checker warning in iommu_insert_device_resv_regions

  * QDF2400: Fix panic introduced by erratum 1003 (LP: #1671602)
    - arm64: Avoid clobbering mm in erratum workaround on QDF2400

  * QDF2400 PCI ports require ACS quirk (LP: #1671601)
    - PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432

  * tty: pl011: Work around QDF2400 E44 stuck BUSY bit (LP: #1671600)
    - tty: pl011: Work around QDF2400 E44 stuck BUSY bit

  * CVE-2017-2636
    - tty: n_hdlc: get rid of racy n_hdlc.tbuf

  * Sync virtualbox to 5.1.16-dfsg-1 in zesty (LP: #1671470)
    - ubuntu: vbox -- Update to 5.1.16-dfsg-1

 -- Tim Gardner <email address hidden> Thu, 09 Mar 2017 06:16:24 -0700

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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