Skip to content

GPU Hardware Acceleration for Nix Flake #418

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Aug 30, 2024

Conversation

zierf
Copy link
Contributor

@zierf zierf commented Aug 30, 2024

Fixes #417

Enables hardware accelerated video playback for Nix devenv.

Also supports VA-API compatible GPUs like AMD and Intel (also see libva for reference).

zierf added 3 commits August 30, 2024 02:38
Section "nativeBuildInputs" needs the dependency "qt6.full" to provide hardware acceleration in QT.
Library "wayland" is needed to create a proper OpenGL context under Wayland as well.

Provide a check for open AMD driver and use it for VDPAU video hardware acceleration.

Move "wrapQtAppsHook" to it's correct place under "nativeBuildInputs".
Using libva and openssl libraries eliminates the need for a dependency on the qt6.full library.
@xarvex
Copy link
Member

xarvex commented Aug 30, 2024

Thanks for your investigation!

@xarvex xarvex merged commit 4b35df0 into TagStudioDev:main Aug 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Nix GPU Acceleration / AMD GPU Support
2 participants