Closed Bug 1850201 Opened 3 years ago Closed 2 years ago

Webgpu demo in Tellusim renders extremely slowly, causes the whole system to lag, mouse stutter and leads to rapid memory increase

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Enable webgpu

Go to https://tellusim.com/demos/webgpu-20230515/graphics_meshlet/main.html

AR:

  1. The demo is rendered extremely slowly
  2. GPU use is 100%
  3. There is rapid (maybe unbound) memory increase
  4. My machine starts freezing, mouse starts to stutter etc.

With Chrome : The demo quite smoothly, GPU use is 85%, there is no memory increase, no lag on machine.

I tried to take a profile but it didnt capture much.

Blocks: 1850207
Blocks: webgpu-v1
Severity: -- → S3

FWIW, opening that link for 5-10 seconds also trips some AMD driver internal check. After that demo is run, the "AMD Bug report tool" also pops up as it detects a driver timeout.
I did report it to AMD
Here is a profile but it is basically empty : https://share.firefox.dev/3sDJs7R

In addition to the gfx preset, are there any other threads for webGPU that should be enabled in the profiler?

Summary: Webgpu demo in Tellusim renders extremely slowly, causes the whole system to hang and leads to rapid memory increase → Webgpu demo in Tellusim renders extremely slowly, causes the whole system to lag, mouse stutter and leads to rapid memory increase

Update: as of today, hte demo runs as ex[ected without any crashes or hangs.
It just performs 5x slower than Chrome (7FPS vs 35FPS)

Mayank: The performance aspect is being worked on. I'm certain that at least part of the reduced perf. you're experiencing is removing readback paths per-platform (see bug 1814222). I see you're already CC'd on that bug. Stay tuned!

Since the offending behavior in the description appears to be eliminated, I'll close this bug.

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

Attachment

General

Creator:
Created:
Updated:
Size: