Pi3 stuttering with August update

Hello
I have same problem on my Pi3 (NOOBs) after last update
Here is the logs:
https://paste.osmc.tv/muceranajo
After some time (30 min) of playing recorded video first missing sound and after next few seconds also freezing picture.
There is no error message and sometime is possible to stop playing video and sometime is only SSH possible.
Could you help me please with any sugestion or if you need any information, please ask me.
Thanks
Jan

Here is my top output when kodi is freezing again:

top - 21:39:56 up 14:30,  1 user,  load average: 0.03, 0.03, 0.00
Tasks: 118 total,   1 running,  70 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.2 us,  0.8 sy,  0.0 ni, 99.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :   748484 total,    21884 free,   301036 used,   425564 buff/cache
KiB Swap:        0 total,        0 free,        0 used.   389408 avail Mem
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
  382 osmc      20   0  915728 282636  41368 S   2.3 37.8  55:06.55 kodi.bin
19338 osmc      20   0    5592   2528   1980 R   0.7  0.3   0:00.34 top
   73 root       1 -19       0      0      0 S   0.3  0.0   1:05.86 vchiq-slot/0
  240 root      20   0       0      0      0 S   0.3  0.0   0:03.89 brcmf_wdog/mmc1
  675 ntp       20   0    7056   2636   2188 S   0.3  0.4   0:06.68 ntpd
    1 root      20   0   25544   5076   3888 S   0.0  0.7   0:02.15 systemd
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.02 kthreadd
    4 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/0:0H
    6 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 mm_percpu_wq
    7 root      20   0       0      0      0 S   0.0  0.0   0:03.24 ksoftirqd/0
    8 root      20   0       0      0      0 I   0.0  0.0   0:13.94 rcu_preempt
    9 root      20   0       0      0      0 I   0.0  0.0   0:00.00 rcu_sched
   10 root      20   0       0      0      0 I   0.0  0.0   0:00.00 rcu_bh
   11 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 migration/0
   12 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/0
   13 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/1
   14 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 migration/1
   15 root      20   0       0      0      0 S   0.0  0.0   0:00.51 ksoftirqd/1
   17 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/1:0H
   18 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/2
   19 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 migration/2
   20 root      20   0       0      0      0 S   0.0  0.0   0:00.24 ksoftirqd/2
   22 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/2:0H
   23 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/3
   24 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 migration/3
   25 root      20   0       0      0      0 S   0.0  0.0   0:00.30 ksoftirqd/3
   27 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/3:0H
   28 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kdevtmpfs
   29 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 netns
   33 root      20   0       0      0      0 S   0.0  0.0   0:00.06 khungtaskd
   34 root      20   0       0      0      0 S   0.0  0.0   0:00.00 oom_reaper
   35 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 writeback
   36 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kcompactd0
   37 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 crypto
   38 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kblockd
   39 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 watchdogd
   40 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 rpciod
   41 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 xprtiod
   42 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kauditd
   43 root      20   0       0      0      0 S   0.0  0.0   0:04.54 kswapd0
   44 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 nfsiod
   67 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kthrotld
   69 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 iscsi_eh
   70 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 dwc_otg
   71 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 DWC Notificatio
   74 root       1 -19       0      0      0 S   0.0  0.0   0:01.97 vchiq-recy/0
   75 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 vchiq-sync/0

Jan

Edit:
When I try to upload of logs I received:
osmc@osmc:~$ grab-logs -A
tvservice-client: Failed to download CEA cache in [vc_tv_hdmi_get_supported_modes_new]

Edit2:
After few enters and CTRL+C I received:
https://paste.osmc.tv/omudopesud

MOD EDIT: Please don’t use blockquote for pasting terminal output. Using </> preformatted text ensures proper formatting.

I think your problem might be unrelated. You’re running a Pi3B and most of the problems seem to be on Pi1Bs and a few Pi2Bs. Also, your CPU figures are, strangely, very low.

You’re overclocking some aspects of your Pi3, including the SD card:

gpu_freq=500
over_voltage=2  
sdram_freq=580
over_voltage_sdram=5  
sdram_schmoo=0x02000020
dtparam=sd_overclock=100

I suggest you comment these out and see if the issue persists after a reboot.

I think it is related. On previous freezing I had also high CPU usage, but it was possible stop the movie. In last case the Kodi not responding for stop movie command - maybe not working and it is reason for low CPU figures.
Overclocking of Pi is some tested config setting for HEVC by Millhouse on Pi3B+:

I´m using this also for Pi2 and it is working much better then without overclocking.
Part of these settings is depend the Popcornmix recommendation:

Jan

You’re free to continue with the overclocks but it doesn’t take much to disable them and see if it helps.

You’re on a Pi3B, not the plus version, and theMilhouse post was referring to a Pi3B+.

The second quote contains the line:

It’s an overclock, so not guaranteed to work on all Pi’s, but it works on a reasonable number

I Known, but I used the Popcornmix version since Jul 17 and Milhouse version since Aug 18 without big problems on Pi2, Pi3 and Pi3B+ also.
My problems was mainly with TV Headend.
Now I reverted to previous kernel and freezing is gone.
Jan

Hi

Hopefully the issue is now addressed

I’d appreciate it if you could test this and provide feedback before we potentially release this as an update to other users. To test this update:

  1. Login via the command line
  2. Edit the file /etc/apt/sources.list
  3. Add the following line: deb http://apt.osmc.tv stretch-devel main
  4. Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
  5. Your system should have have received the update.

Please see if the issue is resolved.

I also recommend you edit /etc/apt/sources.list again and remove the line that you added after updating. This will return you to the normal update channel.

Thanks Sam for your hard job
I already updated to your test version
But I´m not sure if the result it will be correct, if I last evening revert the kernel version?
Anyway I will inform you about news after update

Jan