2014-08-10, 14:31
Hello,
I've been facing video stuttering while streaming for a while and I wanted to post it here since I'm not being able to solve it myself.
I'm not 100% sure, but I believe it started happening when OE upgraded to 4.0.7. However, I've been able to reproduce the same issue in OE 4.1.3 and most recent Helix Builds (Aug 7 for instance).
For instance, if I try to play this Youtube video (https://www.youtube.com/watch?v=m-M1AtrxztU) everything seems to be working just fine but when I move the mouse to show the context buttons and progress bar, these controls take a lot to appear and they are barely manageable since the video starts to stutter and at the end it just hangs. Taking a look at "top" I can see that CPU usage has an average of 70% whereas with Frodo the average does not surpass 30%. (Always with overclock)
Longer videos like https://www.youtube.com/watch?v=wbCCJPTzFA0 don't event start to play, XBMC gets stuck in the "Working" spinner.
What I've tried to tackle the problem so far:
- Setting gpu_mem=100 as a used to have with Frodo.
- Setting cachemembuffersize 2621440 as in Frodo
- Fresh install of Helix Build
- Fresh install of OE 4.0.7
- Fresh install of OE 4.1.3
In order to rule out a hardware problem I have also done a fresh install of Frodo RBEJ (January 2014) and the issue is gone, everything works out of the box.
Is there any reason for this behaviour?
Thank you very much in advance.
LOGS:
Dmesg output: http://sprunge.us/OSXM
First video:
Longer video:
CPU USAGE:
I've been facing video stuttering while streaming for a while and I wanted to post it here since I'm not being able to solve it myself.
I'm not 100% sure, but I believe it started happening when OE upgraded to 4.0.7. However, I've been able to reproduce the same issue in OE 4.1.3 and most recent Helix Builds (Aug 7 for instance).
For instance, if I try to play this Youtube video (https://www.youtube.com/watch?v=m-M1AtrxztU) everything seems to be working just fine but when I move the mouse to show the context buttons and progress bar, these controls take a lot to appear and they are barely manageable since the video starts to stutter and at the end it just hangs. Taking a look at "top" I can see that CPU usage has an average of 70% whereas with Frodo the average does not surpass 30%. (Always with overclock)
Longer videos like https://www.youtube.com/watch?v=wbCCJPTzFA0 don't event start to play, XBMC gets stuck in the "Working" spinner.
What I've tried to tackle the problem so far:
- Setting gpu_mem=100 as a used to have with Frodo.
- Setting cachemembuffersize 2621440 as in Frodo
- Fresh install of Helix Build
- Fresh install of OE 4.0.7
- Fresh install of OE 4.1.3
In order to rule out a hardware problem I have also done a fresh install of Frodo RBEJ (January 2014) and the issue is gone, everything works out of the box.
Is there any reason for this behaviour?
Thank you very much in advance.
LOGS:
Dmesg output: http://sprunge.us/OSXM
First video:
Code:
11:55:56 T:3059614240 NOTICE: COMXPlayer: Opening: https://r1---sn-w511uxa-h5qz.googlevideo.com/videoplayback?
11:55:56 T:3059614240 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
11:55:56 T:2831754320 NOTICE: Thread OMXPlayer start, auto delete: false
11:55:56 T:2831754320 NOTICE: Creating InputStream
11:55:56 T:2766140496 NOTICE: Thread FileCache start, auto delete: false
11:55:56 T:2831754320 NOTICE: Creating Demuxer
11:55:59 T:2831754320 NOTICE: Opening video stream: 0 source: 256
11:55:59 T:2831754320 NOTICE: Creating video thread
11:55:59 T:2774529104 NOTICE: Thread OMXPlayerVideo start, auto delete: false
11:55:59 T:2831754320 NOTICE: Opening audio stream: 1 source: 256
11:55:59 T:2831754320 NOTICE: Creating audio thread
11:55:59 T:2734683216 NOTICE: Thread OMXPlayerAudio start, auto delete: false
11:55:59 T:2831754320 NOTICE: OMXClock using audio as reference
11:55:59 T:2774529104 NOTICE: Display resolution DESKTOP : 1680x1050 (1680x1050) @ 60.00 - Full Screen (16)
11:56:00 T:3059614240 NOTICE: Using GL_TEXTURE_2D
11:56:00 T:3059614240 NOTICE: GL: Using BYPASS render method
11:56:00 T:3059614240 NOTICE: GL: NPOT texture support detected
11:56:01 T:2774529104 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
11:57:42 T:2724197456 WARNING: Previous line repeats 89 times.
11:57:42 T:2724197456 NOTICE: Thread JobWorker start, auto delete: true
11:57:42 T:2774529104 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
Longer video:
Code:
12:01:29 T:3059614240 NOTICE: COMXPlayer: Opening: https://r7---sn-w511uxa-h5qe.googlevideo.com/videoplayback?ratebypass=yes&mm=31&id=o
12:01:29 T:3059614240 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
12:01:29 T:2766140496 NOTICE: Thread OMXPlayer start, auto delete: false
12:01:29 T:2766140496 NOTICE: Creating InputStream
12:01:30 T:2766140496 NOTICE: Creating Demuxer
12:01:30 T:2774529104 NOTICE: Thread FileCache start, auto delete: false
12:01:35 T:2766140496 NOTICE: Opening video stream: 0 source: 256
12:01:35 T:2766140496 NOTICE: Creating video thread
12:01:35 T:2831754320 NOTICE: Thread OMXPlayerVideo start, auto delete: false
12:01:35 T:2766140496 NOTICE: Opening audio stream: 1 source: 256
12:01:36 T:2766140496 NOTICE: Creating audio thread
12:01:36 T:2706957392 NOTICE: Thread OMXPlayerAudio start, auto delete: false
12:01:38 T:2766140496 NOTICE: OMXClock using audio as reference
CPU USAGE: