Skip to main content
Topic: linux-rpi: "rpi_hevc_dec" does nothing when probed (Read 3026 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

linux-rpi: "rpi_hevc_dec" does nothing when probed

Hi. I upgraded my kernel to 6.12.25 and noticed that kodi was lagging when playing HEVC content. I checked the kodi log and there was errors around failure in opening rpivid v4l2 interface. I checked with lsmod and there was no "rpivid" module to modprobe.

I downgraded my kernel to 6.12.13 and the issue got fixed, now lsmod shows "rpivid_hevc" module and kodi is decoding HEVC videos with ease.

Re: linux-rpi: "rpivid" module is missing in 6.12.25 kernel!

Reply #1
Looks like it was removed from ALARM config. I don't see if there is any replacement
ARMtix
If you need to contact me, use email

Re: linux-rpi: "rpivid" module is missing in 6.12.25 kernel!

Reply #2
A while back CONFIG_VIDEO_RPIVID=m was in config8(6.12.10), but I can confirm that it's not in the version of alarm config8 that goes with 6.12.28. I will try a build of linux-armtix-rpi5 (16k) with it back in.

EDIT: it was removed in alarm edit c790b63b27668e77ca5a46ceb639a3849277c2cf  linux-rpi 6.12.18-1

 

Re: linux-rpi: "rpivid" module is missing in 6.12.25 kernel!

Reply #3
Looks like rpivid is replaced with rpi_hevc_dec module which does not provide any /dev/video interface for using it :/

Re: linux-rpi: "rpivid" module is missing in 6.12.25 kernel!

Reply #4
Looks like the issue is because of broken Armtix dtb files in linux-rpi, after replacing bcm2711-rpi-4-b.dtb file from https://github.com/raspberrypi/firmware/raw/7e15dd42411d4185290b66eb9ccc581bebb04bf2/boot/bcm2711-rpi-4-b.dtb the issue get fixed.

put the file in /boot