LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Tvout nvidia ti4200 (https://www.linuxquestions.org/questions/linux-newbie-8/tvout-nvidia-ti4200-215810/)

rufuz 08-10-2004 10:56 AM

Tvout nvidia ti4200
 
I can't get my tv out to work. I have read some of the other threads, but none of them could help me. Here is my XF86Config-4 file:

# 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)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
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" "no"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1024x768"
HorizSync 31.5-48.5
VertRefresh 40-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# 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 "Generic VGA"
Driver "vga"
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia"

Option "TwinView"

Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TwinViewOrientaion" "Clone"
Option "MetaModules" "1024x768,800x600"
Option "ConnectedMonitor" "crt,TV"
Option "TVOutFormat" "S-VIDEO"
Option "TVStandard" "PAL-B"
Option "DPMS" "on"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection

// end of file!

If I use this XF86Config-4 file my monitor and my tv monitor will get black and I have to kill X to remove this to get X to work, but then TV-out don't work at all:

Option "TwinView"

Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TwinViewOrientaion" "Clone"
Option "MetaModules" "1024x768,800x600"
Option "ConnectedMonitor" "crt,TV"
Option "TVOutFormat" "S-VIDEO"
Option "TVStandard" "PAL-B"

I hope any one can help me!! btw i use mandrake 10.0!

bruno buys 08-10-2004 09:04 PM

Install nvtv and try with it.

Mega Man X 08-10-2004 11:38 PM

According to nvidia's manual, you are supposed to use Metamodes in pairs, here is an example:

Code:

Option        "MetaModes"        "1024x768,1024x768;800x600,800x600;640x480,640x480"

arbaal 09-10-2004 02:54 AM

In addition to mail I have sent to Rufuz, I want to share my solution with all of you :)

I have RedHat 9 and Nvidia GeForce 4 MX 440 with SVIDEO and COMPOSITE tvouts.

I have read a lot documents concerning tv-out and twinview and after some time I managed to have it working porperly :)

Here is my XF86Config file , I hope it will help with all those who had any problems :) It works without any need of nvtv ;>

Content of file (with comments):

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "AGPTwinView"
Screen "ScreenAGPTwinView" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"

#Font path is very important. Many Linux/Unix distributions use
# such settings: "unix/:-1", but my RH9 didn't like this so I have change it to:

FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
# Load the glx module.
Load "glx"
Load "extmod"
Load "type1"
Load "freetype"
Load "fbdevhw"
EndSection

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#NoTrapSignals
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
#DontZap
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
#DontZoom
# This allows the server to start up even if the
# mouse device can't be opened/initialised.
Option "allowmouseopenfail"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "250 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"

#change your keyboard layout to whatever you like :)

Option "XkbLayout" "pl"

EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"

#TV FULLSCREEN modes for 768x576 in 50 kHz
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# be sure to replace these values with values appropriate for your
# monitor!
Identifier "MyMonitor"
VendorName "Philips"
ModelName "Philips 109S"
DisplaySize 340 250
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 160.0

EndSection

Section "Device"

# update this with the PCI id of your card. Consult the output
# of the 'lspci' command. The BusID is usually optional when
# only using one graphics card.
# sample twinview setup
Identifier "NV AGP TwinView"
Driver "nvidia"
VendorName "nvidia"
BoardName "GeForce 4 MX 440"
Option "TwinView" "Yes"
#I have added these two lines myself after reading another manual ;)
#without them this damn thing didn't work.
#If you use flat panel you should use: BFP-0 instead of CRT-0 or TV-0
Option "HorizSync" "CRT-0: 30-95, TV-0: 30-50"
Option "VertRefresh" "CRT-0: 50-160, TV-0: 60"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"

#Here you can choose how to manage the twin view display
#Clone means that your TV will show the same display as your CRT monitor
#for other possibilities check the readme file (it comes with the drivers)

Option "TwinViewOrientation" "Clone"

#If you use SViodeo tvout you should change this option to SVIDEO
#otherwise leave it unchanged

Option "TVOutFormat" "Composite"

#here you select TV standard used in your region
#for example: PAL-G, NTSC-M etc. check the readme for full list

Option "TVStandard" "PAL-B"

#Here you select meta screen modes for your twinview
#don't ask me what it means, I dont understand it fully, but I know
# that you have to give pairs of screen resolutions. In readme I have found
#that it can be done like this: "1280x1024,1280x1024; 1024x768,1024x768"
#but in practice it didn't work for me :( So I have read more and found out
#that we can specify these settings like here:

Option "MetaModes" "CRT-0: 1024x768, TV-0: 1024x768"

#remember to change CRT or TV to BFG if one of your display is flat panel

Option "ConnectedMonitor" "crt,TV"

EndSection

Section "Screen"
Identifier "ScreenAGPTwinView"
Device "NV AGP TwinView"
Monitor "MyMonitor"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x400"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

bruno buys 09-10-2004 07:03 AM

Do you keep twinview on all the time?

The monitor and tv resolutions are the same?

Will I damage my tv by choosing wrong vert/horiz syncs?

thanks!

Mega Man X 09-10-2004 07:09 AM

Quote:

Originally posted by bruno buys
Do you keep twinview on all the time?

The monitor and tv resolutions are the same?

Will I damage my tv by choosing wrong vert/horiz syncs?

thanks!

I keep twinview on all the time. My monitor and TV are working on the same resolution: 1024x768. It's not possible to read a single character on the TV though... so web-surfing or anything else is impossible. However, to watch movies and stuff is just perfect... go figure :).

About damaging the TV, well, good question. Been using for like a year till now, no problems yet...

arbaal 09-10-2004 07:16 AM

>Do you keep twinview on all the time?

yes I keep it all the time, because I am lazy ;>

>The monitor and tv resolutions are the same?

Yes, but you can set TV and CRT at different resolutions in option:

Option "MetaModes" "CRT-0: 1024x768, TV-0: 1024x768"
by changing it to something like that:

Option "MetaModes" "CRT-0: 1280x1024, TV-0: 1024x768"

or

Option "MetaModes" "CRT-0: 1280x1024, TV-0: 1024x768; CRT-0: 1024x768, TV-0: 1024x768 "


>Will I damage my tv by choosing wrong vert/horiz syncs?

I don't know,but when I was trying to get it working, I done such thing (wrong syncs) and my tv is still ok. (the only thing wrong wast that the TwinView didn't work ;>)

>thanks!
No problem, You are welcome.

[NL]_Target 09-22-2004 05:28 AM

Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection

Remove that from your config and try again


All times are GMT -5. The time now is 12:46 PM.