Open sigmaSd opened 3 months ago
SDL2_image not loaded. Some features will not be available.
SDL2_ttf not loaded. Some features will not be available.
SDL2 initialized on Linux
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Platform: linux x86_64
Version: 1.45.5
Args: ["deno", "run", "-A", "c.ts"]
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/egl.rs:296:14:
called `Result::unwrap()` on an `Err` value: BadDisplay
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
WAYLAND_DISPLAY="" deno run -A
works around the issue
I think it was fixed in 1.46 because I am unable to reproduce it. @littledivy @sigmaSd
Seems to be a Wayland (XWayland) + OpenGL ES issue. I was not able to reproduce this running Wayland (AMD Ryzen gpu)
The back-trace points to internal code in wgpu-hal
so I would open an issue there.
@yazan-abdalrahman You are running on Windows. This is a Linux + Wayland bug.
I'm using wayland, maybe that have to do with it