Screen DPI detected incorrectly by xdpyinfo

Bug #1650192 reported by Jan Baier
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Expired
Undecided
Unassigned

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.

Revision history for this message
Jan Baier (jan-baier) wrote :
Revision history for this message
Jan Baier (jan-baier) wrote :
Revision history for this message
Jan Baier (jan-baier) wrote :
description: updated
affects: xorg-server (Ubuntu) → xorg-server
Revision history for this message
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
Revision history for this message
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.

Revision history for this message
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
Revision history for this message
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 (https://bugzilla.gnome.org/show_bug.cgi?id=774567). 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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