LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-26-2005, 04:11 PM   #1
alexpmcmurphy
LQ Newbie
 
Registered: Aug 2005
Distribution: Slackware 12.2 since 10.1
Posts: 4

Rep: Reputation: 0
nVidai tv out question


i was wondering if some one could help me get tv out working on my slackware box i have a nvidia gforce fx 5200. i can see the text before i start X just fine but when i start X i see a purpleish screen that looks like some sort of screen you get before you blow the dust out of a nintendo cartrage. im pretty sure that it has something to do with my xorg.conf file but ive search the nvidia site and the forums and played with the options for the past 4 or 5 hours and i cant get it working. if someone could take a look at my xorg.conf and make any suggestions it would be greatly appriciated.

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "glx"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "NoFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "NoLogo" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
Option "NvAGP" "3" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ConnectedMonitor" # <str>
#Option "ConnectedMonitors" # <str>
Option "TVStandard" "NTSC-M"
#Option "TVOutFormat" "SVIDEO"
#Option "RenderAccel" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "TwinView" "True"
#Option "TwinViewOrientation" # <str>
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
#Option "UseInt10Module" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "CIOverlay" # [<bool>]
#Option "ForceEmulatedOverlay" # [<bool>]
#Option "TransparentIndex" # <i>
#Option "OverlayDefaultVisual" # [<bool>]
#Option "NvEmulate" # <i>
#Option "NoBandWidthTest" # [<bool>]
#Option "CustomEDID-CRT-0" # <str>
#Option "CustomEDID-CRT-1" # <str>
#Option "CustomEDID-DFP-0" # <str>
#Option "CustomEDID-DFP-1" # <str>
#Option "CustomEDID-TV-0" # <str>
#Option "CustomEDID-TV-1" # <str>
#Option "TVOverScan" # <f>
#Option "IgnoreDisplayDevices" # <str>
#Option "MultisampleCompatibility" # [<bool>]
#Option "RegistryDwords" # <str>
#Option "RegistryBinary" # <str>
#Option "NoPowerConnectorCheck" # [<bool>]
#Option "AllowDFPStereo" # [<bool>]
#Option "XvMCUsesTextures" # [<bool>]
#Option "HorizSync" # <str>
#Option "VertRefresh" # <str>
#Option "AllowGLXWithComposite" # [<bool>]
#Option "RandRRotation" # [<bool>]
#Option "ExactModeTimingsDVI" # [<bool>]
#Option "Coolbits" # <i>
#Option "AllowDDCCI" # [<bool>]
#Option "ConstantFrameRateHint" # [<bool>]
#Option "LoadKernelModule" # [<bool>]
#Option "ClearCube" # [<bool>]
#Option "PredefinedTimings" # <i>
#Option "EmulatedOverlaysTimerMs" # <i>
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV34 [GeForce FX 5200]"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

any help would be greatly appriciated
_________________
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had -Torvalds Linus
 
Old 09-26-2005, 05:14 PM   #2
lixy
Member
 
Registered: Apr 2004
Posts: 120

Rep: Reputation: 15
I don't really get what methodyou used to get tv-out. Some app may be?
I tried a couple of tools to get it working vainly. I found that the best way is to include some sections in the your X configuration file.
Here's the section that I added to my XFConfig86-4
Code:
	# TV Twinview
	Option "TwinView" "1"
	Option "SecondMonitorHorizSync" "30-50"
	Option "SecondMonitorVertRefresh" "60"
	Option "TwinViewOrientation" "Clone"
	Option "TVOutFormat" "COMPOSITE"
	Option "ConnectedMonitor" "DFP,TV"
	Option "TVStandard" "PAL-B"
	Option "MetaModes" "1680x1050 @1680x1050, 1680x1050 @1680x1050; 1024x768 @1024x768,1024x768 @1024x768; 800x600 @800x600,800x600 @800x600; 640x480 @640x480,640x480 @640x480"
I couldn't [CODE]
The following (first google hit ) should be enough to get you up and running.

I hope this helps.
 
Old 09-27-2005, 11:14 AM   #3
spindles
Member
 
Registered: May 2005
Location: New Zealand
Distribution: Now Ubuntu 16.04
Posts: 154

Rep: Reputation: 15
You said "any help..."-- the following is a bit random but I hope it helps.


You didn't say whether you were using a monitor as well as a tv: If you are, you could search these forums for "xinerama" and "twinview".

Sometimes you need to put your card into the xorg or xfree86 config twice -- i.e. one for each output device, e.g. crt monitor and tv.
Here is an example -- notice that one is Device 0 and one is Device 1:

Section "Device"
BoardName "GeForce FX 5700VE"
BusID "1:0:0"
Driver "nvidia"
Identifier "Device[0]"
Screen 0
Option "Rotate" "off"
VendorName "NVidia"
EndSection

Section "Device"
BoardName "GeForce FX 5700VE"
BusID "1:0:0"
Driver "nvidia"
Identifier "Device[1]"
Option "TVStandard" "PAL-B"
Option "ConnectedMonitor" "TV"
Option "TVOutFormat" "SVIDEO"
Screen 1
VendorName "NVidia"
EndSection

Then you can also write the details in your config file for Monitor 0 and Monitor 1.
Notice also there is Screen 0 and Screen 1 to go with them.

The routine seems to be to specify a (or two) Device, Monitor, Screen and Display.
Of course you need valid modes also (see below).

From your config file...
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"

I'm not sure that this "SecondMonitor" will be doing any good if you have only the one monitor and it's your tv. And I think MetaModes are for splitting a big desktop over two monitors.

In any case you need valid modes: I didn't see a "modes" section from your config.
A mode is a resolution (X and Y axes in pixels) plus a refresh rate, plus a whole lot of other numbers that go with them.
(A free program called gtf will generate the "other numbers" if you tell it the resolution and refresh rate. search for "gtf".)
X will try to detect a valid mode for whatever is plugged in to your box -- but X can only do this to a limited extent.
Not all hardware can be reliably interrogated by X. (On these forums you will see people saying that not all hardware even tells X the truth.)

Seems to me there are some problems getting valid modes for a TV -- for one thing some of them are valid but give a bad aspect ratio -- but do a search in these forums for something like "valid modes, tv out".

Here are mine: but just for an example of a modes section. These are not cunningly selected TV modes.
Personally, I had to postpone the TV out business because it messes up my framebuffer and I haven't understood the workaround yet.
The modes below at 65, 66, 67, 68 were my attempt to get a signal to my tv that would work with a little tv-out adaptor that I bought.
(It annoyed me that I had to get that adaptor because my video card has a TV-out -- but, like I said, an nvidia framebuffer problem.)

Section "Modes"
Identifier "Modes[0]"
Modeline "1280x1024" 93.04 1280 1352 1488 1696 1024 1025 1028 1055
Modeline "800x600" 36.88 800 832 912 1024 600 601 604 621
Modeline "800x600" 44.13 800 840 920 1040 600 601 604 624
Modeline "640x480" 23.06 640 656 720 800 480 481 484 497
Modeline "640x480" 27.74 640 664 728 816 480 481 484 500
Modeline "1024x768_65.00" 69.71 1024 1080 1184 1344 768 769 772 798
Modeline "1024x768_66.00" 71.63 1024 1080 1192 1360 768 769 772 798
Modeline "1024x768_67.00" 72.71 1024 1080 1192 1360 768 769 772 798
Modeline "1024x768_68.00" 73.89 1024 1080 1192 1360 768 769 772 799
Modeline "1024x768_70.00" 76.16 1024 1080 1192 1360 768 769 772 800
Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806
EndSection


Here is a snippet from a forum (either from Linux Questions or an nvidia site) about valid tv modes:
___________________________
Try adding this to your config:
HorizSync 10-60
VertRefresh 40-60
ModeLine "720x576x50i" 12.58 720 752 792 824 576 589 592 605 interlace

Unfortunately you will get incorrect aspect ratio with that resolution:-( and noboby knows how to set up a 768x576 resolution, there must be an exclusion in the driver, something like: if width=768 return "not a valid TV mode":-)
Reply::
I'm sort of skirting the aspect ratio problem by putting "DisplaySize 400 225" in my Monitor section. This at least lets MythTV and mplayer get the sizing right. I'll give that ModeLine a go and let you know how I get on!
___________________________

That's enough random and poorly aimed stuff from me.
Good luck!

Last edited by spindles; 09-27-2005 at 11:16 AM.
 
Old 09-28-2005, 09:48 PM   #4
Gunde
LQ Newbie
 
Registered: Sep 2005
Location: Sweden
Distribution: Xandros
Posts: 1

Rep: Reputation: 0
Hi.

To start with i a newbie to, so dont expect anything advanced from me

I use Xandros with a Geforce TI4600 and had the same problem. Then i found YanC42 @ http://yanc.sourceforge.net/ and it solved my problem

If you try yanc you recognice the things i`ll explain below. I left all options at default values besides the ones below. Remember to run yanc as root, and if you get some lang error just download the separate Yanc.jar file and replace the old one.

Under "Screen" tab:
"Screen mode" to twinview
"2nd screen orientation" to clone
flipped "screen types, 2nd screen" to tv and then back to automatic (dont know if it makes any difference but a friend of mine changed it to tv and he got problems)

Under "Resolution" tab:
Marked "Available resolutions" to the desktop resolution i was running (marked only one alternative)
Changed "2nd screen - Maximum resolution" to 800x600 (I`ve read somewhere thats the limit for tv-out, some cards can manage 1024x768 but not mine)

Then i saved the settings and restarted X.

And voila.... Tv-Out!!

I Hope this will help you
Regards Gunde

*edit* When i tried 1024x768 resolution i got a blue grayish tv screen to

Last edited by Gunde; 09-28-2005 at 09:55 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 04:23 AM
NVidai drivers The-Plug Linux - Newbie 9 07-15-2005 11:50 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
Question 1 Firewall Log Question 2 Network Monitor Soulful93 Linux - Networking 4 08-04-2004 11:05 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration