Solved Screen stays on library when playing any video file
#1
Newbie here with a Raspberry PI on the latest Openelec (4.0.4).

I have this strange behaviour that when I have completely configured XBMC with all libraries and try to play a video file, you see the 'working' message and the sound start, but the screen keeps showing the fanart from the library. After a few seconds the sound starts to stutter and I am unable to do anything, except pull the power to reset it. Then I reset all the video playback settings and then it runs for a while without issues, untill it starts again.

Anyone else seen this behaviour? I can't really find anything in the debug logs.
Reply
#2
Two things that comes to mind:

You might need to purchase and install mpeg and/or vc1 codec licenses: http://www.raspberrypi.com/mpeg-2-license-key/

The other thing, what is your gpu mem set to?

Mediainfo and a complete dubug log might show exactly what´s going on.
Reply
#3
I have the Mpeg license, but I don't think the VC-1 will help anything for mkv h.264 files. I'll see if I can come up with a complete logging. Thanks for the reply.
(2014-06-06, 11:24)miappa Wrote: Two things that comes to mind:

You might need to purchase and install mpeg and/or vc1 codec licenses: http://www.raspberrypi.com/mpeg-2-license-key/

The other thing, what is your gpu mem set to?

Mediainfo and a complete dubug log might show exactly what´s going on.
Reply
#4
Ok, I've got a piece of the debugging log here:
Code:
NOTICE: COMXPlayer: Opening: nfs://192.168.1.4/volume1/movies/Fast and Furious 6 (2013)/Fast and Furious 6 (2013).mkv
15:59:38 T:3058253824 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
15:59:38 T:2698249296  NOTICE: Thread OMXPlayer start, auto delete: false
15:59:38 T:2698249296  NOTICE: Creating InputStream
15:59:39 T:2698249296  NOTICE: Creating Demuxer
15:59:39 T:2698249296  NOTICE: Opening video stream: 0 source: 256
15:59:39 T:2995778640   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.video_decode - OMX_ErrorInsufficientResources, insufficient resources
15:59:39 T:2698249296   ERROR: OMXPlayerVideo : Error open video output
15:59:39 T:2698249296   ERROR: COMXCoreComponent::FreeInputBuffers WaitForCommand:OMX_CommandPortDisable failed on OMX.broadcom.video_decode omx_err(0x80001000)
15:59:39 T:2698249296 WARNING: OpenVideoStream - Unsupported stream 0. Stream disabled.
15:59:39 T:2698249296  NOTICE: Opening audio stream: 2 source: 256
15:59:39 T:2698249296  NOTICE: Creating audio thread
15:59:39 T:2648699984  NOTICE: Thread OMXPlayerAudio start, auto delete: false
15:59:39 T:2698249296  NOTICE: Opening Subtitle stream: 0 source: 1024
15:59:40 T:2698249296 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
15:59:40 T:2640311376  NOTICE: Thread BackgroundLoader start, auto delete: false
15:59:40 T:2698249296  NOTICE: OMXClock using audio as reference
15:59:44 T:2698249296  NOTICE: COMXPlayer::OnExit()
15:59:44 T:2698249296  NOTICE: OMXPlayer: closing audio stream
15:59:44 T:2698249296  NOTICE: Closing audio stream
15:59:44 T:2648699984  NOTICE: thread end: OMXPlayerAudio::OnExit()
15:59:44 T:2698249296  NOTICE: OMXPlayer: closing subtitle stream
15:59:44 T:2698249296  NOTICE: Closing subtitle stream
15:59:44 T:2698249296  NOTICE: COMXPlayer::OnExit() deleting demuxer
15:59:44 T:2698249296  NOTICE: COMXPlayer::OnExit() deleting input stream
15:59:44 T:3058253824  NOTICE: COMXPlayer: finished waiting

Something with insufficient resources? Anyone who can help me out here?
Reply
#5
Yes, you need to dedicate more memory to GPU.
This is not a debug log and only a snippet, next time post a link to a complete debug log on pastebin.com or xbmclogs.com.
A complete debug log will show more such as your settings, different versions etc.

Check gpu_mem setting in config.txt.
If it´s set to 100, try to set it to 128.
If it already is 128, try setting it to 192, that should definitely sort you out with this issue.
Reply
#6
Thanks. I'm sorry about the snippet. Still new to this Wink. I had found something about the gpu too. It's now set to 192 and seems to be working. Just trying to see if it'll hold up Smile

(2014-06-07, 16:15)miappa Wrote: Yes, you need to dedicate more memory to GPU.
This is not a debug log and only a snippet, next time post a link to a complete debug log on pastebin.com or xbmclogs.com.
A complete debug log will show more such as your settings, different versions etc.

Check gpu_mem setting in config.txt.
If it´s set to 100, try to set it to 128.
If it already is 128, try setting it to 192, that should definitely sort you out with this issue.
Reply
#7
Should also have mentioned, if you run a heavy skin you might run into this issue even on high gpu_mem settings.
Also, I usually run my Pi´s with gpu_mem=256, been using that for over a year without issues.
So you can try that if 192 is not sufficient.
Reply
#8
Still having the same issues here. Even with gpu @ 256. Here's my complete debug when starting a movie: Pastebin

Anyone?
(2014-06-07, 16:45)miappa Wrote: Should also have mentioned, if you run a heavy skin you might run into this issue even on high gpu_mem settings.
Also, I usually run my Pi´s with gpu_mem=256, been using that for over a year without issues.
So you can try that if 192 is not sufficient.
Reply
#9
This is not the same problem, it looks more like a network issue, e.g. not enough bandwidth for high bitrate video over network (I think...).
Do you see any issues if you play it locally, e.g. USB or from SD card?

Hopefully someone with more knowledge can spot exactly what´s going on, but my guess is that this is a network related issue.
Perhaps medianfo on that file might show something more.

Also, (unrelated though) your advancedsettings.xml is somewhat outdated with some old settings.
Reply
#10
I've been able to fix this by selecting a lighter skin and mounting the NFS shares I use directly on root folders on the Raspberry Pi: http://v1chak.blogspot.nl/2013/03/raspbi...t-nfs.html.

Thanks all for your help.
Reply

Logout Mark Read Team Forum Stats Members Help
Screen stays on library when playing any video file0