Try latest poky master?

Alex

On Wed, 28 Sept 2022 at 13:23, PHIL <heide...@hotmail.com> wrote:
>
> Mesa build fails. It complains that it copies llvm-config14.0.6 to the same 
> file.
>
> Am 28. September 2022 12:48:04 MESZ schrieb Alexander Kanavin 
> <alex.kana...@gmail.com>:
>>
>> The following works for me. I get
>>
>> tmp/work/core2-64-poky-linux/mesa/2_22.2.0-r0/packages-split/mesa-vulkan-drivers/usr/lib/libvulkan_intel.so
>> tmp/work/core2-64-poky-linux/mesa/2_22.2.0-r0/packages-split/mesa-vulkan-drivers/usr/lib/libvulkan_lvp.so
>>
>> --- a/meta/recipes-graphics/mesa/mesa.inc
>> +++ b/meta/recipes-graphics/mesa/mesa.inc
>> @@ -88,6 +88,7 @@ def strip_comma(s):
>>
>>  PACKAGECONFIG = " \
>>         gallium \
>> +        gallium-llvm \
>>         ${@bb.utils.filter('DISTRO_FEATURES', 'x11 vulkan wayland', d)} \
>>         ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl
>> gles gbm virgl', '', d)} \
>>         ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'dri3', '', 
>> d)} \
>> @@ -108,7 +109,7 @@ PACKAGECONFIG[dri3] = "-Ddri3=enabled,
>> -Ddri3=disabled, xorgproto libxshmfence"
>>
>>  # Vulkan drivers need dri3 enabled
>>  # amd could be enabled as well but requires gallium-llvm with llvm >= 3.9
>> -VULKAN_DRIVERS = ""
>> +VULKAN_DRIVERS = "swrast"
>>  VULKAN_DRIVERS:append:x86:class-target = ",intel"
>>  VULKAN_DRIVERS:append:x86-64:class-target = ",intel"
>>  VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG',
>> 'freedreno', ',freedreno', '', d)}"
>>
>> Alex
>>
>> On Wed, 28 Sept 2022 at 11:49, PHIL <heide...@hotmail.com> wrote:
>>>
>>>
>>>  Also vulkan-drivers is empty in meson generated by bitbake. If I add it 
>>> manually it will complain that llvm is disabled. How would I enable it?
>>>
>>>  Am 28. September 2022 10:51:26 MESZ schrieb Alexander Kanavin 
>>> <alex.kana...@gmail.com>:
>>>>
>>>>
>>>>  I think for software vulkan you need to pass in
>>>>  -Dvulkan-drivers=swrast when building mesa for the target.
>>>>
>>>>  Alex
>>>>
>>>>  On Wed, 28 Sept 2022 at 10:44, PHIL <heide...@hotmail.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>>   I asked the author so I assume he would have told me. Apparently the 
>>>>> virglrenderer branch is obsolete.
>>>>>
>>>>>   Currently my only changes from poky master are adding vulkan opengl x11 
>>>>> to distro features and vulkan-samples vulkan-loader vulkan-tools 
>>>>> virglrenderer to core image extra install in local.conf.
>>>>>
>>>>>   I also added virtio-experimental flag to mesa and virglrenderer meson 
>>>>> recipes.
>>>>>
>>>>>   I still get ERROR_INCOMPATIBLE_DRIVER when running vulkaninfo.
>>>>>
>>>>>   What am I missing for Software Mode?
>>>>>
>>>>>   Am 28. September 2022 10:29:28 MESZ schrieb Alexander Kanavin 
>>>>> <alex.kana...@gmail.com>:
>>>>>>
>>>>>>
>>>>>>
>>>>>>   I would first check whether any of that work in the branch has 
>>>>>> meanwhile landed upstream. The post is from 2021.
>>>>>>
>>>>>>   Have you tried the software Vulkan in the guest?
>>>>>>
>>>>>>   Alex
>>>>>>
>>>>>>   On Wed 28. Sep 2022 at 10.21, PHIL <heide...@hotmail.com> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>   I try to enable vulkan according to this tutorial
>>>>>>>
>>>>>>>   
>>>>>>> https://www.collabora.com/news-and-blog/blog/2021/11/26/venus-on-qemu-enabling-new-virtual-vulkan-driver/
>>>>>>>
>>>>>>>   According to the author the modified qemu branch is still necessary 
>>>>>>> so I want to enable that.
>>>>>>>
>>>>>>>
>>>>>>>   Am 28. September 2022 10:14:24 MESZ schrieb Alexander Kanavin 
>>>>>>> <alex.kana...@gmail.com>:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>   You need to clarify what you want to do exactly. Why can’t you use 
>>>>>>>> the existing recipe?
>>>>>>>>
>>>>>>>>   Alex
>>>>>>>>
>>>>>>>>   On Wed 28. Sep 2022 at 9.58, Edgar Mobile <heide...@hotmail.com> 
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>   Greetings,
>>>>>>>>>
>>>>>>>>>   I want to change the git repo url in order to test the Venus 
>>>>>>>>> driver. Can someone tell me which variable in which recipe I'd have 
>>>>>>>>> to set?
>>>>>>>>>
>>>>>>>>>   Regards
>>>>>>>>>   --
>>>>>>>>>   Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail 
>>>>>>>>> gesendet.
>>>>>>>>> ________________________________
>>>>>>>>>   Links: You receive all messages sent to this group.
>>>>>>>>>   View/Reply Online (#58196): 
>>>>>>>>> https://lists.yoctoproject.org/g/yocto/message/58196
>>>>>>>>>   Mute This Topic: https://lists.yoctoproject.org/mt/93968127/1686489
>>>>>>>>>   Group Owner: yocto+ow...@lists.yoctoproject.org
>>>>>>>>>   Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
>>>>>>>>> [alex.kana...@gmail.com]
>>>>>>>>> ________________________________
>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>>>  Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
>>>>>
>>>>>
>>>>>
>>>>>   --
>>>>>   Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
>>>
>>>
>>>  --
>>>  Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
>
> --
> Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58207): https://lists.yoctoproject.org/g/yocto/message/58207
Mute This Topic: https://lists.yoctoproject.org/mt/93968127/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to