OSMC Freezing Missing Banners Thumbnails unresponsive UI current + Krypton versions RPi1 2 3

@sam_nazarko @popcornmix Well it didn’t take long, as we suspected system unresponsive after playing a few media files. Can ssh in and reboot etc.

We get the same OMX type errors we were getting before. I will get a full set of debug logs.

02:18:41 11715.327148 T:2736096240 NOTICE: thread end: video_thread
02:18:41 11715.967773 T:3024818736 NOTICE: DVDPlayer: finished waiting
02:18:44 11719.161133 T:2666783728 ERROR: COMXCoreComponent::WaitForOutputDone OMX.broadcom.egl_render wait event timeout
02:18:44 11719.161133 T:2666783728 ERROR: COMXTexture::Decode m_omx_egl_render.WaitForOutputDone result(0x80001011)
02:18:44 11719.162109 T:2666783728 NOTICE: DecodeJpegToTexture: unable to decode to texture special://masterprofile/Thumbnails/1/12265bb7.jpg 758x140

Cheers
Spart

I found this post very interesting as it states a possible solution for this problem: Frequent random muting, then freezing - #134 by AndersG
(have to be honest that I didn’t try it yet)

OK We have had a few different manifestation of the issue. Freezing on trying to exit from a playing TV Episode. Frozen Menu after exit and the usual working menus but no rhumbnail or banners being displayed any attempt to play anything at this point results in a frozen system.

You have PM with log information. It would probably be useful if the grab-logs utility was to have a save to disk feature or a sanitise feature/option before it uploads the various log files.

I was unable to upload the logs using sudo grab-logs -A
osmc@osmc:~$ sudo grab-logs -A
Exception Details:

Traceback (most recent call last):
File “/usr/bin/grab-logs”, line 636, in dispatch_logs
raise ValueError(‘Upload Returned Empty String’)
ValueError: Upload Returned Empty String

Failed to upload log files, copying to /boot instead. (Unable to verify)

I uploaded to website details in PM.

Cheers
Spart

Kodi log is on /home/osmc/.kodi/temp/kodi.log, or kodi.old.log. You can copy it, edit it, then do paste-log /path/to/log in the future.

I have made your log which you PM’d available to @popcornmix.

I will some builds available soon. It would be good for you to test and give us feedback.

No problem Just let me know. the pi is currently not usable due to the freezing issues and is in the state we left it.

Cheers
Spart

The log is 32MB. We only allow 10MB ones. Normally we give a Document Size Exceeded error, but I don’t think Varnish (the reverse proxy) allows a post that large, so it never reached the backend.

Will look through.

It looks like we are back to the end of the log OMX related issues. However this pi was not dist-upgraded so does not have the updated libs etc. that would have normally been installed using the updater which we are currently ignoring.

Cheers
Spart

Still downloading. Do you mean you are seeing the OMX related issues again?

S

See end of log before we had to reboot.

15:12:35 46152.417969 T:3025314352 NOTICE: DVDPlayer: finished waiting
15:12:39 46155.640625 T:2592936944 ERROR: COMXCoreComponent::WaitForCommand OMX.broadcom.image_decode wait timeout event.eEvent 0x00000000 event.command 0x00000002 event.nData2 321
15:12:39 46155.640625 T:2592936944 ERROR: COMXCoreTunel::Deestablish - Error WaitForCommand port 220 on component OMX.broadcom.image_decode omx_err(0x80001011)

Cheers
Spart

Okay – looks like we need to get some new builds going.

I’ll keep you posted.

Thanks for testing

Sam

Please try this Pi 1 test build and report back.

wget https://www.dropbox.com/s/vplhi91xhwln42c/rbp1-mediacenter-osmc.deb?dl=1 -O mediacenter.deb
sudo dpkg -i mediacenter.deb
rm mediacenter.deb
sudo reboot

@sam_nazarko OK Sam transcript below.
osmc@osmc:~$ sudo dpkg -i mediacenter.deb
(Reading database … 24446 files and directories currently installed.)
Preparing to unpack mediacenter.deb …
Unpacking rbp1-mediacenter-osmc (16.1.0-8) over (16.1.0-3) …
Setting up rbp1-mediacenter-osmc (16.1.0-8) …
Processing triggers for mime-support (3.58) …
osmc@osmc:~$ sudo reboot

Rebooted fine. Testing now.

Cheers
Spart

Rpi 1 using this build is working fine so far. No freezing or thumbnail/banner issues.

One of the boys has it at present to test. No doubt I will get a ‘support’ call shortly :slight_smile:

Cheers
Spart

@sam_nazarko @popcornmix Th Rpi 1 is running fine using the test build. No Issues at all with freezing or thumbnail.banners.

The log is still full of OMX errors/issues but they are not causing freezing etc. So far!

17:53:01 102054.296875 T:2536502256 ERROR: COMXCoreComponent::SetStateForComponent - OMX.broadcom.image_decode failed with omx_err(0x80001000)
17:53:02 102054.656250 T:2953835504 ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.egl_render - OMX_ErrorInsufficientResources, insufficient resources
17:53:02 102054.656250 T:2551182320 ERROR: COMXTexture::HandlePortSettingChange m_omx_tunnel_decode.Establish (80001000)
17:53:02 102054.656250 T:2551182320 ERROR: COMXTexture::Decode - HandlePortSettingChange failed (0)
17:53:02 102054.656250 T:2551182320 NOTICE: DecodeJpegToTexture: unable to decode to texture special://masterprofile/Thumbnails/3/3be6e303.jpg 1280x720
17:53:02 102054.664062 T:2551182320 ERROR: COMXCoreComponent::SetStateForComponent - OMX.broadcom.image_decode failed with omx_err(0x80001000)

Will leave it running for a while longer.

Cheers
Spart

Thanks for the feedback.

I’ll talk with @popcornmix and let you know when we have something new to try.

There were some changes to guarding VCHIQ calls, which meant that even if they would fail, there would be no crash. We then reverted them, but then we put them back in as a precaution.

We need to work out what has changed, which commits may be problematic, and produce some builds from there.

Test version you provided still working perfectly.

Cheer
Spart

Good. So we know the March patches are good and May patches are bad.
My understanding is that April was bad too.
@sparticle Can you confirm that April has same issues as May?

@popcornmix Yes that is when the issues started. As per the forum threads.

Cheers
Spart

Hi

Here are two new builds to test:

The first build is the latest Jarvis code, the latest @popcornmix code, and an additional commit to improve vsync handling. Please try this build first.

wget https://www.dropbox.com/s/giisthtq1qtk21o/rbp1-vsync.deb?dl=1 -O mediacenter.deb
sudo dpkg -i mediacenter.deb
rm mediacenter.deb

Failing that, please try the following bisected build:

wget  https://www.dropbox.com/s/om3p23r5lxl61tf/bisect1.deb?dl=1 -O mediacenter.deb
sudo dpkg -i mediacenter.deb
rm mediacenter.deb

I’ve not been bumping the versions of these builds. The quickest way to verify if the update has taken is to check ‘Build date’ in kodi.log.

Thanks

Sam

@sam_nazarko @popcornmix OK the fist of these builds is testing now. Transcript below.
osmc@osmc:~$ sudo dpkg -i mediacenter.deb
(Reading database … 24004 files and directories currently installed.)
Preparing to unpack mediacenter.deb …
Unpacking rbp1-mediacenter-osmc (16.1.0-8) over (16.1.0-8) …
Setting up rbp1-mediacenter-osmc (16.1.0-8) …
Processing triggers for mime-support (3.58) …

Cheers
Spart