You are not logged in.

#1 2025-05-30 08:14:27

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

[SOLVED] Qt apps don't show GUI after login (only after screen blank)

Hi, after a recent system update, I've encountered a strange issue that seems to affect only applications using Qt for their graphical interface.

This is what the app is supposed to look like:
MyBz7XD.png

But instead, this is what I actually see:
UHs7sD4.png

The issue only occurs after the monitor turns off due to power saving settings.
When I wake the system and log back in, Qt applications don't display their GUI — the window is either invisible or not rendered correctly.

Interestingly, if I log out and then log back in immediately, everything works fine again.

Here are some details I've gathered:

fastfetch

                                             ┌────────────────────── Hardware ──────────────────────┐
                                             * PC: alex@Arch
                                             │ ├* Board: ROG MAXIMUS XI HERO (Rev 1.xx)
                      -`                     │ ├* CPU: Intel(R) Core(TM) i7-9700K (8) @ 4.90 GHz
                     .o+`                    │ ├* GPU: NVIDIA GeForce RTX 3060 Ti Lite Hash Rate [Discrete]
                    `ooo/                    │ ├* GPU: Intel UHD Graphics 630 @ 1.20 GHz [Integrated]
                   `+oooo:                   │ ├* Physical Disk: 3.64 TiB [HDD, Fixed]
                  `+oooooo:                  │ ├* Physical Disk: 931.51 GiB [SSD, Fixed]
                  -+oooooo+:                 │ ├* Physical Disk: 931.51 GiB [SSD, Fixed]
                `/:-:++oooo+:                │ ├* Physical Disk: 1024.00 MiB [SSD, Removable]
               `/++++/+++++++:               │ ├* Physical Disk: 1.82 TiB [SSD, Fixed]
              `/++++++++++++++:              │ ├* Swap: Disabled
             `/+++ooooooooooooo/`            │ ├* Display: 2560x1440 @ 360 Hz (as 2048x1152) in 27" [External]
            ./ooosssso++osssssso+`           └ └* SND: Built-in Audio Digital Stereo (IEC958) (36%)
           .oossssso-````/ossssss+`          └──────────────────────────────────────────────────────┘
          -osssssso.      :ssssssso.
         :osssssss/        osssso+++.        ┌────────────────────── Software ──────────────────────┐
        /ossssssss/        +ssssooo/-        * OS: Arch Linux x86_64
      `/ossssso+/:-        -:/+osssso+-      │ ├* Kernel: Linux 6.14.7-arch2-1
     `+sso+:-`                 `.-/+oso:     │ ├* Packages: 1527 (pacman)
    `++:.                           `-/+/    │ ├* Shell: zsh 5.9
    .`                                 `/    │ ├* GPU Driver: nvidia (open source) 570.153.02
                                             │ ├* GPU Driver: i915
                                             │ ├* Vulkan: 1.4.303 - NVIDIA [570.153.02]
                                             │ ├* OS Age: 52 days
                                             └ └* Uptime: 1 hour, 4 mins

                                             * DE: GNOME 48.2
                                             │ ├* LM: gdm-password 48.0 (Wayland)
                                             │ ├* WM: Mutter (Wayland)
                                             │ ├* WM Theme: Adwaita
                                             │ ├* Terminal: GNOME Console 48.0.1
                                             │ ├* Terminal Font: Adwaita Mono (11pt)
                                             └ └* Locale: en_US.UTF-8
                                             └────────────────────────────────────────────────────┘
journalctl -p 3 -xb           
mag 30 09:08:31 Arch kernel: x86/cpu: SGX disabled or unsupported by BIOS.
mag 30 09:08:31 Arch kernel: 
mag 30 09:08:34 Arch libvirtd[691]: cannot open directory '/home/alex/Desktop/Projects/KernelDev/VM/ArchDiskImage': No such file or di>
mag 30 09:08:34 Arch libvirtd[691]: internal error: Failed to autostart storage pool 'ArchDiskImage': cannot open directory '/home/ale>
mag 30 09:08:42 Arch gdm-password][1229]: gkr-pam: unable to locate daemon control file
mag 30 09:08:43 Arch systemd[1238]: Failed to start Application launched by gnome-session-binary.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished with a failure.
░░ 
░░ The job identifier is 147 and the job result is failed.
mag 30 09:08:43 Arch systemd[1238]: Failed to start Application launched by gnome-session-binary.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished with a failure.
░░ 
░░ The job identifier is 143 and the job result is failed.
mag 30 09:42:29 Arch systemd[1238]: Failed to start Application launched by gnome-session-binary.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished with a failure.
░░ 
░░ The job identifier is 1233 and the job result is failed.
journalctl --user -b | grep gnome-session
mag 30 09:08:42 Arch systemd[1238]: Created slice Slice /app/gnome-session-manager.
mag 30 09:08:42 Arch gnome-session[1315]: gnome-session-binary[1315]: WARNING: Desktop file /home/alex/.config/autostart/mathpix-snipping-tool.desktop for application mathpix-snipping-tool.desktop could not be parsed or references a missing TryExec binary
mag 30 09:08:42 Arch gnome-session-binary[1315]: WARNING: Desktop file /home/alex/.config/autostart/mathpix-snipping-tool.desktop for application mathpix-snipping-tool.desktop could not be parsed or references a missing TryExec binary
mag 30 09:08:43 Arch systemd[1238]: Failed to start Application launched by gnome-session-binary.
mag 30 09:08:43 Arch systemd[1238]: Failed to start Application launched by gnome-session-binary.
mag 30 09:08:43 Arch systemd[1238]: gnome-session-x11-services-ready.target: Job gnome-session-x11-services-ready.target/verify-active failed with result 'dependency'.
mag 30 09:08:44 Arch gnome-session-binary[1315]: Entering running state
mag 30 09:08:44 Arch gnome-session[1315]: gnome-session-binary[1315]: GnomeDesktop-WARNING: Could not create transient scope for PID 1477: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Failed to set unit properties: No such process
mag 30 09:08:44 Arch gnome-session-binary[1315]: GnomeDesktop-WARNING: Could not create transient scope for PID 1477: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Failed to set unit properties: No such process
mag 30 09:08:44 Arch systemd[1238]: Started Application launched by gnome-session-binary.
mag 30 09:08:44 Arch systemd[1238]: Started Application launched by gnome-session-binary.
mag 30 09:08:44 Arch systemd[1238]: Started Application launched by gnome-session-binary.
mag 30 09:08:44 Arch systemd[1238]: Started Application launched by gnome-session-binary.
mag 30 09:42:29 Arch systemd[1238]: Started Application launched by gnome-session-binary.
mag 30 09:42:29 Arch systemd[1238]: Failed to start Application launched by gnome-session-binary.
mag 30 09:42:43 Arch gnome-session[1315]: gnome-session-binary[1315]: WARNING: Not able to stop app from its condition: Not running
mag 30 09:42:43 Arch gnome-session-binary[1315]: WARNING: Not able to stop app from its condition: Not running
journalctl --user -b | grep -iE 'error|failed|segfault|exec|traceback'  
mag 30 09:08:42 Arch systemd-xdg-autostart-generator[1246]: Exec binary '/home/alex/Downloads/mathpix-snipping-tool' does not exist: No such file or directory
mag 30 09:08:42 Arch systemd-xdg-autostart-generator[1246]: /home/alex/.config/autostart/mathpix-snipping-tool.desktop: not generating unit, executable specified in Exec= does not exist.
mag 30 09:08:42 Arch gnome-session[1315]: gnome-session-binary[1315]: WARNING: Desktop file /home/alex/.config/autostart/mathpix-snipping-tool.desktop for application mathpix-snipping-tool.desktop could not be parsed or references a missing TryExec binary
mag 30 09:08:42 Arch gnome-session-binary[1315]: WARNING: Desktop file /home/alex/.config/autostart/mathpix-snipping-tool.desktop for application mathpix-snipping-tool.desktop could not be parsed or references a missing TryExec binary
mag 30 09:08:43 Arch systemd[1238]: app-gnome-gnome\x2dkeyring\x2dpkcs11-1326.scope: Failed to add PIDs to scope's control group: No such process
mag 30 09:08:43 Arch systemd[1238]: app-gnome-gnome\x2dkeyring\x2dpkcs11-1326.scope: Failed with result 'resources'.
mag 30 09:08:43 Arch systemd[1238]: Failed to start Application launched by gnome-session-binary.
mag 30 09:08:43 Arch systemd[1238]: app-gnome-gnome\x2dkeyring\x2dsecrets-1322.scope: Failed with result 'resources'.
mag 30 09:08:43 Arch systemd[1238]: Failed to start Application launched by gnome-session-binary.
mag 30 09:08:43 Arch systemd[1238]: Dependency failed for GNOME XSettings service.
mag 30 09:08:43 Arch systemd[1238]: org.gnome.SettingsDaemon.XSettings.service: Job org.gnome.SettingsDaemon.XSettings.service/start failed with result 'dependency'.
mag 30 09:08:43 Arch systemd[1238]: gnome-session-x11-services-ready.target: Job gnome-session-x11-services-ready.target/verify-active failed with result 'dependency'.
mag 30 09:08:43 Arch gnome-shell[1333]: Failed to launch ibus-daemon: Failed to execute child process “ibus-daemon” (No such file or directory)
mag 30 09:08:44 Arch gnome-session[1315]: gnome-session-binary[1315]: GnomeDesktop-WARNING: Could not create transient scope for PID 1477: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Failed to set unit properties: No such process
mag 30 09:08:44 Arch gnome-session-binary[1315]: GnomeDesktop-WARNING: Could not create transient scope for PID 1477: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Failed to set unit properties: No such process
mag 30 09:08:44 Arch gsd-usb-protect[1483]: Failed to fetch USBGuard parameters: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
mag 30 09:08:44 Arch gnome-shell[1333]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
mag 30 09:08:44 Arch gsd-media-keys[1463]: Failed to grab accelerator for keybinding settings:hibernate
mag 30 09:08:44 Arch gsd-media-keys[1463]: Failed to grab accelerator for keybinding settings:playback-repeat
mag 30 09:08:44 Arch gnome-shell[1813]: Errors from xkbcomp are not fatal to the X server
mag 30 09:08:44 Arch gnome-shell[1333]: Failed to launch ibus-daemon: Failed to execute child process “ibus-daemon” (No such file or directory)
mag 30 09:08:44 Arch gnome-shell[1869]: Errors from xkbcomp are not fatal to the X server
mag 30 09:08:44 Arch gsd-xsettings[1865]: Failed to get current UI scaling factor: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Destination does not exist
mag 30 09:08:45 Arch gnome-software[1559]: Failed to load /usr/lib/gnome-software/plugins-22/libgs_plugin_fwupd.so: failed to open plugin /usr/lib/gnome-software/plugins-22/libgs_plugin_fwupd.so: libfwupd.so.3: cannot open shared object file: No such file or directory
mag 30 09:09:15 Arch gnome-text-edit[2131]: broker.vala:159: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
mag 30 09:09:15 Arch gnome-text-edit[2131]: broker.vala:159: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
mag 30 09:09:15 Arch gnome-text-edit[2131]: broker.vala:159: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory
mag 30 09:09:15 Arch gnome-text-edit[2131]: broker.vala:159: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
mag 30 09:09:15 Arch gnome-text-edit[2131]: broker.vala:159: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
mag 30 09:09:15 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified
mag 30 09:09:22 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified
mag 30 09:10:30 Arch gnome-text-edit[2239]: broker.vala:159: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
mag 30 09:10:30 Arch gnome-text-edit[2239]: broker.vala:159: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
mag 30 09:10:30 Arch gnome-text-edit[2239]: broker.vala:159: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory
mag 30 09:10:30 Arch gnome-text-edit[2239]: broker.vala:159: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
mag 30 09:10:30 Arch gnome-text-edit[2239]: broker.vala:159: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
mag 30 09:10:30 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified
mag 30 09:10:41 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified
mag 30 09:10:52 Arch gnome-text-edit[2295]: broker.vala:159: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
mag 30 09:10:52 Arch gnome-text-edit[2295]: broker.vala:159: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
mag 30 09:10:52 Arch gnome-text-edit[2295]: broker.vala:159: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory
mag 30 09:10:52 Arch gnome-text-edit[2295]: broker.vala:159: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
mag 30 09:10:52 Arch gnome-text-edit[2295]: broker.vala:159: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
mag 30 09:10:53 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified
mag 30 09:11:00 Arch localsearch-3[1976]: tracker_indexing_tree_remove: assertion 'TRACKER_IS_INDEXING_TREE (tree)' failed
mag 30 09:12:13 Arch gnome-text-edit[2811]: broker.vala:159: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
mag 30 09:12:13 Arch gnome-text-edit[2811]: broker.vala:159: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
mag 30 09:12:13 Arch gnome-text-edit[2811]: broker.vala:159: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory
mag 30 09:12:13 Arch gnome-text-edit[2811]: broker.vala:159: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
mag 30 09:12:13 Arch gnome-text-edit[2811]: broker.vala:159: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
mag 30 09:12:14 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified
mag 30 09:13:20 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified
mag 30 09:15:26 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified
mag 30 09:40:54 Arch org.gnome.Nauti[3984]: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed
mag 30 09:40:54 Arch org.gnome.Nauti[3984]: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed
mag 30 09:42:29 Arch systemd[1238]: app-gnome-at\x2dspi\x2ddbus\x2dbus-4172.scope: Failed to add PIDs to scope's control group: No such process
mag 30 09:42:29 Arch systemd[1238]: app-gnome-at\x2dspi\x2ddbus\x2dbus-4172.scope: Failed with result 'resources'.
mag 30 09:42:29 Arch systemd[1238]: Failed to start Application launched by gnome-session-binary.
mag 30 09:43:52 Arch gnome-shell[1333]: Received error from D-Bus search provider org.gnome.Boxes.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Boxes.SearchProvider without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
mag 30 09:43:52 Arch gnome-shell[1333]: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
mag 30 09:43:52 Arch gnome-calendar[4331]: source_credentials_required_cb: Failed to authenticate 'jlptrenshuu@gmail.com': Data source “jlptrenshuu@gmail.com” does not support OAuth 2.0 authentication
mag 30 09:43:52 Arch gnome-shell[1333]: Received error from D-Bus search provider org.gnome.Boxes.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Boxes.SearchProvider without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
mag 30 09:43:52 Arch gnome-shell[1333]: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
mag 30 09:43:53 Arch gnome-shell[1333]: Received error from D-Bus search provider org.gnome.Boxes.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Boxes.SearchProvider without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
mag 30 09:43:53 Arch gnome-shell[1333]: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
mag 30 09:43:53 Arch gnome-shell[1333]: Received error from D-Bus search provider org.gnome.Photos.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Remote peer disconnected
mag 30 09:44:05 Arch bijiben-shell-search-provider[4336]: Unable to load location /home/alex/.local/share/bijiben: Error opening directory '/home/alex/.local/share/bijiben': No such file or directory
mag 30 09:44:53 Arch epiphany-search[4334]: broker.vala:159: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
mag 30 09:44:53 Arch epiphany-search[4334]: broker.vala:159: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
mag 30 09:44:53 Arch epiphany-search[4334]: broker.vala:159: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory
mag 30 09:44:53 Arch epiphany-search[4334]: broker.vala:159: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
mag 30 09:44:53 Arch epiphany-search[4334]: broker.vala:159: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
mag 30 09:45:30 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified
mag 30 09:45:49 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified
mag 30 09:50:04 Arch gnome-text-edit[5394]: broker.vala:159: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
mag 30 09:50:04 Arch gnome-text-edit[5394]: broker.vala:159: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
mag 30 09:50:04 Arch gnome-text-edit[5394]: broker.vala:159: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory
mag 30 09:50:04 Arch gnome-text-edit[5394]: broker.vala:159: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
mag 30 09:50:04 Arch gnome-text-edit[5394]: broker.vala:159: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
mag 30 09:50:06 Arch xdg-desktop-por[1945]: Backend call failed: GDBus.Error:org.gnome.SessionManager.GeneralError: Application ID not specified

Last edited by Alex P. Minerva (2025-05-31 17:48:46)

Offline

#2 2025-05-30 08:49:10

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

Also, often the system hangs until I press Ctrl-Alt-F1 and log back in again.

journalctl -p 3 -xb
...
mag 30 10:44:59 Arch kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
mag 30 10:45:02 Arch kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
journalctl --user -b | grep -iE 'error|failed|segfault|exec|traceback'
...
mag 30 10:45:07 Arch gnome-shell[1333]: libinput error: event4  - SEMICO USB Keyboard: client bug: event processing lagging behind by 29ms, your system is too slow
mag 30 10:45:07 Arch gnome-shell[10041]: Errors from xkbcomp are not fatal to the X server

Last edited by Alex P. Minerva (2025-05-30 08:51:48)

Offline

#3 2025-05-30 13:09:53

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

Apparently, the system update I performed today was enough to solve the problem roll

Last edited by Alex P. Minerva (2025-05-31 14:05:05)

Offline

#4 2025-05-31 14:05:11

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

No luck! The problem has come back again after today's system update.

Offline

#5 2025-05-31 15:34:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,727

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

and the output of

glxinfo -B

Mutter bug on X11/xwayland => https://wiki.archlinux.org/title/Waylan … plications
https://bbs.archlinux.org/viewtopic.php?id=305905

Mesa bug (in case the software rasterizer is involved at all)
https://bbs.archlinux.org/viewtopic.php?id=305727

The card order looks reversed, try to add "nvidia_drm.modeset=1" to the https://wiki.archlinux.org/title/Kernel_parameters
Though the monitor is attached to the nvidia GPU?

Online

#6 2025-05-31 15:52:34

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

https://0x0.st/8YrI.txt

glxinfo -B                
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 8192 MB
    Currently available dedicated video memory: 6712 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 570.153.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 570.153.02
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 570.153.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

In the meantime, I'll read the resources you posted.

Offline

#7 2025-05-31 16:00:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,727

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

You're certainly running on the nvidia GPU, is this intentional?

seth wrote:

the monitor is attached to the nvidia GPU?

There's no zink reference, check whether the Qt windows are running on xwayland.
nvidia is notorious for VRAM decay, but that would hit on S2idle/S3, not mere DPMS - and likely not be limited to Qt windows, so please be specific about

monitor turns off due to power saving settings.
When I wake the system

Interestingly, if I log out and then log back in immediately, everything works fine again.

W/o a re-login even newly started Qt windows exhibit this?

Online

#8 2025-05-31 16:28:02

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

seth wrote:

You're certainly running on the nvidia GPU, is this intentional?

I only installed the nvidia drivers. I don't remember setting anything specific about what GPU the system should use.

seth wrote:

There's no zink reference, check whether the Qt windows are running on xwayland.
nvidia is notorious for VRAM decay, but that would hit on S2idle/S3, not mere DPMS - and likely not be limited to Qt windows, so please be specific about

I used xlsclients and yes, the apps that exhibit the problem are listed as running under XWayland.

seth wrote:

W/o a re-login even newly started Qt windows exhibit this?

Yes, I tried timeshift, renderdoc and my own qt sample (the one you see in the first post) and they all use qt and exhibit the same behaviour even after closing and restarting the app.

Last edited by Alex P. Minerva (2025-05-31 17:10:20)

Offline

#9 2025-05-31 17:10:04

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

QT_QPA_PLATFORM=wayland seems to work by forcing execution on wayland, but I still don’t understand why this issue suddenly started happening —everything was working fine until now.

Offline

#10 2025-05-31 17:18:39

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,727

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

I used xlsclients and yes, the apps that exhibit the problem are listed as running under XWayland.

Smells like the mutter bug, you could try to downgrade mutter.
And then figure why Qt runs on xwayland, stale environment variable?
https://wiki.archlinux.org/title/Wayland#Qt

Online

#11 2025-05-31 17:35:56

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

Yep, downgrading mutter solved the problem.
So, 48.3-1 and 48.3-3 are bugged while 48.3-2 is fine, omg roll

Offline

#12 2025-05-31 19:48:29

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,727

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

Mutter bug or not, you want to figure why Qt runs on Xwayland by default.
Check

printenv

on whether you set the wrong qpa platform (and then you'l have to figure where, but it's likely some shell rc)

Online

#13 2025-05-31 20:03:59

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

printenv            
SESSION_MANAGER=local/Arch:@/tmp/.ICE-unix/1325,unix/Arch:/tmp/.ICE-unix/1325
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=GNOME
COLORTERM=truecolor
WAYLAND_DISPLAY=wayland-0
HG=/usr/bin/hg
GDK_GL=gles
DESKTOP_SESSION=gnome
USER=alex
XDG_MENU_PREFIX=gnome-
OLDPWD=/home/alex
HOME=/home/alex
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
BROWSER=firefox
XDG_DATA_DIRS=/home/alex/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
TERM_PROGRAM_VERSION=48.0.1
XDG_SESSION_DESKTOP=gnome
JOURNAL_STREAM=9:1652691
VTE_VERSION=8002
TERM_PROGRAM=kgx
GNOME_SETUP_DISPLAY=:1
LC_TIME=it_IT.UTF-8
MAIL=/var/spool/mail/alex
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
LOGNAME=alex
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/alex/.local/bin
XDG_RUNTIME_DIR=/run/user/1000
SHELL=/bin/zsh
XDG_SESSION_TYPE=wayland
USERNAME=alex
MANAGERPID=1249
MOTD_SHOWN=pam
GDM_LANG=en_US.UTF-8
SHLVL=1
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.GQL462
PWD=/home/alex
DISPLAY=:0
GDMSESSION=gnome
TERM=xterm-256color
XDG_SESSION_CLASS=user
P9K_TTY=old
_P9K_TTY=/dev/pts/0
P9K_SSH=0
_P9K_SSH_TTY=/dev/pts/0
EDITOR=nvim
_=/usr/bin/printenv

Offline

#14 2025-05-31 20:53:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,727

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

Nope… do yo simply lack the wayland plugin?

pacman -Qs qt.-wayland

Online

#15 2025-06-01 05:03:14

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

pacman -Qs qt.-wayland
local/qt5-wayland 5.15.17+kde+r57-1 (qt5)
    Provides APIs for Wayland
local/qt6-wayland 6.9.0-2 (qt6)
    Provides APIs for Wayland

Could you test this little app on your system to check if it runs on wayland or xwayland?

#include <QPushButton>

int main(int argc, char *argv[]) {
    QApplication app(argc, argv);
    QPushButton button("Hello Qt!");
    button.resize(200, 100);
    button.show();
    return app.exec();
}
g++ -I/usr/include/qt -I/usr/include/qt/QtWidgets -lQt5Widgets -lQt5Core main.cpp -o qt5test

Offline

#16 2025-06-01 05:52:38

Alex P. Minerva
Member
Registered: 2025-04-11
Posts: 13

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

If I run this app from terminal, I get the following warning:

./qt5test
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

QT_QPA_PLATFORM=wayland does work, but at this point I’d like to know if this is an issue on my end only.

Last edited by Alex P. Minerva (2025-06-01 06:03:39)

Offline

#17 2025-06-01 06:46:23

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,727

Re: [SOLVED] Qt apps don't show GUI after login (only after screen blank)

Oh, I thought this was Qt6.
The message looks very intentional as suggests there're known issues w/ Qt5/wayland + the gnome compositor.

Online

Board footer

Powered by FluxBB