flathub / com.github.GradienceTeam.Gradience

https://flathub.org/apps/details/com.github.GradienceTeam.Gradience
5 stars 5 forks source link

Why does the gradience flatpak need `device=dri` GPU acceleration? #12

Closed Apacelus closed 1 year ago

Apacelus commented 1 year ago

Why does a "simple" (compared to say, a video editor) gui app need gpu acceleration?

Disabling that permission does not seem to slow down the app

0xMRTT commented 1 year ago

From Flatpak documentation

Standard permissions

The following permissions provide access to basic resources that applications commonly require, and can therefore be freely used:

...

--device=dri - OpenGL rendering

Maybe we can remove it if it's useless

cc: @LyesSaadi, @daudix-UFO, @tfuxu

daudix commented 1 year ago

GTK4 have graphics acceleration, it is needed for smooth work (and yes, it's not useless)