I upgraded a few of my machines to Fedora 41.
I noticed an issue with using GTK4 apps with Xorg. I’ve found that initially they will not render a display. The program runs but the window is transparent.
I found this note New renderers for GTK – GTK Development Blog that is helpful.
Using the vulkan
renderer everything looks OK but not with the ngl
renderer.
I have this problem with systems with Intel and AMD Radeon GPUs.
So, if I add GSK_RENDERER=vulkan
things work.
$ GSK_RENDERER=vulkan gtk4-widget-factory
I filed a bug but I’m sure its an upstream issue.
Just noting this here in case its helpful for others still running Xorg.