Closed rudolfs closed 4 years ago
Debug mode:
Yikes - is it just full screen mode that is laggy, or also if you make the window quite big?
The 91ms
is the average time it takes to render a frame, so that should be < 8ms
normally.
No, only if it's fullscreen. If the window is stretched to cover the whole screen performance stays normal.
I'm able to reproduce this both with the glfw
and winit
backends, which leaves the rendering stack (rgx/wgpu/gfx-rs) as the likely culprit.
Ok, looks like a bug in wgpu-rs
/gfx-rs
which is not present anymore in latest master :thinking:
Yes I believe you all are hitting: https://github.com/gfx-rs/wgpu/pull/337
0.4 will be released soon and swapchain on Mac and iOS should be fixed :)
I'm experiencing something similar on Linux as well (using the open source amdgpu driver with vulkan support), though it mostly seems to occur if I edit files of greater size than 512x512.
Typically if I try to edit large files it just tends to freeze the program since rendering each frame tends to take in excess of 60 seconds or more.
Yeah full-screen is pretty much broken currently, until we upgrade our wgpu dependency. I'm waiting for them to release a 0.4
though.
This should now be fixed since updating to the newly released wgpu-0.4.0
Yay! It's smooth in full-screen now. 🔥
When going fullscreen on macOS moving the cursor becomes super slow. Weirdly this issue doesn't happen while screen recording is happening via QuickTime : D
Proof.
The package was built via: