Heavy stuttering during video playback

Anything HD stutters to a crawl and UHD freezes and I get that buffering dialogue pop up in the upper right hand corner.
My DVD rips play fine (my Wife and I have been watching old Seinfeld episodes the last few nights with no issues).
So first thing I did was reboot it.
Problem still persisted.
So then I suspected it might be my external USB HDD or the USB cable.
So I made sure everything was plugged in well and snug but problem persisted.
I copied a file that was stuttering to the Vero’s internal 16GB memory and played it back that way and it stutters as well.
The USB HDD plugged into my Vero is mapped to my Windows 10 laptop via samba so I opened the file on my laptop and it played back perfectly in Media Player Classic.
I can even watch the files from the Vero HDD via UPNP on my daughter’s TCL Roku TV perfectly.
So my next thought is it must be something with the Vero processing the file.
I went to system info and the CPU and GPU temps are idling at 77C, which seems pretty high for idle but I guess not the end of the world for a fanless device.
So I’m going to get some logs recorded and what not but if anyone has any trouble shooting ideas please let me know because at this point everything above 480p is unwatchable.

Looks like there was an update error a couple days ago:

Start-Date: 2023-08-08  22:01:53
Commandline: /usr/bin/apt-get-real -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -f -y dist-upgrade
Install: vero364-image-4.9.269-32-osmc:arm64 (4.9.269-32-osmc, automatic)
Upgrade: udev:armhf (247.3-7+deb11u2, 247.3-7+deb11u4), libnss-myhostname:armhf (247.3-7+deb11u2, 247.3-7+deb11u4), libpam-systemd:armhf (247.3-7+deb11u2, 247.3-7+deb11u4), mediacenter-addon-osmc:armhf (3.0.769, 3.0.770), libiperf0:armhf (3.9-1, 3.9-1+deb11u1), mediacenter-skin-osmc:armhf (20.0.0-4, 20.0.0-5), libsystemd0:armhf (247.3-7+deb11u2, 247.3-7+deb11u4), systemd:armhf (247.3-7+deb11u2, 247.3-7+deb11u4), libudev1:armhf (247.3-7+deb11u2, 247.3-7+deb11u4), vero3-mediacenter-osmc:armhf (20.1.0-4, 20.2.0-5), base-files-osmc:armhf (3.3.2, 3.3.3), iperf3:armhf (3.9-1, 3.9-1+deb11u1), systemd-sysv:armhf (247.3-7+deb11u2, 247.3-7+deb11u4), vero364-kernel-osmc:arm64 (3.9.268, 3.9.275)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2023-08-08  22:03:12

Try to update from CLI with
sudo apt update
sudo apt dist-upgrade
and see if it goes without error.

Okay, here’s a log: ###### (problem fixed, log link deleted)

So I let my Vero sit unplugged for awhile, maybe 10 minutes or so, hoping it would cool down a bit (it booted up in the 40s), then I plugged it in, enabled logging, told it to reboot, then tried to play a file I downloaded real quick to the 16GB internal memory, and it played back better than others have been but still had some stuttering.
It was watchable but annoying and it appeared as if all 4 CPU cores were at 100%.
I’d think an HD file would be all GPU but who knows.
So I plugged in my USB HDDs and made an attempt to playback a new UHD Remux I did and it was playing back at like 2 fps or something ridiculous.
Temps were climbing but they were only in the 60s.
So then I uploaded the log.

Okay, I’ll try that now.
Note: The manual update check option in My OSMC said there were no updates availabel.

osmc@osmc:~$ sudo apt update
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://ftp.debian.org/debian bullseye InRelease
Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
Hit:4 https://ftp.fau.de/osmc/osmc/apt bullseye InRelease
Reading package lists... Done
osmc@osmc:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  armv7-libass-osmc armv7-libnfs-osmc dh-python gnupg-agent libapt-inst2.0 libbind9-140 libbind9-161 libcdio13
  libcdio18 libcryptsetup4 libdevmapper-event1.02.1 libdns1104 libdns1110 libdns162 libenca0 libevent-2.0-5
  libevent-2.1-6 libfdk-aac1 libffi6 libfile-copy-recursive-perl libgdbm3 libgeoip1 libhogweed4 libicu57 libicu63
  libidn11 libip4tc0 libip6tc0 libiptc0 libisc1100 libisc1105 libisc160 libisccc140 libisccc161 libisccfg140
  libisccfg163 libiso9660-8 libjson-c3 liblvm2app2.2 liblwres141 liblwres161 libmpdec2 libncurses5 libnettle6 libnfs12
  libntfs-3g871 libperl5.28 libprocps6 libprocps7 libpython2-stdlib libpython2.7 libpython2.7-minimal
  libpython2.7-stdlib libpython3.5-minimal libpython3.5-stdlib libpython3.7 libpython3.7-minimal libpython3.7-stdlib
  libreadline7 libssl1.0.2 libunistring0 libwebpmux2 perl-modules-5.28 python-pkg-resources python-six python2
  python2-minimal python2.7 python2.7-minimal python3-distutils python3-lib2to3 python3.5 python3.5-minimal python3.7
  python3.7-minimal update-inetd wireless-firmware-osmc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]

And did you continue? What was the outcome?
If that doesn’t work do
sudo apt -f install

I didn’t hit the Y or the N key but accidentally hit the ENTER key and it did this:

Do you want to continue? [Y/n]
Setting up vero364-image-4.9.269-32-osmc:arm64 (4.9.269-32-osmc) ...
12+1 records in
12+1 records out
12675072 bytes (13 MB, 12 MiB) copied, 0.324014 s, 39.1 MB/s
0+1 records in
0+1 records out
116736 bytes (117 kB, 114 KiB) copied, 0.0114184 s, 10.2 MB/s
Setting up vero364-kernel-osmc:arm64 (3.9.275) ...

Looks good. Restart and try to play the movies

Rebooted mediacenter and problem persisted.
Gave it a hardware reboot and everything plays back perfect now.
Thank you for the quick help (my wife gave up and went to bed though)!
So what was that all about?
Some part of an update failed?

Kernel Update failed which meant you had version of secure-osmc not fitting the Kernel which meant the Videos played with software decoding.

Ah, makes sense.
Thanks again for the speedy support!