Re: Really strange resolution problems on xorg with a laptop

2009-01-30 Thread Jin Guojun[VFF]

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.fried...@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.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Really strange resolution problems on xorg with a laptop

2008-12-25 Thread Jeff Laine
On Wed, Dec 24, 2008 at 04:22:40PM -0500, Aryeh M. Friedman wrote:
 Polytropon wrote:
  On Wed, 24 Dec 2008 11:16:49 -0500, Aryeh M. Friedman 
  aryeh.fried...@gmail.com wrote:

  I have a HP Pavilion dv5000 and any standard xorg app like xterm or
  anything else that comes with xorg seems to work fine but every other X
  application has either HUGE (one character fills the whole screen) fonts
  and/or other weirdness (it could be fonts but who knows) I just did
  a complete reinstall from sources (portmaster) the FB version is
  8-CURRENT (current as of last night) and the ports tree from the same time
  
 
  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... btw your name seems familar ever use a public
 access freebsd machine called m-net?

Maybe this would be useful?

 xdpyinfo | grep -E res|dim 

Helped me in a similar case.


-- 
Best regards,
Jeff

() X-mas ribbon campaign
/\

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Really strange resolution problems on xorg with a laptop

2008-12-24 Thread Aryeh M. Friedman
I have a HP Pavilion dv5000 and any standard xorg app like xterm or
anything else that comes with xorg seems to work fine but every other X
application has either HUGE (one character fills the whole screen) fonts
and/or other weirdness (it could be fonts but who knows) I just did
a complete reinstall from sources (portmaster) the FB version is
8-CURRENT (current as of last night) and the ports tree from the same time

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Really strange resolution problems on xorg with a laptop

2008-12-24 Thread Polytropon
On Wed, 24 Dec 2008 11:16:49 -0500, Aryeh M. Friedman 
aryeh.fried...@gmail.com wrote:
 I have a HP Pavilion dv5000 and any standard xorg app like xterm or
 anything else that comes with xorg seems to work fine but every other X
 application has either HUGE (one character fills the whole screen) fonts
 and/or other weirdness (it could be fonts but who knows) I just did
 a complete reinstall from sources (portmaster) the FB version is
 8-CURRENT (current as of last night) and the ports tree from the same time

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.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Really strange resolution problems on xorg with a laptop

2008-12-24 Thread Aryeh M. Friedman
Polytropon wrote:
 On Wed, 24 Dec 2008 11:16:49 -0500, Aryeh M. Friedman 
 aryeh.fried...@gmail.com wrote:
   
 I have a HP Pavilion dv5000 and any standard xorg app like xterm or
 anything else that comes with xorg seems to work fine but every other X
 application has either HUGE (one character fills the whole screen) fonts
 and/or other weirdness (it could be fonts but who knows) I just did
 a complete reinstall from sources (portmaster) the FB version is
 8-CURRENT (current as of last night) and the ports tree from the same time
 

 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... btw your name seems familar ever use a public
access freebsd machine called m-net?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Really strange resolution problems on xorg with a laptop

2008-12-24 Thread Polytropon
On Wed, 24 Dec 2008 16:22:40 -0500, Aryeh M. Friedman 
aryeh.fried...@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.



 btw your name seems familar ever use a public
 access freebsd machine called m-net?

No, must be somebody else. Name is from Homer's Illias. And,
no, it's not Homer Simpson. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org