Bug 278153 - www/firefox: Patch widgets/gtk/GfxInfo.cpp
Summary: www/firefox: Patch widgets/gtk/GfxInfo.cpp
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-03 19:56 UTC by Slawomir Wojciech Wojtczak
Modified: 2024-04-04 05:40 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gecko)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Wojciech Wojtczak 2024-04-03 19:56:01 UTC
Patch widgets/gtk/GfxInfo.cpp file for www/firefox port to if-zero the unconditional blocklist for ATI/AMD/Radeon hardware at around line 1113 for DeviceFamily::AtiAll and the FEATURE_HARDWARE_VIDEO_DECODING.

Part of 'META' PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278150

Regards,
vermaden
Comment 1 Emmanuel Vadot freebsd_committer freebsd_triage 2024-04-04 05:40:12 UTC
This patch is probably the wrong way.
The correct way to enable video decoding using VA-API for both Intel and AMD is to toggle media.ffmpeg.vaapi.enabled to true in about:config so I think that the correct patch would be to switch that by default for us.
That would mean testing on nvidia hardware (which doesn't have VA-API) just to check if this causes problems or not.