Problems with KODI, X/desktop or moving media and sound after upgrade

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=9
    G_DIETPI_VERSION_RC=0
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘applied’
    G_LIVE_PATCH_STATUS[1]=‘applied’
    G_LIVE_PATCH_STATUS[2]=‘not applicable’
    G_LIVE_PATCH_STATUS[3]=‘not applicable’

  • Distro version | Bookworm 0

  • Kernel version | Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

  • Architecture | ArmHF

  • SBC model | RPI4 4gb

  • Power supply used | RPi4 original

  • SD card used | USB hdd

Additional Information (if applicable)

  • Software title | Kodi, X, any app with moving media
  • Was the software title installed freshly or updated/migrated?
  • Updated/upgraded via dietpi-update to latest version
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | 0a7f6b27-5280-4472-ae0c-e9c531da3cf4

Steps to reproduce

Expected behaviour

Kodi or X starting, be able to watch movies with sound.

Actual behaviour

After successfully applying the update/upgrade to latest verison 9.9 after a 2 week abscence from home during xmas/NYE I got a error from Pipewire in yellow and red colour at boot. Normally Kodi executes as a non root user but after upgrade is stopped at prompt.
I read about the error message online and got a solutions to reinstall Pipewire.
The error message disappeared and I can start Kodi (or desktop LXDE) BUT… whenever sound or moving pictures is involved everything freezes after a few seconds.

I do not know how to fix this.
Update is the only change I have don on the system which has been workign perfectly for a long time.

Extra details

  • apt policy pipewire

pipewire:
Installed: 1.2.4-1~bpo12+1+rpt1
Candidate: 1.2.4-1~bpo12+1+rpt1
Version table:
1.2.7-1~bpo12+1 100
100 Index of /debian bookworm-backports/main armhf Packages
*** 1.2.4-1~bpo12+1+rpt1 500
500 Index of /debian bookworm/main armhf Packages
100 /var/lib/dpkg/status
0.3.65-3+deb12u1 500
500 Index of /debian bookworm/main armhf Packages