GTK 4.16.0 released, now defaults to Vulkan renderer on Wayland (gitlab.gnome.org)
from that_leaflet@lemmy.world to linux@lemmy.ml on 07 Sep 2024 11:50
https://lemmy.world/post/19501154

#linux

threaded - newest

GolfNovemberUniform@lemmy.ml on 07 Sep 2024 11:52 next collapse

Huh but GPUs only support it since like 2016 or 2017. Older ones won’t be able to render GTK4?

that_leaflet@lemmy.world on 07 Sep 2024 12:13 next collapse

There’s still OpenGL backends, a newer one that shares the same backend as the Vulkan renderer and the old OpenGL renderer.

CrumblyLiquid@lemmy.ml on 07 Sep 2024 12:22 collapse

As per blog.gtk.org/2024/01/28/new-renderers-for-gtk/ and www.phoronix.com/news/GTK-4.16-Released :

You can still use either a new OpenGL renderer or the old OpenGL renderer. This can be set with the GSK_RENDERER environment variable (e.g. GSK_RENDERER=gl)

I would assume it will also probably detect unsupported hardware and switch to OpenGL automatically but I don’t have any source to back this up.

GolfNovemberUniform@lemmy.ml on 07 Sep 2024 14:04 collapse

I hope at least distros will make the switching automated because without it a lot of users will have issues, especially since Ubuntu and Fedora use GNOME by default.

MonkderVierte@lemmy.ml on 07 Sep 2024 13:40 next collapse

Wait, UI toolkits need a render backend? Old FLTK too?

Robin@lemmy.world on 07 Sep 2024 14:54 next collapse

Need? No. But hardware acceleration makes things faster and more efficient.

devfuuu@lemmy.world on 07 Sep 2024 17:18 collapse

Sometimes. Most of the times. Not always.

helopigs@lemmy.world on 07 Sep 2024 17:41 collapse

hardware deceleration?

RoyaltyInTraining@lemmy.world on 07 Sep 2024 16:13 collapse

Truat me, you ro not want to experience CPU based rendering on high resolution displays

2xsaiko@discuss.tchncs.de on 07 Sep 2024 20:21 collapse

QtWidgets uses software rendering. It’s completely fine on my 4K display except for a single application, KOrganizer, where it actually takes a while to redraw the UI. You can implement hardware rendering badly too (see QtQuick which is noticeably less responsive than QtWidgets)

fruitycoder@sh.itjust.works on 07 Sep 2024 16:21 collapse

Whoohoo! Great to see Vulkan really taking place as the norm. I hope this can help stream line development for some as it keeps happening.