https://bugs.kde.org/show_bug.cgi?id=500403

John <ilikef...@waterisgone.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DOWNSTREAM                  |---
     Ever confirmed|1                           |0
             Status|RESOLVED                    |REPORTED

--- Comment #12 from John <ilikef...@waterisgone.com> ---
(In reply to Harald Sitter from comment #11)
> Depending on how you look at it this is either an upstream (Qt) or a
> downstream (distro) problem. qtwayland expects to find libvulkan.so, qtxcb
> also looks for libvulkan.so.1. As such a distribution that pulls in
> qtwayland without providing libvulkan.so is broken. At the same time
> qtwayland only looking for libvulkan.so is a bit unexpected.
Thank you very much for explaining the problem so well that I could understand
what the code is looking for and not finding.
Knowing the file names I could search for them on my system to see if they are
really not found or they just have different names, so I searched for them with
this command: sudo fdfind 'libvulkan.so' /
That gave me this:
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/6.8/68d286c596aa5122502e092332f3cf9c549c822985f15a4b134e70bbff537b75/files/lib/x86_64-linux-gnu/libvulkan.so.1.3.290
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/6.8/68d286c596aa5122502e092332f3cf9c549c822985f15a4b134e70bbff537b75/files/lib/x86_64-linux-gnu/libvulkan.so.1
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-24.08/12d9dfd680aa5b016e8208baa2fced33215c336d801a0bb09e9797087b8e13a5/files/lib/x86_64-linux-gnu/libvulkan.so.1.3.290
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-24.08/12d9dfd680aa5b016e8208baa2fced33215c336d801a0bb09e9797087b8e13a5/files/lib/x86_64-linux-gnu/libvulkan.so.1
/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/47/2e030588dbe16adbf696824be76ed2a70ed11504edb8a6a932b85deae8ae68e9/files/lib/x86_64-linux-gnu/libvulkan.so.1.3.290
/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/47/2e030588dbe16adbf696824be76ed2a70ed11504edb8a6a932b85deae8ae68e9/files/lib/x86_64-linux-gnu/libvulkan.so.1
/usr/lib/x86_64-linux-gnu/libvulkan.so.1
/usr/lib/x86_64-linux-gnu/libvulkan.so.1.4.304
/var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/24.08/7843a03291593f58bfd4583eaa48b65198be8a84ecd1a5885d0d65920d3a22a6/files/lib/x86_64-linux-gnu/libvulkan.so.1.3.290
/var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/24.08/7843a03291593f58bfd4583eaa48b65198be8a84ecd1a5885d0d65920d3a22a6/files/lib/x86_64-linux-gnu/libvulkan.so.1
/var/lib/flatpak/runtime/org.freedesktop.Platform.Compat.i386/x86_64/24.08/5e988e1957382baf3d57d48597dcb41477ffd05839591b71f2e6dd27206af05a/files/libvulkan.so.1.3.290
/var/lib/flatpak/runtime/org.freedesktop.Platform.Compat.i386/x86_64/24.08/5e988e1957382baf3d57d48597dcb41477ffd05839591b71f2e6dd27206af05a/files/libvulkan.so.1
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/6.8/68d286c596aa5122502e092332f3cf9c549c822985f15a4b134e70bbff537b75/files/lib/x86_64-linux-gnu/libvulkan.so.1.3.290
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/6.8/68d286c596aa5122502e092332f3cf9c549c822985f15a4b134e70bbff537b75/files/lib/x86_64-linux-gnu/libvulkan.so.1
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-24.08/12d9dfd680aa5b016e8208baa2fced33215c336d801a0bb09e9797087b8e13a5/files/lib/x86_64-linux-gnu/libvulkan.so.1.3.290
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-24.08/12d9dfd680aa5b016e8208baa2fced33215c336d801a0bb09e9797087b8e13a5/files/lib/x86_64-linux-gnu/libvulkan.so.1
/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/47/2e030588dbe16adbf696824be76ed2a70ed11504edb8a6a932b85deae8ae68e9/files/lib/x86_64-linux-gnu/libvulkan.so.1.3.290
/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/47/2e030588dbe16adbf696824be76ed2a70ed11504edb8a6a932b85deae8ae68e9/files/lib/x86_64-linux-gnu/libvulkan.so.1
/usr/lib/x86_64-linux-gnu/libvulkan.so.1
/usr/lib/x86_64-linux-gnu/libvulkan.so.1.4.304
/var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/24.08/7843a03291593f58bfd4583eaa48b65198be8a84ecd1a5885d0d65920d3a22a6/files/lib/x86_64-linux-gnu/libvulkan.so.1.3.290
/var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/24.08/7843a03291593f58bfd4583eaa48b65198be8a84ecd1a5885d0d65920d3a22a6/files/lib/x86_64-linux-gnu/libvulkan.so.1
/var/lib/flatpak/runtime/org.freedesktop.Platform.Compat.i386/x86_64/24.08/5e988e1957382baf3d57d48597dcb41477ffd05839591b71f2e6dd27206af05a/files/libvulkan.so.1.3.290
/var/lib/flatpak/runtime/org.freedesktop.Platform.Compat.i386/x86_64/24.08/5e988e1957382baf3d57d48597dcb41477ffd05839591b71f2e6dd27206af05a/files/libvulkan.so.1

I ignored all the things about Flatpak an concentrated just on these 2 files:
/usr/lib/x86_64-linux-gnu/libvulkan.so.1
/usr/lib/x86_64-linux-gnu/libvulkan.so.1.4.304

I moved into that folder and did this custom ls -l command: ll libvulkan*
That gave me this:
0777 lrwxrwxrwx    - root root 16 Jan 14:38 libvulkan.so.1 ->
libvulkan.so.1.4.304
0644 .rw-r--r-- 535k root root 16 Jan 14:38 libvulkan.so.1.4.304
0644 .rw-r--r--  21M root root 23 Feb 09:22 libvulkan_intel.so
0644 .rw-r--r--  17M root root 23 Feb 09:22 libvulkan_intel_hasvk.so
0644 .rw-r--r--  11M root root 23 Feb 09:22 libvulkan_lvp.so
0644 .rw-r--r--  16M root root 23 Feb 09:22 libvulkan_nouveau.so
0644 .rw-r--r--  14M root root 23 Feb 09:22 libvulkan_radeon.so
0644 .rw-r--r-- 1.3M root root 23 Feb 09:22 libvulkan_virtio.so
Seeing that an 'libvulkan.so.1' exists, but not also a 'libvulkan.so' file, I
created one by making a symlink with absolute paths like this:

sudo ln -s /usr/lib/x86_64-linux-gnu/libvulkan.so.1
/usr/lib/x86_64-linux-gnu/libvulkan.so

After that I ran the  'kinfocenter' command as before, which gave me this
output now:

qt.qml.typeregistration: Invalid QML element name "Hint"; value type names
should begin with a lowercase letter
[2025-02-25 06:51:21.162] [MANGOHUD] [error] [overlay_params.cpp:148]
Unrecognized key: '=Shift_L'
Physical device 0: 'Intel(R) UHD Graphics 620 (KBL GT2)' 25.0.0 (api 1.4.305
vendor 0x8086 device 0x5917 type 1)
Physical device 0: 'AMD Radeon R5 M465 Series (RADV ICELAND)' 25.0.0 (api
1.4.305 vendor 0x1002 device 0x6900 type 2)
Physical device 0: 'llvmpipe (LLVM 19.1.7, 256 bits)' 0.0.1 (api 1.4.305 vendor
0x10005 device 0x0 type 4)
excess llvmpipe detected, ignoring
qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0

The '[error]' after '[MANGOHUD]' is displayed in red color and last line still
looks like an error...
But the pills are now working (they are displayed)! :-)
And they are displayed correctly for my GPUs, similar to the X session!
I closed it an reopened from the start menu also and it works as expected from
here too!

If it's not much problem, can you please give a PM or ping to  Aurélien
COUDERC, which seems to be one of the main maintainers / packagers of KDE
software for Debian:
https://tracker.debian.org/pkg/plasma-desktop
https://salsa.debian.org/coucouf
https://invent.kde.org/aureliencouderc
To let him know about this problem on Wayland and the fact that it can be
solved with that simple symlink?

I haven't tested KDE Neon again, but since it suffers from the same exact
problem and it's not much different from Debian, maybe the symlink fix will
also work there, so maybe you want to inform KDE Neon developers too.

Or maybe look again at the code if it's indeed looking for the 'libvulkan.so.1'
file too in addition to 'libvulkan.so' file and if it really works, as maybe it
doesn't since the file existed from the beginning and a simple symlink to  it
was enough to fix it.
I'll set this as 'Reported' for the last time to make sure you read this reply.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to