Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
perfect tv resolution for nvidia how do i get it
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lennert
n00b
n00b


Joined: 03 May 2005
Posts: 49
Location: netherlands

PostPosted: Sun Feb 04, 2007 12:59 pm    Post subject: perfect tv resolution for nvidia how do i get it Reply with quote

I'm trying to get my tv-out to work as perfect as it would if I hook up a dvd-player but I can't get it at the right screensize. The Modes "800x600" "720x576" are both a bit off. I tried overscan but it does nothing. The 800x600 is too small (lots of black around the desktop) and 720x576 is too big, the edges are cut off. What can I do?

The relevent stuff of xorg.conf (I have 2 seperate desktops so I can play Kaffeine on the TV and just have another desktop to work on.

Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   Screen      1  "Screen1" LeftOf "Screen0"
   InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1" "AlwaysCore"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Monitor"
   #DisplaySize     400   300   # mm
   Identifier   "Monitor0"
   VendorName   "CPQ"
   ModelName    "COMPAQ P1100"
 ### Comment all HorizSync and VertSync values to use DDC:
   HorizSync    30.0 - 121.0
   VertRefresh  50.0 - 160.0
   Option       "DPMS"
EndSection

Section "Monitor"
   Identifier "Monitor1"
   VendorName "Sony"
   Modelname "TVtoestel"
   HorizSync    30-50
        VertRefresh  60
#        Option      "TVStandard" "PAL-B"
#   Option      "TVOverScan" "0.6"
   #Modeline "800x600"
   #Modeline "720×576" 40.00 800 840 968 1056 600 601 605 628
EndSection


Section "Device"
    Identifier  "GeForce out 1"
    Driver      "nvidia"
    Option      "RenderAccel" "true"
    BusID       "AGP:1:0:0"
    Screen       0
EndSection

Section "Device"
   Identifier  "GeForce out 2"
   Driver      "nvidia"
   Option      "RenderAccel" "true"
   BusID       "AGP:1:0:0"
   Screen       1
   Option "ConnectedMonitor" "TV"
    Option      "TVStandard" "PAL-B"
EndSection

Section "Screen"
   DefaultDepth 24
   Identifier "Screen0"
   Device     "GeForce out 1"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth    16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes  "1280x1024"
   EndSubSection
EndSection

Section "Screen"
         Identifier "Screen1"
    Defaultdepth 24
         Device "Geforce out 2"
         Monitor "Monitor1"
         SubSection "Display"
            Depth 24
              Modes "800x600" "720x576"  "788x576"
      Option      "TVOverScan" "0.6"
      ViewPort    0 0
        EndSubSection
   
 EndSection



Any Idea which resolutions to try?
_________________
'nkee?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55459
Location: 56N 3W

PostPosted: Sun Feb 04, 2007 2:11 pm    Post subject: Reply with quote

lennert,

Tell us about the TV standard your TV expects. Then you can write a modeline to suit.
If its a European domestic analogue TV it will want a 625 line, 50Hz, 2:1 interlaced signal, with 576 active lines of 768 pixels each.

Looking at your commented modelines, none of them specify an interlaced output.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lennert
n00b
n00b


Joined: 03 May 2005
Posts: 49
Location: netherlands

PostPosted: Sun Feb 04, 2007 2:20 pm    Post subject: Reply with quote

Thanks NeddySeagoon
Its PAL-B (Netherlands) just a normal analogue interlaced 4:3 TV nothing fancy. I'm using the composite out of my Geforce2 MX 400. Even the windows Nvidia driver gets it wrong (not that I wanted to use windoze for watching tv...)

In section monitor i tried
Code:
 ModeLine "720x576i" 13.875  720 744 808 888  576 581 586 625 -hsync -vsync interlace
But the edges still get cut off should I even work on the vertical and horizontal sync in the monitor section?
_________________
'nkee?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55459
Location: 56N 3W

PostPosted: Sun Feb 04, 2007 3:02 pm    Post subject: Reply with quote

lennert,

Lets decode your modeline into the actual video timing signals it generates for the TV.
Code:
ModeLine "720x576i" 13.875  720 744 808 888  576 581 586 625 -hsync -vsync

Your pixel clock of 13.875MHz gives each pixel a period of 72 nS. For 720 pixels, thats 51.89 uS against a specified active line time of 52uS, so thats ok. The complete line time of 888 pixels is exactly 64uS, which is spot on.

From this, its clear that your TV overscans in normal off air operation but you can't tell because you cant see the before and after, as you can with a PC and TV. Thats actually fairly normal, since viewers complain bitterly if the image does not fill the screen. On the other hand, they don't notice the cut off.

As the line time is right and the vertical timing is in terms of lines, that just has to be right.
Code:
emerge xvidtune
and play with the timing while you watch the picture. When you get some numbers you like, put them into your modeline.

So, Xorg is ok, the problem is with your TV.

edit
nS == nano Seconds or 10^-9 seconds
uS == micro seconds or 10^-6 seconds
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lennert
n00b
n00b


Joined: 03 May 2005
Posts: 49
Location: netherlands

PostPosted: Mon Feb 05, 2007 2:12 am    Post subject: Reply with quote

NeddySeagoon,

First thanks a lot cause I think I get it. The cutoff is normal, am I right? I know the actual picturesize of TV signal is larger than what you see on the tele. So putting an X-desktop on a TV will have the same cutoff as video or broadcast images. So if I put my Kaffeine DVB-T image fullscreen on the TV, with this settings, it will be a normal TV image with the cutoff it's supposed to have. So It's not that bad, only annoying that my start-menu and clock falls of the screen.

Now i'm using
Code:
# nonstandard PAL (Works with BOB deinterlace) It is 60Hz but works well with nVIDIA PAL-B TV-OUT
# Nvidia option: Option "TVStandard" "PAL-B"
ModeLine "720x576@60" 32.7  720 744 816 912  576 577 580 597


Got it off a mythtv how-to or something just like the previous modeline... It looks the same and xvidtune does nothing, I can move the sliders, apply but nothing happens. (maybe because of the two separate X-desktops). My conclusion is: my first xorg.conf was ok the resolution of 720x576 in combination with Option "TVStandard" "PAL-B" is enough for proper TV image. I only have my TV-out and no normal TV signal without my pc (the dutch government discontinued analogue terrestrial tv). Am I right? Or will my picture be better if i can see my complete desktop?
_________________
'nkee?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55459
Location: 56N 3W

PostPosted: Mon Feb 05, 2007 9:54 pm    Post subject: Reply with quote

lennert,

What you say is quite right - the cut off is normal.

If you want to make the picture smaller, so your desktop fits, increase the 13.875 number slightly. This males the pixels smaller in time so that the displayed image is smaller. Be sure this is not your only display as eventually, the TV will not synchronise and you need to undo you last change. You can fix that by playing with some of the other numbers, which will increase the line blanking time.

The advantage of playing with the pixel clock first is that it affects Horizontal and Vertical equally
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lennert
n00b
n00b


Joined: 03 May 2005
Posts: 49
Location: netherlands

PostPosted: Tue Feb 06, 2007 10:28 am    Post subject: Reply with quote

Neddy,

Thanks a lot but my modeline does nothing. I think my videocard behaves a bit odd. Should I put the modeline in the Section "Screen" in stead of the normal mode to get it to work? I'll give it a try.. I'll probably need another one anyway so i'll try it with a new one. The card seems to be too slow to show good video on tv and a 1280x1024 normal image at the same time. The tv signal looks fine but when there's movement it has a lag in some parts of the image. The most important thing is that the 720x576 resolution is correct and my TV image is like is should be.

Lennert
_________________
'nkee?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55459
Location: 56N 3W

PostPosted: Tue Feb 06, 2007 8:55 pm    Post subject: Reply with quote

lennert,

Your /var/log/Xorg.0.log will show what Xorg is doing

Your modeline should be in the monitor section for the monitor to which it will be applied and call up by its identifier in the active modes statement withing the screen section that ties up the Device section and Monitor Section

man xorg.conf will help
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum