Difference between revisions of "NVIDIA Component Out"

From MythTV Official Wiki
Jump to: navigation, search
(See Also)
(Major cleanup and update to reflect the options within the latest nVidia drivers and new information posted to the mythtv-users list (along with my own personal experiences).)
Line 1: Line 1:
 
[[Category:HOWTO]]
 
[[Category:HOWTO]]
These are the tricks for me in order to get component out to work with a Nvidia card on a MythTv boxNote that doing component out directly from a graphics cards is far from an ideal setup for high definition.  Although some users [http://www.gossamer-threads.com/lists/mythtv/users/243929#243929 report] that "with finally getting the
+
(written for MythTV 0.20 and below)
component out on the Nvidia card to work, I have the best Myth display I have ever had, and that is with using composite, s-video, 3 different VGA transcoders, and finally the component out", in fact utilising a VGA to component transcoder provides higher quality.  Using a television that supports DVI is the best method.  For anyone that does not have a TV capable of DVI or VGA and wants to avoid the expense of a transcoder, this is one option that works.
+
The best high definition set up from an nVidia card is via DVI, HDMI, or VGA to the HD television since those are all progressive and digital (except for VGA).  VGA is in there because it works with your television in much the same manner as it works with your computer monitorWhile component-out directly from a graphics cards provides excellent picture quality over composite or S-Video connection, it does have its share of problems when it is coming from a computer.  However, we are all limited by what inputs our televisions have.
  
I have included a summary of information from the MythTV users list and nvnews.com forums.  You can look there for more detailed answers.  Please edit this page if you find more accurate information and can provide clarification.
+
If VGA, DVI, HDMI, or Component connections are used to connect from your MythTV box to your television, you have to be aware that you will be displaying interlaced video on an progressive display which will introduce issues (that can be '''mostly''' solved) that will be addressed below.
  
This guide assumes a person has the Nvidia drivers loaded and functioning for VGA.
+
Although some users [http://www.gossamer-threads.com/lists/mythtv/users/243929#243929 report] that "with finally getting the
 +
component out on the Nvidia card to work, I have the best Myth display I have ever had, and that is with using composite, s-video, 3 different VGA transcoders, and finally the component out", in fact utilising a VGA to component transcoder provides higher quality.  Using a television that supports DVI is the best method.  For anyone that does not have a TV capable of DVI or VGA and wants to avoid the expense of a transcoder as these can cost upwards of $125US, this is one option that does work.
  
The Nvidia Linux drivers have "TVStandard" and "Modes" that supports component out directly from the card.  No modelines required!  To get it going, look at the following Xorg.conf.  The key line to getting the component out to work is TVStandard.  Note: Component is not a valid "TVStandard" such as SVideo and composite.  The Nvidia README is a great resource for those looking to better understand the options.
+
This guide assumes a person has the Nvidia drivers loaded and functioning for VGA.  I would recommend starting with the latest nVidia drivers.  If you have problems, work your way backwards to the previous driver, and so on, until those problems go away.
 +
 
 +
The Nvidia Linux drivers have "TVStandard" and "Modes" that supports component out directly from the card.  No modelines required!  To get it going, look at the following excerpt from Xorg.conf.  The key line to getting the component out to work is TVStandard.  Note: '''Component is not a valid "TVStandard"''' such as SVideo and composite.  The Nvidia README is a great resource for those looking to better understand the options.  A basic example is shown below, providing the quick-n-easy option for simply uncommenting the two options for the resolution you would like to use while leaving the rest commented out.
  
 
     Section "Screen"
 
     Section "Screen"
Line 13: Line 16:
 
         Device        "NVIDIA Corporation NV43 [GeForce 6600]"
 
         Device        "NVIDIA Corporation NV43 [GeForce 6600]"
 
         Monitor        "Visual Sensa"
 
         Monitor        "Visual Sensa"
         DefaultDepth    24
+
         Option    "UseEDID" "FALSE"
         '''Option        "TVStandard" "HD1080i"'''
+
        Option    "ConnectedMonitor" "TV"
         SubSection     "Display"
+
         Option     "TvOutFormat" "Component"
            Depth      24
+
        #------------480p Group-----------------------------
            '''Modes      "1920x1080"'''
+
        #Option    "TVStandard" "HD480p"
         EndSubSection
+
        #Option    "metamodes" "CRT: 720x480 +0+0"
 +
         #------------720p Group-----------------------------
 +
        Option    "TVStandard" "HD720p"
 +
         Option     "metamodes" "CRT: 1280x720 +0+0"  
 +
        #------------1080i Group-----------------------------
 +
        #Option    "metamodes" "CRT: 1920x1080 +0+0"  
 +
         #Option    "TVStandard" "HD1080i"
 +
        Option      "AddARGBGLXVisuals" "True"
 
     End Section
 
     End Section
  
Line 25: Line 35:
 
         HorizSync      15.0 - 620.0
 
         HorizSync      15.0 - 620.0
 
         VertRefresh    15.0 - 600.0
 
         VertRefresh    15.0 - 600.0
         Option        "DPMS"
+
         # You probably do not want your screen blanking while you are watching a recording
        Option "ConnectedMonitor" "TV"
+
        # Option        "DPMS"
 
     EndSection
 
     EndSection
  
There's a [[bug]] in the Nvidia drivers:
+
    SubSection  "Display"
If you try to do video at 1080i, X will lock up.  This is a bug on all Nvidia versions up through and including, 8756.  To workaround that, launch nvidia-settings.  Make sure that 'Sync to VBlank' under Video Texture Adaptor is NOT checked.  Finally, the nvidia-settings need to be loaded everytime X starts.  I have a line in my startup group that runs the command:
+
        Depth    24
nvidia-settings -l
+
        Modes    "720x480" "1280x720" "1920x1080"
I think there is a cleaner way to do this with a line in your xorg but I don't know how to do that. Please edit this WIKI if you know what that line is.
+
    EndSubSection
 +
 
 +
There's a [[bug]] in the Nvidia drivers prior to and including 8756:
  
You can put the following in your .Xsession file instead of having nvidia-settings in your startup group:
+
In nVidia drivers releases prior to and including 8756, if you try to do video at 1080i, X will lock up.  This problem does not exist with 9746.  To workaround this issue under the other drivers, launch the "nvidia-settings" GUI and make sure that 'Sync to VBlank' under Video Texture Adaptor is NOT checked.  The nvidia-settings also needs to be loaded everytime X starts, and this can be done ini a variety of ways depending on the distribution you are using (check with your distribution's documentation).  Some have placed it in their startup group to run the command "nvidia-settings -l" and others have placed the following in their .Xsession file instead of having nvidia-settings in your startup group:
  
 
/usr/bin/nvidia-settings --assign="XVideoBlitterSyncToVBlank=0" \\
 
/usr/bin/nvidia-settings --assign="XVideoBlitterSyncToVBlank=0" \\
Line 41: Line 53:
 
That's it.  Component out from Mythtv without a transcoder.
 
That's it.  Component out from Mythtv without a transcoder.
  
I haven't tested the "Option "ConnectMonitor" "TV" I added that last minute after realizing the component out wouldn't work unless I disconnected my monitor and connected the television directly.    I know that connecting the component through an A/V reciever without that line is a bad idea.  Unless the card detects a television is connected directly to it, the card won't enable the TV-Out encoder.
+
As of nVidia driver version 9746, the option "ConnectMonitor" is no longer used.  In previous versions of the driver, you would set "Option "ConnectMonitor" "TV" to tell the driver to enable the TV-Out encoder.  Unless the card detects a television at start up (the television must be on before turning on the computer), the card won't enable the TV-Out encoder.
  
 
=== Known problems ===
 
=== Known problems ===
  
1).  Overscan.  There is no way to compensate for the television's overscan since the TVStandard "HD1080i" overrides all modelines from what I can tell and there is no overscan setting in nvidia-settings when 1080i is selected.  A workaround to this problem is to set the gui size in the MythTV general settings.  I had to cut more than 100 pixals out of my picture for both height and width.  Then check play video at the size of gui.  Others have complained about artifacts in the screen but I don't see anything so this works for me.
+
1).  Overscan.  There is no way to compensate for the television's overscan since the TVStandard "HD1080i" overrides all modelines. There is no overscan setting in nvidia-settings when 1080i is selected.  A workaround to this problem is to set the gui size in the MythTV general settings.  I had to cut more than 100 pixals out of my picture for both height and width.  Then check play video at the size of gui.  Others have complained about artifacts in the screen.
  
2).  Interlacing.  I have interlacing artifacts.  They are minor, only a line or two at the top of the screen during scenes with significant motion but it is annoying none the less.  
+
2).  Interlacing.  Displaying interlaced video on an HD display will result in artifacts.  It is best to enable the checkbox next to "de-interlace video" and select "Bob" as the method.  This will result in an upscaled picture that should look pretty good (not excellent).  It will, however, require some CPU processing to do the interlaced->progressive transition, but not a lot.  If you have a decently powered frontend system, you won't even notice the difference.  You will, however, periodically see some artifacts during fast movement, but you have to consider that your source image is interlaced and it is being modified to be displayed on a progressive screen.
  
3).  The bugThe bug in Nvidia is not likely to get fixedThere aren't currently many people that have this setup so Nvidia doesn't have the bug high on their development listI got that from their Nvidia Linux forum.
+
A big warning:
 +
The quality from component out is actually quite good when compared to composite or S-Video outputComposite and S-Video output is always interlaced video, so your standard definition TV broadcasts will look as they normally doUp-scaling the video from interlaced to progressive (regardless of the resolution (480p, 720p, 1080i) and you may see a difference in the picture quality with SD television recordingsDisplaying DVD's or video from MythVideo (depending on the quality of the source) will look fantastic.
  
A big warning:
+
=== References ===
The quality coming from the component out is not as good as other options.  Here is a post if you are considering buying a 6200 for component out capability.
+
Here is a post if you are considering buying a 6200 for component out capability.
 
http://www.nvnews.net/vbulletin/showthread.php?t=67261&highlight=6200+component
 
http://www.nvnews.net/vbulletin/showthread.php?t=67261&highlight=6200+component
  
 +
The snippet of the Xorg.conf was obtained from Mitchell Gore's posting: http://www.gossamer-threads.com/lists/mythtv/users/245570?search_string=MythTV%20%2B%20HD;#245570
 
=== See Also ===
 
=== See Also ===
  

Revision as of 18:32, 29 January 2007

(written for MythTV 0.20 and below) The best high definition set up from an nVidia card is via DVI, HDMI, or VGA to the HD television since those are all progressive and digital (except for VGA). VGA is in there because it works with your television in much the same manner as it works with your computer monitor. While component-out directly from a graphics cards provides excellent picture quality over composite or S-Video connection, it does have its share of problems when it is coming from a computer. However, we are all limited by what inputs our televisions have.

If VGA, DVI, HDMI, or Component connections are used to connect from your MythTV box to your television, you have to be aware that you will be displaying interlaced video on an progressive display which will introduce issues (that can be mostly solved) that will be addressed below.

Although some users report that "with finally getting the component out on the Nvidia card to work, I have the best Myth display I have ever had, and that is with using composite, s-video, 3 different VGA transcoders, and finally the component out", in fact utilising a VGA to component transcoder provides higher quality. Using a television that supports DVI is the best method. For anyone that does not have a TV capable of DVI or VGA and wants to avoid the expense of a transcoder as these can cost upwards of $125US, this is one option that does work.

This guide assumes a person has the Nvidia drivers loaded and functioning for VGA. I would recommend starting with the latest nVidia drivers. If you have problems, work your way backwards to the previous driver, and so on, until those problems go away.

The Nvidia Linux drivers have "TVStandard" and "Modes" that supports component out directly from the card. No modelines required! To get it going, look at the following excerpt from Xorg.conf. The key line to getting the component out to work is TVStandard. Note: Component is not a valid "TVStandard" such as SVideo and composite. The Nvidia README is a great resource for those looking to better understand the options. A basic example is shown below, providing the quick-n-easy option for simply uncommenting the two options for the resolution you would like to use while leaving the rest commented out.

   Section "Screen"
       Identifier     "Default Screen"
       Device         "NVIDIA Corporation NV43 [GeForce 6600]"
       Monitor        "Visual Sensa"
       Option     "UseEDID" "FALSE"
       Option     "ConnectedMonitor" "TV"
       Option     "TvOutFormat" "Component"
       #------------480p Group-----------------------------
       #Option     "TVStandard" "HD480p"
       #Option     "metamodes" "CRT: 720x480 +0+0"
       #------------720p Group-----------------------------
       Option     "TVStandard" "HD720p"
       Option     "metamodes" "CRT: 1280x720 +0+0" 
       #------------1080i Group-----------------------------
       #Option     "metamodes" "CRT: 1920x1080 +0+0" 
       #Option     "TVStandard" "HD1080i" 
       Option      "AddARGBGLXVisuals" "True"
   End Section
   Section "Monitor"
       Identifier     "Visual Sensa"
       HorizSync       15.0 - 620.0
       VertRefresh     15.0 - 600.0
       # You probably do not want your screen blanking while you are watching a recording
       # Option         "DPMS"
   EndSection
   SubSection  "Display"
       Depth     24
       Modes    "720x480" "1280x720" "1920x1080"
   EndSubSection

There's a bug in the Nvidia drivers prior to and including 8756:

In nVidia drivers releases prior to and including 8756, if you try to do video at 1080i, X will lock up. This problem does not exist with 9746. To workaround this issue under the other drivers, launch the "nvidia-settings" GUI and make sure that 'Sync to VBlank' under Video Texture Adaptor is NOT checked. The nvidia-settings also needs to be loaded everytime X starts, and this can be done ini a variety of ways depending on the distribution you are using (check with your distribution's documentation). Some have placed it in their startup group to run the command "nvidia-settings -l" and others have placed the following in their .Xsession file instead of having nvidia-settings in your startup group:

/usr/bin/nvidia-settings --assign="XVideoBlitterSyncToVBlank=0" \\ --assign="XVideoTextureSyncToVBlank=0" --assign "SyncToVBlank=0"

That's it. Component out from Mythtv without a transcoder.

As of nVidia driver version 9746, the option "ConnectMonitor" is no longer used. In previous versions of the driver, you would set "Option "ConnectMonitor" "TV" to tell the driver to enable the TV-Out encoder. Unless the card detects a television at start up (the television must be on before turning on the computer), the card won't enable the TV-Out encoder.

Known problems

1). Overscan. There is no way to compensate for the television's overscan since the TVStandard "HD1080i" overrides all modelines. There is no overscan setting in nvidia-settings when 1080i is selected. A workaround to this problem is to set the gui size in the MythTV general settings. I had to cut more than 100 pixals out of my picture for both height and width. Then check play video at the size of gui. Others have complained about artifacts in the screen.

2). Interlacing. Displaying interlaced video on an HD display will result in artifacts. It is best to enable the checkbox next to "de-interlace video" and select "Bob" as the method. This will result in an upscaled picture that should look pretty good (not excellent). It will, however, require some CPU processing to do the interlaced->progressive transition, but not a lot. If you have a decently powered frontend system, you won't even notice the difference. You will, however, periodically see some artifacts during fast movement, but you have to consider that your source image is interlaced and it is being modified to be displayed on a progressive screen.

A big warning: The quality from component out is actually quite good when compared to composite or S-Video output. Composite and S-Video output is always interlaced video, so your standard definition TV broadcasts will look as they normally do. Up-scaling the video from interlaced to progressive (regardless of the resolution (480p, 720p, 1080i) and you may see a difference in the picture quality with SD television recordings. Displaying DVD's or video from MythVideo (depending on the quality of the source) will look fantastic.

References

Here is a post if you are considering buying a 6200 for component out capability. http://www.nvnews.net/vbulletin/showthread.php?t=67261&highlight=6200+component

The snippet of the Xorg.conf was obtained from Mitchell Gore's posting: http://www.gossamer-threads.com/lists/mythtv/users/245570?search_string=MythTV%20%2B%20HD;#245570

See Also

MythUser list [1] and [2]

How to article on getting component out to work. No problems with overscan with latest nVidia drivers.