AVS Forum banner
1 - 5 of 5 Posts

·
Registered
Joined
·
4 Posts
Discussion Starter · #1 ·
I would like to connect the TV with my PC via Component, but Nvidia ignores my xorg.conf and sets the resolution to 1024x768. Now I get a "4:3" output with big black borders.


Compared with my former composite cable, the video quality with the new component cable is much better and the "TVStandard" "HD1080i" / "HD720P" work but I don't know what else I should change in my xorg.conf to get a correct resolution.


I think the "TVOutFormat" should be also changed from former "COMPOSITE" to "COMPONENT", right?


My OS:

Ubuntu 7.04


My GPU:

Nvidia 7950 GT


My TV:

Panasonic TH-42PA60E

Resolution: 852x480

Pixel: 2556x480

Possible input signals for Component (Y, PB, PR): 480, 576, 720, 1080

HorizSync: 15,73 - 45,00

VertRefresh: 50,00 - 60,00


My Nvidia settings:

TV-0

Separate X screen

Mode Name: nvidia-auto-select

Panning: 1024x768

MetaMode: "TV:nvidia-auto-select +0+0"


This is my xorg.conf:

Code:
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        # Load  "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "de"
        Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "stylus"
        Option          "Device"        "/dev/wacom"    # Change to 
                                                        # /dev/input/event
                                                        # for USB
        Option          "Type"          "stylus"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "eraser"
        Option          "Device"        "/dev/wacom"    # Change to 
                                                        # /dev/input/event
                                                        # for USB
        Option          "Type"          "eraser"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "cursor"
        Option          "Device"        "/dev/wacom"    # Change to 
                                                        # /dev/input/event
                                                        # for USB
        Option          "Type"          "cursor"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "Device"
        Identifier      "Device[0]" # "Generic Video Card"
        Driver          "nvidia" # "vesa"
        BusID           "PCI:5:0:0"
        # NEU
        Screen 0
        Option          "ConnectedMonitor" "MD30219PH"
        # NEU ENDE
EndSection

# NEU
Section "Device" 
        Driver          "nvidia" 
        Identifier      "Device[1]" 
        Screen 1 
        Option          "TVOutFormat" "COMPONENT" #"COMPOSITE" #or "S-VIDEO" etc 
        Option          "TVStandard" "HD1080i" #"HD720P" #"PAL-G" #or NTSC, PAL-B etc 
        Option          "ConnectedMonitor" "TV" 
        BusID           "PCI:5:0:0" # adjust using 'lspci' or cat /proc/pci # "PCI:1:0:0"
EndSection
# NEU ENDE

Section "Monitor"
        Identifier      "MD30219PH"
        Option          "DPMS"
        HorizSync       64-80 # 30-83 # 64
        VertRefresh     60-75 # 56-76 # 60
EndSection

# NEU
Section "Monitor" 
        Identifier      "TV" 
        HorizSync       15-45 # 31.47 # 60
        VertRefresh     50-60 # 59.94 # 56-76 
EndSection
# NEU ENDE

Section "Screen"
        Identifier      "Screen[0]" # "Default Screen"
        Device          "Device[0]" # "Generic Video Card"
        Monitor         "MD30219PH"
        DefaultDepth    24
        # NEU BERYL
        Option         "AddARGBGLXVisuals" "True"       
        # NEU BERYL ENDE        
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

# NEU
Section "Screen" 
        Device          "Device[1]" 
        Identifier      "Screen[1]" 
        Monitor         "TV" 
        DefaultDepth    24 
        # NEU BERYL     
        # Option         "AddARGBGLXVisuals" "True"
        # NEU BERYL ENDE
        SubSection "Display" 
                Depth 24 
                Modes "852x480" 
        EndSubSection
EndSection
# NEU ENDE

Section "ServerLayout"
        Identifier      "Simple Layout" # "Default Layout"
        # NEU
        Screen 0        "Screen[0]" 
        Screen 1        "Screen[1]" RightOf "Screen[0]"
        # NEU ENDE      
        # Screen        "Default Screen"        
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "stylus"        "SendCoreEvents"
        InputDevice     "cursor"        "SendCoreEvents"
        InputDevice     "eraser"        "SendCoreEvents"
EndSection

Section "DRI"
        Mode    0666
EndSection
THX for your HELP!
 

·
Registered
Joined
·
6 Posts
I've just spent two days going through the same torture that you no doubt are experiencing. What I've discovered is as follows:


1. Yes, your TVOutFormat should be set to "COMPONENT" if this is, in fact, your connection. If set to "COMPOSITE", you will get a blue tinted screen with lots of what looks like static.


2. Your modelines will be ignored- you must choose one of the predefined TV Out modes (at least with current driver). These include 1920x1080 and 1280x720 for widescreen. You can check your xorg.log for more detail on the driver's supported modes.


3. You will also need to set your TVStandard to "HD1080i" or "HD720p" (or 480, etc.) as appropriate.


4. Unfortunately, you will not be able to fine-tune modeline to adjust for overscan, etc., therefore if you have problems you can either choose another more flexible connection type such as VGA out or wait for a new driver like me. To compensate for overscan, I've set MythTV to use a customer resolution and offset for GUI and TV playback.


Best of luck!
 

·
Registered
Joined
·
4 Posts
Discussion Starter · #3 ·
THX Sprak but I've solved it by myself. Nice tips!


I've read some xorg.conf and Nvidia driver documentations but the only TVOutFormat options are "Composite" and "S-Video". There is no "Component" option mentioned. I got with "Composite", "S-Video" and even with "Component" a perfect signal. You only need TVOutFormat if you would like to force an option. So I've decided to disable (#) TVOutFormat and everything looks perfect!


This is my new xorg.conf and everything works great now!

Code:
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        # Load  "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "de"
        Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "stylus"
        Option          "Device"        "/dev/wacom"    # Change to 
                                                        # /dev/input/event
                                                        # for USB
        Option          "Type"          "stylus"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "eraser"
        Option          "Device"        "/dev/wacom"    # Change to 
                                                        # /dev/input/event
                                                        # for USB
        Option          "Type"          "eraser"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "cursor"
        Option          "Device"        "/dev/wacom"    # Change to 
                                                        # /dev/input/event
                                                        # for USB
        Option          "Type"          "cursor"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "Device"
        Identifier      "Device[0]" # "Generic Video Card"
        Driver          "nvidia" # "vesa"
        BusID           "PCI:5:0:0"
        # NEW
        Screen 0
        Option          "ConnectedMonitor" "MD30219PH"
        # NEW END
EndSection

# NEW
Section "Device" 
        Driver          "nvidia" 
        Identifier      "Device[1]" 
        Screen 1 
        # Option        "TVOutFormat" "COMPOSITE" #or "S-VIDEO" etc 
        Option          "TVStandard" "HD576p" #"HD720p" #"HD1080i" #"HD480p" #"PAL-G" #or NTSC, PAL-B etc 
        Option          "ConnectedMonitor" "TV" 
        BusID           "PCI:5:0:0" # adjust using 'lspci' or cat /proc/pci # "PCI:1:0:0"
EndSection
# NEW END

Section "Monitor"
        Identifier      "MD30219PH"
        Option          "DPMS"
        HorizSync       64-80 # 30-83 # 64
        VertRefresh     60-75 # 56-76 # 60
EndSection

# NEW
Section "Monitor" 
        Identifier      "TV" 
        HorizSync       15-45 # 31.47 # 60
        VertRefresh     50-60 # 59.94 # 56-76 
        # ModeLine      "1080i" 74.52 1920 1952 2016 2208 1080 1084 1096 1126 -hsync -vsync interlace
        # DisplaySize   320 180
EndSection
# NEW END

Section "Screen"
        Identifier      "Screen[0]" # "Default Screen"
        Device          "Device[0]" # "Generic Video Card"
        Monitor         "MD30219PH"
        DefaultDepth    24
        # NEW BERYL
        Option         "AddARGBGLXVisuals" "True"       
        # NEW BERYL END 
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

# NEW
Section "Screen" 
        Device          "Device[1]" 
        Identifier      "Screen[1]" 
        Monitor         "TV" 
        DefaultDepth    24 
        # NEW BERYL     
        # Option         "AddARGBGLXVisuals" "True"
        # NEW BERYL END
        SubSection "Display" 
                Depth 24 
                Modes "576p" "720x576" #"720p" "1280x720" #"480p" "480i" "576i" "720i" "1080i"
        EndSubSection
EndSection
# NEW END

Section "ServerLayout"
        Identifier      "Simple Layout" # "Default Layout"
        # NEW
        Screen 0        "Screen[0]" 
        Screen 1        "Screen[1]" RightOf "Screen[0]"
        # NEW END       
        # Screen        "Default Screen"        
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "stylus"        "SendCoreEvents"
        InputDevice     "cursor"        "SendCoreEvents"
        InputDevice     "eraser"        "SendCoreEvents"
EndSection

Section "DRI"
        Mode    0666
EndSection
 

·
Registered
Joined
·
6 Posts
Hi:


I'm glad you've got it working, but for the benefit of any others who haven't, I must respectively disagree that "TVOutFormat" does not have a "Component" option. At least in my set up, until I discovered this the card was only sending a composite signal. Perhaps the difference is that I have an NVidia card with s-video to component adapter.


Later,

Sprak
 

·
Registered
Joined
·
1,498 Posts

Quote:
Originally Posted by Sprak /forum/post/0


Hi:


I'm glad you've got it working, but for the benefit of any others who haven't, I must respectively disagree that "TVOutFormat" does not have a "Component" option. At least in my set up, until I discovered this the card was only sending a composite signal. Perhaps the difference is that I have an NVidia card with s-video to component adapter.


Later,

Sprak

That is correct there is a Component option http://us.download.nvidia.com/XFree8...ppendix-h.html What resolution are you running at now? You x.org file is a little confusing since you said your TV only supports a resolution of 852x480.
 
1 - 5 of 5 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top