Giter VIP home page Giter VIP logo

Comments (6)

emilk avatar emilk commented on June 11, 2024 1

Automatic retry sounds awesome!

from rerun.

emilk avatar emilk commented on June 11, 2024

It works on Brave on macOS, chromium 121.0.6167.85

from rerun.

Wumpf avatar Wumpf commented on June 11, 2024

Related to

According to log we try to run with WebGPU, but that's behind a feature flag on Linux and afaik not actually really supported yet
https://github.com/gpuweb/gpuweb/wiki/Implementation-Status#chromium-chrome-edge-etc
Question now is ofc if you have this feature flag enabled, if not we should automatically use webgl on Linux Chrome unless explicitly specified otherwise. It's very strange that your browser reports "WebGPU" disabled and we go with it anyways!

Firefox works just nicely for you because in firefox (javascript) navigator.gpu is undefined thus we always pick webgl.

from rerun.

emilk avatar emilk commented on June 11, 2024

Adding special-casing based on User-Agent or similar seems like a bad route to go down.

image

How can we read the flag in the client? Can we?

from rerun.

Wumpf avatar Wumpf commented on June 11, 2024

I'd be surprised if we can, but need to have a closer look. The recommended way to check for webgpu support is to check navigator.gpu. Just repro'ed the issue as-is in a relatively fresh ubuntu VM with a freshly installed chrome. navigator.gpu is defined in the console just as expected (and kinda wrong) without setting any particular flags on the browser
I'll prod a bit around if we can do better than user-agent

from rerun.

Wumpf avatar Wumpf commented on June 11, 2024

Looks like we can do an automatic retry with WebGL :)
Might need changes to egui though

from rerun.

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.