2010-03-19, 22:56
thank you for this!
this solved a problem that was plaguing me. this should be sticky'd!
this solved a problem that was plaguing me. this should be sticky'd!
johnskiller Wrote:which refresh rate should I use for 29.97 movie? 1920x1080_30 or 1920x1080_0? Also if my tv support 25Hz, should I use it instead of 50Hz for some PAL TV show?
I have a movie that has lots of jutter and tear when use 24Hz, but played well when use 60Hz. the movie is 24p(or 23.97, not sure), any idear?
Quote:First of all, modelines are not a the magic solution to all your problems. Modelines are only needed with tv's that have faulty EDID information. Most TVs provide the correct modes for 29.97/59.94 Hz, but the modes are not used by xrandr by default, so XBMC can't see that they are available.
xbmcliveuser Wrote:Just a data point here. You said:
I wanted to note that I just ran into one case where a ModeLine seemed to be necessary (okay, maybe not necessary if the only software you are using is XBMC, but certainly desirable if you want to use the Ubuntu desktop, or any other software that doesn't have built-in overscan correction like XBMC does). That was on a Sharp TV that had a serious overscan issue, and apparently no "pixel by pixel" option. To make a long story short, after putting the TV model number and the word "overscan" in Google, you arrive at this page, which describes how a ModeLine is used to emulate the "CVT reduced blank" option that is apparently available on a Windows machine. Those instructions are ONLY for that particular model TV, but it makes me wonder if perhaps there are other TV's that may look at timing parameters to determine whether to make the "dot by dot" or "pixel by pixel" option visible, or usable (not grayed out).
Maybe it's my imagination, but to me the picture seemed a bit sharper when we could get the "Dot by Dot" option to work on that TV, and did not have to use the overscan correction in XBMC.
The one issue I had was that we did try JumJum's script, but in the end still had to put back the custom xorg.conf file from the above-linked article in order to get the "dot by dot" option to reappear. I wonder if only some small part of that xorg.conf could be cut and pasted into the xorg.conf returned by the script, to get the benefits of the script along with the making the "dot by dot" option available.
dinozzo Wrote:Hi. Im a little confused. I have followed the manual guide and when playing an mkv and bringing up the info pane it shows the video as 23.97 fps but the refresh rate is 24Hz. Shouldnt the refresh rate be 23.97 too so that its perfectly in sync and eliminate tearing? It seems odd the the modeline has 23.97/24 Hz and not solely 23.97. How can it tell which one to use? it uses 24hz everytime?
My available modes look like this from my Samsung TV
# --- Modes in ModePool for SAMSUNG (DFP-1) ---
# "nvidia-auto-select" : 1920 x 1080 @ 60.0 Hz
# "1920x1080" : 1920 x 1080 @ 60.0 Hz
# "1920x1080_60" : 1920 x 1080 @ 60.0 Hz
# "1920x1080_60_0" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
# "1920x1080_50" : 1920 x 1080 @ 50 Hz (CEA-861B Format 31)
# "1920x1080_30" : 1920 x 1080 @ 29.97/30 Hz (CEA-861B Format 34)
# "1920x1080_25" : 1920 x 1080 @ 25 Hz (CEA-861B Format 33)
# "1920x1080_24" : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)
# "1920x1080_60i" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)
# "1920x1080_50i" : 1920 x 1080 @ 50.0 Hz Interlace
And my xorg.conf looks like this
Section "Device"
Identifier "nvidia"
Driver "nvidia"
Option "NoLogo" "true"
Option "DynamicTwinView" "false"
Option "NoFlip" "false"
Option "FlatPanelProperties" "Scaling = Native"
Option "ModeValidation" "NoVesaModes, NoXServerModes"
Option "UseDisplayDevice" "DFP-1"
Option "ModeDebug" "true"
Option "HWCursor" "false"
EndSection
Section "Screen"
Identifier "screen"
Device "nvidia"
SubSection "Display"
Modes "1920x1080_60_0" "1920x1080_24"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "false"
EndSection
sdsnyr94 Wrote:I used to have a setting in my old xorg.conf to change the Gamma setting. It was listed under the "monitor" section, which does not exist in the one created using this script. I have tried to add it, but cannot get the setting to be recognized.
I can use the xgamma command to set it, but I lose that setting on a reboot. Any Ideas?
Ayla Wrote:JumJum,
I have set my system up with your script and I use 1080p@60Hz in the XBMC menus, for smoother browsing.
But, after my HTPC (XBMC) has been suspended (sleep) and resumed, it always defaults to 1080p@24Hz.
Any way I can change that?
JumJum Wrote:[SIZE="5"]If you don't have any 23.97 or 59.94 modes here, that's when you need to use modelines instead! Use the test command in the beginning of the post to see if your modelines work as expected. Then continue with step 4.
"nvidia-auto-select" : 1920 x 1080 @ 50.0 Hz (from: EDID)
"1920x1080" : 1920 x 1080 @ 50.0 Hz (from: EDID)
"1920x1080_50" : 1920 x 1080 @ 50.0 Hz (from: EDID)
"1920x1080_60" : 1920 x 1080 @ 60.0 Hz (from: EDID)
"1920x1080_60_0" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16) (from: EDID)
"1920x1080_60_1" : 1920 x 1080 @ 59.9 Hz (from: X Server)
"1920x1080_24" : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32) (from: EDID)
"1920x1080_60i" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5) (from: EDID)
"1920x1080_50i" : 1920 x 1080 @ 50 Hz Interlace (CEA-861B Format 20) (from: EDID)
erhnam Wrote:Is it possible to combine one and another? Use modes and modelines?
My rates look like this. Which one should I take?
Code:"nvidia-auto-select" : 1920 x 1080 @ 50.0 Hz (from: EDID)
"1920x1080" : 1920 x 1080 @ 50.0 Hz (from: EDID)
"1920x1080_50" : 1920 x 1080 @ 50.0 Hz (from: EDID)
"1920x1080_60" : 1920 x 1080 @ 60.0 Hz (from: EDID)
"1920x1080_60_0" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16) (from: EDID)
"1920x1080_60_1" : 1920 x 1080 @ 59.9 Hz (from: X Server)
"1920x1080_24" : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32) (from: EDID)
"1920x1080_60i" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5) (from: EDID)
"1920x1080_50i" : 1920 x 1080 @ 50 Hz Interlace (CEA-861B Format 20) (from: EDID)
JumJum Wrote:You should be good with "1920x1080_60_0" and "1920x1080_24". I don't think you'll need to use modelines.
I'd use modelines only instead of combining modelines and modes. You can find the modelines for these two modes in your /var/log/Xorg.0.log