emilk / emilk/egui_plot

Web demo gallery crashing on Chrome (Linux)

Open
#243 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
468
Forks
108
Avg merge
15m
Merged PRs (30d)
3

Description

I noticed that the ["Try the web demo gallery"](https://emilk.github.io/egui_plot/) is currently not working as expected. When running it in a browser, the app displays the following error: `The app has crashed. See the developer console for details.`

**Environment:**

* OS: Ubuntu 24.04.4 LTS
* Browser: Chrome Version 146.0.7680.164 (Official Build) (64-bit)

**Console output:**

```
panicked at demo/src/main.rs:57:21:
Failed to start eframe: JsValue("No suitable graphics adapter found; noop not requested, vulkan support not compiled in, metal support not compiled in, dx12 support not compiled in, gl support not compiled in, webgpu not requested")
```

**chrome://gpu/ output:**

```
Graphics Feature Status
=======================
* Canvas: Hardware accelerated
* Direct Rendering Display Compositor: Disabled
* Compositing: Hardware accelerated
* Multiple Raster Threads: Enabled
* OpenGL: Enabled
* Rasterization: Hardware accelerated
* Raw Draw: Disabled
* Skia Graphite: Disabled
* TreesInViz: Disabled
* Video Decode: Hardware accelerated
* Video Encode: Software only. Hardware acceleration disabled
* Vulkan: Disabled
* WebGL: Hardware accelerated
* WebGPU: Hardware accelerated
* WebGPU interop: Disabled
* WebNN: Disabled
```

While the demo works with vulkan enabled, this isn't a viable workaround as vulkan is experimental, breaks all video playback, and causes other issues.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.