Open
Description
Bevy version
Tested on master 4f6241178fa75263fb1fa961874f843684dd7b9a
, as well as 0.15.3
, and 0.14.2
, 0.13.2
, 0.12.1
. (it does not occur on 0.11.3
)
Relevant system information
- Mac mini M1 w/ Sequoia 15.2.
- MacBook Pro M1 w/ Sequoia 15.3.1
- Chrome 134.0.6998.89, Safari 18.2 [20620.1.16.11.8]
AdapterInfo { name: "ANGLE (Apple, ANGLE Metal Renderer: Apple M1, Unspecified Version)", vendor: 4203, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "WebGL 2.0 (OpenGL ES 3.0 Chromium)", backend: Gl }
What you did
Run the many_buttons example on chrome or safari: https://bevyengine.org/examples/stress-tests/many-buttons/
What went wrong
The memory usage of the Google Chrome Helper (GPU)
shoots up to 10GB and webgl2 crashes for the entire browser, until the browser is restarted.
On Linux+x11+nvidia, it only took 260MiB VRAM and and 1GB RAM.
Additional information
- Disabling text by setting
args.no_text = true;
fixes it. - Wgpu throws an error after a couple seconds:
wgpu error: Validation error
Caused by:
In `Queue::submit`
Not enough memory left.
- I found this because a very similar issue is now naturally happening in my app after updating to bevy 0.15 :(
Metadata
Metadata
Assignees
Labels
Drawing game state to the screenGraphical user interfaces, styles, layouts, and widgetsAn unexpected or incorrect behaviorThis bug is isolated to specific hardware or driver configurationsA change motivated by improving speed, memory usage or compile timesSpecific to the MacOS (Apple) desktop operating systemSpecific to web (WASM) buildsSpecific to the WebGL2 render APIThis issue requires design work to think about how it would best be accomplished