Giter VIP home page Giter VIP logo

Comments (3)

emilk avatar emilk commented on May 15, 2024

Thanks for the report!

I don't have a Windows machine, so it is hard for me to debug. Does the developer console say anything helpful?

from egui.

ssylvan avatar ssylvan commented on May 15, 2024

It says:

RuntimeError: unreachable
at __rust_start_panic (:wasm-function[1651]:0xe9459)
at rust_panic (:wasm-function[1330]:0xe7dde)
at std::panicking::rust_panic_with_hook::hc3afc981c0e7d6a8 (:wasm-function[998]:0xde523)
at std::panicking::begin_panic_handler::{{closure}}::hefb02c9f4c7b9e72 (:wasm-function[1290]:0xe76d3)
at std::sys_common::backtrace::__rust_end_short_backtrace::h3f57de3f451b589e (:wasm-function[1300]:0xe789c)
at rust_begin_unwind (:wasm-function[1259]:0xe705c)
at core::panicking::panic_fmt::he8b4f848efb7b83f (:wasm-function[1301]:0xe78d2)
at core::panicking::panic::h54d056b62390c882 (:wasm-function[1249]:0xe6dc9)
at egui_web::webgl::Painter::new::h6e457df76159f1af (:wasm-function[228]:0x58ba8)
at egui_web::backend::WebBackend::new::h280b638dcbcdba4a (:wasm-function[1003]:0xde8e7)

So I guess something unreachable in webgl is in fact reached? Sorry, web stuff is very much outside my wheel house so I'm not sure how to debug stuff like this.

from egui.

ssylvan avatar ssylvan commented on May 15, 2024

Update: this went away after restarting Edge. So my hypothesis is that something in my browser session (probably up for days) caused a GPU hang in the past, which (I believe) causes edge to disable using the GPU from then on. Which in turn would disable things like WebGL.

So I think this is really more of "show error message if webgl fails to load" rather than an actual persistent issue on Edge.

from egui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.