-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
WGPU (latest version 27) and Vulkan uses over 170MB (or 300-400MB of GPU memory) of memory in release mode, so it is not viable for small apps. This is inherent problem with WGPU and Vulkan apparently.
I've vibed an example with Glow, and it seems to use only 18MB of memory in release mode. Maybe it would be nice to have some glow example in the repo itself?
Here is my vibed examples (Claude did most of it):
glutin, glow:
https://github.com/Ciantic/my-smithay-client-toolkit-tests/blob/main/glow-with-glutin/src/main.rs
wayland-egl, khronos-egl, glow:
(Glutin seems to use more few megs more memory.)
AMD GPU
| Program | USS Memory | GPU Memory |
|---|---|---|
| WGPU+Vulkan 27 | 12MB | 160MB |
| Glow with Glutin | 18MB | 88MB |
| Glow with Wayland-EGL | 18MB | 58MB |
My WGPU example uses MemoryHints
Metadata
Metadata
Assignees
Labels
No labels