Summary: | QT6 applications on wayland crash with "wl_pointer" has no event 10 | ||
---|---|---|---|
Product: | [KDE Neon] neon | Reporter: | Ash <ashleysommer> |
Component: | Packages User Edition | Assignee: | Neon Bugs <neon-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bruno, jr, kde, neon-bugs, sitter, techxgames, xaver.hugl |
Priority: | NOR | Keywords: | qt6 |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Output with WL_DEBUG=1 |
Description
Ash
2024-02-24 23:56:58 UTC
Note, I suspect this is a neon build/packaging error, or a QT6 bug. But I posted here because to see if anyone can help me debug exactly where the issue is coming from. I haven't tried with QT6 v6.7.0 yet, only using the v6.6.2 release from neon "release" channel. This article shows the high-resolution scroll event support was added in Wayland 1.21: https://www.phoronix.com/news/Wayland-1.21-Released libwayand-client0 libwayland-server0 on my installation are both on 1.22.0-0xneon+22.04+jammy+release+build21 qt6-wayland is on 6.6.2-0xneon+22.04+jammy+release+build18 I've confirmed libqt6waylandclient is dynamically linked to libwayand-client0 v1.22.0-0 Support for high-resolution scroll was added to QT6 during the v6.5 development phase back in 2022, so its been in there a while: https://github.com/qt/qtwayland/commit/f1e71327d462d2dae0b46677bbc478afb0d1b2f7 Please run a Qt6 app with WAYLAND_DEBUG=1 set and attach the output here Created attachment 166078 [details]
Output with WL_DEBUG=1
Added attachment, running Konsole v24.02.0 with WL_DEBUG=1
Log records the application opening, I move the mouse around the Konsole window for about 1 second, then I scroll the scrollwheel wheel down, the application immediately crashes.
(In reply to Ash from comment #4) > Created attachment 166078 [details] > Output with WL_DEBUG=1 > > Added attachment, running Konsole v24.02.0 with WL_DEBUG=1 > Log records the application opening, I move the mouse around the Konsole > window for about 1 second, then I scroll the scrollwheel wheel down, the > application immediately crashes. Typo in previous comment, I ran with WAYLAND_DEBUG=1, not WL_DEBUG. Correct debug variable can be seen in the log file. This seems to be resolved now. Yesterday I updated some packages to newer releases on the neon "release" channel. These included: * kf6-kguiaddons=6.0.0-0xneon+22.04+jammy+release+build4 * kf6-purpose=6.0.0-0xneon+22.04+jammy+release+build9 * kwin-common=4:6.0.0-0xneon+22.04+jammy+release+build66 * kwin-data=4:6.0.0-0xneon+22.04+jammy+release+build66 * kwin-wayland=4:6.0.0-0xneon+22.04+jammy+release+build66 * libkwineffects14=4:6.0.0-0xneon+22.04+jammy+release+build66 * libkwinglutils=4:6.0.0-0xneon+22.04+jammy+release+build66 After that, general QT6 applications like Konsole and Dolphin were _no longer_ crashing on scroll inputs. But KDE Plasma components (panels, panel widgets, app launcher, networks popup) were all still crashing on scroll input. Then early this morning I just updated some more new package releases that appeared on the neon "release" channel. This included: * libplasma6=6.0.0-0xneon+22.04+jammy+release+build8 * kf6-plasma-framework=6.0.0-0xneon+22.04+jammy+release+build8 * plasma-framework6=6.0.0-0xneon+22.04+jammy+release+build8 Now I no longer see any crash on scroll input in KDE Plasma components. So I suppose this has resolved itself, this can be closed. It looks like I have a problem which may be closely related if not the same... Running fully patched KDE Neon "Release". Recently upgraded to Plasma 6 Wayland on 2 different machines. Both show this same issue, one using a Logitech MX Master 3 one a Logitech G502. One running Solaar (Logitech receiver manager) one not. PROBLEM: File open dialog box vanishes (crashes) when scrolling for files with error "interface 'wl_pointer' has no event 10" STEPS TO REPRODUCE 1. Open Google Chrome 2. Go to any website with an file upload box <input type="file"> 3. Click in the box or click to choose file (or however its implemented) to launch the open file dialog 4. Scroll in dialog OBSERVED RESULT File open dialog disappears and /var/log/syslog records "interface 'wl_pointer' has no event 10" EXPECTED RESULT: File open dialog scrolls SOFTWARE/OS VERSIONS Kernel Version: 6.5.0-21 KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Graphics Platform: Wayland kwin-wayland = 4:6.0.0-0xneon+22.04+jammy+release+build67 qt6-base = 6.6.2-0xneon+22.04+jammy+release+build88 libinput-bin = 1.20.0-1ubuntu0.3 ADDITIONAL INFORMATION: Relevant /var/log/syslog in full.... xdg-desktop-portal-kde[47975]: interface 'wl_pointer' has no event 10 xdg-desktop-portal-kde[47975]: The Wayland connection experienced a fatal error: Resource temporarily unavailable xdg-desktop-por[3023]: Backend call failed: Message recipient disconnected from message bus without replying systemd[2739]: plasma-xdg-desktop-portal-kde.service: Main process exited, code=exited, status=255/EXCEPTION xdg-desktop-portal-kde[48076]: warning: queue 0x55ffb535b270 destroyed while proxies still attached: xdg-desktop-portal-kde[48076]: zwp_linux_dmabuf_v1@46 still attached systemd[2739]: plasma-xdg-desktop-portal-kde.service: Failed with result 'exit-code'. systemd[2739]: plasma-xdg-desktop-portal-kde.service: Consumed 1.097s CPU time. related to https://bugs.kde.org/show_bug.cgi?id=481972 can reproduce Yep, I can confirm I was still having this error in xdg-desktop-portal-kde windows (file open, in firefox and chrome) even after my last comment. Also since https://bugs.kde.org/show_bug.cgi?id=481972 is now fixed, this issue is now resolved. I can confirm resolved on both my machines as well.. |