Closed Bug 1761644 Opened 2 years ago Closed 1 year ago

WebRender occasionally crashes after resuming from suspend with Nvidia proprietary Linux driver

Categories

(Core :: Graphics: WebRender, defect)

Firefox 98
Unspecified
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1788573

People

(Reporter: 0fwv42r5o, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

I left Firefox open while suspending the computer running Fedora Linux 35, with Nvidia proprietary driver 510.47.03. After that, I resumed the computer.

Actual results:

The content of the Firefox disappeared. When I switched to the Firefox window, I could still see the last frame of the previous application, but if I tried to do anything, it created a graphical error of a trailing effect.

After approximately one minute, the content of the Firefox window reappeared and the browser became usable again. However, hardware WebRender had been disabled, and the browser fell back to software WebRender. In the about:support page, I could see the following errors:
(#0) Error GFX: RenderThread detected a device reset in PostUpdate
(#10) Error GFX: RenderThread detected a device reset in PostUpdate
(#11) Assert Device reset due to WR context
(#12) Error GFX: RenderThread detected a device reset in PostUpdate
(#13) Assert Device reset due to WR context
(#14) Error GFX: RenderThread detected a device reset in PostUpdate
(#15) Assert Device reset due to WR context
(#16) Error GFX: RenderThread detected a device reset in PostUpdate
(#17) Assert Device reset due to WR context
(#18) Error GFX: RenderThread detected a device reset in PostUpdate
(#19) Assert Device reset due to WR context
(#20) Error GFX: RenderThread detected a device reset in PostUpdate
(#21) Assert Device reset due to WR context
(#22) Error GFX: RenderThread detected a device reset in PostUpdate
(#23) Error In-process device reset threshold exceeded
(#24) Error Fallback WR to SW-WR

This bug doesn't always happen, there are times in which Firefox keeps working normally with hardware accelerated WebRender after suspend. I would say this issue happens around 1/3 of the time.

Expected results:

Firefox should have kept working normally after resuming.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core
Severity: -- → S3
OS: Unspecified → Linux
Blocks: wr-linux

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

I am using Firefox 107 on Ubuntu 22.04 LTS using the Nvidia 520.56.06 driver.

I have been suffering with this issue for a while now. It doesn't seem to happen with 510 and previous, so I stayed on that for a while. This issue happens in both 515 and 520. I am currently using 520 and experienced this issue just today. I don't even suspend the entire machine, just sleep the displays, and I wake the displays to see a Firefox crash window and had to restart the browser. I recently turned off hardware acceleration to see if that will fix it temporarily. Are there any updates to this?

Blocks: wr-nv-linux
No longer blocks: wr-linux

Setting to "NEW" because I also get this crash. mozregression couldn't reproduce it, but maybe I'll try again.

Status: UNCONFIRMED → NEW
Ever confirmed: true
See Also: → 1801892
See Also: 1801892
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1788573
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.