LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2004, 05:42 PM   #1
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
FX5700 TV out


I'm using Fedora Core 2 and I'd like to connect my nVidia FX5700 card with my TV.
I tried using yanc, but this didn't work cause of x.org.
I just bought my first TV in 4 years, so I really don't know how to start.
(I do know it's PAL)

xorg.conf:

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"

EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "be"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "AOC SPECTRUM 7Vlr & 7VlrA & 7Vlr+ & 7VlrA+"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 130.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

================================================== ===============

I know how to use Vi, but I have no clue how to start(and I did read a lot ).
Since I never used a GUI before, I'm a complete noob on this part.

Thanks.
 
Old 08-03-2004, 06:11 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 69
There are two ways to do this: TwinView and Xinerama.

Full-ish instructions come with the nvidia driver from http://www.nvidia.com/object/linux.html

TwinView can put the same image on your monitor and TV, or just select one of the two outputs. Unfortunately, you have to run them both at the same refresh rate.

Xinerama puts the screens next to each other to make one big virtual desktop; unfortunately, you can only use acceleration on one output with Xinerama.

I have an nVidia GFX 5800 and a PAL TV (UK => PAL-I).
I've got the TV more-or-less working in TwinView. The only problem I get is that the colours go wobbly on my TV; this is probably a timing problem, please see my other thread for details.

Here's some bits of my XFree86Config file; It's a bit rough but I hope it may come in useful. Please post details if you can get it working properly!

Code:
Section "Monitor"
  DisplaySize  250 190
  HorizSync    15-50
  Identifier   "Monitor[0]"
  ModelName    "1451"
  Option       "DPMS"
  VendorName   "CTX"
  VertRefresh  45-90
#  VertRefresh  1-1200
  UseModes     "Modes[0]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline      "1024x768" 61.89 1024 1096 1200 1344 768 769 772 794
  Modeline      "800x600" 51.73 800 840 928 1024 600 681 684 628
  Modeline      "640x480" 36.97 640 720 784 832 480 481 484 505
  ModeLine "1024x768PAL"  25 1024 1056 1152 1256 768 836 838 960
EndSection

Section "Screen"
  DefaultDepth 16
  SubSection "Display"
    Depth      16
    Modes      "1024x768PAL" "800x600" "640x480"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
        Identifier "Device[0]"
        Driver  "nvidia"
        VendorName "NVidia"
        BoardName "NVIDIA GeForce FX (generic)"
        Option "TwinView" "true"
        Option "TVStandard" "PAL-I" # PAL-N shows as B/W
        Option "TVOutFormat" "SVIDEO"
        Option "SecondMonitorHorizSync" "15.625" # "28-50" # 28-33 def
        Option "SecondMonitorVertRefresh" "50-60"
        Option "TwinViewOrientation" "CLONE"
        Option "ConnectedMonitor" "TV" # Use CRT,TV for both
# TODO: Use NULL to indicate not to use a given mode. Can also add +x+y offset
# Can also add @mode for panning resolution
        Option "MetaModes" "1024x768,1024x768;800x600,800x600;640x480,640x480"
EndSection
 
Old 08-05-2004, 10:42 AM   #3
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Original Poster
Rep: Reputation: 225Reputation: 225Reputation: 225
Thanks.

Results so far:
*I have a sharp TV image, but only in black and white.
*It turns off my monitor.

My xorg.conf for the TV connection now looks like this:

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"

EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "be"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "AOC SPECTRUM 7Vlr & 7VlrA & 7Vlr+ & 7VlrA+"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 130.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
Option "TwinView" "true"
Option "TVStandard" "PAL-B"
Option "TVOutFormat" "SVIDEO"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TwinViewOrientation" "CLONE"
Option "ConnectedMonitor" "TV"
Option "MetaModes" "1024x768,1024x768;800x600,800x600;640x480,640x480"

EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

*********************************************

So what I still need are colours and a working monitor at the same time.
Any ideas?

Thanks.

Last edited by jens; 08-05-2004 at 10:45 AM.
 
Old 08-05-2004, 02:32 PM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 69
Your monitor is turning off because you don't have it listed as a connected device:
Code:
 Option "ConnectedMonitor" "CRT,TV"
In order for that to work, X will need to know about a resolution that is valid both for the monitor and the TV. TVs generally operate at either 50Hz (PAL) or 60Hz (NTSC), whereas monitors tend to have a lower bound at around 60-70Hz, so there may not even be a valid mode for both devices (in which case, you'll need to use Xinerama not TwinView).

As for the colours, you may have a wrong TVStandard (see the driver doc for a list of valid settings), or your ModeLine itself might be wrong. You might improve the signal somewhat by adding a custom mode-line (hence the 1024x768PAL mode in my previous post), and referencing it in the screen section.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Nvidia GeForce FX5700 Driver not working in mandrake linux Gandalflinux Linux - Hardware 8 12-31-2005 04:56 AM
issues with boot and nvidia geforce fx5700 mrchaos Linux - Hardware 1 04-18-2005 08:49 PM
No red on second monitor on GeForce FX5700 ktvoelker Linux - Hardware 0 01-17-2005 11:22 PM
GeForce FX5700 noobtesting Linux - Hardware 1 04-28-2004 05:31 PM
newbie driver help needed: AMD64/nforce3_150/fx5700 linuxlinus Linux - Hardware 1 02-01-2004 08:36 PM


All times are GMT -5. The time now is 08:30 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration