Ralfs
TV-out
Configuration:
Fedora Core 6
VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
nVidia Linux Display Driver - x86 1.0-9629 Release Date: November 7, 2006
$ Xorg -version
X Window System Version 7.1.1
$ xvinfo
X-Video Extension version 2.2
NVidia TV-out

NVidia's proprietary driver (see http://www.nvidia.com/object/linux.html) supports TV out with X at 800x600 and 640x480 resolutions

If using the card connected to a monitor and TV simultaneously the best way to configure it is to combine the instructions for setting up the TV with those for setting up multiple X screens on one card.

If the TV is set up as the secondary display (Screen 1), you can make a video player use it by setting

DISPLAY=:0.1.
# run your gui app:
gmplayer movie.mpeg

TwinView (Appendix I) might be a viable alternative, but it may be more tricky to ensure a video player uses the TV in full-screen mode unless it's the primary device.

Configuration commands
# install
sh NVIDIA-Linux-x86-1.0-9629-pkg1.run --extract-only

# Graphical
nvidia-settings
# or
nvidia-settings -q all
nvidia-settings -q RefreshRate

# comand line
nvidia-xconfig
# example:
nvidia-xconfig --query-gpu-info

# info
cat /proc/driver/nvidia/version
# ...
Configuration of /etc/X11/xorg.conf
Section "Device"
	# ...
	Option      "RenderAccel" "1"
	# TV Out Setup
	Option      "TVStandard" "PAL-B"
	Option      "TVOutFormat" "SVIDEO"
	Option      "TVOverScan" "0.6"
	Option      "ConnectedMonitor" "TV" # Add this if you're having problems
EndSection	

The value of TVStandard should be adjusted to your region. It defaults to NTSC-M.

Valid entries for TVOutFormat are "SVIDEO" or "COMPOSITE". The driver will try to autodetect this value, but if it does not work fill it in manually.

You will likely have to tweak the TVOverScan option value to best suit your TV. Valid values range from 0.0 (no overscan) to 1.0 (overscan as much as possible). This helps to eliminate a black border from showing up around the picture on your TV.

My working /etc/X11/xorg.conf

In nVidia TV-Out configuration run nvidia-settings go to X Server Display Configuration, set Separate X Screen. (Xinerama is OFF). Set resolutions for each display, etc. ...

Default

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

### Not at all: Section "Module"
                    
### ...

Section "Monitor"
        Identifier   "Monitor0"
        ModelName    "Monitor 1280x1024"
 ### Comment all HorizSync and VertSync values to use DDC:
# ralfs
#       HorizSync    31.5 - 79.0
        HorizSync    31.5 - 85.0
        VertRefresh  50.0 - 90.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nv"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024" "1280x960" "1280x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

nVidia

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

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

### ...

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG F720P"
    HorizSync       30.0 - 98.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "1280x1024 +0+0; 1280x960 +0+0; 1280x800 +0+0; 1152x864 +0+0; 1152x768 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0; 1280x1024_85 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

nVidia TV-Out

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

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

### ...

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG F720P"
    HorizSync       30.0 - 98.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: xconfig, VertRefresh source: xconfig
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "TV-0"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "CRT: 1280x1024 +0+0; CRT: 1280x960 +0+0; CRT: 1280x800 +0+0; CRT: 1152x864 +0+0; CRT: 1152x768 +0+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0; CRT: 640x480 +0+0; CRT: 1280x1024_85 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "TV: 800x600 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
Links