Wednesday, 2023-06-07

ViGePSA: New HADK released: https://docs.sailfishos.org/Develop/HADK/11:46
T42<k1gen> nice!12:11
T42<XAP2P> goood👍12:18
malthat should contain most of the things discussed here a while back12:42
T42<k1gen> thanks for your work, mal!12:47
T42<TheVancedGamer> mal: would it be feasible to ship github.com/KhronosGroup/Vulkan-Headers alongside libhybris so the vulkan bits can compile with it, and then libhybris can also provide them?15:34
mal@TheVancedGamer is there some reason not to use the external vulkan-headers package?15:38
malof course it could in theory include headers and have some option to select whether to use those or external headers but that would add some more maintenance15:40
malwhen creating vulkan support for sailfish I decided to not have the headers in libhybris because vulkan could be also provided by mesa for example on devices which don't use libhybris15:41
T42<TheVancedGamer> mal: on Ubuntu Touch (and Manjaro iirc) libvulkan-dev is provided by vulkan-loader, and it's heavily outdated even for 21.0415:45
T42<TheVancedGamer> and repackaging it seems excessive, so I considered maybe shipping them alongside libhybris?15:46
T42<TheVancedGamer> mal: for the mesa providing vulkan bit, couldn't there be two builds of libhybris (one that provides the headers and one that's just plain library)?15:48
malI personally would make that conditional, so it would by default use external vulkan headers unless those are not found or user forces internal headers15:49
malyou can always make a PR to libhybris which would do that15:49
T42<TheVancedGamer> or that, yeah it works15:49
T42<TheVancedGamer> sure, i'll try cooking a concept up15:49
malshould not be too difficult15:49
malsomething like this https://github.com/libhybris/libhybris/blob/master/hybris/configure.ac#L6915:50
T42<TheVancedGamer> indeed yeah, could just add Vulkan-Headers as submodule pointing to latest stable branch (as the time of writing sdk-1.3.250) and plumb it directly into libhybris's CMakeLists.txt15:50
malI think usually we haven't had submodules in libhybris but just copies of the headers15:50
T42<TheVancedGamer> subtree then?15:51
malI think the reason for not having such things is to not depend on third-party repos when checking out the code15:52
T42<TheVancedGamer> subtree is basically a locally cloned copy of the repo15:52
T42<TheVancedGamer> so all files are physically present and nothing needs to be done to pull them15:52
T42<TheVancedGamer> but it makes updating them easier15:52
malyeah, maybe that could be ok15:53
malso add that kind of option like I linked and it should be ok15:54
T42<TheVancedGamer> alrighty, will be back soon with a PR15:54
malthat reminds me, I should make a PR of the meson build support for libhybris15:54
malI have had it ready for months but never make a PR15:55
malI should also update the vulkan packages in sailfish15:56
T42<TheVancedGamer> so much to do ;)15:57
malyeah15:57
T42<adampigg> no, just /dev/audio_ipi (re @b100dian: Do you have /dev/aud...)16:55
T42<b100dian> @adampigg do you have a config to enable something-SCP in the kernel? which one is the x23 kernel btw17:53
T42<adampigg> https://gitlab.com/ubports/porting/reference-device-ports/halium12/volla-x23/kernel-volla-mt6789/-/blob/halium-12.0/arch/arm64/configs/gx4.config (re @b100dian: @adampigg do you hav...)17:54
T42<adampigg> @b100dian there are a bunch of modules with scp in the name loaded in the kernel17:57
T42<b100dian> Maybe add CONFIG_MTK_SCP_AUDIO17:57
T42<adampigg> ill just check thats in the kernel on device....17:57
T42<adampigg> @b100dian its built as a module.... CONFIG_MTK_SCP_AUDIO=m17:58
T42<adampigg> @b100dian yeah, that module is already loaded18:01
T42<b100dian> For context, this is where I got the audio_scp reference https://github.com/SakthivelNadar/vendor_mediatek-opensource/blob/8018479b1ab7de4fb69ed2c079edcd4b4fa846fd/audio/common/audiodsp/audio_scp_service.c#L5218:11
T42<adampigg> ill find out if that exists on android18:11
T42<b100dian> It would be interesting to strace what does "cannot find control! not support!" tries to access18:12
T42<b100dian> *try18:13

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!