Rocky Linux w/ AMD GPU problems

I have a newly installed Rocky Linux 9.4 system (same hardware that was running Channels well under CentOS 7.9). When I installed the latest version of Channels (2024.09.10.2115) I cannot get Channels to work. My source is a HDhomeRun Extend model Model: HDTC-2US. Both the server and the HDhomeRun are plugged directly into the same Unifi Gigabit ethernet switch. The system Channels is running on has a AMD Radeon 570 GPU and an Intel 6 core (12 thread) i7-8700 CPU @ 3.20GHz. I have not installed any drivers for AMD outside of those that come with Rocky Linux 9.4.

When I start channels-dvr via systemctl, the first thing you notice in a systemctl status is that ffmpeg has crashed twice.

Oct 28 21:40:17 butte systemd[1]: Started Channels DVR.
Oct 28 21:40:17 butte systemd-coredump[486760]: [🡕] Process 486758 (ffmpeg) of user 1000 dumped core.
Oct 28 21:40:17 butte systemd-coredump[486767]: [🡕] Process 486765 (ffmpeg) of user 1000 dumped core.

The log shows nothing:
2024/10/28 21:40:17.221001 [SYS] Starting Channels DVR v2024.09.10.2115 (linux-x86_64 pid:486689) in /mnt/fio/shared/homes/ebalduf/channels-dvr/data
2024/10/28 21:40:17.235590 [SYS] Started HTTP Server on 8089
2024/10/28 21:40:18.170779 [HDR] Found 1 devices
2024/10/28 21:40:18.469132 [DVR] Waiting 18m41.530867995s until next job 1730174340-1 9News at 10PM
2024/10/28 21:40:18.469684 [DVR] Recording engine started in /mnt/fio/DVR
2024/10/28 21:40:18.470034 [SYS] Bonjour service running for dvr-butte.local. [10.10.1.70]
2024/10/28 21:40:18.471437 [SYS] Created database snapshot: backup-20241029.034018
2024/10/28 21:40:18.471483 [SYS] Removing old backup backup-20240929.230453
2024/10/28 21:40:28.477455 [IDX] Pruned 28 expired airings from USA-OTA80301 in 1ms.

But I noticed in the GUI there are no hardware devices found and all recordings fail (interrupted). If I rescan hardware, there appear 2 more crashes in the systemd status. After lots of poking around I decided to test the Rocky Linux provided ffmpeg in place of the channels provided one. With this system provided ffmpeg, no crashes in the startup, the hardware is found ( vaapi+deint and vaapi@/dev/dri/renderD128 are found). Low and behold the recordings are no longer marked 'interrupted' although, when attempting play them back (on AppleTV-4 or FireTVstick-gen2). they do not play and I see errors in the log saying

Unrecognized option 'hls_passthrough_subtitles'.

A little research suggests this is because the system ffmpeg isn't compiled with this option. Next I switch the ffmpeg back to the version distributed with Channels (restart channels) and low and behold the recording plays.

This is great and all well, except switching the ffmpeg constantly is not going to work. Has anyone attempted or gotten Rocky Linux with an AMD GPU to work? How? Is my only option here to compile my own ffmpeg? Anyone have any ideas which options make this HW probe work? Or which config switches add the hls-passthrough_subtitles options?

Thanks for any help.
Ed

P.S. I did configure coredumpctl to dump the cores, but since they are stripped executables, there isn't much useful in there (to me).
P.P.S. I did open a support case, but they told me to call HDhomeRun :frowning:

Did you run the install script without modifying anything?

curl -f -s https://getchannels.com/dvr/setup.sh | sh

Yes.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.