pop-os/libcosmic

Very heavy redrawing artefacts when resizing windows on some cosmic application

Opened this issue · 3 comments

For some reason, heavy graphical artefacts appear when resizing the https://github.com/edfloreshz/cosmic-app-template project.

These artefacts don't seem to appear when using the examples of this repo.

[Content warning : Flashing images]

Screencast_20240619_100420.webm

Hardware/software : Mac Mini M2 running latest Asahi linux (kde 6)

That's probably because the examples may not be enabling GPU rendering, whereas all the cosmic applications enable wgpu by default. It requires Vulkan hardware acceleration. So maybe there are some bugs in either the Vulkan driver on that system, or the way wgpu interacts with it.

Afaik there isn't any vulkan gpu driver on asahi yet (only opengl).
That might be why

If Vulkan is not found, wgpu may fall back to using LLVM's vulkan software renderer.