Mir fails to start when a TV is connected by HDMI [std::exception::what: Invalid or inconsistent display configuration]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Daniel van Vugt | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Mir fails to start when a TV is connected by HDMI...
$ sudo mir_demo_
ERROR: /build/
Dynamic exception type: N5boost16except
std::exception:
$ sudo mir_demo_
ERROR: /build/
Dynamic exception type: N5boost16except
std::exception:
Related branches
- Alan Griffiths: Approve
- Alexandros Frantzis (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 96 lines (+10/-9)7 files modifiedclient-ABI-sha1sums (+1/-1)
common-ABI-sha1sums (+1/-1)
include/common/mir_toolkit/client_types.h (+2/-1)
platform-ABI-sha1sums (+1/-1)
server-ABI-sha1sums (+1/-1)
src/platform/graphics/display_configuration.cpp (+1/-1)
tests/unit-tests/graphics/test_display_configuration.cpp (+3/-3)
Changed in mir: | |
status: | Fix Committed → Fix Released |
X works fine... but suspiciously reports that the TV has no "preferred" mode (+), which could possibly be what's confusing Mir:
$ env DISPLAY=:0 xrandr
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
eDP1 connected primary 1366x768+1366+0 (normal left inverted right x axis y axis) 256mm x 144mm
1366x768 60.0*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
HDMI1 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 1872mm x 1053mm
4096x2160 24.0 24.0
3840x2160 24.0* 30.0 25.0 30.0 24.0
1920x1080 60.0 50.0 59.9 30.0 25.0 24.0 30.0 24.0
1920x1080i 60.1 50.0 60.0
1680x1050 59.9
1600x900 60.0
1280x1024 75.0 60.0
1440x900 59.9
1366x768 59.8
1280x800 59.9
1152x864 75.0
1280x720 60.0 60.0 50.0 59.9
1440x576i 50.1
1024x768 75.1 70.1 60.0
1440x480i 60.1 60.1
832x624 74.6
800x600 72.2 75.0 60.3
720x576 50.0
720x480 60.0 59.9
640x480 75.0 72.8 66.7 60.0 59.9
720x400 70.1
VIRTUAL1 disconnected (normal left inverted right x axis y axis)