[arch-general] PS: xdpyinfo displays wrong "dimension" values
Daniel Martin
consume.noise at gmail.com
Fri Aug 11 09:38:16 UTC 2017
On 10 August 2017 at 17:30, Ralf Mardorf <silver.bullet at zoho.com> wrote:
> On Thu, 10 Aug 2017 16:39:33 +0200, Ralf Mardorf wrote:
>>[rocketmouse at archlinux ~]$ xdpyinfo | grep "screen" -A2 # HDMI LCD on
>>and VGA CRT off
>>default screen number: 0
>>number of screens: 1
>>
>>screen #0:
>> dimensions: 1920x1080 pixels (506x285 millimeters)
>> resolution: 96x96 dots per inch
> ^^^^^
>
> [rocketmouse at archlinux ~]$ xdpyinfo | grep "screen" -A2 # HDMI LCD on
> and VGA CRT off default screen number: 0
> number of screens: 1
>
> screen #0:
> dimensions: 1920x1080 pixels (502x282 millimeters)
> resolution: 97x97 dots per inch
> ^^^^^
> Seemingly xdpyinfo is buggy, not only the millimeters are wrong, also
> the dpi value isn't always the same.
Yes, it is buggy, there's a proposed patch:
https://lists.x.org/archives/xorg-devel/2017-May/053743.html
Are you able to test and verify it? That may help to get the patch
into the repository.
Cheers, Daniel
More information about the arch-general
mailing list