Bug#626029: Correctly autodetects DPI but then ignores it and uses 96 DPI

2011-05-09 Thread Josh Triplett
On Sun, May 08, 2011 at 04:24:34PM +0200, Julien Cristau wrote:
 On Sun, May  8, 2011 at 06:52:43 -0700, Josh Triplett wrote:
 
  FSVO deliberate, but in any case thanks for pointing me at the right
  bug (which remains open upstream).  I'll take it up with upstream and
  get this fixed; it looks less deliberate and more forgotten.
  
 Well it remains open because it hasn't been re-closed after somebody
 reopened it.  The initial change looks very much deliberate to me, and
 I'm not going to diverge from upstream on this, so I don't really see
 the point of keeping yet another bug about this open in the debian bts.

From reading over the bug, I suspect that initial change just occurred
to work around corner cases in randr 1.2, not necessarily to force 96
DPI even in the cases that can work.  In any case, I'll continue pursuing
this upstream whether or not the Debian bug stays open, but I'd
appreciate it if the bug could stay open until upstream either fixes or
wontfixes it.

- Josh Triplett



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110509175816.GA9189@leaf



Bug#626029: Correctly autodetects DPI but then ignores it and uses 96 DPI

2011-05-08 Thread Julien Cristau
On Sun, May  8, 2011 at 06:52:43 -0700, Josh Triplett wrote:

 FSVO deliberate, but in any case thanks for pointing me at the right
 bug (which remains open upstream).  I'll take it up with upstream and
 get this fixed; it looks less deliberate and more forgotten.
 
Well it remains open because it hasn't been re-closed after somebody
reopened it.  The initial change looks very much deliberate to me, and
I'm not going to diverge from upstream on this, so I don't really see
the point of keeping yet another bug about this open in the debian bts.

Cheers



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110508142434.gu2...@radis.liafa.jussieu.fr



Bug#626029: Correctly autodetects DPI but then ignores it and uses 96 DPI

2011-05-07 Thread Josh Triplett
Package: xserver-xorg-core
Version: 2:1.10.1-2
Severity: normal

Early in the X server startup process, it correctly detects the
dimensions of my display, and sets the DPI accordingly:

[  1854.728] (**) intel(0): Display dimensions: (280, 160) mm
[  1854.728] (**) intel(0): DPI set to (123, 121)

However, later in the server startup, it overrides the correctly
autodetected DPI, and forcibly sets the DPI to 96:

[  1854.803] (II) intel(0): Setting screen physical size to 361 x 203

This breaks proper font sizing (making my normal fonts appear far too
small), along with sizing of many other things (such as the 100% zoom
level in various applications).

96 DPI seems like an acceptable fallback in the absence of
autodetection, but please don't override the DPI calculated from the
autodetected display sizes.

Thanks,
Josh Triplett

-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 May  7 20:37 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1972704 Apr 28 05:26 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller [8086:0126] (rev 09)

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

KMS configuration files:

/etc/modprobe.d/i915-kms.conf:
  options i915 modeset=1
/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
---
Linux version 2.6.38-2-amd64 (Debian 2.6.38-4) (b...@decadent.org.uk) (gcc 
version 4.4.6 (Debian 4.4.6-2) ) #1 SMP Sat Apr 23 18:47:49 UTC 2011

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 28558 May  7 21:39 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[  1854.415] 
X.Org X Server 1.10.1
Release Date: 2011-04-15
[  1854.424] X Protocol Version 11, Revision 0
[  1854.427] Build Operating System: Linux 2.6.32-5-amd64 x86_64 Debian
[  1854.431] Current Operating System: Linux leaf 2.6.38-2-amd64 #1 SMP Sat Apr 
23 18:47:49 UTC 2011 x86_64
[  1854.432] Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.38-2-amd64 
root=/dev/mapper/leaf-root ro init=/bin/sh
[  1854.433] Build Date: 28 April 2011  12:13:00PM
[  1854.434] xorg-server 2:1.10.1-2 (Julien Cristau jcris...@debian.org) 
[  1854.435] Current version of pixman: 0.21.8
[  1854.436]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  1854.437] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1854.440] (==) Log file: /var/log/Xorg.0.log, Time: Sat May  7 21:39:20 
2011
[  1854.441] (==) Using system config directory /usr/share/X11/xorg.conf.d
[  1854.441] (==) No Layout section.  Using the first Screen section.
[  1854.441] (==) No screen section available. Using defaults.
[  1854.441] (**) |--Screen Default Screen Section (0)
[  1854.441] (**) |   |--Monitor default monitor
[  1854.442] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[  1854.442] (==) Automatically adding devices
[  1854.442] (==) Automatically enabling devices
[  1854.442] (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
[  1854.442]Entry deleted from font path.
[  1854.442] (WW) The directory 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType does not exist.
[  1854.442]Entry deleted from font path.
[  1854.442] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[  1854.442] (==) ModulePath set to /usr/lib/xorg/modules
[  1854.442] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[  1854.442] (II) Loader magic: 0x7dba00
[  1854.442] (II) Module ABI versions:
[  1854.442]X.Org ANSI C Emulation: 0.4
[  1854.442]X.Org Video Driver: 10.0
[  1854.442]X.Org XInput driver : 12.2
[  1854.442]X.Org Server Extension : 5.0
[  1854.442] (--) PCI:*(0:0:2:0) 8086:0126:17aa:21da rev 9, Mem @ 
0xd000/4194304, 0xc000/268435456, I/O @ 0x5000/64
[  1854.442] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or 
directory)
[  1854.442] (II) LoadModule: extmod
[  1854.442] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  1854.442] (II) Module extmod: vendor=X.Org Foundation
[  1854.443]compiled for 1.10.1, module version = 1.0.0
[