Xmir reports the phone DPI even on external monitors

Bug #1513452 reported by kevin gunn
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Pocket Desktop
Fix Released
Critical
kevin gunn
xorg-server (Ubuntu)
Fix Released
High
Chris Halse Rogers

Bug Description

on latest image, adjust GRID_UNIT_PX to ~8 globally for unity8, all the native unity8 applications look correct when running on a Nexus 4 & attached to external monitor

install puritine, launch FF, while attached to external monitor. Scaling is incorrect (large) due to xmir dpi being based on physical phone screen - need a way to tweak/hack to make FF appear usable.

Tags: xmir
kevin gunn (kgunn72)
Changed in canonical-pocket-desktop:
assignee: nobody → kevin gunn (kgunn72)
importance: Undecided → Critical
Revision history for this message
Will Cooke (willcooke) wrote :
tags: added: xmir
Changed in xorg-server (Ubuntu):
status: New → Confirmed
importance: Undecided → Critical
Changed in canonical-pocket-desktop:
status: New → Confirmed
Changed in xorg-server (Ubuntu):
assignee: nobody → Robert Ancell (robert-ancell)
kevin gunn (kgunn72)
no longer affects: libertine (Ubuntu)
no longer affects: puritine (Ubuntu)
Changed in xorg-server (Ubuntu):
assignee: Robert Ancell (robert-ancell) → Chris Halse Rogers (raof)
status: Confirmed → Fix Committed
Changed in canonical-pocket-desktop:
status: Confirmed → Fix Committed
Revision history for this message
Chris Halse Rogers (raof) wrote :

This commit¹ in xmir git makes XMir behave like Xorg - it respects the -dpi command-line parameter, defaulting to 96DPI.

As it makes XMir behave like desktop Xorg we'll need the same compiz/toolkit/application level tweaks we currently use on the desktop to enable HiDPI mode if we want XMir displaying on the phone (or an external 4K display).

¹: https://git.launchpad.net/~xmir-team/xorg-server/+git/xmir/commit/?id=5aca7b08cd4d8c33e3a09083b0c64dabd5f89cb6

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sadly, if you want mature hiDPI support then we're going to have to take Xorg out of the equation...

The fix Chris did seems like a reasonable workaround. It just removes some of the functionality I was asked to add. However it doesn't qualify as Critical (https://wiki.ubuntu.com/Bugs/Importance)

Changed in xorg-server (Ubuntu):
importance: Critical → High
summary: - Xmir scaling needs a way of adjusting for monitor connections
+ Xmir reports the phone DPI even on external monitors
kevin gunn (kgunn72)
Changed in xorg-server (Ubuntu):
status: Fix Committed → Fix Released
Changed in canonical-pocket-desktop:
status: Fix Committed → Fix Released
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.