DVI and S-Video Setup in Linux X-Windows with Nvidia GeForce FX5500

My Freevo] box setup continues and I am using an Nvidia GeForce FX 5500 as the video ouput device. It took me a little while to get the s-video output working right for my TV, so I figured I would share my /etc/X11/xorg.conf settings for others who might need the config. This config allows me to simultaneously use a “dual head” setup with my LCD panel being the primary “left” desktop and my TV being the secondary “right” desktop. I simply scroll off the right edge of the LCD to get to the TV output. Once I complete setup, I will change the conf file to use only the S-video out.

NOTE: I have installed the Nvidia driver package from http://www.nvidia.com/object/unix.html

Section “ServerLayout”
       Identifier  “Simple Layout”
       Screen 0 “Screen0″ 0 0
       Screen 1 “Screen1″ RightOf “Screen0″
   InputDevice “Mouse0″ “CorePointer”
   InputDevice “Keyboard0″ “CoreKeyboard”
EndSection

Section “Files”
        RgbPath      “/usr/X11R6/lib/X11/rgb”
        FontPath     “unix/:7100″
EndSection

Section “Module”
        Load  “dbe”
        Load  “extmod”
        Load  “fbdevhw”
        Load  “glx”
        Load  “record”
        Load  “freetype”
        Load  “type1″
        Load  “dri”
EndSection

Section “InputDevice”
        Identifier  “Keyboard0″
        Driver      “kbd”
        Option      “XkbModel” “pc105″
        Option      “XkbLayout” “us”
EndSection

Section “InputDevice”
        Identifier  “Mouse0″
        Driver      “mouse”
        Option      “Protocol” “IMPS/2″
        Option      “Device” “/dev/input/mice”
        Option      “ZAxisMapping” “4 5″
        Option      “Emulate3Buttons” “yes”
EndSection

Section “Monitor”
        Identifier   “Monitor0″ #LCD
        VendorName   “Monitor Vendor”
        ModelName    “Dell 1701FP (Digital)”
        HorizSync    31.0 - 80.0
        VertRefresh  56.0 - 76.0
        Option       “dpms”
EndSection

Section “Monitor”
        Identifier   “Monitor1″ #TV
        HorizSync 30-95
        VertRefresh 60
EndSection

Section “Device”
        Identifier  “Videocard0″
        Driver       “nvidia”
        VendorName  “Videocard vendor”
        BoardName   “NVIDIA GeForce FX 5500″
        BusID       “PCI:01:00:00″
        Screen      0
EndSection

Section “Device”
        Driver          “nvidia”
        Identifier      “Videocard1″
        Screen 1
        Option          “TVOutFormat” “SVIDEO” #or SVIDEO etc
        Option          “TVStandard” “NTSC” #or NTSC, PAL-I for uk etc
        Option          “ConnectedMonitor” “TV”
        BusID           “PCI:01:00:00″ #adjust using ‘lspci’ or cat /proc/pci
EndSection

Section “Screen”
        Identifier “Screen0″
        Device     “Videocard0″
        Monitor    “Monitor0″
        DefaultDepth     24
        SubSection “Display”
                Viewport   0 0
                Depth     16
                Modes    “800×600″ “640×480″
        EndSubSection
        SubSection “Display”
                Viewport   0 0
                Depth     24
                Modes    “1280×1024″ “1152×864″ “1024×768″ “800×600″ “640×480″
        EndSubSection
EndSection

Section “Screen”
        Device “Videocard1″
        Identifier “Screen1″
        Monitor “Monitor1″
        DefaultDepth 16
        SubSection “Display”
               Depth 16
               Modes “800×600″
        EndSubSection
EndSection

Section “DRI”
        Group        0
        Mode         0666
EndSection

Leave a Reply