ViGe | PSA: New HADK released: https://docs.sailfishos.org/Develop/HADK/ | 11:46 |
---|---|---|
T42 | <k1gen> nice! | 12:11 |
T42 | <XAP2P> goood👍 | 12:18 |
mal | that should contain most of the things discussed here a while back | 12: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 |
mal | of 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 maintenance | 15:40 |
mal | when 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 libhybris | 15: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.04 | 15: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 |
mal | I personally would make that conditional, so it would by default use external vulkan headers unless those are not found or user forces internal headers | 15:49 |
mal | you can always make a PR to libhybris which would do that | 15:49 |
T42 | <TheVancedGamer> or that, yeah it works | 15:49 |
T42 | <TheVancedGamer> sure, i'll try cooking a concept up | 15:49 |
mal | should not be too difficult | 15:49 |
mal | something like this https://github.com/libhybris/libhybris/blob/master/hybris/configure.ac#L69 | 15: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.txt | 15:50 |
mal | I think usually we haven't had submodules in libhybris but just copies of the headers | 15:50 |
T42 | <TheVancedGamer> subtree then? | 15:51 |
mal | I think the reason for not having such things is to not depend on third-party repos when checking out the code | 15:52 |
T42 | <TheVancedGamer> subtree is basically a locally cloned copy of the repo | 15:52 |
T42 | <TheVancedGamer> so all files are physically present and nothing needs to be done to pull them | 15:52 |
T42 | <TheVancedGamer> but it makes updating them easier | 15:52 |
mal | yeah, maybe that could be ok | 15:53 |
mal | so add that kind of option like I linked and it should be ok | 15:54 |
T42 | <TheVancedGamer> alrighty, will be back soon with a PR | 15:54 |
mal | that reminds me, I should make a PR of the meson build support for libhybris | 15:54 |
mal | I have had it ready for months but never make a PR | 15:55 |
mal | I should also update the vulkan packages in sailfish | 15:56 |
T42 | <TheVancedGamer> so much to do ;) | 15:57 |
mal | yeah | 15: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 btw | 17: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 kernel | 17:57 |
T42 | <b100dian> Maybe add CONFIG_MTK_SCP_AUDIO | 17: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=m | 17:58 |
T42 | <adampigg> @b100dian yeah, that module is already loaded | 18: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#L52 | 18:11 |
T42 | <adampigg> ill find out if that exists on android | 18:11 |
T42 | <b100dian> It would be interesting to strace what does "cannot find control! not support!" tries to access | 18:12 |
T42 | <b100dian> *try | 18:13 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!