QSV hardware acceleration failed.
Hello,
I try to enable QSV acceleration but for some reason it's failing. For testing I installed docker compose directly on PVE 8.3.2 with kernel 6.8.12-5-pve but at the end it will be moved to unprivileged container,
I use recent Immich 1.124.2 (acceleration API set to Quick Sync in Administration panel)
Docker version 27.4.1
Docker Compose version v2.32.1
intel-media-va-driver-non-free 23.1.1
My hardware:
Intel n6005
iGPU Jasperlake Gen11
root@pve:~# apt list --installed | grep intel
intel-gpu-tools/stable,now 1.27.1-1 amd64 [installed]
intel-media-va-driver-non-free/stable,now 23.1.1+ds1-1 amd64 [installed]
intel-opencl-icd/stable,now 22.43.24595.41-1 amd64 [installed]
root@pve:~# lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation JasperLake [UHD Graphics] (rev 01)
Subsystem: Dell JasperLake [UHD Graphics]
Kernel driver in use: i915
Kernel modules: i915
error from immich server logs during viodeo encoding:
[vp9_qsv @ 0x36a72211d80] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
[vost#0:0/vp9_qsv @ 0x36a721e1c80] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0x36a7214c5c0] Error sending frames to consumers: Function not implemented
[vf#0:0 @ 0x36a7214c5c0] Task finished with error code: -38 (Function not implemented)
I appreciate any feedback.
Best regards,
Mate.
5 Replies
:wave: Hey @Mat3,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJAChecklist
I have...
1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like
fdisk -l
and df -h
).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
FAQ | Immich
User
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
more logs:
[Nest] 6 - 01/18/2025, 12:00:00 AM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: ffprobe exited with code 1
ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5461c060180] Duplicate stsd found in this track.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5461c060180] error reading header
upload/upload/3b1f762b-f67a-4c2d-8f8a-d7e75f9a85b1/f7/ff/f7ffb7c8-216d-4ba1-bb6c-b810085da600.mp4: Invalid data found when processing input
after commiting any changes in the administration panel I see this:
[Nest] 6 - 01/18/2025, 8:20:25 AM LOG [Microservices:SystemConfigService] LogLevel=log (set via system config)
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'thumbnailGeneration'
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'metadataExtraction'
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'videoConversion'
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'faceDetection'
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'facialRecognition'
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'smartSearch'
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'duplicateDetection'
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'backgroundTask'
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'storageTemplateMigration'
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'migration'
[Nest] 16 - 01/18/2025, 8:20:32 AM WARN [Api:JobRepository~zsy6zyxl] Unable to set queue concurrency, worker not found: 'search'
.....
[Nest] 16 - 01/18/2025, 8:20:32 AM LOG [Api:SystemConfigService~zsy6zyxl] LogLevel=log (set via system config)
You’re using VP9 on a Jasper Lake processor, so you’ll need to enable low-power mode https://immich.app/docs/features/hardware-transcoding#qsv