[Openchrome-users] DPI changed after upgrade to xorg-7.2

Luc Verhaegen libv
Mon May 7 20:06:50 PDT 2007


On Mon, May 07, 2007 at 02:59:06PM +0200, Benno Schulenberg wrote:
> Luc Verhaegen wrote:
> > On Sun, May 06, 2007 at 11:48:09PM +0200, Benno Schulenberg wrote:
> > > (which is an echo from bug
> > > https://bugs.freedesktop.org/show_bug.cgi?id=9758)
> >
> > Yup, that's the one.
> 
> Okay, that patch brings the normal DPI back.  Thanks for alerting.
> 
> But it is not the correct fix, because when the DisplaySize option 
> is not present, the EDID-detected values are still preceded by (**) 
> in the log file, as if they came from the xorg.conf file.  But they 
> are probed and should therefore be preceded by (--).
> 
> Something else: when in the Section "Screen" of xorg.conf I replace 
> the line
> 
>                 Modes   "1024x768" "800x600"
> with
> 
>                 Modes   "1024x768" "1152x864" "1280x1024" "800x600"
> 
> the DPI changes from 81,81 to 101,108 (see attached reversed diff).  
> Is this also an Xorg bug, or an openchrome one?
> 
> Benno

> -(--) VIA(0): Virtual size is 1280x1024 (pitch 1280)
> +(--) VIA(0): Virtual size is 1024x768 (pitch 1024)

> -(**) VIA(0): DPI set to (101, 108)
> +(**) VIA(0): DPI set to (81, 81)

I do think that these values are directly proportional.

This resolution is calculated in PreInit, and never changed again.

Luc Verhaegen.




More information about the Openchrome-users mailing list