[regression] Mir is assigning the first output ID = 0 (== mir_display_output_id_invalid)
Bug #1675331 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Mir development team | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Mir is assigning the first output ID = 0 (== mir_display_
[2017-03-23 17:22:28.936000] mirserver: Initial display configuration:
[2017-03-23 17:22:28.936026] mirserver: Output 0: HDMI-A disconnected
[2017-03-23 17:22:28.936030] mirserver: Output 1: VGA disconnected
[2017-03-23 17:22:28.936032] mirserver: Output 2: DisplayPort disconnected
[2017-03-23 17:22:28.936035] mirserver: Output 3: HDMI-A disconnected
[2017-03-23 17:22:28.936039] mirserver: Output 4: DisplayPort connected, used
However we have already declared that:
include/
Related branches
lp://staging/~mir-team/mir/fix-1675331
- Alan Griffiths: Approve
- Cemil Azizoglu (community): Approve
- Mir CI Bot: Approve (continuous-integration)
-
Diff: 70 lines (+14/-8)2 files modifiedsrc/platforms/mesa/server/kms/real_kms_display_configuration.cpp (+11/-7)
src/platforms/mesa/server/kms/real_kms_display_configuration.h (+3/-1)
Changed in mir: | |
assignee: | nobody → Mir development team (mir-team) |
Changed in mir (Ubuntu): | |
status: | New → Invalid |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Bisected. It change came from:
------- ------- ------- ------- ------- ------- ------- ------- ----
revno: 4103 [merge]
author: Christopher James Halse Rogers <email address hidden>
committer: Tarmac
branch nick: development-branch
timestamp: Wed 2017-03-22 07:01:56 +0000
message:
Clarify KMS display configuration responsibilities.
This moves responsibility for converting between KMS hardware state and Mir DisplayOutputCo nfiguration to KMSOutput, moves DisplayConfigur ationOutputId → KMSOutput lookup into KMSDisplayConfi guration, and makes KMSOutputContainer responsible for maintaining the set of KMSOutput as they appear and disappear.
Approved by mir-ci-bot, Kevin DuBois, Alan Griffiths. ------- ------- ------- ------- ------- ------- ------- ----
-------