Physical display dimensions (and DPI) are way off in Mir-on-X

Bug #1576545 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Triaged
Medium
Unassigned
mir (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Physical display dimensions (and DPI) are way off (64.5" instead of <24") in Mir on X:

[2016-04-29 15:12:47.416897] mirserver: Using software cursor
[2016-04-29 15:12:47.417270] mirserver: Initial display configuration:
[2016-04-29 15:12:47.417305] mirserver: 0.1: Unknown 64.5" 1280x1024mm
[2016-04-29 15:12:47.417311] mirserver: Current mode 1280x1024 60.00Hz
[2016-04-29 15:12:47.417314] mirserver: Preferred mode 1280x1024 60.00Hz
[2016-04-29 15:12:47.417317] mirserver: Logical position +0+0

Actually the display is: 518mm x 324mm and the window is smaller than that ...

$ env DISPLAY=:0 xrandr | grep mm
DP1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm

Tags: mesa-x11
tags: added: mesa-x11
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Medium right now. But once anyone starts using real toolkits in it, this will need fixing.

Changed in mir:
importance: Undecided → Medium
status: New → Triaged
summary: - Physical display dimensions (and DPI) are way off in Mir on X
+ Physical display dimensions (and DPI) are way off in Mir-on-X
Revision history for this message
Cemil Azizoglu (cemil-azizoglu) wrote :

I could fix this if I had an easy way to test it. Let me know if you know of one.

Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.