[mythtv-users] Modelines

david brooke david2012brooke at gmail.com
Tue Jan 28 12:10:02 UTC 2014


On Mon, Jan 27, 2014 at 8:50 AM, Robert Dege <livemotion at gmail.com> wrote:

> Is it possible to use a custom Modeline if connecting to a TV over HDMI?
>  I know that this article (http://www.mythtv.org/wiki/Modeline_Database)
> says it's ignored if TV-OUT has been configured, but I don't know if that
> applies here, since HDMI can be used to connect to monitors as well.  Plus,
> I have no TV-OUT setup in the xorg.conf.
>
> Both the mythfrontend UI, and TV playboack are larger than the physical
> screen (overscan?).  I used the screen wizard in the mythfrontend setup
> menu to adjust the dimensions.  While it did help a bit, the display is
> still too large.  I'm hoping a custom modeline might help.
>
> Mythbuntu 12.04
> Mythtv 0.27
> nVidia GT520 using 304.88-0ubuntu0.0.3 drivers
>
> -Robert
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
I noticed your using Nvidia and having the overscan issue. I too have this
issue on two generic tv's that changing the zoom does nothing and they do
not have a game ports. The overscan also happens on both hdmi and dvi. The
solution I found that works over the past several years is to use the
viewport command in Nvidia. The following is one example:

nvidia-settings --assign 0/CurrentMetaMode="DFP-1: 1920x1080 {
ViewPortOut=1864x1046+28+17, ViewPortIn=1920x1080 }"

Use the above as a guide to adjust the current tv so that it will show the
whole desktop.
Key elements:
DFP-1 - this is the assignment label for the tv that is in xorg log.
1920x1080 - tv resolution
1864x1046 - adjusted resolution that fits the desktop to the tv
+28+17 - these values are 1/2 of the difference of the vertical and
horizontal meaning...if you take for example the horizontal, 1920-1864=56
then divide that by 2, 56/2=28

After you use this command in terminal and get the correct size then add it
to your xorg.conf.

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"

    SubSection     "Display"
        Depth       24
    Modes       "1920x1080"
    EndSubSection

    Option "metamodes" "DFP-1: 1920x1080 { ViewPortOut=1864x1046+28+17,
ViewPortIn=1920x1080 }"
EndSection

Also look for this on google.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140128/5fb4c426/attachment.html>


More information about the mythtv-users mailing list