gtk4: enabling x11glx feature increase CPU usage
While discussing with @slomo and @philn I've been told I can safely enable the x11egl
, x11glx
and wayland
features in my application.
But on my desktop enabling x11glx
actually significantly increase CPU usage, which is the opposite of the expected result.
-
cargo run --release --example gtksink
uses about 20% CPU -
cargo run --release --features=x11glx --example gtksink
uses around 40%
In both cases I get this error:
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI2: failed to authenticate
This is on a F39 Silverblue host, running in a F37 toolbox container. I have Nvidia RTX 4080 and I'm still using X11 because of that.