-
Notifications
You must be signed in to change notification settings - Fork 20
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
[Fedora 37] Mesa w/ h264, h265, and vc1 decoding support #110
Comments
At the risk of starting a wave of spam on this topic; I wish to express my support for a But where do I come from? Well, for start I'm a Flahub contributor, where I help with CD-rippers and converters. I also maintain a select list of productivity software, and many of the classical Id Software titles.. Besides, I'm a contributor to Fedora Magazine. I've written such beautiful works as "Restarting and Offline Updates" and "Gaming on Fedora". This last article I wrote about a year ago, when Fedora was really in a great position; Many pieces were falling together, there was enthusiasm in the market, and Linux was going through a wave of press coverage (Thanks Valve and LTTT). But the article also had an interesting problem: It was flying really close to the sun because everything written in it is in the presumption that the user enables RPM Fusion. I could never say so outright, and I chatted with the team behind-the-scenes to find the perfect balance.* Long story short; RPM Fusion is a core of the whole Fedora Desktop experience and as an author I've tried to promote it as much as possible. That's also why I think it's very important to have an RPM-Fusion edition of the mesa driver stack. I would never ask somebody to do work that I myself would not be willing to do, and I hope that I don't come of as some random person voicing his frustrations. RPM Fusion is an integral part of the thing that makes Fedora worthwhile, and I hope that you have the time and resources to embrace a Honestly, if I had the time I would gladly contribute, but In the past three years i mostly focused on Flatpaks so I know little about packaging with RPM, Mock, and the whole Fedora stack. Therefore, allow me to ask first, before I embark on another 3-year journey learning all the ins and outs of a packaging format. * It did also prompt the whole discussion about Flathub and that pit of legal snakes. In that case, everything worked out and Flathub is now cleared from any legal hurdles. How much one article can do. |
I can't read such "literacy", but to sum-up: anyone is free to contribute to RPM Fusion with a mesa-freeworld package. But even more relevant would be a solution that would ask mesa upstream to be able to provide vaapi-backends as a separate dlopenable shared objects instead of building a full mesa package IMO. As I understand, only AMD users are concerned by this change as Intel users are using a separate userspace backend. |
We can't provide the full mesa package anyway as it would conflict with fedora mesa.
|
Also I don't think nouveau worth to be enabled, so only having radeonsi/r600 can make it (for x86_64 and eventually aarch64). Edit: and i686 ! |
Does nouveau not have decode support for 9xx cards and h264 -- that sounds like the right vintage where that would still be relevant? |
Right, but then that support is more than buggy. (understand, the bugs could be in the outdated firmware). |
Fair enough |
Some additional information: The current way of avoiding overwriting video driver files from |
I would like to repeat @kwizart's point on the IRC regarding rpmfusion/ffmpeg#3 for a complement solution. It seems to be a split out of the relevant freeworld libraries into a separate (new) sub-package which ensures via library loading to be preferred over the Fedora package (if I get it correct). |
Wouldn't this also affect Raspberry Pi 4/00's? The effect there might be more significant given the less powerful CPU to fall back on. I imagine Fedora Mobility initiative might be similarly impacted as well. |
I just want to leave a comment hoping that, however it's implemented, a one click Fedy solution is found and would be very much appreciated. |
How would this interact with secure boot? |
Secure Boot shouldn't affect this since these aren't kernel modules, but user-space drivers. |
Ah I was wondering if this would cause the whole mess with nvidia |
IIRC the |
This comment is just for googleability, not strictly related to Here is a solution that works on Fedora 37. First, set up RPM Fusion repos: sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
# nonfree repository is not needed, you can skip this command
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm Then install sudo dnf install mesa-va-drivers-freeworld mesa-vdpau-drivers-freeworld Alternatively, if sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld Optional: Installing additional non-hardware codecs sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf groupupdate sound-and-video
sudo dnf install @multimedia @sound-and-video ffmpeg-libs gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav lame\*
flatpak install flathub org.freedesktop.Platform.ffmpeg-full |
Here's a little FYI for Fedora Silverblue 37 users. This is what I did to make the
sudo rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
rpm-ostree override remove mesa-va-drivers --install mesa-va-drivers-freeworld
rpm-ostree install gstreamer1-plugin-libav gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly gstreamer1-vaapi |
I've created a dedicated page for OSTree at https://rpmfusion.org/Howto/OSTree As fedy is concerned, we should still be able to add a swap module for mesa... |
Just to add to this, folks may want to also exclude |
That shouldn't be necessary at all (and could cause you headaches down the road -- it's a big red flag you've done something wrong as well). If you use the swap command as the other commenter (that you're quoting) stated, the |
Hey, I did the swap but the latest mesa update keep asking me to upgrade mesa-va-drivers package, did I miss something ?
…________________________________
De : Wyatt Childers ***@***.***>
Envoyé : Tuesday, January 3, 2023 4:19:14 PM
À : rpmfusion-infra/fedy ***@***.***>
Cc : Gregory Duhamel ***@***.***>; Manual ***@***.***>
Objet : Re: [rpmfusion-infra/fedy] [Fedora 37] Mesa w/ h264, h265, and vc1 decoding support (Issue #110)
Just to add to this, folks may want to also exclude mesa-va-drivers explicitly in their /etc/dnf/dnf.conf file as well. I just had my mesa driver update error out until I did so because it couldn't install this package due to the conflict with the freeworld packages. You can also manually exclude the package in an update command by appending --exclude=mesa-va-drivers to the dnf update command.
That shouldn't be necessary at all (and could cause you headaches down the road). If you use the swap command as the other commenter (that you're quoting) stated, the meas-va-drivers package should be uninstalled and replaced by the freeworld package.
—
Reply to this email directly, view it on GitHub<#110 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABBHXXFWLEBMLQEHO4UXTCDWQQ7PFANCNFSM6AAAAAAQXKGPTI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
@GregDuhamel @JustPlainGarak the latest |
what happens is that on the update repository we now have:
whereas on @rpmfusion-free-updates is still at:
thus, doing an
The right answer is to wait for |
Oh nevermind, when i attempt it the first time the two packages
(freeworld) from RPM Fusion where not there and so one of the package
tried to pull mesa-va-drivers.
It's ok now, thanks for your answer !
…On mar., janv. 3 2023 at 08:09:30 -0800, Wyatt Childers ***@***.***> wrote:
> Hey, I did the swap but the latest mesa update keep asking me to
> upgrade mesa-va-drivers package, did I miss something ?
>
@GregDuhamel <https://github.com/GregDuhamel> @JustPlainGarak
<https://github.com/JustPlainGarak> the latest sudo dnf update
--refresh -y goes through without fanfare for me (as it should for
you). If you're having this problem, dnf should tell you what package
is trying to require mesa-va-drivers, which is important information.
It's possible you have something -- somewhat obscure -- that's
explicitly requiring mesa-va-drivers.
—
Reply to this email directly, view it on GitHub
<#110 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBHXXHEYR3OIANCEYC7ZVDWQRFLVANCNFSM6AAAAAAQXKGPTI>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Error: Transaction test error: |
Fixed by removing mesa-va-drivers then installing mesa-va-drivers-freeworld and mesa-va-drivers-freeworld.i686. |
I guess it needs mesa-freeworld. I will wait until it get to stable. |
vainfo |
Please describe why this package is not eligible for Fedora ?
Mesa is eligible in Fedora, however recent changes in the ecosystem have prompted Fedora to remove accelerated support for h264, h265, and vc1.
Is this software redistributable ?
Yes
Is this software an alternate version of a Fedora provided package ?
Yes, see above.
Additional context
An exact copy of the Fedora RPM spec but with
-Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec
included seems like the "ideal solution" here.The text was updated successfully, but these errors were encountered: