bevyengine / bevyengine/bevy

Lagging bevy window while dragging it (Windows)

Open
#18,960 2 comments 0 reactions 0 assignees View on GitHub
A-Windowing C-Bug O-Windows S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version: 0.15.0 - 0.16.0
```
INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 11 Pro", kernel: "26100", cpu: "Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz", core_count: "8", memory: "15.9 GiB" }
INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 2070", vendor: 4318, device: 7938, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "576.02", backend: Vulkan }
INFO bevy_render::batching::gpu_preprocessing: GPU preprocessing is fully supported on this device.
```
Tested dependencies:
> winit - ok
> wgpu - link.exe error

## What you did

- created empty window
- using bevy 0.15.0 - 0.16.0 (most noticeable on 0.15.3)
- try to move window

## What went wrong
window laggs PC very much, monitor was blinking

## Additional information

https://github.com/user-attachments/assets/2e22ebd4-6a31-44aa-9bd2-c279748e3b1b

try to use vulkan and DX12 backend - lagging
using GL backend - looks good

can't repro on Mac and few others windows pc

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the empty-window case on Windows with Vulkan and DX12, then compare it with the working GL backend; done means dragging the window no longer causes severe lag or monitor blinking.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, game-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.