Bug 1742994 - Bump required nvidia driver version for HW-WR to 470.82 (i.e. always use EGL), r=aosmond

We currently require `460.32.03`, however the `460` driver series got
succeeded by `470` LTS one, which supports the same hardware.
Thus all users can (and should) already have updated to `470.82`.
Distros like Ubuntu appear to ship the latest drivers as security
updates to all supported versions.

Bumping the requirement to `470.82` has the great advantage of being
in sync with the required version for EGL, i.e. all Nvidia users
with HW-WR will use EGL by default (minus bugs like bug 1739611).
This solves a couple of Nvidia+GLX related bugs at the price of
downgrading some users with outdated/unsupported drivers to SW-WR.
For these users, SW-WR likely gives a more stable experience anyway.
If they want the performance benefits of HW-WR, all they need to do
is to update their drivers (again, something they should do anyway
for security reasons).

Differential Revision: https://phabricator.services.mozilla.com/D132162
This commit is contained in:
Robert Mader 2022-01-24 10:50:18 +00:00
parent d0fe5b6a1c
commit a9d3b1b3f8

View File

@ -757,14 +757,6 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
V(21, 0, 0, 0), "FEATURE_FAILURE_WEBRENDER_BUG_1635186",
"Mesa 21.0.0.0");
APPEND_TO_DRIVER_BLOCKLIST_EXT(
OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
DesktopEnvironment::All, WindowProtocol::XWayland,
DriverVendor::NonMesaAll, DeviceFamily::NvidiaAll,
nsIGfxInfo::FEATURE_WEBRENDER,
nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION, DRIVER_LESS_THAN,
V(470, 82, 0, 0), "FEATURE_FAILURE_WEBRENDER_BUG_1635186", "470.82.0");
////////////////////////////////////
// FEATURE_WEBRENDER - ALLOWLIST
@ -793,13 +785,13 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
nsIGfxInfo::FEATURE_ALLOW_QUALIFIED, DRIVER_GREATER_THAN_OR_EQUAL,
V(18, 2, 0, 0), "FEATURE_ROLLOUT_NVIDIA_MESA", "Mesa 18.2.0.0");
// Nvidia proprietary driver baseline, see bug 1673752.
// Nvidia proprietary driver baseline, see bug 1742994.
APPEND_TO_DRIVER_BLOCKLIST_EXT(
OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,
DesktopEnvironment::All, WindowProtocol::All, DriverVendor::NonMesaAll,
DeviceFamily::NvidiaAll, nsIGfxInfo::FEATURE_WEBRENDER,
nsIGfxInfo::FEATURE_ALLOW_QUALIFIED, DRIVER_GREATER_THAN_OR_EQUAL,
V(460, 32, 3, 0), "FEATURE_ROLLOUT_NVIDIA_BINARY", "460.32.03");
V(470, 82, 0, 0), "FEATURE_ROLLOUT_NVIDIA_BINARY", "470.82.0");
// ATI Mesa baseline, chosen arbitrarily.
APPEND_TO_DRIVER_BLOCKLIST_EXT(