[edge] recent upgrade broke sxmo-sway: missing libvulkan.so.1
Describe your issue
libvulkan.so.1 is gone, against which wlroots is linked, so sway (sxmo) no longer starts.
What's the expected behaviour?
sway starting as normal
What's the current behaviour?
sway not starting due to:
/usr/bin/sxmo_winit.sh: /usr/bin/sxmo_init.sh: line 18: xrdb: not found
Error loading shared library libvulkan.so.1: No such file or directory (needed by /usr/lib/libwlroots-0.18.so)
Error relocating /usr/lib/libwlroots-0.18.so: vkDestroyRenderPass: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkEnumeratePhysicalDevices: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkCreateDescriptorSetLayout: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkCmdBindDescriptorSets: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkQueueWaitIdle: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkCreateFramebuffer: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkDestroyInstance: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkGetImageMemoryRequirements2: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkCmdPipelineBarrier: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkInvalidateMappedMemoryRanges: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkBindImageMemory2: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkGetPhysicalDeviceFormatProperties: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkCmdBindPipeline: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkGetPhysicalDeviceQueueFamilyProperties: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkEnumerateDeviceExtensionProperties: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkDestroyFramebuffer: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkCmdSetViewport: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkGetPhysicalDeviceImageFormatProperties2: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkCreateCommandPool: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkCmdCopyBufferToImage: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkGetDeviceQueue: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkCreateSemaphore: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkGetBufferMemoryRequirements: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkUnmapMemory: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkGetInstanceProcAddr: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkDestroyPipeline: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkResetCommandBuffer: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkDestroySamplerYcbcrConversion: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkFreeMemory: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkCmdCopyImage: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkQueueSubmit: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkEndCommandBuffer: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkGetImageMemoryRequirements: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkEnumerateInstanceExtensionProperties: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkDeviceWaitIdle: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkGetPhysicalDeviceFormatProperties2: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkDestroySampler: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkFreeDescriptorSets: symbol not found
Error relocating /usr/lib/libwlroots-0.18.so: vkDestroySemaphore: symbol not found
How to reproduce your issue?
This happened after a regular apk upgrade -aiv
yesterday.
I do note quite a few things got reorganised, in my last upgrade (though the upgrade before already caused this issue):
$ sudo apk upgrade -aiv
The following packages will be REMOVED:
soc-qcom-sdm845 soc-qcom-sdm845-gstreamer-openrc soc-qcom-sdm845-modem-openrc soc-qcom-sdm845-nonfree-firmware-openrc soc-qcom-sdm845-pulseaudio soc-qcom-sdm845-pulseaudio-openrc soc-qcom-sdm845-qbootctl soc-qcom-sdm845-qbootctl-openrc
soc-qcom-sdm845-ucm
The following NEW packages will be installed:
alsa-ucm-conf-sdm845 soc-qcom soc-qcom-gstreamer-openrc soc-qcom-modem soc-qcom-modem-openrc soc-qcom-openrc soc-qcom-pulseaudio soc-qcom-pulseaudio-openrc soc-qcom-qbootctl soc-qcom-qbootctl-openrc
The following packages will be upgraded:
device-oneplus-enchilada device-oneplus-enchilada-openrc plasma-activities-libs sqlite sqlite-dev sqlite-doc sqlite-libs
Need to download 2178 KiB of packages.
After this operation, 8192 B of disk space will be freed.
What device are you using?
oneplus-enchilada
On what postmarketOS version did you encounter the issue?
-
edge (
master
branch) -
v24.12
-
v24.06
(supported until 2025-01-23) -
I confirm that the issue still is present after running
sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
- GNOME Shell on Mobile
- Phosh
- Plasma Mobile
-
Sxmo (Wayland/Sway) Please post the output of
sxmo_version.sh
- Other: Please fill out
Sxmo 1.17.1 superd Version: 0.7.1
Which init system are you using?
- OpenRC
- systemd
How did you get postmarketOS image?
- from https://images.postmarketos.org
- I built it using pmbootstrap
- It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
unsure, somewhere mid 2024 I think
Additional information
I tried installing soc-qcom-vulkan
but that didn't solve it.