-
Notifications
You must be signed in to change notification settings - Fork 3
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
F40 cannot layer mozilla-openh264 #536
Comments
You now need to remove the
|
Isn't |
No it is a placeholder which is obsoleted by the real openh264 package in the cisco repo. |
This seems like a reasonable candidate for CommonBugs: maybe that requires a bugzilla or can we link to this issue? |
@OptimoSupreme noopenh264 provides OpenH264 API through stubs that can be built against. (eg by gstreamer plugin and ffmpeg) The idea is that you would then drop-in OpenH264 to provide the actual implementation. |
@nanonyme so I guess my question is when would you actually need the noopenh264 package? From what I found and what was said before, I needed to remove the package just to install openh264. |
It's needed as a dependency of the packages I mentioned before. They will load the API's with stubs and gracefully report OpenH264 is not supported and move on. There isn't really any other problem here than that depsolver refuses to remove the conflicting noopenh264 in favour of openh264 without manual action from user. |
I think this is a limitation of rpm-ostree? Though I can't find any existing issue reported there, which makes me wonder. |
In fact it is not just rebase, even after upgrading #536 (comment) is still needed to overlay openh264 |
I am still not clear how noopenh264 gets pulled into SB40 though? I started writing a rpm-ostree issue, but this is probably expected behavior, right? |
My educated guess is it gets pulled in as dependency of gstreamer OpenH264 plugin or ffmpeg. |
IMHO this is a missing feature, unclear where. Probably rpm-ostree. |
It seems like it gets pulled as a weak dep of We also ship Anyway, opened https://pagure.io/workstation-ostree-config/pull-request/508 (and an f40 backport) which I think should fix this but I didn't test it yet. |
Make sure to test trying to view OpenH264 content doesn't result in a crash afterwards but instead failure on missing codec. |
At some point, From my perspective, rpm-ostree's behavior is correct; it shouldn't automatically override the base image for any reason. Maybe it would be possible to make |
The thing is, they both provide same soname libraries. Whatever the setup, it should be so that everything switched to loading OpenH264 library when present. With flatpak runtimes this is simple, the extension can just be mounted on top of noopenh264 like how it's done in freedesktop-sdk. |
You can achieve that by making openh264 parallel installable putting |
That might actually even be safer than removal. Then if you have OpenH264 with different soname, video frameworks fallback to noopen264. |
Make sure to send all of those suggestions to the noopenh264 maintainers (maybe via a bugzilla) otherwise they likely won't see it here. |
I think you mean OpenH264 package maintainers? |
Yeah, this was expected. You can't just drop a package in the middle of dep chain without removing all reverse dependencies |
So now that this has been figured out, can I ask what the intended method is for adding openh264 functionality to Firefox on a baseline Silverblue is? |
"You now need to remove the noopenh264 package when layering the openh264 one" fedora-silverblue/issue-tracker#536
It looks like it's unlikely that we'll be able to remove this package from the images so I'll close this issue. |
Describe the bug
If mozilla-openh264 was previously layered it prevents rebasing to F40.
After removed mozilla-openh264 and rebased to F40, mozilla-openh264 cannot be layered again unless first removing
noopenh264
from the base.To Reproduce
Please describe the steps needed to reproduce the bug:
rpm-ostree install mozilla-openh264
Expected behavior
Both
mozilla-openh264
andopenh264
should be layered.Screenshots
N/A
OS version:
Additional context
N/A
The text was updated successfully, but these errors were encountered: