mirror of
https://github.com/007revad/Transcode_for_x25.git
synced 2026-04-25 08:15:47 +03:00
[GH-ISSUE #11] Vulkan ffmpeg acceleration? #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Transcode_for_x25#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @th0ma7 on GitHub (Dec 29, 2025).
Original GitHub issue: https://github.com/007revad/Transcode_for_x25/issues/11
TL;DR;
I found out about this project by pure coincidence and I thought you may be able to assist OR redirect me to someone who could. Otherwise I'll go through my normal discord synocommunity channels.
I'm a SynoCommunity ffmpeg maintainer and need help in testing vulkan intel-based GPU acceleration (and if this works out on a DS425+ I may switch my DS918+ to this newer model 🤷 ).
This may be a long-shot and feel-free to say you're not interested, I would totally get that.
Long-version
I'm a maintainer part of the SynoCommunity and worked on getting vulkan acceleration built into our ffmpeg package (on top of already supported QSV, VAAPI and OpenCL). I have an on-going PR https://github.com/SynoCommunity/spksrc/pull/6867 where I updated to the latest available versions of intel-compute-runtime and IGC using patched llvm-14 and, most importantly, i was finally able to add meson intel vulkan ANV driver.
I was at the stage of testing things out on my DS918+ until I got nagged with an incompatibility with the default 4.4.x kernel (apollolake CPU arch)... reading things through it seems geminilakenk which is what I believe DS425+ is running uses a 5.10 kernel which would be compatible with mesa vulkan driver (at least in theory).
Long-story-short, I would need someone to test this out. Last github builds are available here: https://github.com/SynoCommunity/spksrc/actions/runs/20557448743
Documentation to test already functional VAAPI, QSV and OpenCL is here https://github.com/SynoCommunity/spksrc/wiki/FAQ-FFmpeg
In theory, it should be a matter of ensuring your username is in the
videodrivergroup then trying out/var/packages/synocli-videodriver/target/bin/vulkaninfo. Last time I had to work build options for OpenCL icd.d location and it may be the case as well for vulkan, if that is not working out enforcing where the icd json file location might do the trick:If that works out then output of
ffmpeg7 -hide_banner -filters | grep vulkanand running a benchmark similar as those I used for other acceleration types would be awesome.@olivierplichta commented on GitHub (Jan 1, 2026):
Hello, your post interests me. I own a DS425+ and I'm interested in video transcoding. I have a question: what could Vulkan bring to our Synology NAS devices ?
@th0ma7 commented on GitHub (Jan 1, 2026):
@olivierplichta you get an additional method for gpu accelerated h.264/5 (
h264_vulkanandhevc_vulkan) decoding thus alleviating cpu utilization. Further as pretty much all new development is now vulkan based for video encoding/decoding/filtering.QSV, OpenCL and VAAPI accelerations are already working great, this being my first stab at adding vulkan - I need to know first if vulkan actually works out with a synology intel-based gpu with 5.10 kernel, if it does then it will be worthwhile to further enhance it, e.g. or technical reasons it currently uses llvm-14 which limits vulkan mesa driver to pre-2024, thus limits video encoding/decoding capabilities. Although if it does work, it could be worthwhile to update that to provide the latest & greatest llvm+mesa, to be seen.
Noting, for it to works it mean you already enabled the video driver enablement from this project.
On my DS918+ it's not working out due to the too old kernel (4.4.x), thus I get:
If you're interested we can pursue chat directly on my on-going PR on SynoCommunity: https://github.com/SynoCommunity/spksrc/pull/6867