-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
3D causes wgpu error spam in console when using GLES #13115
Comments
I tried running the 2D shapes example on v0.14.0-rc.3 which includes wgpu 0.20, but I'm getting the same error spam, so the issue hasn't been fixed yet:
As you can see, I'm running Windows, so this issue actually isn't specific to Linux. I will test this again after #12849 is merged. |
i also have a similar issue on my machine
the error spam:
literally my whole code:
bevy version = 0.14.0 (taken from Cargo.lock) |
Does anyone have a solution for this or know what is causing them? I am getting the same kind of errors and it seems to happen no matter if rendering 3D or 2D. The errors are also present in the examples.
|
It seems to be an error specific to using old OpenGL backends that are missing specific features. If your GPU has support for a different backend, you can switch backends by setting the My belief is that this issue might get fixed by #12849 but I'm not certain about that. |
If it helps, I'm running bevy on a steamdeck so maybe in my case its a specific unsupported GPU or something? |
I'm seeing similar errors with 2D and OpenGL:
|
Bevy version
0.13.2; main (9d59e52)
Relevant system information
What you did
Run any Bevy app that does 3D rendering with
StandardMaterial
. As an easy reproduction, you can try thepbr
example, or the3d_scene
example.What went wrong
The console/log is filled with messages like:
The app runs fine, rendering is working, everything looks correct. But these messages are very annoying. They are output every frame and drown out everything else in the console. I have to set custom log filters to hide them.
Additional information
On Asahi Linux, Bevy seems to default to CPU Vulkan rendering, which, besides being very slow, does not produce the messages above (which come from wgpu's GLES backend). To actually use the GPU, you have to set
WGPU_BACKEND=gl
. Asahi does not yet have a GPU Vulkan driver.(this behavior may be related to #13113 ; for some reason Bevy seems to be choosing CPU Vulkan on systems with a perfectly usable GPU GL driver)
Further, when you set the backend to GLES, Bevy does not want to run in XWayland. It fails to initialize the window. That's a separate bug. So to get Bevy to run, you need to enable
--features wayland
to run natively under Wayland, which works.The text was updated successfully, but these errors were encountered: