When using the XFCE desktop, gnome-software does not start and hangs somewhere. It works when using the Gnome desktop. But on XFCE, when typing `gnome-software RETURN` in a terminal, no window pops up. gnome-software keeps running and therfore one does not get the terminal prompt back. There are some error messages or warnings visible in the terminal. Reproducible: Always Steps to Reproduce: Try to start gnome-software from a terminal on the XFCE desktop.
Created attachment 2045965 [details] Video showing gnome-software not starting This video shows the error messages or warnings appearing in the terminal when trying to start gnome-software.
Created attachment 2045966 [details] Screenshot showing the error messages/warnings in the terminal
Attaching with gdb shows this: ``` gdb --pid=3663 ... Downloading separate debug info for system-supplied DSO at 0x7fb52e223000 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Downloading source file /usr/src/debug/glibc-2.40-3.fc41.x86_64/io/../sysdeps/unix/sysv/linux/ppoll.c 0x00007fb52cd87f70 in __GI_ppoll (fds=fds@entry=0x7fb4d8119180, nfds=nfds@entry=3, timeout=<optimized out>, timeout@entry=0x7ffc556d1760, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42 42 return SYSCALL_CANCEL (ppoll_time64, fds, nfds, timeout, sigmask, (gdb) ```
Thanks fr a bug report. It seems to me the window is there, only not painted properly. Could you try for example a `gtk4-demo` application, whether it'll be affected in a similar way, please? I faced something similar in GNOME OS, as reported here: https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/878 but it was in the GNOME itself. I cannot tell whether the two are related.
Created attachment 2046001 [details] Screenshot showing that the same problem happens with gtk4-demo Screenshot showing that the same problem happens with gtk4-demo
Yes, same problem with gtk4-demo. By the way, if I do `ssh -X` to the virtual machine and try to start gnome-software or gtk4-demo with X forwarding via ssh, then it does not work either, a window opens but no contents are drawn. And the terminal shows this error messages: mfabian@f41:~$ gtk4-demo libEGL warning: DRI3: Screen seems not DRI3 capable libEGL warning: DRI2: failed to authenticate libEGL warning: DRI3: Screen seems not DRI3 capable MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen
**All** Gtk4 applications seem to have this problem, gnome-text-editor as well.
Thanks for the update. I'm moving this to the gtk4 for further investigation.
Could you provide the gtk4 package version you've installed, please?
> Could you provide the gtk4 package version you've installed, please? mfabian@f41:~$ rpm -q gtk4 gtk4-4.15.5-3.fc41.x86_64 mfabian@f41:~$ rpm -q gtk4-devel-tools gtk4-devel-tools-4.15.5-3.fc41.x86_64 mfabian@f41:~$
Created attachment 2046504 [details] It also does not work when using `su -` to become root and then trying to start a gtk4 program It also does not work when using `su -` to become root and then trying to start a gtk4 program.
From https://gitlab.gnome.org/GNOME/gtk/-/issues/6840#note_2206428 The following is the workaround. env GSK_RENDERER=cairo gnome-text-editor
I updated my f41 virtual machine again today. I can start gtk4 programs on XFCE now, and I can do `ssh -X` to the virtual machine and start a gtk4 program. But the problem still exists when using `su -` to become root and then trying to start a gtk4 program.
(In reply to Mike FABIAN from comment #13) > But the problem still exists when using `su -` to become root and then > trying to start a gtk4 program. If that's a regression maybe better to open a separate bug for that. I think the main issue is fixed so it would be reasonable to close this issue already.