Bug 2312499
| Summary: | REGRESSION: sddm-helper-start-wayland: kwin_wayland: symbol lookup error: /lib64/libkwin.so.6: undefined symbol: wl_display_set_default_max_buffer_size\n | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Arcadiy Ivanov <arcadiy> |
| Component: | kwin | Assignee: | Alessandro Astone <ales.astone> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 40 | CC: | agurenko, ales.astone, jgrulich, kde-sig, rdieter, suraj.ghimire7, than |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | kwin-6.1.90-2.fc42 kwin-6.1.5-2.fc41 kwin-6.1.5-2.fc40 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-09-17 20:23:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
kwin 6.1.4-2 built against libwayland-server 1.23.0 which exposes the new symbol `wl_display_set_default_max_buffer_size`. The build itself is fine, but we're missing an explicit dependency on `libwayland-server >= 1.23.0`. You can workaround the issue by upgrading libwayland-server. This is not an issue I expect many people to hit since most people will upgrade their systems as a whole rather than upgrading individual packages. I didn't upgrade individual packages, I upgraded the system as a whole with `dnf upgrade --refresh -y`, rebooted and kwin_wayland failed to initialize. I already have and HAD libwayland-server >=1.23.0 for several days. Observe:
$ for num in {1..30}; do sudo dnf history info last-$num | grep -e 'Transaction ID\|libwayland\|kwin\|Begin time'; done
Transaction ID : 3641
Begin time : Mon 16 Sep 2024 08:08:41 PM EDT
Transaction ID : 3640
Begin time : Mon 16 Sep 2024 08:07:32 PM EDT
Transaction ID : 3639
Begin time : Sun 15 Sep 2024 11:59:30 PM EDT
Command Line : install https://kojipkgs.fedoraproject.org/packages/kwin/6.1.4/1.fc40/x86_64/kwin-6.1.4-1.fc40.x86_64.rpm https://kojipkgs.fedoraproject.org/packages/kwin/6.1.4/1.fc40/x86_64/kwin-common-6.1.4-1.fc40.x86_64.rpm https://kojipkgs.fedoraproject.org/packages/kwin/6.1.4/1.fc40/x86_64/kwin-libs-6.1.4-1.fc40.x86_64.rpm https://kojipkgs.fedoraproject.org/packages/kwin/6.1.4/1.fc40/x86_64/kwin-wayland-6.1.4-1.fc40.x86_64.rpm
Downgrade kwin-6.1.4-1.fc40.x86_64 @@commandline
Downgraded kwin-6.1.4-2.fc40.x86_64 @@System
Downgrade kwin-common-6.1.4-1.fc40.x86_64 @@commandline
Downgraded kwin-common-6.1.4-2.fc40.x86_64 @@System
Downgrade kwin-libs-6.1.4-1.fc40.x86_64 @@commandline
Downgraded kwin-libs-6.1.4-2.fc40.x86_64 @@System
Downgrade kwin-wayland-6.1.4-1.fc40.x86_64 @@commandline
Downgraded kwin-wayland-6.1.4-2.fc40.x86_64 @@System
Transaction ID : 3638
Begin time : Sun 15 Sep 2024 10:43:27 PM EDT
Command Line : reinstall kwin kwin-common kwin-libs kwin-wayland
Reinstall kwin-6.1.4-2.fc40.x86_64 @updates
Reinstalled kwin-6.1.4-2.fc40.x86_64 @@System
Reinstall kwin-common-6.1.4-2.fc40.x86_64 @updates
Reinstalled kwin-common-6.1.4-2.fc40.x86_64 @@System
Reinstall kwin-libs-6.1.4-2.fc40.x86_64 @updates
Reinstalled kwin-libs-6.1.4-2.fc40.x86_64 @@System
Reinstall kwin-wayland-6.1.4-2.fc40.x86_64 @updates
Reinstalled kwin-wayland-6.1.4-2.fc40.x86_64 @@System
Transaction ID : 3637
Begin time : Sun 15 Sep 2024 11:48:43 AM EDT
Transaction ID : 3636
Begin time : Fri 13 Sep 2024 07:13:29 PM EDT
Transaction ID : 3635
Begin time : Fri 13 Sep 2024 07:13:15 PM EDT
Transaction ID : 3634
Begin time : Fri 13 Sep 2024 07:11:05 PM EDT
Upgrade kwin-6.1.4-2.fc40.x86_64 @updates
Upgraded kwin-6.1.4-1.fc40.x86_64 @@System
Upgrade kwin-common-6.1.4-2.fc40.x86_64 @updates
Upgraded kwin-common-6.1.4-1.fc40.x86_64 @@System
Upgrade kwin-libs-6.1.4-2.fc40.x86_64 @updates
Upgraded kwin-libs-6.1.4-1.fc40.x86_64 @@System
Upgrade kwin-wayland-6.1.4-2.fc40.x86_64 @updates
Upgraded kwin-wayland-6.1.4-1.fc40.x86_64 @@System
Transaction ID : 3633
Begin time : Wed 11 Sep 2024 11:30:13 PM EDT
Transaction ID : 3632
Begin time : Wed 11 Sep 2024 07:17:38 AM EDT
Transaction ID : 3631
Begin time : Wed 11 Sep 2024 07:17:24 AM EDT
Transaction ID : 3630
Begin time : Wed 11 Sep 2024 07:15:03 AM EDT
Transaction ID : 3629
Begin time : Mon 09 Sep 2024 11:55:06 AM EDT
Transaction ID : 3628
Begin time : Sat 07 Sep 2024 12:00:15 PM EDT
Transaction ID : 3627
Begin time : Fri 06 Sep 2024 09:15:02 PM EDT
Transaction ID : 3626
Begin time : Thu 05 Sep 2024 03:47:47 PM EDT
Transaction ID : 3625
Begin time : Thu 05 Sep 2024 03:47:33 PM EDT
Transaction ID : 3624
Begin time : Thu 05 Sep 2024 03:45:29 PM EDT
Transaction ID : 3623
Begin time : Tue 03 Sep 2024 06:57:51 PM EDT
Transaction ID : 3622
Begin time : Tue 03 Sep 2024 11:38:16 AM EDT
Transaction ID : 3621
Begin time : Mon 02 Sep 2024 01:40:24 PM EDT
Transaction ID : 3620
Begin time : Mon 02 Sep 2024 08:30:09 AM EDT
Install libwayland-server-1.23.0-2.fc40.i686 @updates
Transaction ID : 3619
Begin time : Mon 02 Sep 2024 08:28:48 AM EDT
Transaction ID : 3618
Begin time : Mon 02 Sep 2024 08:28:08 AM EDT
Transaction ID : 3617
Begin time : Mon 02 Sep 2024 08:27:59 AM EDT
Removed libwayland-server-1.23.0-2.fc40.i686 @@System
Transaction ID : 3616
Begin time : Mon 02 Sep 2024 08:27:21 AM EDT
Transaction ID : 3615
Begin time : Mon 02 Sep 2024 08:09:56 AM EDT
Transaction ID : 3614
Begin time : Sun 01 Sep 2024 06:14:00 AM EDT
Transaction ID : 3613
Begin time : Sat 31 Aug 2024 10:40:34 AM EDT
Transaction ID : 3612
Begin time : Fri 30 Aug 2024 04:19:43 AM EDT
That only mentions libwayland-server.i686. How about `libwayland-server-1.23.0-2.fc40.x86_64` ? (and do you really need the i686 version?) I think it's `steam` that uses it :)
I had to dig deeper in the history. I had `libwayland-server` 1.23.0-2 for over a month before this happened.
Transaction ID : 3634
Begin time : Fri 13 Sep 2024 07:11:05 PM EDT
Upgrade kwin-6.1.4-2.fc40.x86_64 @updates
Upgraded kwin-6.1.4-1.fc40.x86_64 @@System
Upgrade kwin-common-6.1.4-2.fc40.x86_64 @updates
Upgraded kwin-common-6.1.4-1.fc40.x86_64 @@System
Upgrade kwin-libs-6.1.4-2.fc40.x86_64 @updates
Upgraded kwin-libs-6.1.4-1.fc40.x86_64 @@System
Upgrade kwin-wayland-6.1.4-2.fc40.x86_64 @updates
Upgraded kwin-wayland-6.1.4-1.fc40.x86_64 @@System
Transaction ID : 3578
Begin time : Sun 11 Aug 2024 08:39:08 PM EDT
Upgrade libwayland-client-1.23.0-2.fc40.i686 @updates
Upgraded libwayland-client-1.22.0-3.fc40.i686 @@System
Upgrade libwayland-client-1.23.0-2.fc40.x86_64 @updates
Upgraded libwayland-client-1.22.0-3.fc40.x86_64 @@System
Upgrade libwayland-cursor-1.23.0-2.fc40.i686 @updates
Upgraded libwayland-cursor-1.22.0-3.fc40.i686 @@System
Upgrade libwayland-cursor-1.23.0-2.fc40.x86_64 @updates
Upgraded libwayland-cursor-1.22.0-3.fc40.x86_64 @@System
Upgrade libwayland-egl-1.23.0-2.fc40.i686 @updates
Upgraded libwayland-egl-1.22.0-3.fc40.i686 @@System
Upgrade libwayland-egl-1.23.0-2.fc40.x86_64 @updates
Upgraded libwayland-egl-1.22.0-3.fc40.x86_64 @@System
Upgrade libwayland-server-1.23.0-2.fc40.i686 @updates
Upgraded libwayland-server-1.22.0-3.fc40.i686 @@System
Upgrade libwayland-server-1.23.0-2.fc40.x86_64 @updates
Upgraded libwayland-server-1.22.0-3.fc40.x86_64 @@System
Sounds like something else in your system is misconfigured, because the version that's being loaded by kwin is not actually 1.23.0. Or alternatively, disk corruption. Please show me the output of: sudo -u sddm ldd /lib64/libkwin.so.6 | grep libwayland-server nm -gD /lib64/libwayland-server.so.0 | grep wl_display_set_default_max_buffer_size Ah, yes, it's my system but not my exclusively. I have amdgpu drivers which caused this:
$ sudo -u sddm ldd /lib64/libkwin.so.6 | grep libwayland-server
libwayland-server.so.0 => /opt/amdgpu/lib64/libwayland-server.so.0 (0x00007f154b3e8000)
$ sudo dnf remove libwayland-amdgpu\* libdrm-amdgpu\*
....
$ sudo -u sddm ldd /lib64/libkwin.so.6 | grep libwayland-server
libwayland-server.so.0 => /lib64/libwayland-server.so.0 (0x00007f37ba7f3000)
I'll upgrade and report.
Works now. Lesson: do not install amdgpu stack on Fedora :) Who packages the amdgpu stack? Sounds like they're setting LD_LIBRARY_PATH to point to /opt/amdgpu/lib64, or instructing you to do so. You could gently notify them that this is generally a bad idea :) They should compile their libraries setting the RPATH instead so that only those libraries will look inside /opt/amdgpu/lib64 FEDORA-2024-f2b932785c (kwin-6.1.90-2.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-f2b932785c FEDORA-2024-f2b932785c (kwin-6.1.90-2.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. (In reply to Alessandro Astone from comment #10) > Who packages the amdgpu stack? Sounds like they're setting LD_LIBRARY_PATH > to point to /opt/amdgpu/lib64, or instructing you to do so. > > You could gently notify them that this is generally a bad idea :) > They should compile their libraries setting the RPATH instead so that only > those libraries will look inside /opt/amdgpu/lib64 AMD is packaging it :) https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/amdgpu-install.html FEDORA-2024-2c6a06f1cf (KDE Plasma 6.1.5 for f40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-2c6a06f1cf FEDORA-2024-9687bb03d0 (kwin-6.1.5-2.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-9687bb03d0 FEDORA-2024-2c6a06f1cf has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-2c6a06f1cf` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-2c6a06f1cf See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-9687bb03d0 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-9687bb03d0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-9687bb03d0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-9687bb03d0 (kwin-6.1.5-2.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2024-2c6a06f1cf (KDE Plasma 6.1.5 for f40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. |
Upgraded packages {kwin,kwin-common,kwin-libs,kwin-wayland} to 6.1.4-2. SDDM failed to startup, machine is unusable. Logs contain: $ journalctl -xeb-2 | grep kwin Sep 15 22:33:10 hostname sddm-helper-start-wayland[4832]: "/usr/bin/kwin_wayland: symbol lookup error: /lib64/libkwin.so.6: undefined symbol: wl_display_set_default_max_buffer_size\n" Downgraded {kwin,kwin-common,kwin-libs,kwin-wayland} to 6.1.4-1 via: dnf install https://kojipkgs.fedoraproject.org/packages/kwin/6.1.4/1.fc40/x86_64/{kwin,kwin-common,kwin-libs,kwin-wayland}-6.1.4-1.fc40.x86_64.rpm All functionality is restored. 6.1.4-2 is broken and needs to be pulled and -3 with a fix released ASAP.