Skip to content

Flickering issue with gtk apps and vulkan-rendered applications #98

@tokyob0t

Description

@tokyob0t

I’m running into an issue where GTK apps flicker or show small visual glitches when running under the compositor. If I launch the apps with GSK_RENDERER=gl, the flickering disappears completely, so it seems related to GTK’s default renderer maybe?

Nautilus and other GTK apps also print this warning:

(org.gnome.Nautilus:86315): Gdk-WARNING **: 12:32:40.885: vkQueuePresentKHR(): A swapchain no longer matches
the surface properties exactly, but can still be used to present to the surface successfully.
(VK_SUBOPTIMAL_KHR) (1000001003)

Below are two recordings: the first one was taken using wf-recorder, and the second one with my phone. Notice that the flickering does not appear when using wf-recorder.

https://streamable.com/jn9j2l
https://streamable.com/3qf5bf

Specs: Asus tuf gaming f15; Arch Linux; i5-10300H; GTX 1650 Ti

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions