Closed Bug 1907224 Opened 1 year ago Closed 9 months ago

Uncaptured WebGPU error without device target: Not enough memory left to request device

Categories

(Core :: Graphics: WebGPU, defect, P2)

Unspecified
Windows
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox130 --- affected

People

(Reporter: tsmith, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file testcase.html

I was adjusting out OOM bucketing and came across this issue. It is happening frequently but only on Windows. This goes back to at least 20240514-d1f40cf63952. I have not been able to reproduce it on any of my local machines but the test case is pretty simple.

Severity: -- → S3
Priority: -- → P1
Assignee: nobody → egubler

This bug prevents fuzzing from making progress; however, it has low severity. It is important for fuzz blocker bugs to be addressed in a timely manner (see here why?).
:ErichDonGubler, could you consider increasing the severity?

For more information, please visit BugBot documentation.

Flags: needinfo?(egubler)

:tsmith, when you encounter this in fuzzing environments, is this an OOM on the GPU side, or the CPU side?

I think we can resolve this specific snippet OOM'ing by enforcing the standard constraint that an adapter can only have a single device returned from it. However, this would merely punt the OOM issue from requesting devices in a loop to requesting adapters in a loop, once the fuzzer attempted it.

:tsmith, we've had some recent work to reclaim resources better in WGPU upstream by :teoxoy. Has the rate of errors changed? I'm not expecting it to, but I'm interested in that data point for ourselves. 🙂

Flags: needinfo?(egubler) → needinfo?(twsmith)

Note: Will not promote severity beyond S3, as WebGPU is still confined to Nightly.

On Matrix, Mr. Tyson Smith mused:

jimb: 20240716-2ed6b77c66d3 was the last build that was hitting this frequently then it dropped off to only a few a day
oh maybe it stopped completely

(In reply to Erich Gubler [:ErichDonGubler] from comment #2)

:tsmith, when you encounter this in fuzzing environments, is this an OOM on the GPU side, or the CPU side?

I wasn't ever able to reproduce locally, sorry.

:tsmith, we've had some recent work to reclaim resources better in WGPU upstream by :teoxoy. Has the rate of errors changed? I'm not expecting it to, but I'm interested in that data point for ourselves. 🙂

m-c 20240716-2ed6b77c66d3 was the last build we saw with a high report rate of this issue, however I do still see some results. I will schedule reduction of a new report.

Flags: needinfo?(twsmith)
Whiteboard: [fuzzblocker]
Priority: P1 → P2
Assignee: egubler → nobody

This issue is no longer being reported by fuzzers. The last report is from m-c 20240913-b0716d2d5fef.

Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: