Bug 2408887
| Summary: | gtk4paintablesink build without native YCbCr support (missing GTK 4.20 feature?) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robert Mader <robert.mader> |
| Component: | rust-gst-plugin-gtk4 | Assignee: | Fabio Valentini <decathorpe> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 43 | CC: | decathorpe, jbicha, kalevlember, mclasen, rust-sig |
| Target Milestone: | --- | Keywords: | Desktop |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rust-gst-plugin-gtk4-0.14.3-1.fc44 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-11-03 17:40:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Robert Mader
2025-10-31 16:20:35 UTC
> I had a look a the spec file, but did not spot the cause yet.
If the GTK 4.20 API level is not autodetected when GTK 4.20+ is available, then it looks like we need to pass that feature flag manually. meson.build is not available in the published gst-plugins-rs projects, so we build with plain cargo and cargo-c.
The manually enabled non-default features (currently) are "dmabuf,wayland,x11egl,x11glx". I can add "gtk_v4_20" to that list on Fedora 43+, that should resolve this issue?
> I can add "gtk_v4_20" to that list on Fedora 43+, that should resolve this issue?
Thanks for the quick reply! Yep, I guess that should do the trick - and can probably be combined with the 0.14.3 update that also just dropped :)
> can probably be combined with the 0.14.3 update that also just dropped
That was the idea - I should have time on Sunday or Monday to work on that.
Awesome, thanks a lot! FTR.: AFAICS adding `gtk_v4_20` should automatically recursively enable `gtk_v4_18` etc., which would enable further (I think only performance related) improvements - but might be worth to double-check. Update: 1. Right now we're building with the `gtk_v4_14` feature level which gets enabled by `dmabuf`. `gtk_v4_16` and `gtk_v4_18` aren't used, so we don't expect any further changes from `gtk_v4_20` apart from the YCbCr formats. 2. There have been a few YCbCr-related fixes that have been backported to 4.20 but need yet to be released in 4.20.3. I pinged GTK devs and they will make the release shortly - but it will probably make sense to wait for that before pushing a new release to stable (pushing to testing should be fine I guess). Update2: enabling this locally has instantly uncovered a kernel bug on asahi (https://gitlab.freedesktop.org/mesa/mesa/-/issues/14217#note_3173360), so we should definitely give it some time in testing... (note that Snapshot on Asahi is already known to be broken - so it's not super likely that other platforms are affected by similar issues, but who knows). (In reply to Fabio Valentini from comment #1) > The manually enabled non-default features (currently) are > "dmabuf,wayland,x11egl,x11glx". Please rename 'wayland' to 'waylandegl' since 'wayland' is deprecated Debian testing just did the same in sid: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119880#10 / https://packages.debian.org/sid/gstreamer1.0-gtk4 FEDORA-2025-da167c95b9 (glycin-2.0.4-1.fc44, rust-gdk4-wayland-0.10.2-1.fc44, and 13 more) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2025-da167c95b9 FEDORA-2025-da167c95b9 (glycin-2.0.4-1.fc44, rust-gdk4-wayland-0.10.2-1.fc44, and 13 more) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report. |