From owner-freebsd-questions@FreeBSD.ORG Fri Jan 30 21:56:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 416C61065674 for ; Fri, 30 Jan 2009 21:56:50 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: from smtp124.sbc.mail.sp1.yahoo.com (smtp124.sbc.mail.sp1.yahoo.com [69.147.64.97]) by mx1.freebsd.org (Postfix) with SMTP id 292B38FC1E for ; Fri, 30 Jan 2009 21:56:50 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: (qmail 50115 invoked from network); 30 Jan 2009 21:30:10 -0000 Received: from unknown (HELO ?192.168.2.14?) (jguojun@75.36.164.103 with plain) by smtp124.sbc.mail.sp1.yahoo.com with SMTP; 30 Jan 2009 21:30:10 -0000 X-YMail-OSG: Zuiiao0VM1l16RLbLTUpgP4oMyl8Hvtx0cnmsHnHKq2xaf3XLLPoOlClcstWd34aa9FfZZVckf7pWYYvTvpvwByG.4Oju8.4CTgPMqCu_jIkO02NGFYKn0tTsLJJQKxEXWcGXEbuAWLhza5SRmBJgrMmhx.KkOoGsW2PncK0kx5pcR27kYviaLXM6qaPVleyI22FsZHYTMWvXOR6NHAPQBBPHXhpfw-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4983715E.7070504@gmail.com> Date: Fri, 30 Jan 2009 13:30:06 -0800 From: "Jin Guojun[VFF]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20071201 X-Accept-Language: en, zh, zh-CN MIME-Version: 1.0 To: aryeh.friedman@gmail.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: x11@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Really strange resolution problems on xorg with a laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2009 21:56:51 -0000 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" 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.