Download raw body.
Enable VA-API in graphics/ffmpeg
On Wed, Jul 24, 2024 at 07:59:23AM GMT, Rafael Sadowski wrote: > On Sun Jul 21, 2024 at 04:58:15PM GMT, Lucas Gabriel Vuotto wrote: > > On Sat, Jul 20, 2024 at 11:32:29AM GMT, Rafael Sadowski wrote: > > > OK to enable VA-API? It only depends on xenocara libva. Since libva > > > builds on almost all arches, I see no reason to restrict it by CPU > > > architectures any further. > > > > This worked well with mpv but is giving me issues in Firefox: > > I can confirm that it works well with mpv(1) but not in ff. In my last > test I only tested WebGL and simple youtube stuff. > > I have not noticed taht playing youtube run on my CPU. That's because up > to 1080p60 always runs smoothly. But 2160p60 is the end of the line > here. > > What I cannot confirm, any disadvantages with enabling or disabling > VAAPI. Did you try Twitch? It indeed stops working ,and I wouldn't consider it as niche as viewing YouTube thru Invidious (OT: I believe it's becoming less and less niche.) > > > > - Invidious instances (YouTube alternative frontend) give me "No > > compatible source was found for this media" > > - Twitch gives a similar message > > - Couldn't test in YouTube because it thinks I'm a bot > > WTF! It doesn't like my VPS provider. After connecting from my home, I saw the same thing as you: it runs on the CPU. > > - Some meme pages show webms just fine > > I don't see it, I'll test it with a new profile. Can you give me a test > example? https://9gag.com/gag/avynegn https://9gag.com/gag/amoz10j Raw media links: https://img-9gag-fun.9cache.com/photo/amoz10j_460svvp9.webm (VP9) https://img-9gag-fun.9cache.com/photo/avynegn_460svav1.mp4 (AV1) According to about:support, both VP9 and AV1 decoding are supported (tried with the Tiger Lake, i7-1165G7, Intel iRIS Xe-LP). Downloading the video and playing it with MPV works wonders. Playing it in Firefox makes the CPU usage raise. Enabling media.ffmpeg.vaapi.enabled made no difference, even after a restart. Basically, it seems that having an VA-API enabled ffmpeg doesn't make a difference in Firefox right now.
Enable VA-API in graphics/ffmpeg