Artix Linux Forum

Artix Linux => Other Architectures => ARMtix => Topic started by: mobin2008 on 18 May 2025, 14:15:48

Title: linux-rpi: "rpi_hevc_dec" does nothing when probed
Post by: mobin2008 on 18 May 2025, 14:15:48
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.
Title: Re: linux-rpi: "rpivid" module is missing in 6.12.25 kernel!
Post by: phoenix_king_rus on 18 May 2025, 16:06:56
Looks like it was removed from ALARM config. I don't see if there is any replacement
Title: Re: linux-rpi: "rpivid" module is missing in 6.12.25 kernel!
Post by: replabrobin on 18 May 2025, 16:36:24
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
Title: Re: linux-rpi: "rpivid" module is missing in 6.12.25 kernel!
Post by: mobin2008 on 02 June 2025, 19:28:48
Looks like rpivid is replaced with rpi_hevc_dec module which does not provide any /dev/video interface for using it :/
Title: Re: linux-rpi: "rpivid" module is missing in 6.12.25 kernel!
Post by: mobin2008 on 01 August 2025, 12:28:41
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