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

Inform user when launcher uses a fallback device #1151

Open
mvaligursky opened this issue Apr 30, 2024 · 2 comments
Open

Inform user when launcher uses a fallback device #1151

mvaligursky opened this issue Apr 30, 2024 · 2 comments
Assignees

Comments

@mvaligursky
Copy link

In the launcher, the user can select Prefer WebGPU. But when the browser does not support WebGPU, we silently fallback to WebGL, giving the user a false sense of it works on WebGPU.

In this case, we should some how inform the user of the fact this is WebGL and not WebGPU as requested.

Perhaps we can use the same system we use when the launcher is using a release candidate of the engine:

Screenshot 2024-04-30 at 12 47 11
@kpal81xd
Copy link

@mvaligursky I think we concluded this fallback behaviour would be managed by the user?

@mvaligursky
Copy link
Author

in a published app, we will try and create the device type based on user specification, and fallback to null renderer if none of those are available. User can handle this case.

But in the launcher, we should warn them if the device they selected for testing is not the one that is used. Launcher is our responsibility I think. Lets say their app handles null device. But in the launcher they want to reliably test against WebGL and WebGPU, and if they don't get the one they selected, we should tell them a fallback is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants