Closed TheNickOfTime closed 1 month ago
Can you try updating your kernel, restarting the PC and trying again?
I think my kernel is already up to date, but I ran an apt update/upgrade (no new packages) and rebooted anyways. The issue still persists. I'd rather not change the default kernel I'm running (6.1.0-22-amd64), but if you expect the conflict is here I can consider it.
This kind of issue is very often related to the kernel version. I can't say updating will definitely fix the issue, but there's a good chance it will.
@TheNickOfTime yeah, same issue here https://github.com/immich-app/immich/issues/10560
Is this still an issue as of 1.118.2?
I’m marking this as closed, but feel free to chime in if there are still cases where this happens on 1.118.2 or later.
As mentioned here: https://github.com/immich-app/immich/issues/10560
Seems to still be the same issue with version 1.118.2
The bug
Hardware transcoding is hanging/getting stuck indefinitely with no errors running with VAAPI on my system with a Ryzen 5600g.
I log the power draw of my NAS that immich runs on to home-assistant, and I checked the power consumption history for the month of June. To my surprise power consumption was almost double of what it normally is starting mid-month. I checked running processes and found that ffmpeg was causing the primary load on my CPU. I went to the admin dashboard for immich and saw that it was still running transcode jobs that I had started on the date of the spike, and moreover the number of jobs had not meaningfully changed since then (~700), meaning it had been stuck on the same video this whole time.
I cleared the transcode queue, restarted immich, and started transcoding for missing videos again (repeated these steps a few times as well) and it would get stuck on the first video it attempts to transcode.
Additionally I tried setting the "Preferred Hardware Device" property from "auto" which was selecting
/dev/dri/card0
to/dev/dri/rednerD128
to no avail.The OS that Immich Server is running on
Debian 12
Version of Immich Server
v1.106.4
Version of Immich Mobile App
v1.106.3 build.160
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
Additional information
I see there are some potentially similar issues to what I am experiencing, but the discussion seems to revolve around QSV so I felt it made sense to open a new issue.