true-binary.com

code is poetry…

nvidia tv out on debian (ubuntu – linux) —

I have tryed a long time to get a video singal out of my nVidia GeForce 8600 GT (rev a1) and finally it works.

I use a 10 meter S-VHS cable to my sony bravia 40″ 16:9 flat screen

here’s the lspci:

05:00.0 VGA compatible controller: nVidia Corporation GeForce 8600 GT (rev a1)

And here’s my xorg.conf:

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

Section “Files”
RgbPath         “/usr/X11R6/lib/X11/rgb”
EndSection

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

Section “ServerFlags”
Option         “Xinerama” “0”
EndSection

Section “InputDevice”

# generated from default
Identifier     “Mouse0″
Driver         “mouse”
Option         “Protocol” “auto”
Option         “Device” “/dev/psaux”
Option         “Emulate3Buttons” “no”
Option         “ZAxisMapping” “4 5″
EndSection

Section “InputDevice”

# generated from default
Identifier     “Keyboard0″
Driver         “kbd”
EndSection

Section “Monitor”
Identifier     “Monitor0″
VendorName     “Unknown”
ModelName      “LG L1970HR”
HorizSync       30.0 – 83.0
VertRefresh     56.0 – 75.0
Option         “DPMS”
EndSection

Section “Monitor”
Identifier     “Monitor1″
VendorName     “Unknown”
ModelName      “TV-0″
HorizSync       28.0 – 33.0
VertRefresh     43.0 – 72.0
EndSection

Section “Device”
Identifier     “Device0″
Driver         “nvidia”
VendorName     “NVIDIA Corporation”
EndSection

Section “Device”
Identifier     “Videocard0″
Driver         “nvidia”
VendorName     “NVIDIA Corporation”
BoardName      “GeForce 8600 GT”
BusID          “PCI:5:0:0″
Screen          0
EndSection

Section “Device”
Identifier     “Videocard1″
Driver         “nvidia”
VendorName     “NVIDIA Corporation”
BoardName      “GeForce 8600 GT”
BusID          “PCI:5:0:0″
Screen          1
EndSection

Section “Screen”
Identifier     “Screen0″
Device         “Videocard0″
Monitor        “Monitor0″
DefaultDepth    24
Option         “TwinView” “0”
Option         “TwinViewXineramaInfoOrder” “CRT-0″
Option         “metamodes” “CRT: nvidia-auto-select +0+0″
Option         “TVStandard” “PAL-B”
Option         “TVOutFormat” “SVIDEO”
SubSection     “Display”
Depth       24
EndSubSection
EndSection

Section “Screen”

# Removed Option “metamodes” “TV: nvidia-auto-select +0+0″
# Removed Option “metamodes” “TV: nvidia-auto-select @1440×900 +0+0″
# Removed Option “metamodes” “TV: nvidia-auto-select @1440×900 +0+0; TV: nvidia-auto-select @1440×900 +0+0″
Identifier     “Screen1″
Device         “Videocard1″
Monitor        “Monitor1″
DefaultDepth    24
Option         “TwinView” “0”
Option         “metamodes” “TV: 1440×900 +0+0″
Option         “TVStandard” “PAL-B”
Option         “TVOutFormat” “SVIDEO”
SubSection     “Display”
Depth       24
EndSubSection
EndSection

Two lines are very important:

Option         “TVStandard” “PAL-B”
Option         “TVOutFormat” “SVIDEO”

If these options aren’t set the picture will flicker.

OK, now restart your X server and there should be a signal on the line.

Now the next question was how to get any application on tv out?

Here’s the answer:

DISPLAY=:0.1 ‘command’

for example:

DISPLAY=:0.1 vlc /home/user/video.mp4

have fun, cheerio – chaos


Categorised as: android | computing | data-flows | desktops | linux | ubuntu



Leave a Reply