X fails to set DPI correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have the common problem of everything being too small when switching to a 4K monitor. One issue is that X is setting DPI to 96 instead of 157 for my 28" 4K monitor.
This is a Radeon RX480 and I've installed xserver-xorg-hwe. If I run get-edid | parse-edid, the correct display dimensions are returned (620x340mm). I see:
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
No EDID on bus 7
No EDID on bus 8
No EDID on bus 9
1 potential busses found: 0
256-byte EDID successfully retrieved from i2c bus 0
Looks like i2c was successful. Have a good day.
Checksum Correct
Section "Monitor"
Identifier "MP Monitor"
ModelName "MP Monitor"
VendorName "RX_"
# Monitor Manufactured week 41 of 2016
# EDID version 1.3
# Digital Display
DisplaySize 620 340
Gamma 2.20
Option "DPMS" "true"
Horizsync 23-80
VertRefresh 30-160
# Maximum pixel clock is 600MHz
#Not giving standard mode: 1280x720, 60Hz
#Not giving standard mode: 1280x1024, 60Hz
#Not giving standard mode: 1440x900, 60Hz
#Not giving standard mode: 1600x900, 60Hz
#Not giving standard mode: 1680x1050, 60Hz
#Not giving standard mode: 1920x1080, 60Hz
#Not giving standard mode: 1920x1200, 60Hz
#Extension block found. Parsing...
#WARNING: I may have missed a mode (CEA mode 97)
#DOUBLE WARNING: It's your first mode, too, so this may actually be important.
#WARNING: I may have missed a mode (CEA mode 96)
#WARNING: I may have missed a mode (CEA mode 101)
#WARNING: I may have missed a mode (CEA mode 102)
#WARNING: I may have missed a mode (CEA mode 93)
#WARNING: I may have missed a mode (CEA mode 94)
#WARNING: I may have missed a mode (CEA mode 95)
#WARNING: I may have missed a mode (CEA mode 98)
Modeline "Mode 18" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync -vsync
Modeline "Mode 0" 297.00 3840 3888 3920 4400 2160 2163 2169 2250 +hsync -vsync
Modeline "Mode 1" 241.50 2560 2608 2640 2720 1440 1443 1449 1481 +hsync -vsync
Modeline "Mode 2" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode 3" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
Modeline "Mode 4" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
Modeline "Mode 5" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
Modeline "Mode 6" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
Modeline "Mode 7" 27.027 1440 1478 1602 1716 480 484 487 525 -hsync -vsync interlace
Modeline "Mode 8" 27.000 1440 1464 1590 1728 576 578 581 625 -hsync -vsync interlace
Modeline "Mode 9" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
Modeline "Mode 10" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode 11" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
Modeline "Mode 12" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
Modeline "Mode 13" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
Modeline "Mode 14" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
Modeline "Mode 15" 27.000 1440 1464 1590 1728 576 578 581 625 -hsync -vsync interlace
Modeline "Mode 16" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
Modeline "Mode 17" 27.027 1440 1478 1602 1716 480 484 487 525 -hsync -vsync interlace
Modeline "Mode 19" 148.50 1920 1968 2000 2640 1080 1084 1089 1125 +hsync -vsync
Modeline "Mode 20" 74.25 1920 2008 2052 2200 540 542 547 562 +hsync +vsync interlace
Option "PreferredMode" "Mode 18"
EndSection
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSign
Uname: Linux 4.8.0-58-generic x86_64
.tmp.unity_
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Fri Jul 7 01:51:59 2017
DistUpgraded: 2016-05-31 04:27:01,635 DEBUG icon theme changed, re-reading
DistroCodename: xenial
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/580] [1002:67df] (rev c7) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Radeon RX 480 [1043:04fb]
InstallationDate: Installed on 2016-05-30 (402 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: Supermicro X10DAi
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to xenial on 2016-05-31 (401 days ago)
dmi.bios.date: 01/29/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.0c
dmi.board.
dmi.board.name: X10DAI
dmi.board.vendor: Supermicro
dmi.board.version: 1.01
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: X10DAi
dmi.product.
dmi.sys.vendor: Supermicro
version.compiz: compiz 1:0.9.12.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.70-
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Fri Jul 7 01:42:35 2017
xserver.configfile: default
xserver.devices:
input Power Button KEYBOARD, id 6
input Power Button KEYBOARD, id 7
input Logitech Trackball MOUSE, id 8
input LITE-ON Technology USB NetVista Full Width Keyboard. KEYBOARD, id 9
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.18.
xserver.
Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to review all reported bugs in a timely manner.
Ubuntu 16.04 (xenial) reached end-of- standard- support on April 29, 2021.
I'm setting the status of this bug to 'Incomplete' as it's not seen any activity for some time. If this is still an issue when using a currently maintained release of Ubuntu then please let us know which one(s) otherwise this bug report can be left to expire in approximately 60 days time.