Date: Fri, 30 Jan 2009 13:30:06 -0800 From: "Jin Guojun[VFF]" <jguojun@gmail.com> To: aryeh.friedman@gmail.com Cc: x11@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Really strange resolution problems on xorg with a laptop Message-ID: <4983715E.7070504@gmail.com>
next in thread | raw e-mail | index | archive | help
Has this problem been resolved? I have the same problem for a similar laptop (HP Pavilion dv5120us). The X Server 1.4.0 (FreeBSD 6.3-R) works fine, but 1.4.2 (From both 6.4 and 7.1) produce this problem. My screen is 13.25 inch x 8.25 inch in resolution 1280x800. The DPI shown in Xorg.0.log is (96, 96), which is correct according to the dpi expression listed below. Only strange # from the Xorg.0.log is the screen size 310 x 21. The screen size should be 330 x 301, which is corrected stated in xorg.conf. I wonder if this is a X Server 1.4.2 bug. Is anyway to correct this problem? or X 1.4.0 has to be used for this particular laptop till a new X Server released. -Jin --------- original message ------------- On Wed, 24 Dec 2008 16:22:40 -0500, "Aryeh M. Friedman" <aryeh.friedman@gmail.com> wrote: > Polytropon wrote: > > Check the DPI settings from your monitor and if they match the > > settings in xorg.conf. Some programs calculate font sizes > > according to these values. > > > How do I check that... Eventually there's a setting in /etc/X11/xorg.conf called "DisplaySize" that does not match the display size of the monitor. Take a ruler and check. Then, calculate the dpi resolution from what the manufacturer says about the amount of pixels in X and Y (e. g. "1200x800"). physical pixels x dpi(x) = --------------------- display width in inch and physical pixels y dpi(y) = ---------------------- display height in inch The dpi resolution chosen by the X server can be determined by % grep DPI /var/log/Xorg.0.log This should match the reality.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4983715E.7070504>