Periodic jerkyness - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Periodic jerkyness (/showthread.php?tid=38443) |
Periodic jerkyness - [Ad0] - 2008-10-05 I got ubuntu 8.04 with latest updates, latest driver from Envy-NG, have a nvidia 7100 onboard, 2.2 Ghz Core 2 Duo, 2GB RAM. I have issues playing any video + 720p mkv / h264 smoothly all the time. It goes fine for about 10 secs, then it goes choppy for 2 seconds, then smooth for 10 secs again, and so on. This renders all video playback unwatchable for me. I have vsync and flipping off. XBMC logs no framedrops. Running rev 15786. VLC plays it smooth, but with some tearing. XBMC UI is smooth, the screen tests, like the moving square across the screen is perfectly smooth xorg.conf: Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" Option "NoFlip" "True" Option "AddARGBGLXVisuals" "True" Defaultdepth 24 # Option "TripleBuffer" "True" Option "NoLogo" "True" EndSection Section "Device" Identifier "Configured Video Device" Driver "nvidia" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "no" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" EndSection Section "ServerLayout" Identifier "Default Layout" screen "Default Screen" EndSection Section "Monitor" Identifier "Configured Monitor" EndSection Section "Extensions" Option "Composite" "Enable" EndSection ------------- .nvidia-settings-rc: GNU nano 2.0.7 File: /home/rofl/.nvidia-settings-rc # # /home/rofl/.nvidia-settings-rc # # Configuration file for nvidia-settings - the NVIDIA X Server Settings utility # Generated on Sun Oct 5 15:21:24 2008 # # ConfigProperties: RcFileLocale = C ToolTips = Yes DisplayStatusBar = Yes SliderTextEntries = Yes IncludeDisplayNameInConfigFile = No ShowQuitDialog = No Timer = PowerMizer_Monitor_(GPU_0),No,1000 # Attributes: 0/DigitalVibrance[DFP-0]=0 0/ImageSharpening[DFP-0]=0 0/SyncToVBlank=0 0/AllowFlipping=0 0/LogAniso=0 0/FSAA=0 0/TextureSharpen=0 0/GammaCorrectedAALines=0 0/CursorShadow=0 0/CursorShadowXOffset=4 0/CursorShadowYOffset=2 0/CursorShadowAlpha=64 0/CursorShadowRed=0 0/CursorShadowGreen=0 0/CursorShadowBlue=0 0/FSAAAppControlled=0 0/LogAnisoAppControlled=0 0/GPUScaling[DFP-0]=65538 0/RedBrightness=0.000000 0/GreenBrightness=0.000000 0/BlueBrightness=0.000000 0/RedContrast=0.000000 0/GreenContrast=0.000000 0/BlueContrast=0.000000 0/RedGamma=1.000000 0/GreenGamma=1.000000 0/BlueGamma=1.000000 0/OpenGLImageSettings=1 0/XVideoTextureSyncToVBlank=0 0/XVideoBlitterSyncToVBlank=0 0/XVideoSyncToDisplay=65536 ----------- ps aux --forest output: http://rafb.net/p/He6cxu83.html Info from a coupla videos: Format : Matroska File size : 1.09 GiB Duration : 43mn 20s Overall bit rate : 3 612 Kbps Encoded date : UTC 2008-09-15 18:02:10 Writing application : mkvmerge v2.0.0 ('After The Rain Has Fallen') built on Jan 13 2007 19:58:56 Writing library : libebml v0.7.7 + libmatroska v0.8.0 Video Format : AVC Format/Info : Advanced Video Codec Format profile : [email protected] Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Muxing mode : Container [email protected] Codec ID : V_MPEG4/ISO/AVC Duration : 43mn 17s Bit rate : 3 012 Kbps Nominal bit rate : 3 160 Kbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16/9 Frame rate : 23.976 fps Resolution : 24 bits Colorimetry : 4:2:0 Scan type : Progressive Bits/(Pixel*Frame) : 0.143 Writing library : x264 core 61 r956 7b71d58 Encoding settings : cabac=1 / ref=4 / deblock=1:-2:-1 / analyse=0x3:0x133 / me=hex / subme=6 / brdo=1 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=3160 / ratetol=1.0 / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00 Language : English Audio Format : AC-3 Format/Info : Audio Coding 3 Codec ID : A_AC3 Duration : 43mn 20s Bit rate mode : Constant Bit rate : 448 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Rear: L R, LFE Sampling rate : 48.0 KHz ------ Format : Matroska File size : 4.37 GiB Duration : 1h 53mn Overall bit rate : 5 511 Kbps Encoded date : UTC 2007-10-20 00:04:03 Writing application : mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:55 Writing library : libebml v0.7.7 + libmatroska v0.8.1 Video Format : AVC Format/Info : Advanced Video Codec Format profile : [email protected] Format settings, CABAC : Yes Format settings, ReFrames : 8 frames Muxing mode : Container [email protected] Codec ID : V_MPEG4/ISO/AVC Duration : 1h 53mn Bit rate : 4 900 Kbps Nominal bit rate : 5 124 Kbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16/9 Frame rate : 23.976 fps Resolution : 24 bits Colorimetry : 4:2:0 Scan type : Progressive Bits/(Pixel*Frame) : 0.232 Writing library : x264 core 56 svn-680 Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=6 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=24 / keyint_min=13 / scenecut=40(pre) / rc=2pass / bitrate=5124 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 Language : English Audio Format : AC-3 Format/Info : Audio Coding 3 Codec ID : A_AC3 Duration : 1h 53mn Bit rate mode : Constant Bit rate : 384 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Rear: L R, LFE Sampling rate : 48.0 KHz Language : English - BLKMGK - 2008-10-06 I believe I'm seeing something similar and I didn't used to. It first showed up on SD video and was REAL bad and now seems to be showing up on HD video even with the options for upscaling etc. turned off which others seem to find helpful. Vsync is off (it didn't use to be) and I'm playing H.264 encoded video. Framerate seems to go up and down some but NO dropped frames - very weird! - [Ad0] - 2008-10-07 I am dumb, saw your sig. - tslayer - 2008-10-07 Try with Vsync set to Always Enabled. Does that make any difference? - jking2100 - 2008-10-07 I am having the same problem... ubuntu 7.10 all updates applied. PCI-X Nvidia 7600GS (not IGP) Using Nvidia 177.78 Beta Driver Prior to XBMC Update to Beta2 no jerkiness, afterwards exactly as described above JKing - [Ad0] - 2008-10-07 tslayer Wrote:Try with Vsync set to Always Enabled. Does that make any difference? Nope. - tslayer - 2008-10-07 Wish I could help. The only time I see some jerkiness as you describe is on planet earth 1080p (and not often). Never on 720p. - [Ad0] - 2008-10-07 Thanks for the suggestion though! Appriciated. One thing, I have to disable FSAA in nvidia-settings or else even the UI is choppy. This is very strange. - BLKMGK - 2008-10-07 tslayer Wrote:Wish I could help. The only time I see some jerkiness as you describe is on planet earth 1080p (and not often). Never on 720p. That sounds like framerate dropping and I'll bet the counter increments. What I am seeing does NOT increment the counter My UI is smooth as glass! If I could remember, or someone could provide (sigh) the SVN command to go back revisions I would be happy to go back and figure out EXACTLY when this began although it will take time - I'm limited these days moreso than I was before but I'm willing. I currently run from SVN, updated often, and I (still) use the Build script if that matters. I'd be happy to try and track this down but keep forgetting how to go backwards with SVN <sigh> From the sounds of what others have posted something changed between Beta 1 and 2 though. I can tell you that FPS reading appears to vary more than I recall before and that CPU doesn't max and frame drop does NOT increment. The video just looks "odd" with jerkiness during fast movements of characters usually. This seems to happen even in SD - tslayer - 2008-10-07 svn -r revision# up - [Ad0] - 2008-10-08 It happens in SD for me too, and even more in DVD ISOs. DVD5 is constantly jerky. BLKMGK: Find the rev where it worked fine, and let's do a diff on the video stuff till it starts breaking. With some detective work we can perhaps nail the error (if it's an XBMC problem) - jking2100 - 2008-10-08 Is this in relation? I noticed this posted in the Windows section but this is a linux patch. http://trac.xbmc.org/ticket/4902 - [Ad0] - 2008-10-09 jking2100 Wrote:Is this in relation? I noticed this posted in the Windows section but this is a linux patch. Has anyone tried this patch? Was it never comitted? - BLKMGK - 2008-10-09 Not sure about that patch but to me it almost seems like a change was commited that would force XBMC to slow FPS in order to not drop frames. The change would have been sometime in August I think. possibly mid to early August as I noticed it just before making a move to a new home and didn't get to looking at it seriously afterwords. Biggest thing I seemed to notice was FPS moving around while frames never drop. I have the CPU and video to play back my content and should have enough bandwidth on my network too so am not sure what is up. Not had time to go back to an old early August SVN - YET :-) - tslayer - 2008-10-09 I'm guessing maybe this fix? 15607 But that made things better for me actually. Way better. |