• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 17
Perfect playback of 23.976 fps possible with nVidia?
#31
(2012-09-07, 19:54)FernetMenta Wrote: Nope, the codec screen does not show actual refresh rate, it only shows a rounded value for it. Execute xbmc-xrandr, then you'll see what modes are available.

This is what i get:

root ~ # export DISPLAY=:0
root ~ # /usr/lib/xbmc/xbmc-xrandr
<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="16384" maximum_h="16384">
<output name="DVI-I-0" connected="false">
</output>
<output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="0" hmm="0">
<mode id="0x1e5" name="1920x1080" w="1920" h="1080" hz="30.02669" current="false" preferred="true"/>
<mode id="0x1e6" name="1920x1080" w="1920" h="1080" hz="23.97576" current="false" preferred="false"/>
<mode id="0x1e7" name="1920x1080" w="1920" h="1080" hz="59.93939" current="false" preferred="false"/>
<mode id="0x1e8" name="1920x1080" w="1920" h="1080" hz="50.00000" current="true" preferred="false"/>
<mode id="0x1e9" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
<mode id="0x1ea" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="false"/>
<mode id="0x1eb" name="1280x720" w="1280" h="720" hz="59.94343" current="false" preferred="false"/>
<mode id="0x1ec" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
<mode id="0x1ed" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
<mode id="0x1ee" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
<mode id="0x1ef" name="480x576" w="480" h="576" hz="50.00000" current="false" preferred="false"/>
<mode id="0x1f0" name="480x480" w="480" h="480" hz="59.94006" current="false" preferred="false"/>
<mode id="0x1f1" name="411x576" w="411" h="576" hz="50.07059" current="false" preferred="false"/>
<mode id="0x1f2" name="411x480" w="411" h="480" hz="59.97279" current="false" preferred="false"/>
</output>
<output name="DVI-I-1" connected="false">
</output>
</screen>

And my xorg.conf looks like this:

Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 23.0 - 72.0
ModeLine "1920x1080_23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
Option "DPMS"
Option "DPI" "96 x 96"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
Option "VertRefresh" "DFP-0: 23-60"
Option "HorizSync" "DFP-0: 25-100"
DefaultDepth 24
Option "FlatPanelProperties" "Scaling = Native"
Option "ModeValidation" "NoVesaModes, NoXServerModes"
Option "ExactModeTimingsDVI" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

So, do i have correct 23,976 playback ?


Reply
#32
Quote:So, do i have correct 23,976 playback ?

I don't think you can get it better than what you have already (23.97576). This is good enough.
Reply
#33

OK , thanks !

What command to use to se what modeline is the right for 23.97576 on my setup?
Reply
#34
Sorry but as far as i know the modeline must be activated in the subsection display in the screen section... or am i wrong?
Reply
#35
1080p 23.97610 Hz modeline:

Code:
ModeLine       "1920x1080_23.976" 74.230 1920 2560 2604 2752 1080 1084 1089 1125 +hsync +vsync
Reply
#36
The way I do it:

Enable modedebug in xorg.conf by inserting this line: Option "ModeDebug" "yes"

It give me this output in Xorg.0.log:

Code:
[   130.001] (II) NVIDIA(GPU-0):   Validating Mode "1920x1080":
[   130.001] (II) NVIDIA(GPU-0):     1920 x 1080 @ 24 Hz
[   130.001] (II) NVIDIA(GPU-0):     Mode Source: EDID
[   130.001] (II) NVIDIA(GPU-0):       Pixel Clock      : 74.16 MHz
[   130.001] (II) NVIDIA(GPU-0):       HRes, HSyncStart : 1920, 2558
[   130.001] (II) NVIDIA(GPU-0):       HSyncEnd, HTotal : 2602, 2750
[   130.001] (II) NVIDIA(GPU-0):       VRes, VSyncStart : 1080, 1084
[   130.001] (II) NVIDIA(GPU-0):       VSyncEnd, VTotal : 1089, 1125
[   130.001] (II) NVIDIA(GPU-0):       H/V Polarity     : +/+

This will create a refresh rate of 23.971. Now I change pixel clock by adding a 3rd fractional digit:
ModeLine "1920x1080_23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
(always check refreash rate with xbmc-xrandr)


Quote:Sorry but as far as i know the modeline must be activated in the subsection display in the screen section... or am i wrong?
Not true anymore for driver >= 302

@Jönke
I don't get your question
Reply
#37
Important: verify the 23.976 modeline by switching to it. Not all TVs do support it.
Reply
#38
@FernetMenta

When i run xbmc-xrandr without your custom xorg.conf above i get
<mode id="0x1ea" name="1920x1080" w="1920" h="1080" hz="23.97091" current="false" preferred="false"/>
and with your custom xorg:
<mode id="0x1e6" name="1920x1080" w="1920" h="1080" hz="23.97576" current="false" preferred="false"/>

So my question is, should i change modeline or something else from xorg.conf above or is it the best i can have for my setup? Sorry for noob questions Sad
Reply
#39
hello there been reading intently to this thread (and various others) to gain some knowledge into why I get jumpy playback from both movies AND music playback. It seems however i set up my xorg config it still results in choppy playback however I have always had the problem of music skipping - sound works ok in all movies and ubuntu but I am thinking it has something to do with my asound config. Could my asound conf affect the playback of movies....
Reading into my logs i get a pipe broken error when sound skips is this the culprit
(will post more info if you can help)
Check out my Fanart.tv stuff!
...........I also accept disc requests if image not on fanart.tv database !!!!
Reply
#40
(2012-09-08, 16:22)FernetMenta Wrote: Important: verify the 23.976 modeline by switching to it. Not all TVs do support it.

and this is done how?
Reply
#41
Quote:and this is done how?

Read your television's user manual. It should have all operational framerates listed. Or you can try one of the couple of methods posted already in the thread.
Reply
#42
I dont get it...

I updated my drivers to 304.xx and put the following Modeline in my xorg.conf in the "Monitor" Section

Code:
ModeLine "1920x1080_23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync

a "xbmc-xrandr" gives me

Code:
<output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="0" hmm="0">
    <mode id="0x1c5" name="1280x720" w="1280" h="720" hz="60.00000" current="false" preferred="true"/>
    <mode id="0x1cc" name="1280x720" w="1280" h="720" hz="59.94343" current="false" preferred="false"/>
    <mode id="0x1cd" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1c6" name="1920x1080" w="1920" h="1080" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1c7" name="1920x1080" w="1920" h="1080" hz="59.93939" current="false" preferred="false"/>
    <mode id="0x1c8" name="1920x1080" w="1920" h="1080" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1c9" name="1920x1080" w="1920" h="1080" hz="23.97091" current="true" preferred="false"/>
    <mode id="0x1ca" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
    <mode id="0x1cb" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="false"/>
    <mode id="0x1ce" name="1024x768" w="1024" h="768" hz="60.00384" current="false" preferred="false"/>
    <mode id="0x1cf" name="800x600" w="800" h="600" hz="60.31654" current="false" preferred="false"/>
    <mode id="0x1d0" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d1" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
    <mode id="0x1d2" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1d3" name="640x480" w="640" h="480" hz="59.94048" current="false" preferred="false"/>
    <mode id="0x1d4" name="480x576" w="480" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d5" name="480x480" w="480" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1d6" name="411x576" w="411" h="576" hz="50.07059" current="false" preferred="false"/>
    <mode id="0x1d7" name="411x480" w="411" h="480" hz="59.97279" current="false" preferred="false"/>
    <mode id="0x1d8" name="3x576" w="3" h="576" hz="29.64744" current="false" preferred="false"/>
  </output>

According to this there is only the 23,971 Mode and not the 23,976 Mode Huh

Does this mean that my TV (Panasonic TX-P50GT30) does not support the 23.976 Mode?

Another idea is that i updated the nvidia driver but need to update the xserver to get xrandr 1.3 Huh

UPDATE: Found the problem... a nex xorg.conf was needed. Created a new one and now it looks like this:

Code:
<output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="0" hmm="0">
    <mode id="0x1c5" name="1280x720" w="1280" h="720" hz="60.00000" current="false" preferred="true"/>
    <mode id="0x1ce" name="1280x720" w="1280" h="720" hz="59.94343" current="false" preferred="false"/>
    <mode id="0x1cf" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1c6" name="1920x1080" w="1920" h="1080" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1c7" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
    <mode id="0x1c8" name="1920x1080" w="1920" h="1080" hz="23.97576" current="true" preferred="false"/>
    <mode id="0x1c9" name="1920x1080" w="1920" h="1080" hz="59.93939" current="false" preferred="false"/>
    <mode id="0x1ca" name="1920x1080" w="1920" h="1080" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1cb" name="1920x1080" w="1920" h="1080" hz="23.97091" current="false" preferred="false"/>
    <mode id="0x1cc" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
    <mode id="0x1cd" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="false"/>
    <mode id="0x1d0" name="1024x768" w="1024" h="768" hz="60.00384" current="false" preferred="false"/>
    <mode id="0x1d1" name="800x600" w="800" h="600" hz="60.31654" current="false" preferred="false"/>
    <mode id="0x1d2" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d3" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
    <mode id="0x1d4" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1d5" name="640x480" w="640" h="480" hz="59.94048" current="false" preferred="false"/>
    <mode id="0x1d6" name="480x576" w="480" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d7" name="480x480" w="480" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1d8" name="411x576" w="411" h="576" hz="50.07059" current="false" preferred="false"/>
    <mode id="0x1d9" name="411x480" w="411" h="480" hz="59.97279" current="false" preferred="false"/>
    <mode id="0x1da" name="3x576" w="3" h="576" hz="29.64744" current="false" preferred="false"/>
  </output>

Now all the modes (23.971, 23.976 and 24.0) are there...

Another Question is how can i disable the preferred 720p ModesHuh
Reply
#43
(2012-09-09, 16:26)pumkinut Wrote:
Quote:and this is done how?

Read your television's user manual. It should have all operational framerates listed. Or you can try one of the couple of methods posted already in the thread.

Maybe not the answer john.cord was looking for.

Given the config from above you would switch to 23.976 with this command:

Code:
xrandr --output HDMI-0 --mode 0x1c8
If you don't get any output, the TV does not support it (which is very unlikely in your case)

I have such a line in a startup script and don't care about preferred modes.
Reply
#44
(2012-09-09, 18:54)FernetMenta Wrote: I have such a line in a startup script and don't care about preferred modes.

Ok, i tested it and XBMC stays at the last selected mode (1920x1080_50) after a reboot so it is ok for me... but big THX for your Input about Modlines and the other Stuff !!!

You got a big fat + from me !!! :-)

btw:

Code:
xrandr --output HDMI-0 --mode 0x1c8

is working, both on my beamer and Plasma TV !!!

Big THX !!!
Reply
#45
I have the latest nvidia drivers (304) and I did not understood the way to enable the perfect playback yet.

If I enable the sync at video playback settins at XBMC, I get poor video performance.

If I disablet it, the FPS stay at 24 or a bit less most of the time.
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 17

Logout Mark Read Team Forum Stats Members Help
Perfect playback of 23.976 fps possible with nVidia?0