Package Details: firefox-vaapi 132.0-2

Git Clone URL: https://aur.archlinux.org/firefox-vaapi.git (read-only, click to copy)
Package Base: firefox-vaapi
Description: Fast, Private & Safe Web Browser (with VA-API patches)
Upstream URL: https://www.mozilla.org/firefox/
Keywords: firefox libva va-api vaapi video
Licenses: MPL-2.0
Conflicts: firefox
Provides: firefox
Submitter: ewout
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 11
Popularity: 0.061489
First Submitted: 2023-02-24 13:48 (UTC)
Last Updated: 2024-11-05 19:01 (UTC)

Dependencies (54)

Required by (167)

Sources (7)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

hsantos92 commented on 2024-11-05 18:43 (UTC) (edited on 2024-11-05 18:44 (UTC) by hsantos92)

How can I fix this?

-> Patching VAAPI

patching file widget/gtk/GfxInfo.cpp

Hunk #1 succeeded at 1094 (offset -18 lines).

-> Patching Nvidia blocklist

patching file widget/gtk/GfxInfo.cpp

Hunk #2 succeeded at 991 with fuzz 2.

Hunk #3 succeeded at 1023 (offset 8 lines).

Hunk #4 FAILED at 1065.

Hunk #5 succeeded at 1089 (offset 8 lines).

1 out of 5 hunks FAILED -- saving rejects to file widget/gtk/GfxInfo.cpp.rej

==> ERROR: A failure occurred in prepare().

Aborting...

-> error making: firefox-vaapi-exit status 4

-> Failed to install the following packages. Manual intervention is required:

firefox-vaapi - exit status 4

dcelasun commented on 2024-10-23 14:17 (UTC)

Unfortunately, I don't have time to do it myself. I can barely maintain this one.

deemon commented on 2024-10-23 14:01 (UTC)

+1 for firefox-vaapi-bin :-D seriously.

kikislater commented on 2024-10-23 06:14 (UTC)

So no luck to have any help to remove tests ? Any binaries ? Why not trying to embeded this package in an existing third party repo like arch4edu ?

kikislater commented on 2024-10-16 12:06 (UTC)

How to disable pgo as mentionned in comments ? Commentinf line 204 ./mach python build/pgo/profileserver.py is sufficient ?

deemon commented on 2024-09-28 11:49 (UTC)

Is it possible to turn on HDR for this version of browser somehow? How? Currently I can watch HDR youtube videos with mpv, but in the firefox-vaapi they play as SDR. Is it my configuration error or it's not possible?

dcelasun commented on 2024-09-22 05:29 (UTC) (edited on 2024-10-08 19:36 (UTC) by dcelasun)

@fpointer it could very well be possible, but I don't have a list of all libraries touched by these patches. libmozavcodec.so for one, but there are likely others. I also don't know if Firefox supports building just a few select libraries (incremental builds are supported, but not on a pick&choose basis).

fpointer commented on 2024-09-22 05:26 (UTC)

Hi I've tried every setting I could find to enable hardware video decoding in Firefox with my Nvidia GPU, but about:support still shows: FEATURE_HARDWARE_VIDEO_DECODING_NO_LINUX_NVIDIA Looking at the source code, I found that it's forcefully disabled in /widget/gtk/GfxInfo.cpp with the comment: // Disable on all NVIDIA hardware

I then came across the firefox-vaapi AUR package. It seems to bypass this forced disablement with a patch called 0003-enable-vaapi.patch.

However, I believe we only need to rebuild the gfx-related modules instead of the entire Firefox browser. What do you think?

Is it feasible to build and provide only the modified modules instead of the entire Firefox browser?

Perhaps we could use an installation hook to back up the original modules from Extra/firefox to a location like /usr/lib/firefox-vaapi/ and replace them with the patched versions and restore the original modules during uninstallation.

Currently, building firefox-vaapi takes over an hour on my system, and I'd like to find a more efficient way.

dcelasun commented on 2024-08-23 19:22 (UTC)

@gilvbp should be good now.

gilvbp commented on 2024-08-23 17:54 (UTC) (edited on 2024-08-23 17:54 (UTC) by gilvbp)

@dcelasun please check and add this https://gitlab.archlinux.org/archlinux/packaging/packages/firefox/-/blob/main/0004-Bug-1912663-Fix-some-build-issues-with-cbindgen-0.27.patch?ref_type=heads. patch file.