Closed Bug 1739780 Opened 3 years ago Closed 3 years ago

MOZ_WEBRENDER=1/GNOME Wayland/Nvidia/Fedora 35: Crash: "error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a" (Fixed by downgrading to egl-wayland-1.1.7-2)

Categories

(Core :: Widget: Gtk, defect)

Firefox 94
x86_64
Linux
defect

Tracking

()

RESOLVED MOVED

People

(Reporter: paveloom, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: crash)

Crash Data

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Running firefox in the terminal yields the following:

[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)

These are just warnings, and Firefox starts as expected.

However, running MOZ_WEBRENDER=1 firefox crashes the browser.

Actual results:

Here's what the latter command yields:

[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)
ExceptionHandler::GenerateDump cloned child 206173
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Exiting due to channel error.

Reproducible on new profiles.

Here's the ID of the crash report: bp-abfa1cd3-5ec7-41c5-b484-d2bbe0211106.

Expected results:

Firefox should not crash, and WebRender should work.

Here's some information about my graphics:

Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] driver: i915 v: kernel 
  Device-2: NVIDIA GM108M [GeForce 940MX] driver: nvidia v: 495.44 
  Device-3: Cheng Uei Precision Industry (Foxlink) XiaoMi USB 2.0 Webcam 
  type: USB driver: uvcvideo 
  Display: wayland server: X.Org 1.21.1.2 driver: loaded: intel,nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 21.2.5

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Here's the ID of the crash report: bp-abfa1cd3-5ec7-41c5-b484-d2bbe0211106.

MOZ_CRASH Reason (Sanitized) [destroyed object]: error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a

Thanks for the report!
Please install mesa-utils-extra (Fedora: $ sudo dnf install egl-utils), copy the output of $ eglinfo and $ es2_info and paste it here.

Crash Signature: [@ wl_log ]
Keywords: crash
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
See Also: → 1739783
Summary: Firefox crashes with `MOZ_WEBRENDER=1`on Fedora 35 + GNOME + Wayland + Nvidia → MOZ_WEBRENDER=1/GNOME Wayland/Nvidia/Fedora 35: Crash: "error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a"
Attached file eglinfo.txt
Attached file es2_info.txt

Please try downgrading egl-wayland.

(Thomas Roder from bug 1739599 comment 3)

Downgrade to egl-wayland-1.1.7-2 fixes the problem. Since other programs (evolution, gnome-maps...) are also affected, it's probably an egl issue, not Firefox.

See also: https://github.com/NVIDIA/egl-wayland/issues/41
And: https://ask.fedoraproject.org/t/f35-nvidia-wayland-problems/17717

Sorry for wasting your time.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → MOVED
Summary: MOZ_WEBRENDER=1/GNOME Wayland/Nvidia/Fedora 35: Crash: "error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a" → MOZ_WEBRENDER=1/GNOME Wayland/Nvidia/Fedora 35: Crash: "error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a" (Fixed by downgrading to egl-wayland-1.1.7-2)

Aight, it all comes down to issues with egl-wayland. Thanks for looking into it, downgrading the egl-wayland package worked. I think bug 1739783 is the same as this one and, hence, should be closed, too.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: