S905x suddenly using SW decoding after a week of HW decoding

First of all I am happy with CoreElec. I have very strange thing on my S905X amlogic which I find hard to describe. Nevertheless I will try.

It is running great BUT after a week or so the decoding of all content, that I play, starts to become Software Decoded on the normal CPU instead of AMlogic HardWare decoding GPU. I first notice most of the content starts to stutter and start to see High CPU rates. I check the information screen in Kodi and see it is doing SW decoding instead of HW decoding. After a reboot all problems are solved and all content is again HW decoded. I saw this in the latest two releases. Maybe also in others but I was not aware at that time.

I don’t know if it will help but I link to to my full debug log here: http://ix.io/1inX

Thx

I have same problem as well.

where shall we file this issue/bug. I mean probably we are aware but there must be many people with this s905x box or other same chip-sets having this problem. I have the feeling that is a bug

I have never seen this issue with my S905X boxes. Perhaps it is a H/W issue and you two happen to have the same box? Without further details its pretty hard to narrow it down. :thinking:

It was a known issue. If you read the fixes for release CoreELEC 8.95.0 it is on line 6 :wink:

Fixes

  • fixed playback of 29.97/59.94 fps interlaced content
  • fixed playback of 3D content
  • fixed VC1 playback and seeking
  • fixed HEVC playback and seeking
  • fixed MPEG2 playback
  • fixed issue where decoding would change from HW>SW

But the issue where decoding would change from HW>SW is back in the CoreELEC 8.95.1 release

Please write exact steps to reproduce your problem.

the decoding of all content, that I play, starts to become Software Decoded on the normal CPU instead of AMlogic HardWare decoding GPU. I first notice most of the content starts to stutter and start to see High CPU rates. I check the information screen in Kodi and see it is doing SW decoding instead of HW decoding. After a reboot all problems are solved and all content is again HW decoded.

I don’t know if it will help but I link to to my full debug log here: http://ix.io/1inX

Do you have H/W decoding enabled in settings or have you turned it off?

Yes it is enabled:

It doesn’t happen often. My device is always on. Once in awhile, I play something I immediately notice the playback is slow and choppy, I check the details of how it is playing and see that it is doing SW decoding while it is enabled in the settings.

And this is what I see in the player process info screen sometimes when the problem occurs. It can stay without a problem for a week and the next week I play something which does SW decoding. Hardware decoding is switched on.

I went back to release CoreELEC 8.95.0 and did not see the issue where decoding would change from HW>SW appear yet and I played lots of content to test it. Will report when it happens tho.

But if so why it came back in release CoreELEC 8.95.1 while it was fixed in release CoreELEC 8.95.0?

Thx

I am having the exact same issue as facer in 8.95.2 . I didn’t change anything, but now all videos I tried (twitch 1080p60 source, youtube through dash inputstreams) are using the ff-h264(SW) decoder now. All HW-Decoding options are set to “always use”.

Always kodi debug log with video and a/v timing specific debuggung is necessary for fixing issue!

I had the same problem last week. If it happens again, I’ll post the respective log

I know about the debug log but you are writing: debug log with video and a/v timing specific debugging

How does one log with video and a/v timing ?

thx

Specific debugging means which specific info will be included in debug log.

https://discourse.coreelec.org/t/how-to-get-logs-and-upload-them/1431

@afl1 I have a S905X box that I just updated to latest CE (it was running LE7 for ages without a problem). It’s primarily used for IPTV. After a reboot it works fine with h/w acceleration, it can work fine for hours, but then you change a channel and it switches over s/w decoding until the next reboot. I think we need to run in debug log mode long enough to catch the error that causes this problem to happen. Running in debug mode after Kodi can no long use h/w decoding may not help us figure out what is wrong.

Is there a way to get rid of the OSD display while debug logging is on?
If it’s possible, I can try it myself tonight or over the next few days, it seems to reproduce on that box quite consistently. I also have a lepotato and another s905x box, those don’t seem to be affected.

It’s possible through the advancedsettings.xml -> https://kodi.wiki/view/Advancedsettings.xml

Check part 2.1.1

You needn’t run debug mode for long time, you only switch-on it after decoding issue. I need to see if this is caused by instance-guard checking in amlogic decoder.

1 Like