Mir GL clients never appear at all on VirtualBox
Bug #1639745 reported by
Daniel van Vugt
This bug report is a duplicate of:
Bug #1669807: Allow Mir/Unity8 to run inside Virtualbox.
Edit
Remove
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Won't Fix
|
High
|
Daniel van Vugt | ||
mesa (Ubuntu) |
Confirmed
|
High
|
Unassigned |
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
lp:~vanvugt/mir/nonprime-server-support
- Kevin DuBois (community): Abstain
- Chris Halse Rogers: Disapprove
- Mir CI Bot: Approve (continuous-integration)
-
Diff: 221 lines (+126/-17)3 files modifiedsrc/platforms/mesa/server/gbm_buffer.cpp (+37/-8)
src/platforms/mesa/server/gbm_buffer.h (+2/-0)
tests/unit-tests/platforms/mesa/kms/test_gbm_buffer.cpp (+87/-9)
lp:~vanvugt/mir/log-unhandled-exceptions
- Chris Halse Rogers: Disapprove
- Kevin DuBois (community): Abstain
- Mir CI Bot: Approve (continuous-integration)
- Alan Griffiths: Needs Fixing
-
Diff: 31 lines (+3/-1)2 files modifiedsrc/include/server/mir/frontend/template_protobuf_message_processor.h (+2/-1)
tests/CMakeLists.txt (+1/-0)
lp:~vanvugt/mir/reply-buffer-allocation-failures
- Daniel van Vugt: Needs Information
- Alan Griffiths: Abstain
- Mir CI Bot: Approve (continuous-integration)
-
Diff: 135 lines (+75/-17)2 files modifiedsrc/server/frontend/session_mediator.cpp (+42/-16)
tests/unit-tests/frontend/test_session_mediator.cpp (+33/-1)
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 |
Changed in mir: | |
status: | New → Confirmed |
Changed in mir: | |
milestone: | none → 0.26.0 |
status: | Confirmed → In Progress |
Changed in mir: | |
milestone: | 0.26.0 → 1.0.0 |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.