View Single Post
Old 08-12-06, 12:08 PM   #1
catinsnow
Registered User
 
Join Date: Mar 2006
Posts: 7
Default About Twinview and DPI

with Twinview,I always get a unsuitability DPI,and xine cannot work in correct aspect ratio. in Xorg.0.log,I get:
Code:
(II) NVIDIA(0): Assigned Display Devices: CRT-0, CRT-1
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1024x768_85,1024x768"
(II) NVIDIA(0):     "1024x768_85,null"
(II) NVIDIA(0): Virtual screen size determined to be 2048 x 768
(WW) NVIDIA(0): No size information available in CRT-0's EDID; cannot compute
(WW) NVIDIA(0):     DPI from EDID.
(**) NVIDIA(0): DPI set to (159, 81); computed from "DisplaySize" Monitor section option
(--) Depth 24 pixmap format is 32 bpp
this is my configure:
Code:
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "SONY"
    ModelName      "Multiscan 200sf"
	DisplaySize	327 239
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "copaq"
    ModelName      "140"
 
	Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "TwinView" "True"
    Option         "TwinViewOrientation" "rightof"
    Option         "UseEdidFreqs" "True"
    Option         "MetaModes" "1024x768_85,1024x768; 1024x768_85,null"
    Option         "NoLogo" "true"
    Option 	"RenderAccel" "off"
    Option         "NvAGP" "1"    
	BusId	"PCI:1:0:0"	 
   Screen          0
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1024x768_85" "800x600"
    EndSubSection
EndSection
I set "DisplaySize" because driver cannot get from my first monitor.
if not set it,DPI will set to (75, 75),but if I close second monitor and change resolution from 2048x768 to 1024x768 in gnome, DPI will set to about 37,75. How can I get a correct DPI always?

without set DisplaySize:
Code:
(II) NVIDIA(0): Virtual screen size determined to be 2048 x 768
(WW) NVIDIA(0): No size information available in CRT-0's EDID; cannot compute
(WW) NVIDIA(0):      DPI from EDID.
(==) NVIDIA(0): DPI set to ; computed from built-in default
and xorg info:
Code:
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.15.7 i686 
Current Operating System: Linux ubuntu 2.6.17-6-686 #2 SMP Fri Aug 11 22:09:15 UTC 2006 i686
catinsnow is offline   Reply With Quote