S905x suddenly using SW decoding after a week of HW decoding

Alright, thanks. I think we’ve dealt with this before.
It didn’t reproduce for me today, but I’ll make sure to create a log when it happens.
Just out of curiosity, if it is a problem with the instance-guard, is there a solution?

1 Like

For Amlogic we can remove it as there isn’t concurrent playback of two video streams (e.g. PIP).
BTW I pushed patch for avoiding possible issues with instace-guard.

2 Likes

It just reproduced for me, and here’s the relevant bit from the log:

23:37:55.349 T:3213853552  NOTICE: CVideoPlayerVideo::OpenStream - Creating codec: 27
23:37:55.349 T:3213853552   ERROR: CDVDVideoCodecAmlogic::Open - InstanceGuard locked
23:37:55.349 T:3213853552  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
23:37:55.350 T:3213853552   DEBUG: CDVDVideoCodecFFmpeg - Updated codec: ff-h264
23:37:55.350 T:3213853552   DEBUG: CVideoPlayerVideo::OpenStream - open stream with codec id: 27 fps:25/1 options:02

So if I understand correctly, the change you pushed earlier will prevent this problem from happening again?

1 Like

I need complete log to see CE version and error messages! Try to upgrade to 8.95.3 or the latest nightly build.

1 Like

Yes, this is an older build, before the change you’ve made to the instanceguard.
I will try the latest over the weekend and see if there are still problems with it.

1 Like

H96 Pro here. Same issue since 9.0.3 and nightlies. All videos play with software. Flashing back to 9.0.2 fixes it.

This is not the same problem, open a new thread.

Sorry. I’ve created a new thread: [Solved] H96 Pro Hardware decoding not working with 9.0.3 and above