Comment 0 for bug 589485

Revision history for this message
In , Arkadiusz Miƛkiewicz (arekm) wrote :

Updated everything to released individual tarballs. Using intel driver from git master, kernel from git, KMS enabled.

On 1.6.3 (correct size):
(II) intel(0): Setting screen physical size to 303 x 190

On 1.7.0rc0 (wrong size):
(II) intel(0): Setting screen physical size to 381 x 238

Both show the same DPI at start
(==) intel(0): DPI set to (96, 96).

The funny thing is that on 1.7 xrandr reports proper size:
[arekm@t400 ~]$ xrandr|grep LV
LVDS1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm

but xdpyinfo doesn't:

[arekm@t400 ~]$ xdpyinfo|grep dimens
  dimensions: 1440x900 pixels (381x238 millimeters)

Font is too small so X uses that wrong dimention. I switched back to 1.6 (by changing just X server + intel driver rebuild, all other xorg pakckages/kernel were the same) and the issue didn't occur. Looks that this is some xserver 1.7 problem.

Using
[arekm@t400 ~]$ xrandr --dpi 120/LVDS

almost fixes the problem

[arekm@t400 ~]$ xdpyinfo|grep dimens
  dimensions: 1440x900 pixels (304x190 millimeters)

X isn't started with -dpi option:
root 8931 7.7 1.2 176900 48948 tty7 Ss+ 13:41 0:36 /usr/bin/X -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-WgaEim

Fix for xserver welcome.