Closed Bug 1563859 Opened 5 years ago Closed 5 years ago

Consider enabling WebRender for Mesa/Nouveau

Categories

(Core :: Graphics: WebRender, task)

Desktop
Linux
task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: jan, Assigned: jan)

References

(Blocks 1 open bug)

Details

(Keywords: nightly-community, perf)

Attachments

(3 files)

Attached file aboutsupport.txt

Ubuntu 19.04, GTX1060, Mesa/Nouveau, 2560x1440

WebRender is already enabled for AMD and Intel with Mesa 18 and greater.
It would be nice if Mesa/Nouveau could be declared as qualified as well.

Attached file glxinfo.txt
See Also: → 1563854

Sounds reasonable.

Assignee: nobody → aosmond

Some Nouveau background to provide some certainty:

Wayland:

  • If using mesa/llvmpipe due to above bug, Gnome and KDE themselves are unusable slow. It takes seconds for keyboard input to appear on the screen.
  • mesa/nouveau: Great. (comment 0)

X11:

  • If using mesa/llvmpipe due to above bug, Gnome and KDE are usable with tolerable performance. To be able to use WebGL at all based on llvmpipe is better than no WebGL. But scrolling was smoother with Skia than with WebRender.
  • mesa/nouveau: Great. (comment 0) Already VAAPI/VDPAU support for some old devices.

mesa/llvmpipe doesn't have Nvidia's vendor ID on X11 and Wayland, it would anyway not be qualified:

"windowLayerManagerType": "WebRender",
"windowLayerManagerRemote": true,
"windowUsingAdvancedLayers": false,
"adapterDescription": "llvmpipe (LLVM 7.0, 256 bits)",
"adapterVendorID": "0xffff",
"adapterDeviceID": "0xffff",
"adapterRAM": "7914MB",
"adapterDrivers": "",
"driverVendor": "mesa/llvmpipe",
"driverVersion": "18.3.6.0",
"driverDate": "",

Have a (tested) patch for this. Waiting for bug 1563854 to land first.

Assignee: aosmond → jan
Status: NEW → ASSIGNED
Keywords: checkin-needed

Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f4a148d28f8
Enable WebRender on Linux with Nvidia hardware and Mesa drivers. r=jrmuizel

Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: