特殊:Badtitle/NS100:NvidiaTVOut
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/NvidiaTVOut }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/af | • {{#if: php5|Afrikaans| [[::NvidiaTVOut/af|Afrikaans]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/ar | • {{#if: php5|العربية| [[::NvidiaTVOut/ar|العربية]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/az | • {{#if: php5|azərbaycanca| [[::NvidiaTVOut/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/bcc | • {{#if: php5|جهلسری بلوچی| [[::NvidiaTVOut/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/bg | • {{#if: php5|български| [[::NvidiaTVOut/bg|български]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/br | • {{#if: php5|brezhoneg| [[::NvidiaTVOut/br|brezhoneg]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/ca | • {{#if: php5|català| [[::NvidiaTVOut/ca|català]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/cs | • {{#if: php5|čeština| [[::NvidiaTVOut/cs|čeština]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/de | • {{#if: php5|Deutsch| [[::NvidiaTVOut/de|Deutsch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/el | • {{#if: php5|Ελληνικά| [[::NvidiaTVOut/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/es | • {{#if: php5|español| [[::NvidiaTVOut/es|español]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/fa | • {{#if: php5|فارسی| [[::NvidiaTVOut/fa|فارسی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/fi | • {{#if: php5|suomi| [[::NvidiaTVOut/fi|suomi]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/fr | • {{#if: php5|français| [[::NvidiaTVOut/fr|français]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/gu | • {{#if: php5|ગુજરાતી| [[::NvidiaTVOut/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/he | • {{#if: php5|עברית| [[::NvidiaTVOut/he|עברית]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/hu | • {{#if: php5|magyar| [[::NvidiaTVOut/hu|magyar]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/id | • {{#if: php5|Bahasa Indonesia| [[::NvidiaTVOut/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/it | • {{#if: php5|italiano| [[::NvidiaTVOut/it|italiano]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/ja | • {{#if: php5|日本語| [[::NvidiaTVOut/ja|日本語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/ko | • {{#if: php5|한국어| [[::NvidiaTVOut/ko|한국어]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/ksh | • {{#if: php5|Ripoarisch| [[::NvidiaTVOut/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/mr | • {{#if: php5|मराठी| [[::NvidiaTVOut/mr|मराठी]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/ms | • {{#if: php5|Bahasa Melayu| [[::NvidiaTVOut/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/nl | • {{#if: php5|Nederlands| [[::NvidiaTVOut/nl|Nederlands]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/no | • {{#if: php5|norsk| [[::NvidiaTVOut/no|norsk]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/oc | • {{#if: php5|occitan| [[::NvidiaTVOut/oc|occitan]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/pl | • {{#if: php5|polski| [[::NvidiaTVOut/pl|polski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/pt | • {{#if: php5|português| [[::NvidiaTVOut/pt|português]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/ro | • {{#if: php5|română| [[::NvidiaTVOut/ro|română]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/ru | • {{#if: php5|русский| [[::NvidiaTVOut/ru|русский]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/si | • {{#if: php5|සිංහල| [[::NvidiaTVOut/si|සිංහල]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/sq | • {{#if: php5|shqip| [[::NvidiaTVOut/sq|shqip]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/sr | • {{#if: php5|српски / srpski| [[::NvidiaTVOut/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/sv | • {{#if: php5|svenska| [[::NvidiaTVOut/sv|svenska]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/th | • {{#if: php5|ไทย| [[::NvidiaTVOut/th|ไทย]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/tr | • {{#if: php5|Türkçe| [[::NvidiaTVOut/tr|Türkçe]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/vi | • {{#if: php5|Tiếng Việt| [[::NvidiaTVOut/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/yue | • {{#if: php5|粵語| [[::NvidiaTVOut/yue|粵語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/zh | • {{#if: php5|中文| [[::NvidiaTVOut/zh|中文]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/zh-hans | • {{#if: php5|中文(简体)| [[::NvidiaTVOut/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}NvidiaTVOut}}/zh-hant | • {{#if: php5|中文(繁體)| [[::NvidiaTVOut/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:php5|:NvidiaTVOut|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :NvidiaTVOut/zh | | {{#ifexist: NvidiaTVOut/zh | | {{#ifeq: {{#titleparts:NvidiaTVOut|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:NvidiaTVOut|1|-1|}} | zh | | }}
With this howto for your Nvidia graphic card, you can view X simultaneously on your monitor and TV.
Using TwinView
Backup your xorg.conf
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup Edit your xorg.confgksudo gedit /etc/X11/xorg.conf What follows is for a 1400x900 display. "..." indicates stuff left out. In the "meta modes" option, we indicate that we are not expecting TV by using a NULL. So the resolutions will probably differ for your device, but you modify theDevice
section of your xorg.conf file asSection "Screen" ... Option "TwinView" Option "TVOutFormat" "SVIDEO" Option "TVStandard" "NTSC-M" Option "MetaModes" "1440x900,640x480; 1440x900,NULL; 1024x768,NULL; 800x600,NULL; 640x480,NULL" SubSection "Display" ... Modes "1440x900" "1280x1024" "1024x768" "720x450" "640x480" EndSubSection EndSection Now save it. If you are using an S-Video cable change"COMPOSITE"
to"SVIDEO"
If your TV uses PAL change"NTSC-M"
to"PAL-B"
, or other TVStandard. A modestly comprehensive list is available below. You may also changeMetaModes
to whatever is appropriate for your system! Note: With a Geforce FX 5200 using Ubuntu Edgy I had to add the following to theDevice
section in order for the above to work:Option "ConnectedMonitor" "CRT,TV" Now you need to restart XA more complicated way - Running 2 X-Screens
Some cards are not able to use twinview, or you might not have much luck with the above. This configuration will enable you to run 2 X-Screens (one for the TV, the other one for your monitor) what's very handy if you want to use your PC while watching a movie, or running Media Center software like mythtv. First, backup your original xorg.conf.sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup Opening up the file with the commandgksudo gedit /etc/X11/xorg.conf
, you will first need to edit theDevice
section.Section "Device" Identifier "Device0" Driver "nvidia" Screen 0 Option "NoLogo" "true" Option "RenderAccel" "true" BusID "PCI:02:09:0" EndSection Section "Device" Identifier "Device1" Driver "nvidia" Screen 1 BusID "PCI:02:09:0" EndSection TheNoLogo
andRenderAccel
options are completely optional, but it is very important that you put in theBusID
. You can find this usinglspci
or checking the contents of /var/log/Xorg.0.log. Next, find theMonitor
section and edit it as in the following example.Section "Monitor" Identifier "Monitor" #CRT HorizSync 30-70 VertRefresh 50-140 Option "DPMS" EndSection Section "Monitor" Identifier "Television" #TV HorizSync 30-50 VertRefresh 60 EndSection The Nvidia documentation suggest that you can useHorizSync
values for your TV of 30-50, but I had no luck with that. Runningstartx
with verbose logging can give you the correct values for your television if neither work for you. For your monitor, you can find additional information here Next, find theScreen
section and edit it as in the following example. Naturally, you'll have to supply your ownModelines
depending what what resolutions you want / are supported. This example is about as generic as you can get, however, and will work on many TV and CRT combinations.Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor" DefaultDepth 24 Option "ConnectedMonitor" "CRT" SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Television" DefaultDepth 24 Option "TVOutFormat" "SVIDEO" Option "TVStandard" "NTSC-M" Option "ConnectedMonitor" "TV" SubSection "Display" Depth 24 Modes "640x480" EndSubSection EndSection OtherTVOutFormat
values can beCOMPOSITE
orSVIDEO
, depending on what version of the nvidia drivers you are using (SVIDEO does not work with the 1.0-7667 drivers, do not use the hyphen). The proper value forTVStandard
can be found in the table below. On some systems it is necessary to explicitly set what 'head' that was used with the ConnectedMonitor option. For example 'CRT-0' and 'TV-0'. This is also documented under Multiple X Screens with Nvidia cards. On other systems, specifying this option is known to _prevent_ TV-out from working, possibly with a message like "Unable to find available display devices for screen 1" in Xorg's log/output. Try commenting the ConnectedMonitor lines out if it doesn't work for you. Finally, find theServerLayout
section and set it up as follows. If you prefer, you can useleftof
instead ofrightof
. Other options can be found in the xorg.conf man page.Section "ServerLayout" Identifier "Basic Layout" Screen 0 "Screen0" Screen 1 "Screen1" rightof "Screen0" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" EndSection Now simply restart the X server, and it might actually work. If it doesn't, all errors will be in /var/log/Xorg.0.log, allowing you to find error messages and make the suggested changes.Finding your TVStandard
Due to various historical reasons, there are two main standards; NTSC in the Americas and Japan, and PAL in Europe and much of the rest of the world. Nvidia also supports HDTV standareds such as 1080i and 720p. This list can also be found in Nvidia's ReadMe ||PAL-B||Australia, Belgium, Denmark, Finland, Germany, Guinea, Hong Kong, India, Indonesia, Italy, Malaysia, The Netherlands, Norway, Portugal, Singapore, Spain, Sweden, and Switzerland|| ||PAL-D||China and North Korea|| ||PAL-G||Denmark, Finland, Germany, Italy, Malaysia, The Netherlands, Norway, Portugal, Spain, Sweden, and Switzerland|| ||PAL-H||Belgium|| ||PAL-I||Hong Kong, Ireland, and United Kingdom|| ||PAL-K1||Guinea|| ||PAL-M||Brazil|| ||PAL-N||France, Paraguay, and Uruguay|| ||PAL-NC||Argentina|| ||NTSC-J||Japan|| ||NTSC-M||Canada, Chile, Colombia, Costa Rica, Ecuador, Haiti, Honduras, Mexico, Panama, Puerto Rico, South Korea, Taiwan, United States of America, and Venezuela|| ||HD480i||480 line interlaced|| ||HD480p||480 line progressive|| ||HD720p||720 line progressive|| ||HD1080i||1080 line interlaced|| ||HD1080p||1080 line progressive|| ||HD576i||576 line interlace|| ||HD576p||576 line progressive|| Credits: * kayas80 * Nvidia ReadMe
CategoryHardware CategoryDocumentation
An Alternative Way. (Also complicated)
The problem with the above two methods is that you are likely to experience tearing on the tv display as I did. This is because the graphics card only supports video overlay on one screen at a time and by default chooses the AGP/DVI connection. The method described at [1] chooses a setup that will only display one screen at a time, but nevertheless allows you to, for example, launch a movie on your tv screen and when finished go back to your desktop on your monitor. I find this ideal for my mythtv and desktop setup. A word of advice: The guide describes a script to launch mplayer. In order for this to work, you must change your /etc/X11/Xwrapper.config so that allowed_users=anybody . This might be a security risk.