[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: DPI inconsistency
From: Yuri <yuri () rawbw ! com>
Date: 2022-12-28 18:51:29
Message-ID: eccad397-65b6-c675-0b69-18b6ede3bd0a () tsoft ! com
[Download RAW message or body]
My NVidia card has the resolution 3840x2160.
xorg.conf has this section, following the recommendation from
https://linuxreviews.org/HOWTO_set_DPI_in_Xorg:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
DisplaySize 630 340 # In millimeters - setting for DPI
EndSection
Xorg.0.log has:
> [ 37714.549] (--) NVIDIA(0): DPI set to (159, 156); computed from
"UseEdidDpi" X config
Based on the DPI computation for resolution 3840x2160 and size 630mm x
340mm - DPI should be 155x161.
This is close to what Xorg.0.log has, but is not equal to it.
But xdpyinfo shows 96x96:
> xdpyinfo | grep -B 2 resolution
> screen #0:
> dimensions: 3840x2160 pixels (1016x572 millimeters)
> resolution: 96x96 dots per inch
Why doesn't the xorg.conf setting of DisplaySize translate into the
actual DPI value in xorg that xdpyinfo shows?
Thank you,
Yuri
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic