| T42 | <fredldotme> Could somebody help me verify that this PR doesn't regress on SailfishOS? https://github.com/libhybris/libhybris/pull/607 | 02:09 |
|---|---|---|
| T42 | <fredldotme> Even though it doesn't fully allow for Vulkan on Ubuntu Touch, at least it doesn't crash resolving environment variables. | 02:11 |
| T42 | <fredldotme> Correction: Updated the PR, Vulkan works now on Ubuntu Touch. | 10:20 |
| T42 | <fredldotme> Does SailfishOS have the Vulkan loader packaged? I'm wondering whether to turn the PR into an ICD loadable. | 10:21 |
| T42 | <fredldotme> Is it just me or does Vulkan require HYBRIS_LD_LIBRARY_PATH to be extended by /{system,vendor,odm}/lib64/hw? | 10:49 |
| mal | I originally planned to use vulkan loader but couldn't quite get it to work so went with different route instead | 13:17 |
| mal | @fredldotme about the PR, did you consider using the way done in egl and gles libs i.e. HYBRIS_IMPLEMENT_FUNCTION* which would make a more simple code, I assume those other ones work fine for you | 13:20 |
| mal | and yes, sailfish does have vulkan loader packaged | 13:21 |
| T42 | <fredldotme> mal: I would have to investigate. The current approach was simpler with generating the wrappers using the Vulkan registry vk.xml. I would propose an alternative route: shipping the code generator script for easy adaptation of new Vulkan APIs. | 13:22 |
| mal | it would a lot more readable to be easily see which ones are custom and which ones are just simple implementations | 13:24 |
| mal | also there is the wrapper generator for glesv1 which maybe of some use if you want to automate generating the wrappers https://github.com/libhybris/libhybris/blob/master/utils/generate_glesv1/generate_wrappers.py | 13:26 |
| mal | but in general the HYBRIS_IMPLEMENT_FUNCTION wrappers are simple to generate | 13:27 |
| mal | @fredldotme how do you generate those from vk.xml? | 13:27 |
| mal | I assume there is all the info needed for the wrappers getting parsed | 13:28 |
| T42 | <fredldotme> I made this script: https://github.com/fredldotme/libhybris-vulkan-idload-convert/blob/main/convert.py | 13:29 |
| T42 | <fredldotme> Instead of grepping for VULKAN_IDLOAD I would just make it generate a single wrapper as per symbol argument | 13:29 |
| mal | so moving to HYBRIS_IMPLEMENT_FUNCTION would be just about replacing writing the function body with the wrapper line | 13:30 |
| T42 | <fredldotme> Don't we lose type safety that way? | 13:31 |
| mal | all you need is return value type, number of parameters and then parameter type | 13:31 |
| mal | *parameter types | 13:31 |
| T42 | <fredldotme> Would you like to assist me on that front? You should have access as per "maintianer can edit branches" on GitHub. | 13:32 |
| T42 | <fredldotme> I should put this into draft, I'm working out ICD stuff. | 13:32 |
| mal | I can try to make an example of the file with those wrappers using your script, but I can only do that later tonight | 13:33 |
| mal | just so you can test my branch before replacing your existing branch | 13:33 |
| T42 | <fredldotme> sure. sounds good. | 13:36 |
| maxmight5328 | Hello, I am trying to create an image with mic and I get this error: https://paste.opensuse.org/pastes/cfcbce85bb6e | 17:34 |
| maxmight5328 | Where can I find information on how to configure this kickstart thing? | 17:37 |
| T42 | <elros34> did you build droid config? | 17:44 |
| maxmight5328 | yes, this is my droid-config repo: https://github.com/sailfishos-sony-sagami/droid-config-sony-sagami | 17:48 |
| T42 | <elros34> so what you have in hybris/droid-configs/installroot/usr/share/kickstarts/? | 17:51 |
| maxmight5328 | this directory does not exist :( | 17:52 |
| T42 | <elros34> which one exists then | 17:53 |
| maxmight5328 | this one exists but is empty hybris/droid-configs/installroot/ | 17:57 |
| T42 | <elros34> build configs again | 18:00 |
| maxmight5328 | what does that mean? did I mess up something in my spec file? | 18:02 |
| T42 | <elros34> I don't know just build droid config now and check that directory again, If it's still empty then show build log | 18:04 |
| maxmight5328 | this is the output: https://paste.opensuse.org/pastes/761391a9b945 | 18:10 |
| maxmight5328 | hm, it might be looking for droid-config-pdx215-ssu-kickstarts-*.aarch64.rpm while I have droid-config-xqbc52-ssu-kickstarts-1-202603061805.aarch64.rpm | 18:12 |
| maxmight5328 | pdx215 vs xqbc52 | 18:12 |
| maxmight5328 | so is it ok if 'device' and 'rpm_device' have the same value in the spec file? | 18:22 |
| T42 | <elros34> if both are same then I think you can just remove rpm_device but I am not sure | 18:29 |
| T42 | <Letty Jones> Hi everyone 👋 👋, if you’ve been looking for a secure way to earn from crypto securely, this is for you.There's a system I’m currently using that is super secured and reliable, there withdrawal process is smooth and instant without any restrictions. I myself is currently using it and I can honestly tell you it's 100% reliable. Just contact me I'll show you some proofs why they're reliable, explain everything and add you to their | 20:19 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!