Jump to content

TV-out problem


josk
 Share

Recommended Posts

Hi,

 

I just installed new nvidia drivers and now Im confused how to setup tv-out. Do I have to edit xorg.conf somehow???

 

Here is my xorg.conf

 

# File generated by XFdrake.

 

# **********************************************************************

# Refer to the XF86Config man page for details about the format of

# this file.

# **********************************************************************

 

Section "Files"

    # Multiple FontPath entries are allowed (they are concatenated together)

    # By default, Mandrake 6.0 and later now use a font server independent of

    # the X server to render fonts.

    FontPath "unix/:-1"

EndSection

 

Section "ServerFlags"

    #DontZap # disable <Crtl><Alt><BS> (server abort)

    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

    AllowMouseOpenFail # allows the server to start up even if the mouse does not work

EndSection

 

Section "Module"

    Load "dbe" # Double-Buffering Extension

    Load "v4l" # Video for Linux

    Load "extmod"

    Load "type1"

    Load "freetype"

    Load "glx" # 3D layer

EndSection

 

Section "InputDevice"

    Identifier "Keyboard1"

    Driver "keyboard"

    Option "XkbModel" "pc105"

    Option "XkbLayout" "fi"

    Option "XkbOptions" "compose:rwin"

EndSection

 

Section "InputDevice"

    Identifier "Mouse1"

    Driver "mouse"

    Option "Protocol" "ExplorerPS/2"

    Option "Device" "/dev/mouse"

    Option "ZAxisMapping" "4 5"

EndSection

 

Section "Monitor"

    Identifier "monitor1"

    VendorName "Plug'n Play"

    ModelName "CM766"

    HorizSync 31-96

    VertRefresh 50-180

   

    # TV fullscreen mode or DVD fullscreen output.

    # 768x576 @ 79 Hz, 50 kHz hsync

    ModeLine "768x576"    50.00  768  832  846 1000  576  590  595  630

   

    # 768x576 @ 100 Hz, 61.6 kHz hsync

    ModeLine "768x576"    63.07  768  800  960 1024  576  578  590  616

EndSection

 

Section "Device"

    Identifier "device1"

    VendorName "nVidia Corp."

    BoardName "NVIDIA GeForce4 (generic)"

    Driver "nvidia"

    Option "DPMS"

EndSection

 

Section "Screen"

    Identifier "screen1"

    Device "device1"

    Monitor "monitor1"

    DefaultColorDepth 24

   

    Subsection "Display"

        Depth 8

        Virtual 1280 1024

    EndSubsection

   

    Subsection "Display"

        Depth 15

        Virtual 1280 1024

    EndSubsection

   

    Subsection "Display"

        Depth 16

        Virtual 1280 1024

    EndSubsection

   

    Subsection "Display"

        Depth 24

        Virtual 1280 1024

    EndSubsection

EndSection

 

Section "ServerLayout"

    Identifier "layout1"

    InputDevice "Keyboard1" "CoreKeyboard"

    InputDevice "Mouse1" "CorePointer"

    Screen "screen1"

EndSection

Link to comment
Share on other sites

Yes you need to edit the xorg.conf. You need to enable twinview.

 

Section "Device"

    Identifier "device1"

    VendorName "nVidia Corp."

    BoardName "NVIDIA GeForce4 (generic)"

    Driver "nvidia"

    Option "Twinview" "TRUE"

    Option "CursorShadowYOffset" "2"

    Option "CursorShadowXOffse" "4"

    Option "CursorShadow" "TRUE"

    Option "ConnectedMonitor" "CRT , TV"

    Option "AllowGLXWithComposite" "true"

    Option "SecondMonitorHorizSync" "30-50"

    Option "DigitalVibrance" "0"

    Option "MetaModes" "1024x768 +0+0, 800x600 @800x768 -800+0; 1024x768 +0+0,800x600 @1024x768 +0+0; 1024x768 +0+0, NULL;  NULL, 800x600"

    Option "SecondMonitorVertRefresh" "60"

    Option "RenderAccel" "TRUE"

    Option "TransparentIndex" "0"

    Option "NvAGP" "3"

    Option "TwinViewOrientation" "Clone"

    Option "CursorShadowAlpha" "64"

EndSection

 

Here is mine (only the device sections). Use in your device section what you need. Alternatively use: http://www.sorgonet.com/linux/nv-online/ to generate the code.

Link to comment
Share on other sites

A good starting point should be in '/usr/share/doc/NVIDIA_GLX1.0/' this will give you very thorough documentation on the ins and outs of the drivers. How to set up for 'Twinview' TVout etc. You definitely need to edit your xconfig files. Quite a bit of trial and error is also needed. A friend not to be underestimated is in '/var/log' and is Xorg.0.log

 

I could give you step by step as I have just learned all this from the docs, but that way you probably wouldn't know how to understand what was going on. :D

 

Best of luck. It does work.

Link to comment
Share on other sites

Thanks for the answers. That Nvidia code generator site was great. Now my twinview mode works almost like it should be.

 

Is there way to get videos playing on tv always at fullscreen mode???

 

Oh and one problem, what can cause this? When I start computer that "console" screen looks OK on tv and monitor. When X starts picture is also OK. But when I close the X back to the "console" screen its mesh the tv and monitor screen with some black and white blocks???

Edited by josk
Link to comment
Share on other sites

It's probably because your monitor is an LCD screen. Use the option: Option "ConnectedMonitor" "CRT" under section device (even when you have an LCD). If that doesn't work change the /etc/lilo.conf from vga = 788 to vga = normal (don't forget to run lilo after the change)

 

You mean playing 16:9 movies playing at fullscreen? If you use mplayer there is the option monitoraspect (mplayer -monitoraspect 16:9 <name of movie>. With the nvidia-settings application you can overscan the screen. Last, most tv's allow you to adjust ratio's. Using these 3 options I can play most movies fullscreen.

 

Or if you mean just fullscreen put fs=yes in the mplayer config.

Link to comment
Share on other sites

Fullscreen I mean that on the monitor video is windowed and on the tv it is in fullscreen. Is this possible? That is the way I get it work in my winblows.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...