-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Videos: Fix installation of Intel Quick Sync drivers for hardware transcoding #2700
Comments
Do I understand correctly that we only need to install one additional package to make it work for you? Have you tested it with our latest release, which is now based on Ubuntu 22.04 LTS? See Release Notes and Transcoding Documentation. |
I did this in the 220902-62aba3200 preview-ubuntu release Edit: So install 1 additional package, and I had to map the |
Is it still necessary in the latest release? I would appreciate if you can test it for us as we have limited resources and need to delay the requested changes until next year otherwise. |
Confirmed that adding |
Thanks! I'll add it then, unless the package size is unexpectedly huge. |
So the installed size unfortunately is 27,346.0 kB, which is too large to ship it to everyone by default. In that case, we could install it if you set |
Signed-off-by: Michael Mayer <michael@photoprism.app>
An updated preview build will be available for testing soon: Make sure to also read these docs, which have been updated as well: We hope you have a few minutes to let us know if it works so we can release this in our next update! |
@CDeLeon94 Happy testing! 🎁 |
Signed-off-by: Michael Mayer <michael@photoprism.app>
We have just added a separate section about Intel Quick Sync to our documentation: If you are not able to test our preview, we will release the changes so you can test them in production. However, I can't tell you when we will release the next update if you need changes. |
Released. Please read the documentation and let us know if it works as described. Thank you! |
Yes, using your implementation via the Thanks so much :-) |
* merge-221118: (66 commits) Frontend: Update deps in package-lock.json Frontend: Update translations.json UI: Add Electra theme photoprism#2916 MariaDB: Make version check compatible with 10.10 photoprism#2913 Weblate: Update backend translations Weblate: Update frontend translations Backend: Upgrade golang.org/x/crypto in go.mod and go.sum Develop: Upgrade base image from 221116-jammy to 221117-jammy CI: Update "docker-develop-latest" target in Makefile CI: Update deploy-develop.sh script MariaDB: Upgrade pre-installed client from v10.6 to v10.9 Videos: Add "intel" init target to force driver installation photoprism#2700 Metadata: Improve data parsing and sanitization photoprism#2897 Frontend: Update translations.json and package-lock.json Weblate: Update frontend translations Develop: Upgrade base image from 221102-jammy to 221116-jammy Frontend: Update translations.json Frontend: update options.js Weblate: Update frontend translations Weblate: Update backend translations ...
1. What is not working as documented?
When attempting to playback videos, hardware accelerated transcoding is not utilized
2. How can we reproduce it?
Play a video above the transcode threshold bitrate
3. What behavior do you expect?
Video will playback quickly, utilizing the hardware acceleration, no massive CPU spike (and associated heat and fans)
4. What could be the cause of your problem?
The lack of the
libmfxgen1
library seems to be the issue: blakeblackshear/frigate#31705. Can you provide us with example files for testing, error logs, or screenshots?
Trace level logging
Error initializing an internal MFX session: unsupported (-3)
brought me to the above issue.6. Which software versions do you use?
(a) PhotoPrism Architecture & Build Number: AMD64 Build 220902-62aba3200
(b) Database Type & Version: MariaDB
(c) Operating System Types & Versions: Linux (Unraid Docker)
7. On what kind of device is PhotoPrism installed?
This is especially important if you are reporting a performance, import, or indexing issue. You can skip this if you're reporting a problem you found in our public demo, or if it's a completely unrelated issue, such as incorrect page layout.
(a) Device / Processor Type: Intel 12th Generation i3-12100
Potential Fix
In the docker containers I ran
apt install libmfx-gen-dev
and after I got a successfulFurther reading, I stumbled across other docker containers that incorporate quicksync and support for the latest intel CPUs:
https://github.com/jellyfin/jellyfin-ffmpeg/blob/jellyfin/docker-build.sh#L230-L262
https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/1970637
The text was updated successfully, but these errors were encountered: