i810 modesetting on xorg 7.1 fun

Julien Cristau jcristau at liafa.jussieu.fr
Mon Mar 5 18:40:16 PST 2007


On Mon, Jan  1, 2007 at 11:54:27 -0800, Keith Packard wrote:

> On Mon, 2007-01-01 at 15:48 +0000, Ross Burton wrote:
> > When I login to GNOME, I get the correct 1024x768 but xdpyinfo is
> > confused:
> 
> Right, gnome randrs the screen at login time, which is what fixes the
> reported size.
> 
> > screen #0:
> >   dimensions:    1024x768 pixels (694x260 millimeters)
> >   resolution:    37x75 dots per inch
> 
> Oh, so the old RandR code doesn't change the physical size. That's
> broken.
> 
Hi,

Is that supposed to be fixed at some point?  With the latest xserver and
xf86-video-intel release candidates, after X starts up xrandr says:
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
LVDS connected 1024x768+0+0 (normal left inverted right) 304mm x 228mm

And xdpyinfo:
screen #0:
  dimensions:    1024x768 pixels (347x347 millimeters)
  resolution:    75x56 dots per inch

So it seems XDisplay{Width,Height}MM() return funky values which depend
on the frame buffer dimensions, and (as a result?) I get unreadably tiny
fonts in most apps.  If I add a Virtual directive in xorg.conf to be
able to plug a monitor in the VGA port after X startup, physical
dimensions (and thus DPI values) reported by xdpyinfo are even farther
off.

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070306/6f494578/attachment.pgp>


More information about the xorg mailing list