Skip to content

Bevy on VSCode always use CPU to render when running on Linux but not other OS #20815

@notmd

Description

@notmd

Bevy version and features

  • Bevy 0.16

[Optional] Relevant system information

  • Linux

What you did

Run this minimal example on VSCode on Linux
https://github.com/notmd/bevy_vscode_bug

What went wrong

The app is very laggy and unusable because Bevy uses CPU to render.

Additional information

  • This bug only happens when running wasm build on VSCode on Linux and does not happen on other OS. It's also doesn't happen when I run on Chrome. My teammate confirmed the app used to work about 3-4 months ago when our app use Bevy 0.15. But last night I try built and test the old version, it also not work
  • Discord discussion https://discord.com/channels/691052431525675048/1411085632083726346
OS Software Bug
Linux VSCode
Linux Chrome
Windows VSCode
macOS VSCode
  • Update: This only happen with the July release of VSCode. I tested the June and May releases, they work fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) buildsS-BlockedThis cannot move forward until something else changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions