Mir

Merge lp://qastaging/~vanvugt/mir/fix-1169020 into lp://qastaging/mir

Proposed by Daniel van Vugt
Status: Work in progress
Proposed branch: lp://qastaging/~vanvugt/mir/fix-1169020
Merge into: lp://qastaging/mir
Diff against target: 327 lines (+67/-110)
2 files modified
src/platforms/mesa/server/kms/linux_virtual_terminal.cpp (+54/-96)
tests/unit-tests/graphics/mesa/kms/test_linux_virtual_terminal.cpp (+13/-14)
To merge this branch: bzr merge lp://qastaging/~vanvugt/mir/fix-1169020
Reviewer Review Type Date Requested Status
Mir development team Pending
Review via email: mp+301892@code.qastaging.launchpad.net

Commit message

Add (restore) support for starting Mir without VTs, or without
permission to manipulate VTs (LP: #1169020)

All you need is appropriate permission to /dev/dri/*

If VTs are available and we have permission to manipulate them, then
the old existing logic remains the same as ever. If VTs are not
available or we don't have permission to modify them, don't crash, just
start rendering anyway. It will often work providing you have sufficient
access to the graphics device.

Description of the change

Work in progress...

This is no longer a priority for the device device bring-up. I might get back to it at a later date when I revive and need it for Chromebook support again.

To post a comment you must log in.

Unmerged revisions

3624. By Daniel van Vugt

Fix test failures

TODO: Fix 'Uninteresting mock function call' messages

3623. By Daniel van Vugt

First working prototype

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches