Using an LCD monitor in DVI mode with "nvidia" driver

Kirk Strauser kirk at strauser.com
Wed Jul 11 21:58:08 UTC 2007


I just got a new AOC 22LVWk 22" LCD monitor with dual DVI and analog inputs.
I'm trying to get the connection working and this is the first time I've
ever used it.  NVidia's README said that I should set

    Section "Device"
        [...]
        Option         "ConnectedMonitor" "DFP"
    EndSection

to tell the driver to switch over to flatpanel display, but if I do that
the result is an ugly 1024x768 mess (although the monitor reports that it
is in fact in digital mode).  Am I missing something, or is this just not
a supported setup?

Here's a diff in my Xorg.0.log when starting without
'Option "ConnectedMonitor" "DFP"' and then starting again with it:

$ diff -u Xorg.0.log-normal Xorg.0.log-dfp
--- Xorg.0.log-normal   2007-07-11 16:52:50.000000000 -0500
+++ Xorg.0.log-dfp      2007-07-11 16:53:24.000000000 -0500
@@ -11,7 +11,7 @@
 Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
-(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 11 16:48:39 2007
+(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 11 16:53:04 2007
 (==) Using config file: "/etc/X11/xorg.conf"
 (==) ServerLayout "Default Layout"
 (**) |-->Screen "Default Screen" (0)
@@ -381,9 +381,11 @@
 (==) NVIDIA(0): Default visual is TrueColor
 (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
 (**) NVIDIA(0): Option "NvAGP" "1"
+(**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
 (**) NVIDIA(0): Option "RenderAccel" "true"
 (**) NVIDIA(0): Option "AddARGBGLXVisuals" "True"
 (**) NVIDIA(0): Enabling RENDER acceleration
+(**) NVIDIA(0): ConnectedMonitor string: "DFP"
 (**) NVIDIA(0): Use of NVIDIA internal AGP requested
 (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
 (II) NVIDIA(0):     enabled.
@@ -393,16 +395,19 @@
 (--) NVIDIA(0): Interlaced video modes are supported on this GPU
 (--) NVIDIA(0): Connected display device(s) on GeForce4 MX 440 with AGP8X at
 (--) NVIDIA(0):     PCI:1:0:0:
-(--) NVIDIA(0):     AOC 22LVWk (CRT-0)
 (--) NVIDIA(0):     AOC 22LVWk (DFP-0)
-(--) NVIDIA(0): AOC 22LVWk (CRT-0): 350.0 MHz maximum pixel clock
 (--) NVIDIA(0): AOC 22LVWk (DFP-0): 135.0 MHz maximum pixel clock
 (--) NVIDIA(0): AOC 22LVWk (DFP-0): Internal Single Link TMDS
-(II) NVIDIA(0): Assigned Display Device: CRT-0
+(II) NVIDIA(0): Assigned Display Device: DFP-0
+(WW) NVIDIA(0): No valid modes for "1680x1050"; removing.
+(WW) NVIDIA(0):
+(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
+(WW) NVIDIA(0):     "nvidia-auto-select".
+(WW) NVIDIA(0):
 (II) NVIDIA(0): Validated modes:
-(II) NVIDIA(0):     "1680x1050"
-(II) NVIDIA(0): Virtual screen size determined to be 1680 x 1050
-(--) NVIDIA(0): DPI set to (90, 88); computed from "UseEdidDpi" X config
+(II) NVIDIA(0):     "nvidia-auto-select"
+(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
+(--) NVIDIA(0): DPI set to (55, 65); computed from "UseEdidDpi" X config
 (--) NVIDIA(0):     option
 (--) Depth 24 pixmap format is 32 bpp
 (II) do I need RAC?  No, I don't.
@@ -447,7 +452,7 @@
        [37] -1 0       0x0000ff80 - 0x0000ff9f (0x20) IX[B]
        [38] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
        [39] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
-(II) NVIDIA(0): Setting mode "1680x1050"
+(II) NVIDIA(0): Setting mode "nvidia-auto-select"
 (II) Loading extension NV-GLX
 (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
 (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture

-- 
Kirk Strauser
-------------- next part --------------
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister at builder3)  Thu Nov  9 17:55:20 PST 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
# Section "Extensions"
# 	Option  "Composite" "Enable"
# EndSection

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Microsoft Trackball Optical"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
# 	Load	"dri"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Microsoft Trackball Optical"
    Driver         "mouse"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Buttons" "9"
    Option         "Emulate3Buttons" "false"
    Option         "CorePointer"
EndSection

Section "Monitor"
    Identifier     "VA721"
    DisplaySize     338    270
    Option         "DPMS"
	HorizSync	30-80
	VertRefresh	60
EndSection

Section "Monitor"
    Identifier     "AOC 22"
    # DisplaySize     338    270
    Option         "DPMS"
	# HorizSync	30-80
	# VertRefresh	60
EndSection

Section "Device"
    Identifier     "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
    Driver         "nvidia"
    # Option         "CrtcNumber" "0"
    # Option         "FlatPanel" "True"
    # Option         "ConnectedMonitor" "DFP"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
    Monitor        "AOC 22"
    DefaultDepth    24
    Option         "NvAGP" "1"
    Option         "RenderAccel" "true"
    # Option         "UseEDIDDpi" "false"
    # Option         "UseEDIDFreqs" "false"
	# Option		"BackingStore" "true"
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050"
    EndSubSection
EndSection


Section "Screen"
    Identifier     "Default Screen (old)"
    Device         "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
    Monitor        "VA721"
    DefaultDepth    24
    Option         "NvAGP" "1"
    Option         "RenderAccel" "true"
    Option         "UseEDIDDpi" "false"
	Option		"UseEDIDFreqs" "false"
	# Option		"BackingStore" "true"
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024"
    EndSubSection
EndSection



More information about the ubuntu-users mailing list