Skipped frames / jittering playback
#31
You have to run xbmc at the default refresh rate (60Hz) by default. This is what the GUI designed for. If you have auto refresh enabled, xbmc will swith to 24Hz when neccessary.

About the DVD ISO problem, I don't know. What SVN revision are you running?
There are some problem playing ISOs in recent versions. There is some forum thread about this as well.
Reply
#32
olympia Wrote:You have to run xbmc at the default refresh rate (60Hz) by default. This is what the GUI designed for. If you have auto refresh enabled, xbmc will swith to 24Hz when neccessary.

About the DVD ISO problem, I don't know. What SVN revision are you running?
There are some problem playing ISOs in recent versions. There is some forum thread about this as well.

Ah ok, i see. Thanks for claring that up. Can't recall the SVN, so i'll check later when im home.
Reply
#33
olympia Wrote:I am glad that you worked out... Cool
Please note, that you have some line break issues in the quote of xorg.conf....

What is missing? Because i just copied all that in to my conf.... Could someone please post it in [CODE] tags please?
Hardware: ASUS P5N7A-VM with 2GB RAM and Intel Celeron 430 1,8GHz @ 3,06GHz
Reply
#34
spozen Wrote:What is missing? Because i just copied all that in to my conf.... Could someone please post it in [CODE] tags please?

Here is the full conf:
http://pastebin.com/m687f1326
Reply
#35
Ok, I got default: 1920x1080 @ 60Hz and vb sync set to: let driver choose under appearance>screen. The pj confirms this as the output truly is 60.11Hz.

VDPAU and auto adjust is set under video>player.

When I play 23.97fps material the output on my screen (epson TW5000 projector) reported by the pj is: 60.11Hz and the picture is moved over to the left abit and its stuttering quite alot. Z gives me ~23.98fps and O gives me 1920x1080@24Hz default but the PJ is as said reporting 60.11Hz still. If i press ctrl+alt +/- here nothing happens at all.

When I play 29.98fps material the output on my screen is still reported as 60.11Hz, it looks good though, smooth and all is fine. Z gives me ~30fps and O gives me 1920x1080@60Hz default. If i press ctrl+alt +/- here nothing happens at all.

In other words, the output to my pj doesnt really change at all for some reason, any ideas here?

My xorg.conf looks like this:

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Fri Aug 14 17:55:55 PDT$

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Fri Aug 14 17:54:58 PDT $

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

Section "Files"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
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"
    Option "XkbLayout" "se"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "ONKYO TX-SR875"
    ModelName      "TX-SR875"
    Option         "DPMS"
    ModeLine       "1920x1080@60" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +$
    ModeLine       "1920x1080@50" 148.50 1920 1968 2012 2640 1080 1084 1089 1125 +$
    ModeLine       "1920x1080@24" 74.160 1920 2558 2602 2750 1080 1084 1089 1125 +$
    HorizSync       15.0 - 92.0
    VertRefresh     50.0 - 85.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9400"
    #Option         "DPI" "100 x 100"
    #Option         "FlatPanelProperties" "Scaling = Native"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "NoLogo"
    Option         "DynamicTwinView" "false"
    Option         "ExactModeTimingsDVI" "True"

        SubSection   "Display"
        Depth         24
        Modes        "1920x1080@60" "1920x1080@50" "1920x1080@24"
        EndSubSection

EndSection

Validated edidmodes reported by my system are (and this is one thing I do not understand at all), should I respecify the vfreq in xorg.conf becuase of this?

Code:
(--) NVIDIA(0): Connected display device(s) on GeForce 9400 at PCI:3:0:0:
(--) NVIDIA(0):     ONK TX-SR875 (DFP-1)
(--) NVIDIA(0): ONK TX-SR875 (DFP-1): 165.0 MHz maximum pixel clock
(--) NVIDIA(0): ONK TX-SR875 (DFP-1): Internal Single Link TMDS
(--) NVIDIA(0): ONK TX-SR875 (DFP-1): Native FlatPanel Scaling is supported
(--) NVIDIA(0): ONK TX-SR875 (DFP-1): DFP modes are not limited to 60 Hz
(--) NVIDIA(0):     refresh rate
(--) NVIDIA(0): ONK TX-SR875 (DFP-1): DFP is not internal to notebook
(--) NVIDIA(0):
(--) NVIDIA(0): --- EDID for ONK TX-SR875 (DFP-1) ---
(--) NVIDIA(0): EDID Version                 : 1.3
(--) NVIDIA(0): Manufacturer                 : ONK
(--) NVIDIA(0): Monitor Name                 : ONK TX-SR875
(--) NVIDIA(0): Product ID                   : 1944
(--) NVIDIA(0): 32-bit Serial Number         : 0
(--) NVIDIA(0): Serial Number String         :
(--) NVIDIA(0): Manufacture Date             : 2007, week 0
(--) NVIDIA(0): DPMS Capabilities            :
(--) NVIDIA(0): Prefer first detailed timing : Yes
(--) NVIDIA(0): Supports GTF                 : No
(--) NVIDIA(0): Maximum Image Size           : 1600mm x 900mm
(--) NVIDIA(0): Valid HSync Range            : 15.0 kHz - 92.0 kHz
(--) NVIDIA(0): Valid VRefresh Range         : 50 Hz - 85 Hz
(--) NVIDIA(0): EDID maximum pixel clock     : 160.0 MHz


(II) NVIDIA(0): --- Building ModePool for ONK TX-SR875 (DFP-1) ---
(II) NVIDIA(0):   Validating Mode "1920x1080":
(II) NVIDIA(0):     1920 x 1080 @ 60 Hz
(II) NVIDIA(0):     For use as DFP backend.
(II) NVIDIA(0):     Mode Source: EDID
(II) NVIDIA(0):       Pixel Clock      : 148.50 MHz
(II) NVIDIA(0):       HRes, HSyncStart : 1920, 2008
(II) NVIDIA(0):       HSyncEnd, HTotal : 2052, 2200
(II) NVIDIA(0):       VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0):       VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0):       H/V Polarity     : +/+
(II) NVIDIA(0):     Mode is valid.

(II) NVIDIA(0):   Validating Mode "1920x1080":
(II) NVIDIA(0):     1920 x 1080 @ 50 Hz
(II) NVIDIA(0):     For use as DFP backend.
(II) NVIDIA(0):     Mode Source: EDID
(II) NVIDIA(0):       Pixel Clock      : 148.50 MHz
(II) NVIDIA(0):       HRes, HSyncStart : 1920, 2448
(II) NVIDIA(0):       HSyncEnd, HTotal : 2492, 2640
(II) NVIDIA(0):       VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0):       VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0):       H/V Polarity     : +/+
(II) NVIDIA(0):     Mode is valid.

(II) NVIDIA(0):   Validating Mode "1920x1080":
(II) NVIDIA(0):     1920 x 1080 @ 24 Hz
(II) NVIDIA(0):     For use as DFP backend.
(II) NVIDIA(0):     Mode Source: EDID
(II) NVIDIA(0):       Pixel Clock      : 74.16 MHz
(II) NVIDIA(0):       HRes, HSyncStart : 1920, 2558
(II) NVIDIA(0):       HSyncEnd, HTotal : 2602, 2750
(II) NVIDIA(0):       VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0):       VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0):       H/V Polarity     : +/+
(WW) NVIDIA(0): The EDID for ONK TX-SR875 (DFP-1) contradicts itself: mode
(WW) NVIDIA(0):     "1920x1080" is specified in the EDID; however, the EDID's
(WW) NVIDIA(0):     valid VertRefresh range (50.000-85.000 Hz) would exclude
(WW) NVIDIA(0):     this mode's VertRefresh (24.0 Hz); ignoring VertRefresh
(WW) NVIDIA(0):     check for mode "1920x1080".
(II) NVIDIA(0):     Mode is valid.

(II) NVIDIA(0):   Validating Mode "1920x1080":
(II) NVIDIA(0):     1920 x 1080 @ 25 Hz
(II) NVIDIA(0):     For use as DFP backend.
(II) NVIDIA(0):     Mode Source: EDID
(II) NVIDIA(0):       Pixel Clock      : 74.25 MHz
(II) NVIDIA(0):       HRes, HSyncStart : 1920, 2448
(II) NVIDIA(0):       HSyncEnd, HTotal : 2492, 2640
(II) NVIDIA(0):       VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0):       VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0):       H/V Polarity     : +/+
(WW) NVIDIA(0): The EDID for ONK TX-SR875 (DFP-1) contradicts itself: mode
(WW) NVIDIA(0):     "1920x1080" is specified in the EDID; however, the EDID's
(WW) NVIDIA(0):     valid VertRefresh range (50.000-85.000 Hz) would exclude
(WW) NVIDIA(0):     this mode's VertRefresh (25.0 Hz); ignoring VertRefresh
(WW) NVIDIA(0):     check for mode "1920x1080".
(II) NVIDIA(0):     Mode is valid.
Reply
#36
make sure xrandr lists the resolutions/rates you are interested in otherwise we don't even try to switch to them.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#37
elupus Wrote:make sure xrandr lists the resolutions/rates you are interested in otherwise we don't even try to switch to them.

I connected to the display over a sshclient and used xrandr -q and got this:

Screen 0: minimum 288 x 175, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
1920x1080 50.0* 60.0 30.0 25.0 24.0
(snipped out the irrelevant ones)

It seems there is support for it there to get it to work exactly as it should but.. it doesnt, something wrong with my xorg maybe?

I fiddled around some more and got some weird results, if I put appearance>screen to auto then it works somewhat with autoadjusting but it isnt stable at all and the screen keeps getting very small up in the topleft corner and stuttering alot when playing 30fps materials but 24fps works fine etc, weird stuff like that.

edit: got something here, screen>appearance set to 60 now, 30fps works perfect, when i started a 24fps source it switched mode to this according to xrandr -q (and my pj also report correct mode now, yay)

Screen 0: minimum 288 x 175, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
1920x1080 60.0 50.0 24.0* 30.0 25.0

Buut, the picture is shrunken down abit and placed to the left and stutters. Leads me to think my xorg is borked somehow. Will have another looksi.. input about this specific problem is appreciated. O gives that its downsizing the movie from 1920x1080 > 1536x891 for some reason.. anyone know why it would do that? *bash head to desk*
Reply
#38
I was having this jittery problem during video playback and turned on the 'Sync playback to display' option and this seemed to fix the problem.

I believe the option is in XBMC-Settings-Video-Player

I also turned Tripple buffering on my Ati3200 CCC software at the same time so couldn't be certain which one fixed the problem, or perhaps a combo of both.

Hope this is of some help
Reply
#39
olympia Wrote:You have to run xbmc at the default refresh rate (60Hz) by default. This is what the GUI designed for. If you have auto refresh enabled, xbmc will swith to 24Hz when neccessary.

About the DVD ISO problem, I don't know. What SVN revision are you running?
There are some problem playing ISOs in recent versions. There is some forum thread about this as well.

Hm, last night i set the resolution to 1920x1080@60hz in the Appereance settings in XBMC. I switched on "Adjust refresh rate". When i started any video then the screen just became garbled with mostly green huge pixels etc.
I then tried setting it to 50hz, but it seemed like the jaggy/jittery playback came back then. The only thing that seems to be working smoothly is to set it to 1920x1080@24hz and disable adjust refresh rate.

I'm using XBMC SVN: 9.04.1 r20654, btw.
Reply
#40
galleren Wrote:Hm, last night i set the resolution to 1920x1080@60hz in the Appereance settings in XBMC. I switched on "Adjust refresh rate". When i started any video then the screen just became garbled with mostly green huge pixels etc.
I then tried setting it to 50hz, but it seemed like the jaggy/jittery playback came back then. The only thing that seems to be working smoothly is to set it to 1920x1080@24hz and disable adjust refresh rate.

I'm using XBMC SVN: 9.04.1 r20654, btw.

I also got those nasty green pixels once, but i deleted the guisettnings and tried again, guess what the picture was normal again. But beware that all your settings will be deleted so back it up.
Hardware: ASUS P5N7A-VM with 2GB RAM and Intel Celeron 430 1,8GHz @ 3,06GHz
Reply
#41
haha Smile This problem makes no sense at all to me.

If i use this order of the modes under screen Modes "1920x1080_60" "1920x1080_50" "1920x1080_24" then 60Hz desktop and 30fps material looks great but 24p is downsized from 1920x1080>1536x891. Other than that downsizing it looks allright, no stuttering etc.

The funny part is..

If i change the order of the modes so that the 24-mode is first in the list, the problem is exactly reversed, then 24p looks great and 30fps-material is downsized in the exact same manner as above.

My xorg.conf as it is now:

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Fri Aug 14 17:55:55 P

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Fri Aug 14 17:54:58 PD

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

Section "ServerFlags"
    Option         "Xinerama" "False"
EndSection

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

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    Option         "DPMS"
    ModeLine       "1920x1080_24"     74.160 1920 2558 2602 2750 1080 1084 1089
    ModeLine       "1920x1080_50"     148.50 1920 1968 2012 2640 1080 1084 1089
    ModeLine       "1920x1080_60"     74.18 1920 2008 2052 2200 1080 1084 1094 1
    HorizSync      15.0 - 92.0
    VertRefresh    23.0 - 85.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9400"
    Option         "DPI" "100 x 100"
    Option         "FlatPanelProperties" "Scaling = Native"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "DynamicTwinView" "false"
    Option         "ExactModeTimingsDVI" "True"

    SubSection   "Display"
      Depth      24
      Option     "TripleBuffer" "True"
      Option     "UseEdidFreqs" "false"
      Modes      "1920x1080_60" "1920x1080_50" "1920x1080_24"
    EndSubSection

EndSection

What this tells me is that there is nothing wrong with the modelines since they all work but only once they are placed as first in the list of modes. Anyone had this problem before?

Using XBMC pre-9.10 r22528 and Nvidias 185.18.36
Reply
#42
a simple remove of the .xbmc helped out with this problem, removing guisettings.xml did not.

just a note that might help others,

Option "ExactModeTimingsDVI" "True"

causes severe stuttering in some 23.976 material for me, try to exclude that line if you suffer from stuttering and see if it helps.

I had to use modelines for 24, 50 and 60Hz or this would not work out at all. I used guides that exists in other threads to get those.
Option "DynamicTwinView" "false" << is a must to get those modelines to work properly for me.
Reply
#43
I'm not sure if this is related or not, but sometimes when playing a video of any resolution (even standard) I see just a QUICK almost slow motion (lasts not more than a second) of movement, which I used to think was dropped frames, but then looking at the log there were no dropped frames.

Is that the same as the problem everyone's talking about here? I've seen it in 1080p 720p and even non-HD videos, and it's not the source material as I don't see it when I run it on my PC, just on my Linux box.

Maybe it's just the growing pains of the Nvidia drivers and VDPAU?
Reply
#44
BDPNA Wrote:I'm not sure if this is related or not, but sometimes when playing a video of any resolution (even standard) I see just a QUICK almost slow motion (lasts not more than a second) of movement, which I used to think was dropped frames, but then looking at the log there were no dropped frames.

Is that the same as the problem everyone's talking about here? I've seen it in 1080p 720p and even non-HD videos, and it's not the source material as I don't see it when I run it on my PC, just on my Linux box.

Maybe it's just the growing pains of the Nvidia drivers and VDPAU?

I had that before but now it's gone thanks to the new xorg.conf posted here.
Hardware: ASUS P5N7A-VM with 2GB RAM and Intel Celeron 430 1,8GHz @ 3,06GHz
Reply
#45
I have an Onkyo receiver with HDMI going out into a splitter which sends the signal either to a 50" Plasma TV -OR- a 1080p projector...Is there a way to get xorg.conf set up with modelines and settings in a way it will work well in both, or am I sort of stuck considering sometimes I'll want to use the plasma, sometimes the projector.

I'm doing ok with the defaults right now, though I am being annoyed by the occasional stutter for a second or two during motion as I mentioned above (not dropping frames though like 1080p used to do before VDPAU accel Smile ) So it's bad but not AS bad as it used to be.
Reply

Logout Mark Read Team Forum Stats Members Help
Skipped frames / jittering playback0