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

Bug#528221: xserver-xorg-video-intel: WidthMMOfScreen() thinks I have a 1mm monitor.



Deekoo L. wrote:
> Package: xserver-xorg-video-intel
> Version: 2:2.3.2-2+lenny6
> Severity: normal
>
>
> With the Intel driver, WidthMMOfScreen() returns 1mm and HeightMMOfScreen()
> returns 257mm.  If I use the vesa driver instead the macros report a 383x293
> screen.  My monitor's a big old Dell CRT on a standard VGA connector.
>
> Adding an explicit DisplaySize directive to the Monitors section fixes it, 
> but IMO the intel driver should be able to autodetect monitor size if the 
> vesa one can - or at least guess more-sensible values than 1x257mm.
>
> Fixing this will also close #524310 - fontforge uses WidthMMOfScreen() to
> calculate pixel sizes for fonts, so a 1mm screen led to it trying to draw
> impractically large fonts.  Some other programs may exhibit similar 
> behaviour.
>   

Can you try a more recent intel drivers? 2.3.2 is pretty old. Your test
program seems to work fine on my laptop with Intel 2.7.99 fwiw....

Brice




Reply to: