WASM Examples not loading on low end laptop
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
0.7
## Relevant system information
AdapterInfo { name: "ANGLE (Intel, Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0, D3D11)", vendor: 32902, device: 0, device_type: IntegratedGpu, backend: Gl }
## What you did
I ran the wasm examples at https://bevyengine.org/examples/ to see how they would run on a older lower end device with no dedicated gpu (with hardware acceleration enabled in the browser)
## What went wrong
Every example on the site https://bevyengine.org/examples/ would load (the loading bar) but remain basically empty with few exceptions where small bits and pieces may appear such as a single mesh or sprite but nothing else, not to mention the fps would be atrocious for anything that did render.
With hardware rendering disabled however the example would indeed appear but run at basically 5 fps which is obviously unacceptable and pretty much expected.
## Additional information
I noticed the examples on https://github.com/mrk-its/bevy_webgl2 work perfectly and so do fyrox's wasm examples meaning the device is easily capable of running wasm webgl2 features with a reasonable fps just not the examples on https://bevyengine.org/examples/.
The console in the wasm examples are perfect in that they is relaying data with no issues and no delays; for example the stress test claims it is running at a stable 50 fps and even react to my input causing the fps to correctly drop.
I have however not compiled the wasm examples myself to check if the issue persists but I will do so in near future.
Contributor guide
Assessment
This issue has not been assessed yet.