Screen DPI detected incorrectly by xdpyinfo

Bug #1650192 reported by Jan Baier on 2016-12-15
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)

Bug Description

xdpyinfo reports wrong resolution

screen #0:
  dimensions: 5120x1024 pixels (1354x270 millimeters)
  resolution: -2147483648x-2147483648 dots per inch

It worked correctly with analog outputs, after switch to digital one, this bug appeared.

Bug #201491 is related.

Jan Baier (jan-baier) wrote :
Jan Baier (jan-baier) wrote :
Jan Baier (jan-baier) wrote :
description: updated
affects: xorg-server (Ubuntu) → xorg-server
Timo Aaltonen (tjaalton) wrote :

you have four displays connected? looks fine to me

if you do not, then it's a kernel bug

affects: xorg-server → xorg-server (Ubuntu)
Changed in xorg-server (Ubuntu):
status: New → Incomplete
Jan Baier (jan-baier) wrote :

Yes, yes I have four 1280x1024 monitors in one row. After I switched all outputs to digital ones (as seen in xrand.log), the resolution reported by xdpyinfo is wrong -- negative. Expected resolution is somewhere around 96 dpi and definitely not -2147483648.

Launchpad Janitor (janitor) wrote :

[Expired for xorg-server (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg-server (Ubuntu):
status: Incomplete → Expired
Matteo Dell'Amico (della) wrote :

I have the same problem (negative reported DPI) when using an Ubuntu 17.10 VMWare guest running Wayland. This triggers a problem that makes it impossible to zoom in Evince ( Apparently, my monitor size is detected as 0mm x 0mm.

I'd be happy to give more information, please let me know if and how I can help! Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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