[ltp] 15" DisplaySize (DPI value)

Peter Frühberger linux-thinkpad@linux-thinkpad.org
Tue, 14 Mar 2006 09:14:41 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

noc ops schrieb:
> Based on the below formula my DPI value doesn't appear to be making
> sense. Not sure I'm missing something.
> 
> I would appreciate if someone could validate this value.
> 
> 
> I have a laptop (15") w/ 1024x768 (max) resolution. My xdpyinfo output
> displays 85x85 dpi?
> 
> formula:
> diagonal mm = diagonal inches * 25.4
> horizontal mm = 4* diagonal mm / 5
> vertical mm = 3 * diagonal mm /5
> 
> 381mm = 15 * 25.4
> 305mm = 4* 381mm /5
> 229mm = 3* 381mm /5
> 
> DisplaySize = 305  229
> 
> 
> Here's a cut&paste of my xorg.conf
> =================================
> 
> Section "Files"
>         FontPath        "/usr/share/X11/fonts/misc"
>         FontPath        "/usr/share/X11/fonts/cyrillic"
>         FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
>         FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
>         FontPath        "/usr/share/X11/fonts/Type1"
>         FontPath        "/usr/share/X11/fonts/CID"
>         FontPath        "/usr/share/X11/fonts/100dpi"
>         FontPath        "/usr/share/X11/fonts/75dpi"
>         # paths to defoma fonts
>         FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
>         FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
> EndSection
> 
> Section "Module"
>         Load    "GLcore"
>         Load    "i2c"
>         Load    "bitmap"
>         Load    "ddc"
>         Load    "dri"
>         Load    "extmod"
>         Load    "freetype"
>         Load    "glx"
>         Load    "int10"
>         Load    "type1"
>         Load    "vbe"
> EndSection
> 
> {snip}
>  ......
> 
> Section "Device"
>         Identifier      "ATI Technologies, Inc. Radeon 330M/340M/350M
> (RS200 IGP)"
>         Driver          "ati"
>         BusID           "PCI:1:5:0"
> EndSection
> 
> Section "Monitor"
>         Identifier      "Generic Monitor"
>         Option          "DPMS"
>         DisplaySize     305     229
> EndSection
> 
> Section "Screen"
>         Identifier      "Default Screen"
>         Device          "ATI Technologies, Inc. Radeon 330M/340M/350M
> (RS200 IGP)"
>         Monitor         "Generic Monitor"
>         DefaultDepth    24
>         SubSection "Display"
>                 Depth           1
>                 Modes           "1024x768"
>         EndSubSection
>         SubSection "Display"
>                 Depth           4
>                 Modes           "1024x768"
>         EndSubSection
>         SubSection "Display"
>                 Depth           8
>                 Modes           "1024x768"
>         EndSubSection
>         SubSection "Display"
>                 Depth           15
>                 Modes           "1024x768"
>         EndSubSection
>         SubSection "Display"
>                 Depth           16
>                 Modes           "1024x768"
>         EndSubSection
>         SubSection "Display"
>                 Depth           24
>                 Modes           "1024x768"
>         EndSubSection
> EndSection
> 
> Section "ServerLayout"
>         Identifier      "Default Layout"
>         Screen          "Default Screen"
>         InputDevice     "Generic Keyboard"
>         InputDevice     "Configured Mouse"
>         InputDevice     "Synaptics Touchpad"
> EndSection
> 
> Section "DRI"
>         Mode    0666
> EndSection
> 
> 
> Any insight will be appreciated.
> 
> 
> 
> regards,
> /virendra
> 

seems to be correct, I use the same values!
fritsch@todesstern:~$ less /var/log/Xorg.0.log |grep DPI
(**) RADEON(0): DPI set to (85, 85)

fritsch@todesstern:~$ cat /etc/X11/xorg.conf  |grep DisplaySize
        DisplaySize     305 229

I stil cannot belive that you shipped back your 1400x1050 Display :-(

Regards,

Peter


- --
		    Key-ID:     0x1A995A9B
		    keyserver: pgp.mit.edu
==============================================================
Fingerprint: 4606 DA19 EC2E 9A0B 0157  C81B DA07 CF63 1A99 5A9B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEFntx2gfPYxqZWpsRA+a3AKC9wkmEGzkJnOG07kbUON+pYjE0rQCfdvPQ
NYJjV6yBTYS5sGW6x+NlJAM=
=QXjw
-----END PGP SIGNATURE-----