Comment 9 for bug 1601887

Revision history for this message
Gerry Boland (gerboland) wrote :

The M10's lcd panel is actually a portrait lcd mounted 90degrees:

phablet@frieza:~$ MIR_SOCKET=/run/mir_socket mirout
Connected to server: <default>
Card 0: Max 3 simultaneous outputs
Output 1: Card 0, LVDS, connected, 1200x1920+0+0, used, on, 135mm x 216mm (10.0"), normal
    1200x1920 56.91*+
Output 2: Card 0, DisplayPort, disconnected
Output 3: Card 0, Virtual, disconnected
    1920x1080 60.00*+

See how the LVDS output (to the lcd) has width 1200 and height 1920.

QtUbuntu relies on these values to guess the native orientation of the display. But it has no idea the panel is actually mounted 90degrees. I believe the graphics driver rotates the actual display too, further confusing things.

Unless we've a way to determine the rotation of the lcd in the housing, I suspect we'll need a per-device quirk to make sure qtubuntu or mir returns the display dimensions we actually want.