Mir GL clients never appear at all on VirtualBox

Bug #1639745 reported by Daniel van Vugt on 2016-11-07
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Won't Fix
Daniel van Vugt
mesa (Ubuntu)

Bug Description

Mir GL clients never appear at all on VirtualBox.

After digging for a while, it appears the issue is that vboxvideo does not support DRM_CAP_PRIME and so only supports GEM flink names. Sadly Mir is the opposite now: Mir only supports PRIME but not flink names.

Internally some exceptions are being thrown in Mir at present, but we seem to catch and silence them all. So you never see any error messages at all. Just Mir GL clients never appear on screen in VirtualBox.

For the record, Wayland supports falling back to flink names in the absence of PRIME. We should too.

Related branches

description: updated
tags: added: egl-platform-mir
Changed in mesa (Ubuntu):
importance: Undecided → High
Changed in mir:
assignee: nobody → Daniel van Vugt (vanvugt)
tags: added: black-screen
Launchpad Janitor (janitor) wrote :

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

Changed in mesa (Ubuntu):
status: New → Confirmed
Changed in mir:
status: New → Confirmed
Changed in mir:
milestone: none → 0.26.0
status: Confirmed → In Progress
Alan Griffiths (alan-griffiths) wrote :

Also affects VM (qemu/kvm) lp:1646532

Changed in mir:
milestone: 0.26.0 → 1.0.0

The root cause for this problem was fixed upstream and applied in the ubuntu packages in virtualbox and the kernel (lp:1669807)

Daniel van Vugt (vanvugt) wrote :

Thanks, but creating a second bug has made a mess.

Please be sure to use the original bug report in future.

Changed in mir:
status: In Progress → Won't Fix
milestone: 1.0.0 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers