The issue you are currently experiencing with OSMC
/usr/bin/mediacenter exits with the following error when playing x265-encoded files.
x264 video files can be played witout any issues.
Dec 25 15:58:45 osmc mediacenter[548]: /usr/bin/mediacenter: line 149: 576 Segmentation fault sudo -u osmc LIRC_SOCKET_PATH=/var/run/lirc/lircd $KODI --standalone -fs
Dec 25 15:58:45 osmc mediacenter[548]: Kodi exited with return code 139 after 0 hours, 3 minutes and 56 seconds
Dec 25 15:59:05 osmc mediacenter[548]: Starting Kodi...
Full grab-logs output: https://paste.osmc.tv/axacequjob.vhdl
What you were doing when this issue occurred
Playing an x265 encoded video file via vanilla OSMC UI in a RaspberryPi 4.
I have tried a couple of different x265 video files, they all fail with the same error. Adding mediainfo output here:
File 1: https://paste.osmc.tv/ajutufitic.coffee
File 2: https://paste.osmc.tv/iwogowukuq.coffee
Whether you can replicate this issue on demand. If you can, then please provide some steps on how an OSMC developer can reproduce the same issue.
Play via OSMC UI any file encoded with x265 codec.
The device you are currently running OSMC on
Raspberry Pi 4 Model B Rev 1.2
What peripherals are attached to the device?
Infrared USB remote.
Has this issue been introduced by a new version of OSMC? When did the issue first appear and can you recall a time when it was not present?
This problem started after the latest apt dist-upgrade which, incidentally, upgraded to a new version of the Linux kernel:
Start-Date: 2022-12-25 03:01:06
Commandline: /usr/bin/apt-get-real dist-upgrade -y --no-install-recommends
Install: rbp464-image-5.15.83-1-osmc:arm64 (5.15.83-1-osmc, automatic)
Upgrade: mediacenter-addon-osmc:armhf (3.0.759, 3.0.760), rbp464-kernel-osmc:arm64 (3.9.242, 3.9.256), libksba8:armhf (1.5.0-3+deb11u1, 1.5.0-3+deb11u2)
End-Date: 2022-12-25 03:01:29
For reference, the previous Linux kernel version was 5.10.78-7-osmc. x265 video playback worked fine with that version.
Kodi crashes when trying to load (?) the x265 kernel module:
[...]
Dec 25 15:58:44 osmc kernel: rpivid feb10000.codec: rpivid_h265_start: (1920x1088)
Dec 25 15:58:44 osmc kernel: rpivid feb10000.codec: rpivid_h265_stop
Dec 25 15:58:45 osmc sudo[576]: pam_unix(sudo:session): session closed for user osmc
Dec 25 15:58:45 osmc mediacenter[548]: /usr/bin/mediacenter: line 149: 576 Segmentation fault sudo -u osmc LIRC_SOCKET_PATH=/var/run/lirc/lircd $KODI --standalone -fs
Dec 25 15:58:45 osmc mediacenter[548]: Kodi exited with return code 139 after 0 hours, 3 minutes and 56 seconds
Cheers.