[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#522431: /usr/bin/xrandr: when changing the screen orientation, the resolution (dpi) is messed up



Package: x11-xserver-utils
Version: 7.4+1
Severity: normal
File: /usr/bin/xrandr

When changing the orientation of the screen, height and width in
pixels are interchanged.  When calculating the new resolution, xrandr
apparently does not likewise interchange physical width and height of the
screen in mm:

$ xdpyinfo|grep resolution
  resolution:    100x100 dots per inch
$ xrandr -o left
$ xdpyinfo|grep resolution
  resolution:    63x160 dots per inch

Given my screen has an aspect ratio of 1.6, we would expect
(100/1.6)x(100*1.6) as the new resolution due to this bug, and this is
exactly what happens.

    Cheers, Sven

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages x11-xserver-utils depends on:
ii  cpp                           4:4.3.3-2  The GNU C preprocessor (cpp)
ii  libc6                         2.9-4      GNU C Library: Shared libraries
ii  libice6                       2:1.0.5-1  X11 Inter-Client Exchange library
ii  libsm6                        2:1.1.0-2  X11 Session Management library
ii  libx11-6                      2:1.2-1    X11 client-side library
ii  libxau6                       1:1.0.4-2  X11 authorisation library
ii  libxaw7                       2:1.0.5-2  X11 Athena Widget library
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxi6                        2:1.1.4-1  X11 Input extension library
ii  libxmu6                       2:1.0.4-1  X11 miscellaneous utility library
ii  libxmuu1                      2:1.0.4-1  X11 miscellaneous micro-utility li
ii  libxrandr2                    2:1.3.0-2  X11 RandR extension library
ii  libxrender1                   1:0.9.4-2  X Rendering Extension client libra
ii  libxt6                        1:1.0.5-3  X11 toolkit intrinsics library
ii  libxtrap6                     2:1.0.0-5  X11 event trapping extension libra
ii  libxxf86misc1                 1:1.0.1-3  X11 XFree86 miscellaneous extensio
ii  libxxf86vm1                   1:1.0.2-1  X11 XFree86 video mode extension l
ii  x11-common                    1:7.3+18   X Window System (X.Org) infrastruc

x11-xserver-utils recommends no packages.

Versions of packages x11-xserver-utils suggests:
pn  cairo-5c                      <none>     (no description available)
pn  nickle                        <none>     (no description available)

-- no debconf information



Reply to: