Skip to content
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

[pull] master from NixOS:master #175

Merged
merged 23 commits into from
Dec 4, 2023
Merged

[pull] master from NixOS:master #175

merged 23 commits into from
Dec 4, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Dec 4, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

dotlambda and others added 23 commits November 27, 2023 11:41
This was Tech Preview in Qt 6.4, released in 6.5
This is now the default recommendation upstream for linux platforms

> https://doc.qt.io/qt-6.6/qtmultimedia-index.html#ffmpeg-as-the-default-backend
> In this release the FFmpeg framework is set as the default backend on
> Windows, macOS, Android, and Linux except Yocto distribution.

> The version shipped with Qt binary packages is FFmpeg 6.0
> and is tested by the maintainers.

libXrandr is required to compile support QT_WINDOW_CAPTURE_BACKEND=x11
QtMultimedia 6.6.0 would select dynamic VAAPI on linux, then warns
during build (even though it chose this on purpose):

> QT_FEATURE_vaapi is found but ffmpeg doesn't include vaapi,
> however dynamic symbols resolve is possible

The nuisance warning was fixed for 6.7 and backported to 6.6.1:
https://codereview.qt-project.org/c/qt/qtmultimedia/+/517333

However, tracing it helped me figure out why vaapi actually wasn't
working: nix doesn't end up with an rpath such that dlopen("va")
can actually find libva.so in the nix store, thus failing at runtime:

> qt.multimedia.plugin: loading backend "ffmpeg"
> qt.core.library: "/nix/store/i9fkjks6dfjj1p9qvj5633sxbrf5rbd8-qtmultimedia-6.6.1/lib/qt-6/plugins/multimedia/libffmpegmediaplugin.so" loaded library
> qt.multimedia.ffmpeg.libsymbolsresolver: Start VAAPI symbols resolving: 39 symbols
> qt.core.library: "va" cannot load: Cannot load library va: (va: cannot open shared object file: No such file or directory)
> qt.multimedia.ffmpeg.libsymbolsresolver: Couldn't load VAAPI library
…e-4.3.0

python311Packages.robotframework-pythonlibcore: 4.2.0 -> 4.3.0
qt6.qtmultimedia: Enable ffmpeg/VAAPI backend
php: use a versioned url for install-pear-nozlib.phar
bup: Fix build on Darwin with LLVM 16
…s.millheater

python310Packages.millheater: 0.11.6 -> 0.11.7
…s.mkdocstrings

python310Packages.mkdocstrings: 0.23.0 -> 0.24.0
python311Packages.example-robot-data: 4.0.8 -> 4.0.9
@pull pull bot added the ⤵️ pull label Dec 4, 2023
@pull pull bot merged commit 32766c4 into tomodachi94:master Dec 4, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.