Skip to content

100% CPU usage since the update to wgpu 0.20 #5092

Open
@EmbersArc

Description

@EmbersArc

Describe the bug

Any egui app uses 100% CPU when redrawing since commit 814ad07, the wgpu 0.20 update.

To Reproduce
Steps to reproduce the behavior:

  1. Run e.g. cargo run --bin hello_world
  2. Move the cursor
  3. The CPU usage of the egui process goes up to 100%

Expected behavior

Only a fraction of the CPU usage as observed before the wgpu update.

Screenshots

Desktop

  • OS: Arch Linux 6.10.8-arch1-1 (64-bit)
  • X11 with NVIDIA 560.35.03

Metadata

Metadata

Assignees

Labels

bugSomething is brokenegui-wgpuperformanceLower CPU/GPU usage (optimize)

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions