Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helpful error message on WebGPU error #7372

Closed
emilk opened this issue Sep 9, 2024 · 2 comments
Closed

Add helpful error message on WebGPU error #7372

emilk opened this issue Sep 9, 2024 · 2 comments
Labels
😤 annoying Something in the UI / SDK is annoying to use enhancement New feature or request 🔺 re_renderer affects re_renderer itself

Comments

@emilk
Copy link
Member

emilk commented Sep 9, 2024

Some users report seeing this in their browser:

Image

The solution to this problem is to use https://rerun.io/viewer?renderer=webgl as the URL. That should be part of the error message. So we should:

A) Improve error message
B) Make sure the error appears in the browser (not just in the dev console)

Or better yet: automatically switch to the WebGL backend if WebGPU fails

@emilk emilk added enhancement New feature or request 🔺 re_renderer affects re_renderer itself 😤 annoying Something in the UI / SDK is annoying to use labels Sep 9, 2024
@Wumpf
Copy link
Member

Wumpf commented Sep 9, 2024

This should actually already display the default screen for rendering related failures, including an explainer and link to switch the backend to webgl.
Do we have any reason to believe that's not the case here?

Note that the particular error is likely caused by an outdated chrome version which may be worth detecting on its own!

@emilk
Copy link
Member Author

emilk commented Sep 10, 2024

@emilk emilk closed this as completed Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
😤 annoying Something in the UI / SDK is annoying to use enhancement New feature or request 🔺 re_renderer affects re_renderer itself
Projects
None yet
Development

No branches or pull requests

2 participants