sonyxperiadev / bug_tracker

Empty repository that is used as a bugtracker for Open Devices project
52 stars 13 forks source link

Vulkan support is broken on Xperia 10 V (Android 13) #826

Closed mlehtima closed 1 month ago

mlehtima commented 6 months ago

Platform: Device: Xperia 10 V (pdx235/zambezi) Kernel version: 5.4 Android version: Android 13 Software binaries version: SW_binaries_for_Xperia_Android_13_5.4_v2b_zambezi

Previously working on Probably never worked

Description While testing vulkan support on Sailfish OS I noticed that symlink /vendor/lib64/hw/vulkan.qcom.so points to /odm/lib64/hw/vulkan.qcom.so but the file in odm is named vulkan.adreno.so

Symptoms Vulkan is not working

How to reproduce Try to use vulkan support

Additional context Ways to fix are replacing the symlink with vulkan.adreno.so and setting ro.hardware.vulkan=adreno property or renaming the library in odm release

jerpelea commented 6 months ago

on it Thanks for reporting it

bartcubbins commented 6 months ago

Please let's stay with the adreno suffix. All new bsp release it this way, only legacy ones use qcom

jerpelea commented 3 months ago

please update prop and symlink

MarijnS95 commented 3 months ago

For the record we set the suffix to qcom generically for all devices here:

https://github.com/sonyxperiadev/device-sony-common/blob/56c57b4252ac33d7f29e59991b69090afd2d277c/common-prop.mk#L273-L275

Right above that the EGL is found by the adreno suffix though, newer blobs probably tried to consistenize the two.

jerpelea commented 1 month ago

please test the latest vendor release

lkraav commented 1 month ago

please test the latest vendor release

Did it work @mlehtima?

mlehtima commented 1 month ago

In Android 14 vulkan works now but I think Android 13 is missing this commit https://github.com/sonyxperiadev/device-sony-common/commit/07bab83797d8fc7212bdd3f22e1027b72ca983ec

jerpelea commented 1 month ago

vendor v4 will be released ASAP with several fixes