[LIVE] TV-Out on nVidia GeForce 8400M GT (Sony Vaio Laptop)
#1
Hi All,

I have installed the latest live edition of XBMC on my old Sony Vaio laptop. It's up and running and works great on the built in LCD - great job to everyone involved!

I'd now like to configure it to use the TV-Out on the gfx card (nVidia Geforce 8400M GT).

Ideally I'd love to have the XBMC interface running on the TV-Out port and perhaps a console on the LCD. But I would be happy to have just the TV-Out or TWINVIEW in clone mode.

Whatever is easiest and gets my videos on the TV (I'm still one of the few people in the world who does not have a modern TV with HDMI or DVI or even VGA!) Sad

Here is my attempt at configuring /etc/X11/xorg.conf :

Code:
Section "ServerLayout"
    Identifier     "Simple Layout"
        Screen      0  "Screen[0]"
        Screen      1  "Screen[1]" RightOf "Screen[0]"    
        #Screen       0  "Screen[0]"

    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
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     "Monitor[0]" #FLAT PANEL
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier       "Monitor[1]" #TV
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync      30-50
    VertRefresh    60
EndSection

Section "Device"
    Identifier     "Device[0]"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
    screen         0
    #Option         "TwinView" "true"
EndSection

Section "Device"
    Driver         "nvidia"
    Identifier     "Device[1]"
    Screen         1
    Option       "TwinView" "true"
    Option         "TVOutFormat" "Composite"
    Option         "TVStandard"  "PAL-I"
    Option         "TwinViewOrientation" "RightOf"
    Option         "ConnectedMonitor" "TV"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24
    Option         "NoLogo" "False"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Section "Screen"
    Device         "Device[1]"
    Identifier     "Screen[1]"
    Monitor        "Monitor[1]"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24
        Modes      "800x600" "640x480"
    EndSubsection
EndSection

The nVidia logo flashes up on screen then the screen goes black and xbmc shows up on the LCD.

Cheers,
-Shaun
Reply
#2
OK - I now have nVidia Twin View working in Clone mode! Hopefully this will help other people with nVidia cards.

The xorg.conf so far is:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder75)  Tue Dec  8 21:04:28 PST 2009


Section "ServerLayout"
    Identifier     "Simple Layout"
    Screen      0  "Screen[0]" 0 0
    Screen      1  "Screen[1]" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
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"
#FLAT PANEL
    Identifier     "Monitor[0]"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Monitor"
#TV
    Identifier     "Monitor[1]"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 50.0
    VertRefresh     50.0
EndSection

Section "Device"
    Identifier     "Device[0]"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device[1]"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24
    Option         "NoLogo" "False"
    Option         "TwinView" "True"
    Option         "TwinViewOrientation" "Clone"
    Option         "MetaModes" "nvidia-auto-select, nvidia-auto-select"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen[1]"
    Device         "Device[1]"
    Monitor        "Monitor[1]"
    DefaultDepth    24
    Option         "TVOutFormat" "composite"
    Option         "TVStandard" "PAL-I"
    Option         "ConnectedMonitor" "TV"
    Option         "TwinView" "True"
    Option         "TwinViewOrientation" "Clone"
    Option         "UseEDID" "False"
    Option         "NoTwinViewXineramaInfo" "True"
    Option         "TVOverscan" "0.0"
    Option         "MetaModes" "nvidia-auto-select, nvidia-auto-select"
    SubSection     "Display"
        Depth       24
        Modes      "800x600" "640x480"
    EndSubSection
EndSection

The main thing to note is the need to duplicate the twinview settings across the devices!

Out standing problems!

1. The TV picture is in black and white! Despite what a lot of people in other forums think! This is not a connection problem and does not need nasty hacking of your connecting cable. It's a nVidia bug!

It seems the saturation is set to 0 zero for some reason.

I know that app nvidia-settings can be used to generate a nvidia-settings-rc file but that needs to be run in an xsession and I haven worked out how to do that. Sad

Any help would be appreciated.

2. The TV image stretches of the screen. I haven't a clue as to what is causing that yet.

-Shaun
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] TV-Out on nVidia GeForce 8400M GT (Sony Vaio Laptop)0