problem making modelines work

Timothy D. Lenz tlenz at vorgon.com
Sun Jun 28 17:00:40 PDT 2009


I have a old sony tv with RGBHV inputs and am trying to get video out on the VGA port ata rate the TV can handle. I also have a
monitor connected to the DVI port through an adaptor. I ether get the wrong rate to the tv or no video at all. If I try to set
SecondMonitorHorizSync to force the metamode selected it stops sending video to the vga port.

Current xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister at builder63)  Wed May 27 03:15:36 PDT 2009

# http://linux.die.net/man/5/xorg.conf
# http://www.x.org/archive/X11R6.9.0/doc/html/gtf.1.html
# http://www.x.org/archive/X11R6.9.0/doc/html/xorg.conf.5.html

# http://us.download.nvidia.com/XFree86/Linux-x86/185.18.14/README/chapter-15.html
# http://us.download.nvidia.com/XFree86/Linux-x86/185.18.14/README/chapter-16.html
#    TV-Out only
# http://www.avsforum.com/avs-vb/showthread.php?t=847670
# http://ubuntuforums.org/archive/index.php/t-913224.html
# http://linuxjunk.blogspot.com/2007/08/nvidia-tv-out-xorgconf.html
# http://wiki.archlinux.org/index.php/NVIDIA
# http://www.gentoo-wiki.info/Twinview_Example
#   With this configuration using xinerama, DVI is first and VGA is second.

# NOTE: use "CRT" for all analog 15 pin VGA connections (even if you have a flat panel).
#  "DFP" is intended for DVI digital connections only!

Section "ServerLayout"
 Identifier "Layout0"
 Screen      0  "Screen0" 0 0
 InputDevice "Keyboard0" "CoreKeyboard"
 InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
 RgbPath      "/etc/X11/rgb"
 ModulePath   "/usr/lib/xorg/modules"
 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 "InputDevice"
 Identifier "Mouse0"
 Driver  "mouse"
 Option  "Protocol" "auto"
 Option  "Device" "/dev/psaux"
 Option  "Emulate3Buttons" "no"
 Option  "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
 Identifier "Keyboard0"
 Driver  "kbd"
EndSection

#Section "Monitor"
# Identifier "Monitor0"
# VendorName "Unknown"
# ModelName "Unknown"
# HorizSync 28.0 - 33.0
# VertRefresh 43.0 - 72.0
# Option  "DPMS" "false"
# SubSection "Display"
#     Viewport 0 0
#     Depth 24
#     Modes "1024x768" "800x600" "640x480"
# EndSubSection

#EndSection

Section "Monitor"
 Identifier "Sony"
 VendorName "Sony"
 ModelName "KV-20XBR"
 Option  "DPMS" "false"
# HorizSync 15.734 - 15.91
# VertRefresh 59.94
 #  Following modeline for the US 525 line (485 visible lines) standard:
 Modeline "736x485i" 14.16 736 760 824 904 485 491 496 525 Interlace +HSync -Vsync
# Mode "736x485i"
#  DotClock 14.16
#    # hdisp, hsyncstart, hsyncend, htotal
#  HTimings 736 760 824 904
#    # vdisp, vsyncstart, vsyncend, vtotal
#  VTimings 485 491 496 525
#  Flags "Interlace" "-HSync" "-Vsync"
# EndMode
 #  If you want to make a 640x480 screen with a black border you can you use this line:
 Modeline "640x480i" 14.16 640 712 776 904 480 532 537 625 interlace -hsync -vsync
 #  You can centre it by altering the 2nd and 3rd horizontal and vertical values
 #  (this example shifts the picture to the left):
 Modeline "640x480i-s" 14.16 640 728 792 904 480 532 537 625 interlace -hsync -vsync
  # Other settings
 Modeline "640x480ntsci" 11.32  640 646 703 786  480 484 487 525 -hsync -vsync interlace
 Modeline "657x480ntsci" 12.50  657 667 725 792  480 484 487 525 -hsync -vsync interlace
 Modeline "704x480ntsci" 13.34  704 714 776 848  480 484 487 525 -hsync -vsync interlace
 Modeline "720x480ntsci" 13.59  720 727 791 864  480 484 487 525 -hsync -vsync interlace
    Modeline "800x480ntsci" 15.10  800 808 879 960  480 484 487 525 -hsync -vsync interlace
EndSection

#Section "Monitor"
# Identifier "Mits"
# VendorName "Mitsubishi"
# ModelName "WS65905"
# Option "DPMS" "false"
#EndSection

Section "Device"
 Identifier "GeForce 8400GS"
 Driver  "nvidia"
 VendorName "NVIDIA Corporation"
# Option  "ConnectedMonitor" "CRT-0,CRT-1"
EndSection

Section "Screen"
 Identifier "Screen0"
 Device  "GeForce 8400GS"
 Monitor "Sony"
 DefaultDepth 24
 Option  "TwinView" "true"
 Option  "TwinViewOrientation" "Clone"
# Option  "TVOutFormat"  "COMPOSITE"
# Option  "TVOutFormat"  "COMPONENT"
# Option  "TVStandard"  "NTSC-M"
# Option  "TVOverScan"  "0.5"
# Option  "TVDeflicker"  "0"
# Option  "HorizSync"  "28.0 - 33.0"
# Option  "VertRefresh"  "43.0 - 72.0"
# Option  "SecondMonitorHorizSync" "15.734"
# Option  "SecondMonitorHorizSync" "14-16"
# Option  "SecondMonitorVerRefresh" "59.94"
# Option  "MetaModes" "1024x768,1024x768;800x600,800x600;640x480,640x480;512x384,512x384"
# Option  "MetaModes" "800x600,800x600;640x480,640x480"
# Option  "MetaModes" "736x485i,1024x768"
 Option  "MetaModes" "CRT-0:1024x768,CRT-1:736x485i"
EndSection

Section "Extensions"
 Option  "Composite" "Disable"
EndSection




More information about the xorg mailing list