Closed Bug 1755441 Opened 3 years ago Closed 3 years ago

Webrender blocked on nvidia 470.103.01

Categories

(Core :: Graphics: WebRender, defect)

Firefox 99
Unspecified
Linux
defect

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox97 --- unaffected
firefox98 + fixed
firefox99 --- verified

People

(Reporter: jnicol, Assigned: aosmond)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #1754685 +++
The user in bug 1754685 found they had been moved from hardware webrender to software webrender as a result of bug 1742994. This bumped the minimum required nvidia driver version to 470.82.0. However, the user has 470.103.01 which I would have thought was more recent.

Is this a bug in our blocklisting logic? Or is 103 really older than 82?

Attached file about:support

about:support copied from bug 1754685

I'm sure I needinfo'd you both when filing the bug, but apparently not :shrug:

Flags: needinfo?(robert.mader)
Flags: needinfo?(aosmond)
Blocks: wr-nv-linux
No longer blocks: wr-perf

(In reply to Jamie Nicol [:jnicol] from comment #0)

Is this a bug in our blocklisting logic? Or is 103 really older than 82?

That's either a bug in the logic or I messed up and it should have been 470.082.0 :)

Flags: needinfo?(robert.mader)

Set release status flags based on info from the regressing bug 1742994

Has Regression Range: --- → yes

https://searchfox.org/mozilla-central/search?q=DeviceFamily%3A%3ANvidiaAll&path=GfxInfo.cpp&case=false&regexp=false

There are two WEBRENDER entries for proprietary Nvidia (which seems expected),

FEATURE_BLOCKED_DEVICE also has incorrect 460.32.03, it should be 470.82.0.

There are a bunch of related entries, so it isn't that easy to discern right away:

Block WebRender < 460.32.3 because old drivers:
https://searchfox.org/mozilla-central/rev/94d7c959115c03ea1e9406d6105b36cabe63775d/widget/gtk/GfxInfo.cpp#709

Allow WebRender >= 470.82.0 because new enough:
https://searchfox.org/mozilla-central/rev/94d7c959115c03ea1e9406d6105b36cabe63775d/widget/gtk/GfxInfo.cpp#794

Block X11 EGL < 470.82.0:
https://searchfox.org/mozilla-central/rev/94d7c959115c03ea1e9406d6105b36cabe63775d/widget/gtk/GfxInfo.cpp#826

Block DMABuf < 495.44.0:
https://searchfox.org/mozilla-central/rev/94d7c959115c03ea1e9406d6105b36cabe63775d/widget/gtk/GfxInfo.cpp#843

We are supposed to pad out the driver versions if < 1000:
https://searchfox.org/mozilla-central/rev/94d7c959115c03ea1e9406d6105b36cabe63775d/widget/GfxDriverInfo.h#399

It appears it pads out the other way though, so 82 becomes 8200. Presumably that means 102 becomes 1020 and it gets blocked.

We should probably have a different version of that version macro for Linux (and other platforms?).

Assignee: nobody → aosmond
Flags: needinfo?(aosmond)

Windows has different driver version semantics than other platforms. We
shouldn't pad the driver versions the same way on Linux/OSX/Android for
our blocklist rules and instead just take the numbers as given. This
really only impacted Linux since it had numerous blocklist rules which
depending on the vendor or Mesa driver versions.

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/563472b3bac1 Stop padding driver versions on platforms other than Windows. r=jrmuizel
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch

The patch landed in nightly and beta is affected.
:aosmond, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(aosmond)

Are you willing to verify this for me so I can request uplift? :)

Flags: needinfo?(aosmond) → needinfo?(jan)

Tracking for a potential uplift (we build our last beta tomorrow).

Gnome X11, Ubuntu 22.04 jammy, GTX 1060

Comparing:

  • nvidia-driver-470 470.86-0ubuntu2
  • nvidia-driver-470 470.103.01-0ubuntu1 from deb http://de.archive.ubuntu.com/ubuntu/ jammy-proposed restricted
  • nvidia-driver-495 495.46-0ubuntu3
  • nvidia-driver-510-server 510.47.03-0ubuntu1

mozregression --launch 2022-02-15 -a about:support

  • Driver Version: 470.86.0.0, WebGL 2 Driver Version: 3.2.0 NVIDIA 470.86: WR, EGL
  • Driver Version: 470.103.1.0 vs. WebGL 2 Driver Version: 3.2.0 NVIDIA 470.103.01: SW WR, GLX
  • Driver Version: 495.46.0.0, WebGL 2 Driver Version: 3.2.0 NVIDIA 495.46: WR, EGL
  • Driver Version: 510.47.3.0 vs. WebGL 2 Driver Version: 3.2.0 NVIDIA 510.47.03: WR, EGL

mozregression --launch 2022-02-18 -a about:support

  • Driver Version: 470.86.0.0, WebGL 2 Driver Version: 3.2.0 NVIDIA 470.86: WR, EGL
  • Driver Version: 470.103.1.0 vs. WebGL 2 Driver Version: 3.2.0 NVIDIA 470.103.01: WR, EGL
  • Driver Version: 495.46.0.0, WebGL 2 Driver Version: 3.2.0 NVIDIA 495.46: WR, EGL
  • Driver Version: 510.47.3.0 vs. WebGL 2 Driver Version: 3.2.0 NVIDIA 510.47.03: WR, EGL
Flags: needinfo?(jan) → needinfo?(aosmond)

Perfect, thank you very much Darkspirit! :)

Flags: needinfo?(aosmond)

Comment on attachment 9264175 [details]
Bug 1755441 - Stop padding driver versions on platforms other than Windows.

Beta/Release Uplift Approval Request

  • User impact if declined: What graphics features are blocked on Linux will be somewhat unpredictable because of the driver version comparison mismatch
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): It is partly covered by automated tests. Our blocking is already sort of random on Linux.
  • String changes made/needed:
Attachment #9264175 - Flags: approval-mozilla-beta?

Comment on attachment 9264175 [details]
Bug 1755441 - Stop padding driver versions on platforms other than Windows.

Approved for out last 98 beta, thanks.

Attachment #9264175 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: