@tartanpion Just an FYI. Upstream kodi-rpi upgraded today and I built and pushed version 19.4.1-3 packages to the unstable branch. There was no code changes but had some compiler flag changes. The new kodi-rpi did well with all of my test videos using linux-rpi4 5.15.43 and the latest raspberrypi-bootloader packages in the unstable branch. The h.265 issue is still there with the 5.18 kernel.
I will do this within the next couple of days and test. My time is limited today as I am rebuilding all rpi kernels with gcc12 in the unstable branch and today is my day to go to town for groceries which is an over 100 mile trip.
The linux-rpi4 packages built with gcc12 has been pushed to the unstable branch when the mirrors sync.
I ran into an issue with the linux-mainline as there was a change since the one in the repo was built and it has an issue with rebooting. If you power off first it seems to be ok but if rebooting some times I immediately get a blank screen. One time it tried to download and install a boot image. The linux-mainline 5.18.0 in the unstable repo seems to be ok. I suspect this last commit is causing the issue but they also had a related commit with the last raspberrypi-bootloader packages. I have run out of time today to investigate.
@tartanpion I have pushed kodi-rpi-git to the unstable branch for you to test. It does seem better here. I was able to play all of my hevc test vids except jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv. Guessing it does not like 10bit. It still crashes kodi with 5.18 but plays fine with kernel 5.15.y. The kodi-rpi4-git package plays well with kernel 5.15.y in all of my tests with no issues. I would like to point out and guess you know that RPi recommends the 5.15.y kernel wit kodi as they consider it as their “Stable”
kernel.
Notes:
Use the linux-rpi4-mainline 5.18.0-1 currently in unstable when you test.
Since this is kodi v20 the API has changed so none of my compiled addons work. I will have to build new ones.
You might as well get used to using KMS instead of FKMS if you have not made the switch as it is dying on the vine. The libcec-rpi package should replace libcec-rpi-fkms with the kodi-rpi-git install.
These kodi-rpi-git packages are built against the latest libs in the unstable branch so would be best to upgrade there before installing them.
i will wait a few days before using 5.18… But just for this evening my test :
kodi 20 and 5.15 and hevc ( jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv include)
kodi 20 and 5.18 :same for me.
just one second in the beginning with a black screen.
but no pipewire in the sound configuration.
My DE is gnome and i use kodi in a tty
my screen is 1920x1200. and i have a little overclocked
It’s steady since 1,5 years and the last commit is about a core frequency of 600 for 4K
And no pb with chromium or mpv (mpv-pipewire) like i have seen in another post. just no hardware acceleration.
Pipewire is just for testing because it’s a new feature in kodi 20 .
KODI_AE_SINK=PIPEWIRE kodi does nothing. perhaps it’s need pipewire in optdepends
And the only mystery is why i can play jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv and not you.
@tartanpion I have made some common additional addons packages for kodi v20. Download the tarball from my googledrive and unpack and install the packages you may need with pacman -U.
The screensavers package has 24 screensavers. I found that 4 of them do not work here:
Hyperspace
Hufo Tunnel
Matrix View
Plasma
After installing the screensavers and rebooting you will be asked which screensavers to enable so say no to the ones above.
I was not aware until today starting with kernel 5.18 the ashmem module had been removed by upstream → RPi tree so it has broken anbox. I did some research on the anbox git and they are aware of it but up in the air on how to deal with it. So today I have patched both kernels linux-rpi4-mainline and linux-rpi4-rc to temporarily get anbox working until they come up with a game plan to fix it. The linux-rpi 5.15 kernel still works ok as is.
New kernels patched for working anbox and pushed to unstable:
The linux-rpi4 kernel upgraded today and packages pushed to the unstable branch when the mirrors sync.
linux-rpi4 5.15.56-1
linux-rpi4-headers 5.15.56-1
Updated July 23:
The rpi-eeprom package has been upgraded and pushed to the unstable branch with a bug fix for usb nvme ssd and loading large initramfs files. This was only an issue if someone added a lot to the initramfs file. This issue did not seem to affect booting on a sdcard.
rpi-eeprom 20220723-1
Updated Jul 27:
More testing today with the upstream linux-next kernel with V3d.
Fish tank:
It was solid at 26 FPS but it peaked regularly to 30.
@Rip2 Here is the link to the upstream kernel that will have V3d for the rpi4 with 5.20 when it hits. I do not use uboot booting the upstream kernels; too many issues pop up from time to time.
Procedure:
Back up your cmdline.txt and config.txt so they can be restored later and use these configs instead. Write down your root= in cmdline.txt and replace it below. If you have any custom monitor settings in cmdline.txt and or config.txt also copy them over.
arm_freq=2000
device_tree=dtbs/broadcom/bcm2711-rpi-4-b.dtb
gpu_mem=64 # You have to have some gpu_mem here or it will lock up at the login
initramfs initramfs-linux.img followkernel
kernel=Image
arm_64bit=1
disable_overscan=1
#enable sound
dtparam=audio=on
hdmi_drive=2
avoid_warnings=2
enable_uart=1
Download, unpack and install the linux-rpi4-upstream kernel packages. They will unpack and be in the upstream-v3d folder.
I have been testing this kernel every day for 2 weeks on each daily update with no issue except 1. I would guess you have not quite followed the procedure. You had pretty much the same issue the last time you tried to install upstream kernel on the pi4.
You can mount your drive in a chroot and install the last kernel you had installed or you can disect the last kernel package (should be in /var/cache/pacman/pkg/) and copy the boot files in /boot/* and the /usr/lib/modules/* on another computer to your drive. Then copy back your original config.txt and cmdline.txt files you saved. The remove the /boot/dtbs directory and /boot/Image file. Then boot it up.