• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 7
[LINUX] Problems with frame drops jumps (consume packet error)
#31
edz2k9 Wrote:Hmm I'm begining to wonder that one myself BUT the interesting thing here is it seems to affect 24fps more than anything else.

Playing back with switch display on and XBMC auto switching into 24fps seems to jump as mentioned, switching the display to 60hz and disabling auto switching seems to be fine. All along 50hz plays without a hoiccough - we had a family movie of this island earth from a pal dvd h264 rip yesterday and it played with no issues. High Def stuff seems mostly ok at 24fps anyway with the odd jump here and there but in 60hz seems stable too. I'm trying to figure out a way to prevent the 24hz mode so XBMC will switch between 50 and 60hz only but so far using modelines with noedid modes results in no modes other than 60hz (I know the modelines are correct since they've been extracted from the edid and also from powerstrip run under windows 7) and although I thought I had an answe by removing / changing the mode in the resolutions node of guisettings.xml it just repopulates it when you run up XBMC.

Anyone know of a way to prevent one mode switching in in XBMC, I couldnt see anything in advancedsettings or guisettings that seemed obvious such as a prohibit /prohibit node entry? May be an idea for those with imperfect 24fps playback but still want to use match frame rate?
You can disable "auto adjust frame rate" and set the display mode to a fixed Hz. That will prevent switching the TV to 24 Hz. Still, the video plays at 24 fps, spread out over 50 or 60Hz so that can never be fluent.
Reply
#32
WWWilco Wrote:You can disable "auto adjust frame rate" and set the display mode to a fixed Hz. That will prevent switching the TV to 24 Hz. Still, the video plays at 24 fps, spread out over 50 or 60Hz so that can never be fluent.

Hi There

Yes, thought of leaving it at 50hz and seeing what happened but its too juddery. Also 60hz is fine, its just 24 I'd like to "block".

If not I'll leave it as 50hz with auto adjust on and just remember to switch it to 60 with auto off for certain videos. it would be lovely if the nfos supported an option to override switch frame rate though!
Reply
#33
WWWilco Wrote:bginfoloadermaxthreads doesn't make a difference for me. I also noticed some stuttering problems in mplayer so I'm not quite sure if it's a 100% xbmc problem or if it's the ION chipset that can't keep up sometimes.

Yea, I don't think that it really made a difference for me either. I was able to nail down why the CPU increase; I was trying to play SD video, which relies on the CPU verse the video card.

Anyhow, I think that the problem is more nvidia related than xbmc, as I don't have an ION chipset, but a g210 and still experience the problem.
Reply
#34
hey guys.. Have the same problem with the dropping frames, which results in small judder Sad

In some movies its more, in some less... but its in EVERY at least 1 dropping frame every 1-3min

I'm using an E5300 CPU with Nvidia 9300 ITX board... so its not only ION/ATOM Specific

bginfoloadermaxthreads doesnt help anything

Quote:19:11:45 T:2902252400 M:2701176832 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 60, consumed: 0
19:12:32 T:2902252400 M:2629611520 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 12023, consumed: 0
19:13:06 T:2902252400 M:2629455872 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 7453, consumed: 0
19:13:06 T:2902252400 M:2629455872 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 6430, consumed: 0
19:13:41 T:2902252400 M:2625445888 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 17400, consumed: 0
19:14:50 T:2902252400 M:2621247488 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 36390, consumed: 0

I tested on Win7 + dxva - no framedrops happen... seems to be linux only thing Sad
Reply
#35
Summary:
- Not ION specific
- bginfoloadermaxthreads doesn't help
- Also with fast CPU's
- Does not happen on all videos
Reply
#36
and same with 60hz than you... If I disable auto refreshrate adjustment, and configure 60hz output all time, I dont have ANY framedrops as far as I can see (just tested 15min with my hardcore-framedropping-movie)... so it must be 24/23.97.... but then I have the "normal" non 24hz stuttering :/ which isnt a solution too ... lol

What do you think... will a seperate graphics card help? I think this problem should have many more ppl... maybe most of them dont notice... If only 1 frame is dropped, you wont notice that all time...
Reply
#37
Don't know if another video card won't work because it TheShortOfIt has a pretty fast system.
However, I hooked up my desktop and I didn't get any framedrops. It's a 3.0 Ghz dualcore with Nvidia 9600GT so it's extremely fast in comparison to the ion chips.
Reply
#38
for those of you with fast systems are you still using vdpau to decode the video? if so, could you try turning it off so we could at least narrow down that it is an nvidia problem?

im sort of drawing at straws here... i think we have tested with a different a player and it worked great?
Reply
#39
ofc Im using vpdau, why not? Letting to the CPU this is idiotic... Unnecessary heat, power consumption and higher noise Smile

But I tested.. and the E5300 is definitly to low for 1080p... But as far as I can see, as long the bitrate isnt that much, I dont have framedrops...

But after 10mbits+ the CPU Load goes to nearly 100% and then massive drops are incoming...

E5300 is tons better than Atom, but still a low budget Pentium and not an full Core 2 Duo Sad

What I can say too... the framedrops with vpdau are not affected by the bitrate... I have framedrops in dark low bitrate scenes as much as in other scenes
Reply
#40
I seem to have the same problem. Recently bought the Asus eee box which is quite similiar to asrock ion.

Installed Ubuntu 9.10 and xbmc 9.11 and everything seemed fine. Until I started noticing the dropping frames or something like that. It didnt always add to the drop counter in statistics but something was wrong. After checking the log I found those same consume packet errors that you guys seem to have.

Today I tried updating the nvidia default drivers to the newest 195, and after getting the vdpau to work the problem was still there:

Code:
18:22:37 T:2947500912 M:1250242560 WARNING: CDVDMessageQueue(teletext)::Put MSGQ_NOT_INITIALIZED
18:22:38 T:2899618672 M:1250250752   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1171
18:22:38 T:2899618672 M:1250250752  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 2). Creating a new one. TRY #1
18:22:38 T:2899618672 M:1247076352  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 3). Creating a new one. TRY #1
18:22:38 T:2899618672 M:1244028928  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 4). Creating a new one. TRY #1
18:22:39 T:2947500912 M:1240694784 WARNING: CDVDPlayer::CheckPlayerInit(3) - Ignoring too large delay of 3916000.000000
18:22:44 T:2899618672 M:1240866816 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 9763, consumed: 0
18:22:58 T:2899618672 M:1235501056 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 12256, consumed: 0
18:22:58 T:2899618672 M:1235501056 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 15005, consumed: 0
18:22:58 T:2899618672 M:1235501056 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 14527, consumed: 0
18:24:01 T:2899618672 M:1220214784 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 23455, consumed: 0
18:24:01 T:2899618672 M:1220214784 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 21931, consumed: 0
18:25:27 T:2899618672 M:1220730880 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 17196, consumed: 0
18:25:27 T:2899618672 M:1220730880 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 12718, consumed: 0
18:27:50 T:2899618672 M:1214935040 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 16823, consumed: 0
18:28:54 T:2899618672 M:1219551232 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 27640, consumed: 0
18:33:33 T:2899618672 M:1219125248 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 34703, consumed: 0
18:35:01 T:2899618672 M:1210572800 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 11154, consumed: 0
18:36:01 T:2899618672 M:1207046144 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 17225, consumed: 0
18:37:01 T:2899618672 M:1204060160 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 28588, consumed: 0
18:40:01 T:2899618672 M:1195995136 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 16783, consumed: 0
18:40:54 T:2899618672 M:1195888640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 32433, consumed: 0
18:40:54 T:2899618672 M:1195888640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 33727, consumed: 0
18:42:01 T:2899618672 M:1192026112 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 57201, consumed: 0
18:43:17 T:2899618672 M:1188315136 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 68179, consumed: 0
18:43:48 T:2891225968 M:1189720064 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:43:49 T:2891225968 M:1189724160 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:43:49 T:2899618672 M:1189724160 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
18:44:01 T:2899618672 M:1189519360 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 55019, consumed: 0
18:44:55 T:2899618672 M:1189175296 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 49616, consumed: 0
18:46:01 T:2899618672 M:1189105664 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 14005, consumed: 0
18:46:01 T:2899618672 M:1189105664 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 13467, consumed: 0
18:49:01 T:2899618672 M:1189048320 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 20651, consumed: 0
18:49:32 T:2891225968 M:1188573184 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:49:33 T:2891225968 M:1188573184 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:49:33 T:2899618672 M:1188573184 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
18:49:33 T:2899618672 M:1188573184 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 108375, consumed: 0
18:49:33 T:2899618672 M:1188573184 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
18:49:33 T:2891225968 M:1188573184 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:49:34 T:2891225968 M:1188573184   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
18:49:34 T:2899618672 M:1188573184 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 89061, consumed: 0
18:49:34 T:2899618672 M:1188573184 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
18:49:34 T:2891225968 M:1188573184 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:49:35 T:2891225968 M:1188577280   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
18:49:35 T:2899618672 M:1188577280 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 74011, consumed: 0
18:49:35 T:2891225968 M:1188577280 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:49:35 T:2899618672 M:1188577280 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
18:49:35 T:2891225968 M:1188577280   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
18:49:35 T:2899618672 M:1188577280 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 67408, consumed: 0
18:49:36 T:2891225968 M:1188581376 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:49:36 T:2899618672 M:1188581376 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
18:49:36 T:2891225968 M:1188581376   ERROR: Pause - pcm_pause, alsa error: -77 - File descriptor in bad state
18:49:36 T:2891225968 M:1188581376 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
18:49:41 T:2899618672 M:1188597760 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 95904, consumed: 0
18:50:32 T:2899618672 M:1188741120 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 32590, consumed: 0
18:52:01 T:2899618672 M:1189392384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 23416, consumed: 0
18:52:01 T:2899618672 M:1189392384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 26340, consumed: 0
18:53:01 T:2899618672 M:1189421056 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 10297, consumed: 0
18:53:01 T:2899618672 M:1189421056 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 12744, consumed: 0
18:53:01 T:2899618672 M:1189421056 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 8665, consumed: 0
18:54:01 T:2899618672 M:1182220288 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 110850, consumed: 0
18:54:04 T:2891225968 M:1188737024 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:54:04 T:2899618672 M:1188737024 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
18:54:04 T:2891225968 M:1188745216   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
18:54:05 T:2899618672 M:1188745216 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 114639, consumed: 0
18:54:05 T:2899618672 M:1188745216 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
18:54:05 T:2891225968 M:1188745216 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:54:05 T:2891225968 M:1188745216   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
18:54:05 T:2891225968 M:1188745216 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
18:54:15 T:2899618672 M:1190686720 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 32758, consumed: 0
And now there even seems to be something wrong with alsa? Weird errors with broken pipes. I get now about 190 frames dropped in one hour of 1080p24hz movie, which is quite a lot. So for me it seems that the nvidia 195 drivers are worse than 185.

My xorg.conf and xbmc video settings are done with this script:
http://forum.xbmc.org/showthread.php?tid=70068

Ive tried it also with TripleBuffer true and sync off, but it didnt help with 185 nvidia drivers, but ill test it tonight with 195. Might even test the nvidia drivers 190 which is the latest stable release?

Hope someone has a clue how to fix this and also the alsa broken pipe error..
Reply
#41
Hi all

back now - my Windoooze box got infected by a virus (dont ask - was due to trying to help someone with a broken machine...sigh) luckily only my O/S and software was knocked out since I partition my data and network in a specific way. Hey ho...

Anyhoo I'm still investigating. I've tried to replicate this on my windows box (dual core 2.6 GHZ / 2GB Ram / Nvidia / XP) and can't see the issue. Of course here we dont have win 7 acceleration so thats a completely different problem.

Any experts here have any advice?
Reply
#42
I've been struggling with this slight judder/frame drop issue forever. I'm having the same error, WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: xxxxx, consumed: 0 along with my frame drops.

My cpu is an E5200 Wolfdale, gpu is Geforce 9400 GT.

The problem followed me from Ubuntu Jaunty, to Karmic and now to Arch linux.

The issue I'm having is very slight, not really noticable to most people who watch the TV, however it drives me nuts!! Is it possible that it is a wide spread problem but only a few of us are "tuned into it"?
Reply
#43
could just be me going crazy, but has anyone noticed it happening more under a heavy hard disc load? Seems like when I downloading something at high speeds >3Mb/s, the problem happens more often.
Reply
#44
pyite Wrote:could just be me going crazy, but has anyone noticed it happening more under a heavy hard disc load? Seems like when I downloading something at high speeds >3Mb/s, the problem happens more often.
Yes, sabnzbd combined with an 1080p movie gives a lot of stuttering. But then again, my Atom is just to slow for that. So you would expect framedrops with lots of HD activitiy.

But it also happens when there's minimal CPU and harddisk usage which really shouldn't happen.
Reply
#45
agreed, i am just looking for things that might lead directly to the problem because i have yet to find anything that has a direct cause and effect relationship.
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 7

Logout Mark Read Team Forum Stats Members Help
[LINUX] Problems with frame drops jumps (consume packet error)0