Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.92k stars 165 forks source link

opengl application take too long to start on Fedora 40 #4349

Closed totaam closed 3 weeks ago

totaam commented 3 weeks ago

Running glxgears from an xterm takes 4 to 5 seconds before we get the "new-window" event in xpra.

No noticeable delay with vglrun or even strace -f glxgears! But there is a delay with strace glxgears!

Looks like it's trying to load a driver, (vulkan and opengl?), running modprobe and searching /dev/dri, /sys/devices/pci*, etc

I don't think that there's much we can do about this without potentially breaking vglrun or some other unexpected rendering context.

totaam commented 3 weeks ago

nouveau was active - I just rebooted with the nvidia module instead and the problem is gone!

Doesn't happen with the Intel driver either, not tested AMD yet.