Re: [yocto] Adding Vulkan to core-image-weston

2022-09-22 Thread Edgar Mobile
One more thing: It seems bitbake/meson has problems updating the build flags 
when I add the Venus-experimental=true flag. Changing the bb file does not 
update the variables in the meson logs where Venus is still false. 

Am 21. September 2022 14:54:08 MESZ schrieb Alexander Kanavin 
:
>Next you need to check if you have the mesa-vulkan-drives package in
>deploy-* in the same mesa builddir, and does it contain the needed
>driver file?
>
>Alex
>
>On Wed, 21 Sept 2022 at 14:48, PHIL  wrote:
>>
>> It has the individual packages but split up. One directory for 
>> mesa-vulkan-drivers etc. I don't know how to process from here.
>>
>> Am 21. September 2022 14:38:10 MESZ schrieb Alexander Kanavin 
>> :
>>>
>>> You need to check package-split/ to find out why.
>>>
>>> Alex
>>>
>>> On Wed, 21 Sept 2022 at 14:30, PHIL  wrote:


  Ok, there is a build directory 
 tmp/work/cortexa57-poky-linux/mesa/2_22.0.0-r0 . In there, there is a 
 package directory that has all libGL* libraries and one 
 libvulkan_virtio.so but they are not installed to the Image.

  Am 21. September 2022 14:14:10 MESZ schrieb Alexander Kanavin 
 :
>
>
>  This is not logs from mesa, this is logs from your image recipe. You
>  need to start with mesa.
>
>  Alex
>
>  On Wed, 21 Sept 2022 at 14:12, PHIL  wrote:
>>
>>
>>
>>   One of the logs has this
>>
>>
>>
>>   Error:
>>Problem: package packagegroup-base-extended-1.0-r83.qemuarm64 
>> requires packagegroup-base, but none of the providers can be installed
>> - package packagegroup-base-1.0-r83.qemuarm64 requires 
>> packagegroup-distro-base, but none of the providers can be installed
>> - conflicting requests
>> - nothing provides mesa-vulkan-drivers needed by 
>> packagegroup-distro-base-1.0-r83.qemuarm64
>>   (try to add '--skip-broken' to skip uninstallable packages)
>>
>>   Am 21. September 2022 13:57:17 MESZ schrieb Alexander Kanavin 
>> :
>>>
>>>
>>>
>>>   You need to go to mesa's build directlory and inspect what is getting
>>>   built, with which options, and how it is installed and packaged. All
>>>   the needed bits are there, but it does take a bit of 'yocto skill' to
>>>   find your way around there. Start by looking at temp/log.do_configure
>>>   (and then do_compile and do_install).
>>>
>>>   Alex
>>>
>>>   On Wed, 21 Sept 2022 at 13:38, PHIL  wrote:




If I read the mesa-vulkan-drivers recipe right it should install 
 libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in 
 how to debug that?

Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
 :
>
>
>
>
>What often works is running it under strace - you might be able to 
> see the one key syscall that causes the failure. Otherwise you might 
> have to go through the heavier gdb step through.
>
>Alex
>
>On Tue 20. Sep 2022 at 10.25, PHIL  wrote:
>>
>>
>>
>>
>>Ok it seems to use Software now given how slow weston-simple-egl 
>> has become. But vulkaninfo still fails with 
>> ERROR_INCOMPATIBLE_DRIVER.
>>--
>>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.
>>
>> --
>> 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 (#58136): https://lists.yoctoproject.org/g/yocto/message/58136
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-22 Thread Edgar Mobile
Okay 
There is a file called mesa_22.0.3.bb. Adding the following line
VULKAN_DRIVERS:append ="virtio-experimental" there will successfully add 
/usr/lib/libvulkan_virtio.so.
Still isn't enough though.

Am 21. September 2022 14:54:08 MESZ schrieb Alexander Kanavin 
:
>Next you need to check if you have the mesa-vulkan-drives package in
>deploy-* in the same mesa builddir, and does it contain the needed
>driver file?
>
>Alex
>
>On Wed, 21 Sept 2022 at 14:48, PHIL  wrote:
>>
>> It has the individual packages but split up. One directory for 
>> mesa-vulkan-drivers etc. I don't know how to process from here.
>>
>> Am 21. September 2022 14:38:10 MESZ schrieb Alexander Kanavin 
>> :
>>>
>>> You need to check package-split/ to find out why.
>>>
>>> Alex
>>>
>>> On Wed, 21 Sept 2022 at 14:30, PHIL  wrote:


  Ok, there is a build directory 
 tmp/work/cortexa57-poky-linux/mesa/2_22.0.0-r0 . In there, there is a 
 package directory that has all libGL* libraries and one 
 libvulkan_virtio.so but they are not installed to the Image.

  Am 21. September 2022 14:14:10 MESZ schrieb Alexander Kanavin 
 :
>
>
>  This is not logs from mesa, this is logs from your image recipe. You
>  need to start with mesa.
>
>  Alex
>
>  On Wed, 21 Sept 2022 at 14:12, PHIL  wrote:
>>
>>
>>
>>   One of the logs has this
>>
>>
>>
>>   Error:
>>Problem: package packagegroup-base-extended-1.0-r83.qemuarm64 
>> requires packagegroup-base, but none of the providers can be installed
>> - package packagegroup-base-1.0-r83.qemuarm64 requires 
>> packagegroup-distro-base, but none of the providers can be installed
>> - conflicting requests
>> - nothing provides mesa-vulkan-drivers needed by 
>> packagegroup-distro-base-1.0-r83.qemuarm64
>>   (try to add '--skip-broken' to skip uninstallable packages)
>>
>>   Am 21. September 2022 13:57:17 MESZ schrieb Alexander Kanavin 
>> :
>>>
>>>
>>>
>>>   You need to go to mesa's build directlory and inspect what is getting
>>>   built, with which options, and how it is installed and packaged. All
>>>   the needed bits are there, but it does take a bit of 'yocto skill' to
>>>   find your way around there. Start by looking at temp/log.do_configure
>>>   (and then do_compile and do_install).
>>>
>>>   Alex
>>>
>>>   On Wed, 21 Sept 2022 at 13:38, PHIL  wrote:




If I read the mesa-vulkan-drivers recipe right it should install 
 libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in 
 how to debug that?

Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
 :
>
>
>
>
>What often works is running it under strace - you might be able to 
> see the one key syscall that causes the failure. Otherwise you might 
> have to go through the heavier gdb step through.
>
>Alex
>
>On Tue 20. Sep 2022 at 10.25, PHIL  wrote:
>>
>>
>>
>>
>>Ok it seems to use Software now given how slow weston-simple-egl 
>> has become. But vulkaninfo still fails with 
>> ERROR_INCOMPATIBLE_DRIVER.
>>--
>>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.
>>
>> --
>> 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 (#58134): https://lists.yoctoproject.org/g/yocto/message/58134
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-21 Thread Edgar Mobile
There is a directory called deploy-rpms. It has rpms for all gl/elg/mesa stuff 
but not the stuff from mesa-vulkan-drivers as libvulkan_virtio.so

Am 21. September 2022 14:54:08 MESZ schrieb Alexander Kanavin 
:
>Next you need to check if you have the mesa-vulkan-drives package in
>deploy-* in the same mesa builddir, and does it contain the needed
>driver file?
>
>Alex
>
>On Wed, 21 Sept 2022 at 14:48, PHIL  wrote:
>>
>> It has the individual packages but split up. One directory for 
>> mesa-vulkan-drivers etc. I don't know how to process from here.
>>
>> Am 21. September 2022 14:38:10 MESZ schrieb Alexander Kanavin 
>> :
>>>
>>> You need to check package-split/ to find out why.
>>>
>>> Alex
>>>
>>> On Wed, 21 Sept 2022 at 14:30, PHIL  wrote:


  Ok, there is a build directory 
 tmp/work/cortexa57-poky-linux/mesa/2_22.0.0-r0 . In there, there is a 
 package directory that has all libGL* libraries and one 
 libvulkan_virtio.so but they are not installed to the Image.

  Am 21. September 2022 14:14:10 MESZ schrieb Alexander Kanavin 
 :
>
>
>  This is not logs from mesa, this is logs from your image recipe. You
>  need to start with mesa.
>
>  Alex
>
>  On Wed, 21 Sept 2022 at 14:12, PHIL  wrote:
>>
>>
>>
>>   One of the logs has this
>>
>>
>>
>>   Error:
>>Problem: package packagegroup-base-extended-1.0-r83.qemuarm64 
>> requires packagegroup-base, but none of the providers can be installed
>> - package packagegroup-base-1.0-r83.qemuarm64 requires 
>> packagegroup-distro-base, but none of the providers can be installed
>> - conflicting requests
>> - nothing provides mesa-vulkan-drivers needed by 
>> packagegroup-distro-base-1.0-r83.qemuarm64
>>   (try to add '--skip-broken' to skip uninstallable packages)
>>
>>   Am 21. September 2022 13:57:17 MESZ schrieb Alexander Kanavin 
>> :
>>>
>>>
>>>
>>>   You need to go to mesa's build directlory and inspect what is getting
>>>   built, with which options, and how it is installed and packaged. All
>>>   the needed bits are there, but it does take a bit of 'yocto skill' to
>>>   find your way around there. Start by looking at temp/log.do_configure
>>>   (and then do_compile and do_install).
>>>
>>>   Alex
>>>
>>>   On Wed, 21 Sept 2022 at 13:38, PHIL  wrote:




If I read the mesa-vulkan-drivers recipe right it should install 
 libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in 
 how to debug that?

Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
 :
>
>
>
>
>What often works is running it under strace - you might be able to 
> see the one key syscall that causes the failure. Otherwise you might 
> have to go through the heavier gdb step through.
>
>Alex
>
>On Tue 20. Sep 2022 at 10.25, PHIL  wrote:
>>
>>
>>
>>
>>Ok it seems to use Software now given how slow weston-simple-egl 
>> has become. But vulkaninfo still fails with 
>> ERROR_INCOMPATIBLE_DRIVER.
>>--
>>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.
>>
>> --
>> 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 (#58123): https://lists.yoctoproject.org/g/yocto/message/58123
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-21 Thread Alexander Kanavin
Next you need to check if you have the mesa-vulkan-drives package in
deploy-* in the same mesa builddir, and does it contain the needed
driver file?

Alex

On Wed, 21 Sept 2022 at 14:48, PHIL  wrote:
>
> It has the individual packages but split up. One directory for 
> mesa-vulkan-drivers etc. I don't know how to process from here.
>
> Am 21. September 2022 14:38:10 MESZ schrieb Alexander Kanavin 
> :
>>
>> You need to check package-split/ to find out why.
>>
>> Alex
>>
>> On Wed, 21 Sept 2022 at 14:30, PHIL  wrote:
>>>
>>>
>>>  Ok, there is a build directory 
>>> tmp/work/cortexa57-poky-linux/mesa/2_22.0.0-r0 . In there, there is a 
>>> package directory that has all libGL* libraries and one libvulkan_virtio.so 
>>> but they are not installed to the Image.
>>>
>>>  Am 21. September 2022 14:14:10 MESZ schrieb Alexander Kanavin 
>>> :


  This is not logs from mesa, this is logs from your image recipe. You
  need to start with mesa.

  Alex

  On Wed, 21 Sept 2022 at 14:12, PHIL  wrote:
>
>
>
>   One of the logs has this
>
>
>
>   Error:
>Problem: package packagegroup-base-extended-1.0-r83.qemuarm64 requires 
> packagegroup-base, but none of the providers can be installed
> - package packagegroup-base-1.0-r83.qemuarm64 requires 
> packagegroup-distro-base, but none of the providers can be installed
> - conflicting requests
> - nothing provides mesa-vulkan-drivers needed by 
> packagegroup-distro-base-1.0-r83.qemuarm64
>   (try to add '--skip-broken' to skip uninstallable packages)
>
>   Am 21. September 2022 13:57:17 MESZ schrieb Alexander Kanavin 
> :
>>
>>
>>
>>   You need to go to mesa's build directlory and inspect what is getting
>>   built, with which options, and how it is installed and packaged. All
>>   the needed bits are there, but it does take a bit of 'yocto skill' to
>>   find your way around there. Start by looking at temp/log.do_configure
>>   (and then do_compile and do_install).
>>
>>   Alex
>>
>>   On Wed, 21 Sept 2022 at 13:38, PHIL  wrote:
>>>
>>>
>>>
>>>
>>>If I read the mesa-vulkan-drivers recipe right it should install 
>>> libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in how 
>>> to debug that?
>>>
>>>Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
>>> :




What often works is running it under strace - you might be able to 
 see the one key syscall that causes the failure. Otherwise you might 
 have to go through the heavier gdb step through.

Alex

On Tue 20. Sep 2022 at 10.25, PHIL  wrote:
>
>
>
>
>Ok it seems to use Software now given how slow weston-simple-egl 
> has become. But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
>--
>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.
>
> --
> 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 (#58122): https://lists.yoctoproject.org/g/yocto/message/58122
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-21 Thread Edgar Mobile
It has the individual packages but split up. One directory for 
mesa-vulkan-drivers etc. I don't know how to process from here.

Am 21. September 2022 14:38:10 MESZ schrieb Alexander Kanavin 
:
>You need to check package-split/ to find out why.
>
>Alex
>
>On Wed, 21 Sept 2022 at 14:30, PHIL  wrote:
>>
>> Ok, there is a build directory 
>> tmp/work/cortexa57-poky-linux/mesa/2_22.0.0-r0 . In there, there is a 
>> package directory that has all libGL* libraries and one libvulkan_virtio.so 
>> but they are not installed to the Image.
>>
>> Am 21. September 2022 14:14:10 MESZ schrieb Alexander Kanavin 
>> :
>>>
>>> This is not logs from mesa, this is logs from your image recipe. You
>>> need to start with mesa.
>>>
>>> Alex
>>>
>>> On Wed, 21 Sept 2022 at 14:12, PHIL  wrote:


  One of the logs has this



  Error:
   Problem: package packagegroup-base-extended-1.0-r83.qemuarm64 requires 
 packagegroup-base, but none of the providers can be installed
- package packagegroup-base-1.0-r83.qemuarm64 requires 
 packagegroup-distro-base, but none of the providers can be installed
- conflicting requests
- nothing provides mesa-vulkan-drivers needed by 
 packagegroup-distro-base-1.0-r83.qemuarm64
  (try to add '--skip-broken' to skip uninstallable packages)

  Am 21. September 2022 13:57:17 MESZ schrieb Alexander Kanavin 
 :
>
>
>  You need to go to mesa's build directlory and inspect what is getting
>  built, with which options, and how it is installed and packaged. All
>  the needed bits are there, but it does take a bit of 'yocto skill' to
>  find your way around there. Start by looking at temp/log.do_configure
>  (and then do_compile and do_install).
>
>  Alex
>
>  On Wed, 21 Sept 2022 at 13:38, PHIL  wrote:
>>
>>
>>
>>   If I read the mesa-vulkan-drivers recipe right it should install 
>> libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in how 
>> to debug that?
>>
>>   Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
>> :
>>>
>>>
>>>
>>>   What often works is running it under strace - you might be able to 
>>> see the one key syscall that causes the failure. Otherwise you might 
>>> have to go through the heavier gdb step through.
>>>
>>>   Alex
>>>
>>>   On Tue 20. Sep 2022 at 10.25, PHIL  wrote:



   Ok it seems to use Software now given how slow weston-simple-egl has 
 become. But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
   --
   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.

-- 
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 (#58121): https://lists.yoctoproject.org/g/yocto/message/58121
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-21 Thread Alexander Kanavin
You need to check package-split/ to find out why.

Alex

On Wed, 21 Sept 2022 at 14:30, PHIL  wrote:
>
> Ok, there is a build directory tmp/work/cortexa57-poky-linux/mesa/2_22.0.0-r0 
> . In there, there is a package directory that has all libGL* libraries and 
> one libvulkan_virtio.so but they are not installed to the Image.
>
> Am 21. September 2022 14:14:10 MESZ schrieb Alexander Kanavin 
> :
>>
>> This is not logs from mesa, this is logs from your image recipe. You
>> need to start with mesa.
>>
>> Alex
>>
>> On Wed, 21 Sept 2022 at 14:12, PHIL  wrote:
>>>
>>>
>>>  One of the logs has this
>>>
>>>
>>>
>>>  Error:
>>>   Problem: package packagegroup-base-extended-1.0-r83.qemuarm64 requires 
>>> packagegroup-base, but none of the providers can be installed
>>>- package packagegroup-base-1.0-r83.qemuarm64 requires 
>>> packagegroup-distro-base, but none of the providers can be installed
>>>- conflicting requests
>>>- nothing provides mesa-vulkan-drivers needed by 
>>> packagegroup-distro-base-1.0-r83.qemuarm64
>>>  (try to add '--skip-broken' to skip uninstallable packages)
>>>
>>>  Am 21. September 2022 13:57:17 MESZ schrieb Alexander Kanavin 
>>> :


  You need to go to mesa's build directlory and inspect what is getting
  built, with which options, and how it is installed and packaged. All
  the needed bits are there, but it does take a bit of 'yocto skill' to
  find your way around there. Start by looking at temp/log.do_configure
  (and then do_compile and do_install).

  Alex

  On Wed, 21 Sept 2022 at 13:38, PHIL  wrote:
>
>
>
>   If I read the mesa-vulkan-drivers recipe right it should install 
> libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in how 
> to debug that?
>
>   Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
> :
>>
>>
>>
>>   What often works is running it under strace - you might be able to see 
>> the one key syscall that causes the failure. Otherwise you might have to 
>> go through the heavier gdb step through.
>>
>>   Alex
>>
>>   On Tue 20. Sep 2022 at 10.25, PHIL  wrote:
>>>
>>>
>>>
>>>   Ok it seems to use Software now given how slow weston-simple-egl has 
>>> become. But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
>>>   --
>>>   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 (#58120): https://lists.yoctoproject.org/g/yocto/message/58120
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-21 Thread Edgar Mobile
Ok, there is a build directory tmp/work/cortexa57-poky-linux/mesa/2_22.0.0-r0 . 
In there, there is a package directory that has all libGL* libraries and one 
libvulkan_virtio.so but they are not installed to the Image.

Am 21. September 2022 14:14:10 MESZ schrieb Alexander Kanavin 
:
>This is not logs from mesa, this is logs from your image recipe. You
>need to start with mesa.
>
>Alex
>
>On Wed, 21 Sept 2022 at 14:12, PHIL  wrote:
>>
>> One of the logs has this
>>
>>
>>
>> Error:
>>  Problem: package packagegroup-base-extended-1.0-r83.qemuarm64 requires 
>> packagegroup-base, but none of the providers can be installed
>>   - package packagegroup-base-1.0-r83.qemuarm64 requires 
>> packagegroup-distro-base, but none of the providers can be installed
>>   - conflicting requests
>>   - nothing provides mesa-vulkan-drivers needed by 
>> packagegroup-distro-base-1.0-r83.qemuarm64
>> (try to add '--skip-broken' to skip uninstallable packages)
>>
>> Am 21. September 2022 13:57:17 MESZ schrieb Alexander Kanavin 
>> :
>>>
>>> You need to go to mesa's build directlory and inspect what is getting
>>> built, with which options, and how it is installed and packaged. All
>>> the needed bits are there, but it does take a bit of 'yocto skill' to
>>> find your way around there. Start by looking at temp/log.do_configure
>>> (and then do_compile and do_install).
>>>
>>> Alex
>>>
>>> On Wed, 21 Sept 2022 at 13:38, PHIL  wrote:


  If I read the mesa-vulkan-drivers recipe right it should install 
 libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in how to 
 debug that?

  Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
 :
>
>
>  What often works is running it under strace - you might be able to see 
> the one key syscall that causes the failure. Otherwise you might have to 
> go through the heavier gdb step through.
>
>  Alex
>
>  On Tue 20. Sep 2022 at 10.25, PHIL  wrote:
>>
>>
>>  Ok it seems to use Software now given how slow weston-simple-egl has 
>> become. But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
>>  --
>>  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 (#58119): https://lists.yoctoproject.org/g/yocto/message/58119
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-21 Thread Edgar Mobile
Another logfile has this

ERROR: 
/media/user/SSD1TB/yoctoqemu/poky/meta/recipes-graphics/mesa/mesa-gl_22.0.0.bb: 
Error during parse shell code, the last 5 lines are:
    bbnote Executing meson  -Dshared-glapi=enabled 
-Dglx-read-only-text=true -Dplatforms='x11'    -Ddri3=disabled  
-Degl=disabled  -Delf-tls=false  -Dgallium-drivers=''  -Dllvm=disabled 
-Dgbm=disabled  -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled 
-Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false 
-Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled  
-Dvulkan-drivers='swrast  -Dgallium-xa=disabled -Dgallium-xvmc=disabled...
    if ! meson  --prefix /usr   --buildtype plain   
--bindir bin   --sbindir sbin   --datadir share 
  --libdir lib   --libexecdir libexec   
--includedir include   --mandir share/man   --infodir 
share/info   --sysconfdir /etc   --localstatedir /var   
    --sharedstatedir /com   --wrap-mode nodownload  
 --native-file 
/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/meson.native
 
"/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/mesa-22.0.0"
 
"/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/build"
 --cross-file 
/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/meson.cross
  -Dshared-glapi=enabled -Dglx-read-only-text=true 
-Dplatforms='x11'    -Ddri3=disabled  -Degl=disabled  -Delf-tls=false  
-Dgallium-drivers=''  -Dllvm=disabled -Dgbm=disabled  -Dgles1=disabled 
-Dgles2=disabled -Dlmsensors=disabled -Dgallium-opencl=disabled 
-Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled 
-Dgallium-va=disabled -Dgallium-vdpau=disabled  -Dvulkan-drivers='swrast  
-Dgallium-xa=disabled -Dgallium-xvmc=disabled; then
    bbfatal_log meson failed
    fi

ERROR: 
/media/user/SSD1TB/yoctoqemu/poky/meta/recipes-graphics/mesa/mesa_22.0.0.bb: 
Error during parse shell code, the last 5 lines are:
    bbnote Executing meson  -Dshared-glapi=enabled 
-Dglx-read-only-text=true -Dplatforms='wayland,x11'   -Ddri3=enabled 
-Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,virgl  -Dllvm=disabled 
-Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dlmsensors=disabled 
-Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false 
-Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled  
-Dvulkan-drivers='swrast  -Dgallium-xa=disabled -Dgallium-xvmc=disabled...
    if ! meson  --prefix 
/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/recipe-sysroot-native/usr
   --buildtype plain   --bindir bin   
--sbindir sbin   --datadir share   --libdir lib 
  --libexecdir libexec   --includedir include   
--mandir share/man   --infodir share/info   
--sysconfdir 
/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/recipe-sysroot-native/etc
   --localstatedir 
/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/recipe-sysroot-native/var
   --sharedstatedir 
/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/recipe-sysroot-native/com
   --wrap-mode nodownload   --native-file 
/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/meson.native
 
"/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/mesa-22.0.0"
 
"/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/build"
   -Dshared-glapi=enabled -Dglx-read-only-text=true 
-Dplatforms='wayland,x11'   -Ddri3=enabled -Degl=enabled -Delf-tls=true 
-Dgallium-drivers=swrast,virgl  -Dllvm=disabled -Dgbm=enabled -Dgles1=enabled 
-Dgles2=enabled -Dlmsensors=disabled -Dgallium-opencl=disabled 
-Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled 
-Dgallium-va=disabled -Dgallium-vdpau=disabled  -Dvulkan-drivers='swrast  
-Dgallium-xa=disabled -Dgallium-xvmc=disabled; then
    bbfatal_log meson failed
    fi

ERROR: Unable to parse 
/media/user/SSD1TB/yoctoqemu/poky/meta/recipes-graphics/mesa/mesa-gl_22.0.0.bb
Traceback (most recent call last):
  File "/media/user/SSD1TB/yoctoqemu/poky/bitbake/lib/bb/codeparser.py", line 
368, in ShellParser._parse_shell(value='    # Meson requires this to be \'bfd, 
\'lld\' or \'gold\' from 0.53 onwards\n    # 
https://github.com/mesonbuild/meson/commit/ef9aeb188ea2bc7353e59916c18901cde90fa2b3\n
    unset LD\n\n    # 

Re: [yocto] Adding Vulkan to core-image-weston

2022-09-21 Thread Alexander Kanavin
This is not logs from mesa, this is logs from your image recipe. You
need to start with mesa.

Alex

On Wed, 21 Sept 2022 at 14:12, PHIL  wrote:
>
> One of the logs has this
>
>
>
> Error:
>  Problem: package packagegroup-base-extended-1.0-r83.qemuarm64 requires 
> packagegroup-base, but none of the providers can be installed
>   - package packagegroup-base-1.0-r83.qemuarm64 requires 
> packagegroup-distro-base, but none of the providers can be installed
>   - conflicting requests
>   - nothing provides mesa-vulkan-drivers needed by 
> packagegroup-distro-base-1.0-r83.qemuarm64
> (try to add '--skip-broken' to skip uninstallable packages)
>
> Am 21. September 2022 13:57:17 MESZ schrieb Alexander Kanavin 
> :
>>
>> You need to go to mesa's build directlory and inspect what is getting
>> built, with which options, and how it is installed and packaged. All
>> the needed bits are there, but it does take a bit of 'yocto skill' to
>> find your way around there. Start by looking at temp/log.do_configure
>> (and then do_compile and do_install).
>>
>> Alex
>>
>> On Wed, 21 Sept 2022 at 13:38, PHIL  wrote:
>>>
>>>
>>>  If I read the mesa-vulkan-drivers recipe right it should install 
>>> libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in how to 
>>> debug that?
>>>
>>>  Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
>>> :


  What often works is running it under strace - you might be able to see 
 the one key syscall that causes the failure. Otherwise you might have to 
 go through the heavier gdb step through.

  Alex

  On Tue 20. Sep 2022 at 10.25, PHIL  wrote:
>
>
>  Ok it seems to use Software now given how slow weston-simple-egl has 
> become. But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
>  --
>  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 (#58117): https://lists.yoctoproject.org/g/yocto/message/58117
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-21 Thread Edgar Mobile
One of the logs has this



Error:
 Problem: package packagegroup-base-extended-1.0-r83.qemuarm64 requires 
packagegroup-base, but none of the providers can be installed
  - package packagegroup-base-1.0-r83.qemuarm64 requires 
packagegroup-distro-base, but none of the providers can be installed
  - conflicting requests
  - nothing provides mesa-vulkan-drivers needed by 
packagegroup-distro-base-1.0-r83.qemuarm64
(try to add '--skip-broken' to skip uninstallable packages)

Am 21. September 2022 13:57:17 MESZ schrieb Alexander Kanavin 
:
>You need to go to mesa's build directlory and inspect what is getting
>built, with which options, and how it is installed and packaged. All
>the needed bits are there, but it does take a bit of 'yocto skill' to
>find your way around there. Start by looking at temp/log.do_configure
>(and then do_compile and do_install).
>
>Alex
>
>On Wed, 21 Sept 2022 at 13:38, PHIL  wrote:
>>
>> If I read the mesa-vulkan-drivers recipe right it should install 
>> libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in how to 
>> debug that?
>>
>> Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
>> :
>>>
>>> What often works is running it under strace - you might be able to see the 
>>> one key syscall that causes the failure. Otherwise you might have to go 
>>> through the heavier gdb step through.
>>>
>>> Alex
>>>
>>> On Tue 20. Sep 2022 at 10.25, PHIL  wrote:

 Ok it seems to use Software now given how slow weston-simple-egl has 
 become. But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
 --
 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 (#58116): https://lists.yoctoproject.org/g/yocto/message/58116
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-21 Thread Alexander Kanavin
You need to go to mesa's build directlory and inspect what is getting
built, with which options, and how it is installed and packaged. All
the needed bits are there, but it does take a bit of 'yocto skill' to
find your way around there. Start by looking at temp/log.do_configure
(and then do_compile and do_install).

Alex

On Wed, 21 Sept 2022 at 13:38, PHIL  wrote:
>
> If I read the mesa-vulkan-drivers recipe right it should install 
> libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in how to 
> debug that?
>
> Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
> :
>>
>> What often works is running it under strace - you might be able to see the 
>> one key syscall that causes the failure. Otherwise you might have to go 
>> through the heavier gdb step through.
>>
>> Alex
>>
>> On Tue 20. Sep 2022 at 10.25, PHIL  wrote:
>>>
>>> Ok it seems to use Software now given how slow weston-simple-egl has 
>>> become. But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
>>> --
>>> 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 (#58115): https://lists.yoctoproject.org/g/yocto/message/58115
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-21 Thread Edgar Mobile
If I read the mesa-vulkan-drivers recipe right it should install libvulkan_*.so 
but it didnt I had to use vulkan-loader. Any idea in how to debug that?

Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin 
:
>What often works is running it under strace - you might be able to see the
>one key syscall that causes the failure. Otherwise you might have to go
>through the heavier gdb step through.
>
>Alex
>
>On Tue 20. Sep 2022 at 10.25, PHIL  wrote:
>
>> Ok it seems to use Software now given how slow weston-simple-egl has
>> become. But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
>> --
>> 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 (#58114): https://lists.yoctoproject.org/g/yocto/message/58114
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-20 Thread Alexander Kanavin
What often works is running it under strace - you might be able to see the
one key syscall that causes the failure. Otherwise you might have to go
through the heavier gdb step through.

Alex

On Tue 20. Sep 2022 at 10.25, PHIL  wrote:

> Ok it seems to use Software now given how slow weston-simple-egl has
> become. But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
> --
> 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 (#58093): https://lists.yoctoproject.org/g/yocto/message/58093
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-20 Thread Edgar Mobile
Ok it seems to use Software now given how slow weston-simple-egl has become. 
But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
-- 
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 (#58092): https://lists.yoctoproject.org/g/yocto/message/58092
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-20 Thread Alexander Kanavin
It helps if you say what you did precisely and show the complaint.

Alex

On Tue 20. Sep 2022 at 9.40, PHIL  wrote:

> What would be the simplest way to achieve that with bitbake? I tried
> swrast in mesa yesterday but it complained because it wants Gallium.
>
>
> Am 20. September 2022 10:23:38 MESZ schrieb Alexander Kanavin <
> alex.kana...@gmail.com>:
>>
>> Don’t bother with virgl yet. Start with the pure software implementation
>> in Mesa.
>>
>> Alex
>>
>> On Tue 20. Sep 2022 at 8.39, Edgar Mobile  wrote:
>>
>>> Ok, I added these two lines now to a file named virglrenderer_0.9.1.bb
>>> . Bitbake now says:
>>>
>>> ERROR: Nothing PROVIDES 'ninja-nativevulkan-loader' (but virtual:native:
>>> ... DEPENDS on or otherwise requires it)
>>> ERROR: Required build target 'core-image-weston' has no buildable
>>> providers.
>>> Missing or unbuildable dependency chain was: {'core-image-weston',
>>> 'meta-extsdk-toolchain', 'qemu-helper-native', 'qemu-system-native',
>>> 'virglrenderer-native', 'ninja-nativevulkan-loader'
>>>
>>> --
>>> *From:* Markus Volk 
>>> *Sent:* Monday, September 19, 2022 5:16 PM
>>> *To:* Edgar Mobile 
>>> *Cc:* Alexander Kanavin ;
>>> yocto@lists.yoctoproject.org 
>>> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>>>
>>> Am Mo, 19. Sep 2022 um 16:54:52 + schrieb Edgar Mobile <
>>> heide...@hotmail.com>:
>>>
>>> This wasn't enough
>>>
>>>
>>> i guess you would also need to add venus support to virglrenderer.bb
>>> for qemu:
>>>
>>> DEPENDS:append = "vulkan-loader vulkan-headers"
>>> EXTRA_OEMESON += "-Dvenus-experimental=true"
>>>
>>> but i have never tested this
>>>
>> --
> 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 (#58091): https://lists.yoctoproject.org/g/yocto/message/58091
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-20 Thread Edgar Mobile
What would be the simplest way to achieve that with bitbake? I tried swrast in 
mesa yesterday but it complained because it wants Gallium.

Am 20. September 2022 10:23:38 MESZ schrieb Alexander Kanavin 
:
>Don’t bother with virgl yet. Start with the pure software implementation in
>Mesa.
>
>Alex
>
>On Tue 20. Sep 2022 at 8.39, Edgar Mobile  wrote:
>
>> Ok, I added these two lines now to a file named virglrenderer_0.9.1.bb .
>> Bitbake now says:
>>
>> ERROR: Nothing PROVIDES 'ninja-nativevulkan-loader' (but virtual:native:
>> ... DEPENDS on or otherwise requires it)
>> ERROR: Required build target 'core-image-weston' has no buildable
>> providers.
>> Missing or unbuildable dependency chain was: {'core-image-weston',
>> 'meta-extsdk-toolchain', 'qemu-helper-native', 'qemu-system-native',
>> 'virglrenderer-native', 'ninja-nativevulkan-loader'
>>
>> --
>> *From:* Markus Volk 
>> *Sent:* Monday, September 19, 2022 5:16 PM
>> *To:* Edgar Mobile 
>> *Cc:* Alexander Kanavin ;
>> yocto@lists.yoctoproject.org 
>> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>>
>> Am Mo, 19. Sep 2022 um 16:54:52 + schrieb Edgar Mobile <
>> heide...@hotmail.com>:
>>
>> This wasn't enough
>>
>>
>> i guess you would also need to add venus support to virglrenderer.bb for
>> qemu:
>>
>> DEPENDS:append = "vulkan-loader vulkan-headers"
>> EXTRA_OEMESON += "-Dvenus-experimental=true"
>>
>> but i have never tested this
>>

-- 
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 (#58089): https://lists.yoctoproject.org/g/yocto/message/58089
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-20 Thread Alexander Kanavin
Don’t bother with virgl yet. Start with the pure software implementation in
Mesa.

Alex

On Tue 20. Sep 2022 at 8.39, Edgar Mobile  wrote:

> Ok, I added these two lines now to a file named virglrenderer_0.9.1.bb .
> Bitbake now says:
>
> ERROR: Nothing PROVIDES 'ninja-nativevulkan-loader' (but virtual:native:
> ... DEPENDS on or otherwise requires it)
> ERROR: Required build target 'core-image-weston' has no buildable
> providers.
> Missing or unbuildable dependency chain was: {'core-image-weston',
> 'meta-extsdk-toolchain', 'qemu-helper-native', 'qemu-system-native',
> 'virglrenderer-native', 'ninja-nativevulkan-loader'
>
> --
> *From:* Markus Volk 
> *Sent:* Monday, September 19, 2022 5:16 PM
> *To:* Edgar Mobile 
> *Cc:* Alexander Kanavin ;
> yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> Am Mo, 19. Sep 2022 um 16:54:52 + schrieb Edgar Mobile <
> heide...@hotmail.com>:
>
> This wasn't enough
>
>
> i guess you would also need to add venus support to virglrenderer.bb for
> qemu:
>
> DEPENDS:append = "vulkan-loader vulkan-headers"
> EXTRA_OEMESON += "-Dvenus-experimental=true"
>
> but i have never tested this
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58088): https://lists.yoctoproject.org/g/yocto/message/58088
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-20 Thread Edgar Mobile
Ok, I added these two lines now to a file named virglrenderer_0.9.1.bb . 
Bitbake now says:

ERROR: Nothing PROVIDES 'ninja-nativevulkan-loader' (but virtual:native: ... 
DEPENDS on or otherwise requires it)
ERROR: Required build target 'core-image-weston' has no buildable providers.
Missing or unbuildable dependency chain was: {'core-image-weston', 
'meta-extsdk-toolchain', 'qemu-helper-native', 'qemu-system-native', 
'virglrenderer-native', 'ninja-nativevulkan-loader'


From: Markus Volk 
Sent: Monday, September 19, 2022 5:16 PM
To: Edgar Mobile 
Cc: Alexander Kanavin ; yocto@lists.yoctoproject.org 

Subject: Re: [yocto] Adding Vulkan to core-image-weston

Am Mo, 19. Sep 2022 um 16:54:52 + schrieb Edgar Mobile 
:
This wasn't enough

i guess you would also need to add venus support to virglrenderer.bb for qemu:

DEPENDS:append = "vulkan-loader vulkan-headers"
EXTRA_OEMESON += "-Dvenus-experimental=true"

but i have never tested this

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58087): https://lists.yoctoproject.org/g/yocto/message/58087
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-20 Thread Edgar Mobile
Hmm, I can't find a virglrenderer.bb. Do I need to add something?


From: Markus Volk 
Sent: Monday, September 19, 2022 5:16 PM
To: Edgar Mobile 
Cc: Alexander Kanavin ; yocto@lists.yoctoproject.org 

Subject: Re: [yocto] Adding Vulkan to core-image-weston

Am Mo, 19. Sep 2022 um 16:54:52 + schrieb Edgar Mobile 
:
This wasn't enough

i guess you would also need to add venus support to virglrenderer.bb for qemu:

DEPENDS:append = "vulkan-loader vulkan-headers"
EXTRA_OEMESON += "-Dvenus-experimental=true"

but i have never tested this

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58086): https://lists.yoctoproject.org/g/yocto/message/58086
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Markus Volk
Am Mo, 19. Sep 2022 um 16:54:52 + schrieb Edgar Mobile 
:

This wasn't enough


i guess you would also need to add venus support to virglrenderer.bb 
for qemu:


DEPENDS:append = "vulkan-loader vulkan-headers"
EXTRA_OEMESON += "-Dvenus-experimental=true"

but i have never tested this


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58080): https://lists.yoctoproject.org/g/yocto/message/58080
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Edgar Mobile
My current configuration is

DISTRO_FEATURES:append = "opengl x11 vulkan"

This wasn't enough for libvulkan.so.* to be installed or vulkaninfo to work. 
Only the simple weston egl examples work.

I also tried adding virtio-experimental to VULKAN_DRIVERS in mesa.inc, didn't 
help either.


From: Markus Volk 
Sent: Monday, September 19, 2022 4:37 PM
To: Alexander Kanavin 
Cc: Edgar Mobile ; yocto@lists.yoctoproject.org 

Subject: Re: [yocto] Adding Vulkan to core-image-weston

Am Mo, 19. Sep 2022 um 16:33:11 +0100 schrieb Alexander Kanavin 
:
You need to check the Mesa recipe to see how the build options are defined

mesa builds vulkan support, if you add 'vulkan' to DISTRO_FEATURES. If you need 
to, you can add additional drivers with a line like this to a mesa_%.bbappend:

VULKAN_DRIVERS:append = ",foo,bar"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58079): https://lists.yoctoproject.org/g/yocto/message/58079
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Markus Volk
Am Mo, 19. Sep 2022 um 16:33:11 +0100 schrieb Alexander Kanavin 
:
You need to check the Mesa recipe to see how the build options are 
defined


mesa builds vulkan support, if you add 'vulkan' to DISTRO_FEATURES. If 
you need to, you can add additional drivers with a line like this to a 
mesa_%.bbappend:


VULKAN_DRIVERS:append = ",foo,bar"


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58078): https://lists.yoctoproject.org/g/yocto/message/58078
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Alexander Kanavin
You need to check the Mesa recipe to see how the build options are defined,
and add swrast to the list of vulkan drivers if necessary. Meson_options
only defines available options in Mesa, not the actual set used in yocto.

Alex

On Mon 19. Sep 2022 at 15.40, Edgar Mobile  wrote:

> Is editing meson_options.txt the recommended way to customize Mesa in
> Yocto?
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Monday, September 19, 2022 2:36 PM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> You do, yes. It’s not qemu, it’s in Mesa. You can see the options here:
> https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/meson_options.txt
>
>
> Alex
>
> On Mon 19. Sep 2022 at 15.30, Edgar Mobile  wrote:
>
> What are the qemu params to activate swrast vulkan driver? And do I still
> need mesa vulkan package? meson logs show it wasnt't compiled with
> vulkan-drivers.
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Monday, September 19, 2022 2:20 PM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> I think swrast Vulkan driver may be a better option to start with. At
> least that is contained entirely in qemu guest so you won’t have to wrestle
> with pass through code paths to the host which are all experimental. It’s
> entirely uncharted waters for me as well.
>
> Alex
>
> On Mon 19. Sep 2022 at 14.52, Edgar Mobile  wrote:
>
> For the time being I use vulkan-tools so I get vulkaninfo. It fails
> apparently due to no appropriate driver available.
> I think adding virtio-experimental to mesa may be necessary, right? Or is
> there another core recipse that will add mesa vulkan drivers?
>
> Regards
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Monday, September 19, 2022 1:31 PM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> As I said you need to inspect the working directory of the recipe to find
> out what goes where.
>
>
> Alex
>
> On Mon 19. Sep 2022 at 13.28, Edgar Mobile  wrote:
>
> I have the impression that the only binary vulkan-samples installs is
> /usr/bin/spirv-cross . Are there other packages that install more samples?
>
> ------
> *From:* Alexander Kanavin 
> *Sent:* Monday, September 19, 2022 8:25 AM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> I suppose you need to look at compile and install logs for vulkan-samples.
> And how the installed items get split into packages. I’m short, inspect
> ${WORKDIR} for it.
>
> Alex
>
> On Mon 19. Sep 2022 at 9.36, Edgar Mobile  wrote:
>
> Greetings,
>
> I see the libvulkan.so.* libs now, but I don't see any sample binaries
> that look like Vulkan. Is there a list somewhere for all the files in
> vulkan-samples?
> Regards
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Saturday, September 17, 2022 8:28 AM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> If the samples don't link with libvulkan directly, it won't get pulled
> into the images. How are they loading that library, is it via dlopen()
> somewhere? Invisible dlopen() dependencies typically need to be listed
> explicitly in RDEPENDS.
>
> As a quick fix, you can add vulkan-loader to the same
> CORE_IMAGE_EXTRA_INSTALL list.
>
> Alex
>
> On Fri, 16 Sept 2022 at 19:17, Edgar Mobile  wrote:
> >
> > Ok, so I switched to Kirkstone and added vulkan-samples to
> CORE_IMAGE_EXTRA_INSTALL.
> > But no libvulkan.so in /usr/lib.
> >
> > Am I missing something?
> >
> > 
> > From: Alexander Kanavin 
> > Sent: Friday, September 16, 2022 12:14 PM
> > To: Edgar Mobile 
> > Cc: yocto@lists.yoctoproject.org 
> > Subject: Re: [yocto] Adding Vulkan to core-image-weston
> >
> > You can start by adding vulkan-samples to the image - the recipe is in
> > core. We do not test vulkan in qemu, because the software vulkan
> > rendering is still under active development, and marked as
> > experimental in virglrenderer.
> >
> > It may help if you use qemux86_64 and kvm for it, because software
> > graphical paths are too slow without it generally.
> >
> > Alex
> >
> > On Fri, 16 Sept 2022 at 13:43, Edgar Mobile 
> wrote:
> > 

Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Edgar Mobile
Is editing meson_options.txt the recommended way to customize Mesa in Yocto?


From: Alexander Kanavin 
Sent: Monday, September 19, 2022 2:36 PM
To: Edgar Mobile 
Cc: yocto@lists.yoctoproject.org 
Subject: Re: [yocto] Adding Vulkan to core-image-weston

You do, yes. It’s not qemu, it’s in Mesa. You can see the options here:
https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/meson_options.txt


Alex

On Mon 19. Sep 2022 at 15.30, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
What are the qemu params to activate swrast vulkan driver? And do I still need 
mesa vulkan package? meson logs show it wasnt't compiled with vulkan-drivers.


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Monday, September 19, 2022 2:20 PM

To: Edgar Mobile mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

I think swrast Vulkan driver may be a better option to start with. At least 
that is contained entirely in qemu guest so you won’t have to wrestle with pass 
through code paths to the host which are all experimental. It’s entirely 
uncharted waters for me as well.

Alex

On Mon 19. Sep 2022 at 14.52, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
For the time being I use vulkan-tools so I get vulkaninfo. It fails apparently 
due to no appropriate driver available.
I think adding virtio-experimental to mesa may be necessary, right? Or is there 
another core recipse that will add mesa vulkan drivers?

Regards


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Monday, September 19, 2022 1:31 PM

To: Edgar Mobile mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

As I said you need to inspect the working directory of the recipe to find out 
what goes where.


Alex

On Mon 19. Sep 2022 at 13.28, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
I have the impression that the only binary vulkan-samples installs is 
/usr/bin/spirv-cross . Are there other packages that install more samples?


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Monday, September 19, 2022 8:25 AM

To: Edgar Mobile mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

I suppose you need to look at compile and install logs for vulkan-samples. And 
how the installed items get split into packages. I’m short, inspect ${WORKDIR} 
for it.

Alex

On Mon 19. Sep 2022 at 9.36, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
Greetings,

I see the libvulkan.so.* libs now, but I don't see any sample binaries that 
look like Vulkan. Is there a list somewhere for all the files in vulkan-samples?
Regards


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Saturday, September 17, 2022 8:28 AM

To: Edgar Mobile mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

If the samples don't link with libvulkan directly, it won't get pulled
into the images. How are they loading that library, is it via dlopen()
somewhere? Invisible dlopen() dependencies typically need to be listed
explicitly in RDEPENDS.

As a quick fix, you can add vulkan-loader to the same
CORE_IMAGE_EXTRA_INSTALL list.

Alex

On Fri, 16 Sept 2022 at 19:17, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
>
> Ok, so I switched to Kirkstone and added vulkan-samples to 
> CORE_IMAGE_EXTRA_INSTALL.
> But no libvulkan.so in /usr/lib.
>
> Am I missing something?
>
> 
> From: Alexander Kanavin 
> mailto:alex.kana...@gmail.com>>
> Sent: Friday, September 16, 2022 12:14 PM
> To: Edgar Mobile mailto:heide...@hotmail.com>>
> Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
> mailto:yocto@lists.yoctoproject.org>>
> Subject: Re: [yocto] Adding Vulkan to core-image-weston
>
> You can start by adding vulkan-samples to the image - the recipe is in
> core. We do not test vulkan in qemu, because the software vulkan
> rendering is still under active development, and marked as
> experimental in virglrenderer.
>
> It may help if you use qemux86_64 and kvm for it, because software
> graphical paths are too slow without it generally.
>
> Alex
>
> On Fri, 16 Sept 2022 a

Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Alexander Kanavin
You do, yes. It’s not qemu, it’s in Mesa. You can see the options here:
https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/meson_options.txt


Alex

On Mon 19. Sep 2022 at 15.30, Edgar Mobile  wrote:

> What are the qemu params to activate swrast vulkan driver? And do I still
> need mesa vulkan package? meson logs show it wasnt't compiled with
> vulkan-drivers.
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Monday, September 19, 2022 2:20 PM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> I think swrast Vulkan driver may be a better option to start with. At
> least that is contained entirely in qemu guest so you won’t have to wrestle
> with pass through code paths to the host which are all experimental. It’s
> entirely uncharted waters for me as well.
>
> Alex
>
> On Mon 19. Sep 2022 at 14.52, Edgar Mobile  wrote:
>
> For the time being I use vulkan-tools so I get vulkaninfo. It fails
> apparently due to no appropriate driver available.
> I think adding virtio-experimental to mesa may be necessary, right? Or is
> there another core recipse that will add mesa vulkan drivers?
>
> Regards
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Monday, September 19, 2022 1:31 PM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> As I said you need to inspect the working directory of the recipe to find
> out what goes where.
>
>
> Alex
>
> On Mon 19. Sep 2022 at 13.28, Edgar Mobile  wrote:
>
> I have the impression that the only binary vulkan-samples installs is
> /usr/bin/spirv-cross . Are there other packages that install more samples?
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Monday, September 19, 2022 8:25 AM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> I suppose you need to look at compile and install logs for vulkan-samples.
> And how the installed items get split into packages. I’m short, inspect
> ${WORKDIR} for it.
>
> Alex
>
> On Mon 19. Sep 2022 at 9.36, Edgar Mobile  wrote:
>
> Greetings,
>
> I see the libvulkan.so.* libs now, but I don't see any sample binaries
> that look like Vulkan. Is there a list somewhere for all the files in
> vulkan-samples?
> Regards
>
> ----------
> *From:* Alexander Kanavin 
> *Sent:* Saturday, September 17, 2022 8:28 AM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> If the samples don't link with libvulkan directly, it won't get pulled
> into the images. How are they loading that library, is it via dlopen()
> somewhere? Invisible dlopen() dependencies typically need to be listed
> explicitly in RDEPENDS.
>
> As a quick fix, you can add vulkan-loader to the same
> CORE_IMAGE_EXTRA_INSTALL list.
>
> Alex
>
> On Fri, 16 Sept 2022 at 19:17, Edgar Mobile  wrote:
> >
> > Ok, so I switched to Kirkstone and added vulkan-samples to
> CORE_IMAGE_EXTRA_INSTALL.
> > But no libvulkan.so in /usr/lib.
> >
> > Am I missing something?
> >
> > 
> > From: Alexander Kanavin 
> > Sent: Friday, September 16, 2022 12:14 PM
> > To: Edgar Mobile 
> > Cc: yocto@lists.yoctoproject.org 
> > Subject: Re: [yocto] Adding Vulkan to core-image-weston
> >
> > You can start by adding vulkan-samples to the image - the recipe is in
> > core. We do not test vulkan in qemu, because the software vulkan
> > rendering is still under active development, and marked as
> > experimental in virglrenderer.
> >
> > It may help if you use qemux86_64 and kvm for it, because software
> > graphical paths are too slow without it generally.
> >
> > Alex
> >
> > On Fri, 16 Sept 2022 at 13:43, Edgar Mobile 
> wrote:
> > >
> > > Greetings,
> > >
> > > I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto
> honister (qemu, host is x64). Can you tell me which parameters I need to
> add to local.conf to get all libs and headers installed (plus maybe some
> useful tools and demo if present)?
> > >
> > > Regards
> > >
> > > 
> > >
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58075): https://lists.yoctoproject.org/g/yocto/message/58075
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Edgar Mobile
What are the qemu params to activate swrast vulkan driver? And do I still need 
mesa vulkan package? meson logs show it wasnt't compiled with vulkan-drivers.


From: Alexander Kanavin 
Sent: Monday, September 19, 2022 2:20 PM
To: Edgar Mobile 
Cc: yocto@lists.yoctoproject.org 
Subject: Re: [yocto] Adding Vulkan to core-image-weston

I think swrast Vulkan driver may be a better option to start with. At least 
that is contained entirely in qemu guest so you won’t have to wrestle with pass 
through code paths to the host which are all experimental. It’s entirely 
uncharted waters for me as well.

Alex

On Mon 19. Sep 2022 at 14.52, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
For the time being I use vulkan-tools so I get vulkaninfo. It fails apparently 
due to no appropriate driver available.
I think adding virtio-experimental to mesa may be necessary, right? Or is there 
another core recipse that will add mesa vulkan drivers?

Regards


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Monday, September 19, 2022 1:31 PM

To: Edgar Mobile mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

As I said you need to inspect the working directory of the recipe to find out 
what goes where.


Alex

On Mon 19. Sep 2022 at 13.28, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
I have the impression that the only binary vulkan-samples installs is 
/usr/bin/spirv-cross . Are there other packages that install more samples?


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Monday, September 19, 2022 8:25 AM

To: Edgar Mobile mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

I suppose you need to look at compile and install logs for vulkan-samples. And 
how the installed items get split into packages. I’m short, inspect ${WORKDIR} 
for it.

Alex

On Mon 19. Sep 2022 at 9.36, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
Greetings,

I see the libvulkan.so.* libs now, but I don't see any sample binaries that 
look like Vulkan. Is there a list somewhere for all the files in vulkan-samples?
Regards


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Saturday, September 17, 2022 8:28 AM

To: Edgar Mobile mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

If the samples don't link with libvulkan directly, it won't get pulled
into the images. How are they loading that library, is it via dlopen()
somewhere? Invisible dlopen() dependencies typically need to be listed
explicitly in RDEPENDS.

As a quick fix, you can add vulkan-loader to the same
CORE_IMAGE_EXTRA_INSTALL list.

Alex

On Fri, 16 Sept 2022 at 19:17, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
>
> Ok, so I switched to Kirkstone and added vulkan-samples to 
> CORE_IMAGE_EXTRA_INSTALL.
> But no libvulkan.so in /usr/lib.
>
> Am I missing something?
>
> 
> From: Alexander Kanavin 
> mailto:alex.kana...@gmail.com>>
> Sent: Friday, September 16, 2022 12:14 PM
> To: Edgar Mobile mailto:heide...@hotmail.com>>
> Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
> mailto:yocto@lists.yoctoproject.org>>
> Subject: Re: [yocto] Adding Vulkan to core-image-weston
>
> You can start by adding vulkan-samples to the image - the recipe is in
> core. We do not test vulkan in qemu, because the software vulkan
> rendering is still under active development, and marked as
> experimental in virglrenderer.
>
> It may help if you use qemux86_64 and kvm for it, because software
> graphical paths are too slow without it generally.
>
> Alex
>
> On Fri, 16 Sept 2022 at 13:43, Edgar Mobile 
> mailto:heide...@hotmail.com>> wrote:
> >
> > Greetings,
> >
> > I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto 
> > honister (qemu, host is x64). Can you tell me which parameters I need to 
> > add to local.conf to get all libs and headers installed (plus maybe some 
> > useful tools and demo if present)?
> >
> > Regards
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58074): https://lists.yoctoproject.org/g/yocto/message/58074
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Alexander Kanavin
I think swrast Vulkan driver may be a better option to start with. At least
that is contained entirely in qemu guest so you won’t have to wrestle with
pass through code paths to the host which are all experimental. It’s
entirely uncharted waters for me as well.

Alex

On Mon 19. Sep 2022 at 14.52, Edgar Mobile  wrote:

> For the time being I use vulkan-tools so I get vulkaninfo. It fails
> apparently due to no appropriate driver available.
> I think adding virtio-experimental to mesa may be necessary, right? Or is
> there another core recipse that will add mesa vulkan drivers?
>
> Regards
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Monday, September 19, 2022 1:31 PM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> As I said you need to inspect the working directory of the recipe to find
> out what goes where.
>
>
> Alex
>
> On Mon 19. Sep 2022 at 13.28, Edgar Mobile  wrote:
>
> I have the impression that the only binary vulkan-samples installs is
> /usr/bin/spirv-cross . Are there other packages that install more samples?
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Monday, September 19, 2022 8:25 AM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> I suppose you need to look at compile and install logs for vulkan-samples.
> And how the installed items get split into packages. I’m short, inspect
> ${WORKDIR} for it.
>
> Alex
>
> On Mon 19. Sep 2022 at 9.36, Edgar Mobile  wrote:
>
> Greetings,
>
> I see the libvulkan.so.* libs now, but I don't see any sample binaries
> that look like Vulkan. Is there a list somewhere for all the files in
> vulkan-samples?
> Regards
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Saturday, September 17, 2022 8:28 AM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> If the samples don't link with libvulkan directly, it won't get pulled
> into the images. How are they loading that library, is it via dlopen()
> somewhere? Invisible dlopen() dependencies typically need to be listed
> explicitly in RDEPENDS.
>
> As a quick fix, you can add vulkan-loader to the same
> CORE_IMAGE_EXTRA_INSTALL list.
>
> Alex
>
> On Fri, 16 Sept 2022 at 19:17, Edgar Mobile  wrote:
> >
> > Ok, so I switched to Kirkstone and added vulkan-samples to
> CORE_IMAGE_EXTRA_INSTALL.
> > But no libvulkan.so in /usr/lib.
> >
> > Am I missing something?
> >
> > 
> > From: Alexander Kanavin 
> > Sent: Friday, September 16, 2022 12:14 PM
> > To: Edgar Mobile 
> > Cc: yocto@lists.yoctoproject.org 
> > Subject: Re: [yocto] Adding Vulkan to core-image-weston
> >
> > You can start by adding vulkan-samples to the image - the recipe is in
> > core. We do not test vulkan in qemu, because the software vulkan
> > rendering is still under active development, and marked as
> > experimental in virglrenderer.
> >
> > It may help if you use qemux86_64 and kvm for it, because software
> > graphical paths are too slow without it generally.
> >
> > Alex
> >
> > On Fri, 16 Sept 2022 at 13:43, Edgar Mobile 
> wrote:
> > >
> > > Greetings,
> > >
> > > I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto
> honister (qemu, host is x64). Can you tell me which parameters I need to
> add to local.conf to get all libs and headers installed (plus maybe some
> useful tools and demo if present)?
> > >
> > > Regards
> > >
> > > 
> > >
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58073): https://lists.yoctoproject.org/g/yocto/message/58073
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Edgar Mobile
For the time being I use vulkan-tools so I get vulkaninfo. It fails apparently 
due to no appropriate driver available.
I think adding virtio-experimental to mesa may be necessary, right? Or is there 
another core recipse that will add mesa vulkan drivers?

Regards


From: Alexander Kanavin 
Sent: Monday, September 19, 2022 1:31 PM
To: Edgar Mobile 
Cc: yocto@lists.yoctoproject.org 
Subject: Re: [yocto] Adding Vulkan to core-image-weston

As I said you need to inspect the working directory of the recipe to find out 
what goes where.


Alex

On Mon 19. Sep 2022 at 13.28, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
I have the impression that the only binary vulkan-samples installs is 
/usr/bin/spirv-cross . Are there other packages that install more samples?


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Monday, September 19, 2022 8:25 AM

To: Edgar Mobile mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

I suppose you need to look at compile and install logs for vulkan-samples. And 
how the installed items get split into packages. I’m short, inspect ${WORKDIR} 
for it.

Alex

On Mon 19. Sep 2022 at 9.36, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
Greetings,

I see the libvulkan.so.* libs now, but I don't see any sample binaries that 
look like Vulkan. Is there a list somewhere for all the files in vulkan-samples?
Regards


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Saturday, September 17, 2022 8:28 AM

To: Edgar Mobile mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

If the samples don't link with libvulkan directly, it won't get pulled
into the images. How are they loading that library, is it via dlopen()
somewhere? Invisible dlopen() dependencies typically need to be listed
explicitly in RDEPENDS.

As a quick fix, you can add vulkan-loader to the same
CORE_IMAGE_EXTRA_INSTALL list.

Alex

On Fri, 16 Sept 2022 at 19:17, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
>
> Ok, so I switched to Kirkstone and added vulkan-samples to 
> CORE_IMAGE_EXTRA_INSTALL.
> But no libvulkan.so in /usr/lib.
>
> Am I missing something?
>
> 
> From: Alexander Kanavin 
> mailto:alex.kana...@gmail.com>>
> Sent: Friday, September 16, 2022 12:14 PM
> To: Edgar Mobile mailto:heide...@hotmail.com>>
> Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
> mailto:yocto@lists.yoctoproject.org>>
> Subject: Re: [yocto] Adding Vulkan to core-image-weston
>
> You can start by adding vulkan-samples to the image - the recipe is in
> core. We do not test vulkan in qemu, because the software vulkan
> rendering is still under active development, and marked as
> experimental in virglrenderer.
>
> It may help if you use qemux86_64 and kvm for it, because software
> graphical paths are too slow without it generally.
>
> Alex
>
> On Fri, 16 Sept 2022 at 13:43, Edgar Mobile 
> mailto:heide...@hotmail.com>> wrote:
> >
> > Greetings,
> >
> > I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto 
> > honister (qemu, host is x64). Can you tell me which parameters I need to 
> > add to local.conf to get all libs and headers installed (plus maybe some 
> > useful tools and demo if present)?
> >
> > Regards
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58072): https://lists.yoctoproject.org/g/yocto/message/58072
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Alexander Kanavin
As I said you need to inspect the working directory of the recipe to find
out what goes where.


Alex

On Mon 19. Sep 2022 at 13.28, Edgar Mobile  wrote:

> I have the impression that the only binary vulkan-samples installs is
> /usr/bin/spirv-cross . Are there other packages that install more samples?
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Monday, September 19, 2022 8:25 AM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> I suppose you need to look at compile and install logs for vulkan-samples.
> And how the installed items get split into packages. I’m short, inspect
> ${WORKDIR} for it.
>
> Alex
>
> On Mon 19. Sep 2022 at 9.36, Edgar Mobile  wrote:
>
> Greetings,
>
> I see the libvulkan.so.* libs now, but I don't see any sample binaries
> that look like Vulkan. Is there a list somewhere for all the files in
> vulkan-samples?
> Regards
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Saturday, September 17, 2022 8:28 AM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> If the samples don't link with libvulkan directly, it won't get pulled
> into the images. How are they loading that library, is it via dlopen()
> somewhere? Invisible dlopen() dependencies typically need to be listed
> explicitly in RDEPENDS.
>
> As a quick fix, you can add vulkan-loader to the same
> CORE_IMAGE_EXTRA_INSTALL list.
>
> Alex
>
> On Fri, 16 Sept 2022 at 19:17, Edgar Mobile  wrote:
> >
> > Ok, so I switched to Kirkstone and added vulkan-samples to
> CORE_IMAGE_EXTRA_INSTALL.
> > But no libvulkan.so in /usr/lib.
> >
> > Am I missing something?
> >
> > ____________
> > From: Alexander Kanavin 
> > Sent: Friday, September 16, 2022 12:14 PM
> > To: Edgar Mobile 
> > Cc: yocto@lists.yoctoproject.org 
> > Subject: Re: [yocto] Adding Vulkan to core-image-weston
> >
> > You can start by adding vulkan-samples to the image - the recipe is in
> > core. We do not test vulkan in qemu, because the software vulkan
> > rendering is still under active development, and marked as
> > experimental in virglrenderer.
> >
> > It may help if you use qemux86_64 and kvm for it, because software
> > graphical paths are too slow without it generally.
> >
> > Alex
> >
> > On Fri, 16 Sept 2022 at 13:43, Edgar Mobile 
> wrote:
> > >
> > > Greetings,
> > >
> > > I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto
> honister (qemu, host is x64). Can you tell me which parameters I need to
> add to local.conf to get all libs and headers installed (plus maybe some
> useful tools and demo if present)?
> > >
> > > Regards
> > >
> > > 
> > >
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58071): https://lists.yoctoproject.org/g/yocto/message/58071
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Edgar Mobile
I have the impression that the only binary vulkan-samples installs is 
/usr/bin/spirv-cross . Are there other packages that install more samples?


From: Alexander Kanavin 
Sent: Monday, September 19, 2022 8:25 AM
To: Edgar Mobile 
Cc: yocto@lists.yoctoproject.org 
Subject: Re: [yocto] Adding Vulkan to core-image-weston

I suppose you need to look at compile and install logs for vulkan-samples. And 
how the installed items get split into packages. I’m short, inspect ${WORKDIR} 
for it.

Alex

On Mon 19. Sep 2022 at 9.36, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
Greetings,

I see the libvulkan.so.* libs now, but I don't see any sample binaries that 
look like Vulkan. Is there a list somewhere for all the files in vulkan-samples?
Regards


From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: Saturday, September 17, 2022 8:28 AM

To: Edgar Mobile mailto:heide...@hotmail.com>>
Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
mailto:yocto@lists.yoctoproject.org>>
Subject: Re: [yocto] Adding Vulkan to core-image-weston

If the samples don't link with libvulkan directly, it won't get pulled
into the images. How are they loading that library, is it via dlopen()
somewhere? Invisible dlopen() dependencies typically need to be listed
explicitly in RDEPENDS.

As a quick fix, you can add vulkan-loader to the same
CORE_IMAGE_EXTRA_INSTALL list.

Alex

On Fri, 16 Sept 2022 at 19:17, Edgar Mobile 
mailto:heide...@hotmail.com>> wrote:
>
> Ok, so I switched to Kirkstone and added vulkan-samples to 
> CORE_IMAGE_EXTRA_INSTALL.
> But no libvulkan.so in /usr/lib.
>
> Am I missing something?
>
> 
> From: Alexander Kanavin 
> mailto:alex.kana...@gmail.com>>
> Sent: Friday, September 16, 2022 12:14 PM
> To: Edgar Mobile mailto:heide...@hotmail.com>>
> Cc: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> 
> mailto:yocto@lists.yoctoproject.org>>
> Subject: Re: [yocto] Adding Vulkan to core-image-weston
>
> You can start by adding vulkan-samples to the image - the recipe is in
> core. We do not test vulkan in qemu, because the software vulkan
> rendering is still under active development, and marked as
> experimental in virglrenderer.
>
> It may help if you use qemux86_64 and kvm for it, because software
> graphical paths are too slow without it generally.
>
> Alex
>
> On Fri, 16 Sept 2022 at 13:43, Edgar Mobile 
> mailto:heide...@hotmail.com>> wrote:
> >
> > Greetings,
> >
> > I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto 
> > honister (qemu, host is x64). Can you tell me which parameters I need to 
> > add to local.conf to get all libs and headers installed (plus maybe some 
> > useful tools and demo if present)?
> >
> > Regards
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58070): https://lists.yoctoproject.org/g/yocto/message/58070
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Alexander Kanavin
I suppose you need to look at compile and install logs for vulkan-samples.
And how the installed items get split into packages. I’m short, inspect
${WORKDIR} for it.

Alex

On Mon 19. Sep 2022 at 9.36, Edgar Mobile  wrote:

> Greetings,
>
> I see the libvulkan.so.* libs now, but I don't see any sample binaries
> that look like Vulkan. Is there a list somewhere for all the files in
> vulkan-samples?
> Regards
>
> --
> *From:* Alexander Kanavin 
> *Sent:* Saturday, September 17, 2022 8:28 AM
>
> *To:* Edgar Mobile 
> *Cc:* yocto@lists.yoctoproject.org 
> *Subject:* Re: [yocto] Adding Vulkan to core-image-weston
>
> If the samples don't link with libvulkan directly, it won't get pulled
> into the images. How are they loading that library, is it via dlopen()
> somewhere? Invisible dlopen() dependencies typically need to be listed
> explicitly in RDEPENDS.
>
> As a quick fix, you can add vulkan-loader to the same
> CORE_IMAGE_EXTRA_INSTALL list.
>
> Alex
>
> On Fri, 16 Sept 2022 at 19:17, Edgar Mobile  wrote:
> >
> > Ok, so I switched to Kirkstone and added vulkan-samples to
> CORE_IMAGE_EXTRA_INSTALL.
> > But no libvulkan.so in /usr/lib.
> >
> > Am I missing something?
> >
> > 
> > From: Alexander Kanavin 
> > Sent: Friday, September 16, 2022 12:14 PM
> > To: Edgar Mobile 
> > Cc: yocto@lists.yoctoproject.org 
> > Subject: Re: [yocto] Adding Vulkan to core-image-weston
> >
> > You can start by adding vulkan-samples to the image - the recipe is in
> > core. We do not test vulkan in qemu, because the software vulkan
> > rendering is still under active development, and marked as
> > experimental in virglrenderer.
> >
> > It may help if you use qemux86_64 and kvm for it, because software
> > graphical paths are too slow without it generally.
> >
> > Alex
> >
> > On Fri, 16 Sept 2022 at 13:43, Edgar Mobile 
> wrote:
> > >
> > > Greetings,
> > >
> > > I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto
> honister (qemu, host is x64). Can you tell me which parameters I need to
> add to local.conf to get all libs and headers installed (plus maybe some
> useful tools and demo if present)?
> > >
> > > Regards
> > >
> > > 
> > >
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58069): https://lists.yoctoproject.org/g/yocto/message/58069
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-19 Thread Edgar Mobile
Greetings,

I see the libvulkan.so.* libs now, but I don't see any sample binaries that 
look like Vulkan. Is there a list somewhere for all the files in vulkan-samples?
Regards


From: Alexander Kanavin 
Sent: Saturday, September 17, 2022 8:28 AM
To: Edgar Mobile 
Cc: yocto@lists.yoctoproject.org 
Subject: Re: [yocto] Adding Vulkan to core-image-weston

If the samples don't link with libvulkan directly, it won't get pulled
into the images. How are they loading that library, is it via dlopen()
somewhere? Invisible dlopen() dependencies typically need to be listed
explicitly in RDEPENDS.

As a quick fix, you can add vulkan-loader to the same
CORE_IMAGE_EXTRA_INSTALL list.

Alex

On Fri, 16 Sept 2022 at 19:17, Edgar Mobile  wrote:
>
> Ok, so I switched to Kirkstone and added vulkan-samples to 
> CORE_IMAGE_EXTRA_INSTALL.
> But no libvulkan.so in /usr/lib.
>
> Am I missing something?
>
> 
> From: Alexander Kanavin 
> Sent: Friday, September 16, 2022 12:14 PM
> To: Edgar Mobile 
> Cc: yocto@lists.yoctoproject.org 
> Subject: Re: [yocto] Adding Vulkan to core-image-weston
>
> You can start by adding vulkan-samples to the image - the recipe is in
> core. We do not test vulkan in qemu, because the software vulkan
> rendering is still under active development, and marked as
> experimental in virglrenderer.
>
> It may help if you use qemux86_64 and kvm for it, because software
> graphical paths are too slow without it generally.
>
> Alex
>
> On Fri, 16 Sept 2022 at 13:43, Edgar Mobile  wrote:
> >
> > Greetings,
> >
> > I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto 
> > honister (qemu, host is x64). Can you tell me which parameters I need to 
> > add to local.conf to get all libs and headers installed (plus maybe some 
> > useful tools and demo if present)?
> >
> > Regards
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58067): https://lists.yoctoproject.org/g/yocto/message/58067
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-17 Thread Alexander Kanavin
If the samples don't link with libvulkan directly, it won't get pulled
into the images. How are they loading that library, is it via dlopen()
somewhere? Invisible dlopen() dependencies typically need to be listed
explicitly in RDEPENDS.

As a quick fix, you can add vulkan-loader to the same
CORE_IMAGE_EXTRA_INSTALL list.

Alex

On Fri, 16 Sept 2022 at 19:17, Edgar Mobile  wrote:
>
> Ok, so I switched to Kirkstone and added vulkan-samples to 
> CORE_IMAGE_EXTRA_INSTALL.
> But no libvulkan.so in /usr/lib.
>
> Am I missing something?
>
> 
> From: Alexander Kanavin 
> Sent: Friday, September 16, 2022 12:14 PM
> To: Edgar Mobile 
> Cc: yocto@lists.yoctoproject.org 
> Subject: Re: [yocto] Adding Vulkan to core-image-weston
>
> You can start by adding vulkan-samples to the image - the recipe is in
> core. We do not test vulkan in qemu, because the software vulkan
> rendering is still under active development, and marked as
> experimental in virglrenderer.
>
> It may help if you use qemux86_64 and kvm for it, because software
> graphical paths are too slow without it generally.
>
> Alex
>
> On Fri, 16 Sept 2022 at 13:43, Edgar Mobile  wrote:
> >
> > Greetings,
> >
> > I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto 
> > honister (qemu, host is x64). Can you tell me which parameters I need to 
> > add to local.conf to get all libs and headers installed (plus maybe some 
> > useful tools and demo if present)?
> >
> > Regards
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58063): https://lists.yoctoproject.org/g/yocto/message/58063
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-16 Thread Edgar Mobile
Ok, so I switched to Kirkstone and added vulkan-samples to 
CORE_IMAGE_EXTRA_INSTALL.
But no libvulkan.so in /usr/lib.

Am I missing something?


From: Alexander Kanavin 
Sent: Friday, September 16, 2022 12:14 PM
To: Edgar Mobile 
Cc: yocto@lists.yoctoproject.org 
Subject: Re: [yocto] Adding Vulkan to core-image-weston

You can start by adding vulkan-samples to the image - the recipe is in
core. We do not test vulkan in qemu, because the software vulkan
rendering is still under active development, and marked as
experimental in virglrenderer.

It may help if you use qemux86_64 and kvm for it, because software
graphical paths are too slow without it generally.

Alex

On Fri, 16 Sept 2022 at 13:43, Edgar Mobile  wrote:
>
> Greetings,
>
> I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto honister 
> (qemu, host is x64). Can you tell me which parameters I need to add to 
> local.conf to get all libs and headers installed (plus maybe some useful 
> tools and demo if present)?
>
> Regards
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58061): https://lists.yoctoproject.org/g/yocto/message/58061
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Adding Vulkan to core-image-weston

2022-09-16 Thread Alexander Kanavin
You can start by adding vulkan-samples to the image - the recipe is in
core. We do not test vulkan in qemu, because the software vulkan
rendering is still under active development, and marked as
experimental in virglrenderer.

It may help if you use qemux86_64 and kvm for it, because software
graphical paths are too slow without it generally.

Alex

On Fri, 16 Sept 2022 at 13:43, Edgar Mobile  wrote:
>
> Greetings,
>
> I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto honister 
> (qemu, host is x64). Can you tell me which parameters I need to add to 
> local.conf to get all libs and headers installed (plus maybe some useful 
> tools and demo if present)?
>
> Regards
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58060): https://lists.yoctoproject.org/g/yocto/message/58060
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Adding Vulkan to core-image-weston

2022-09-16 Thread Edgar Mobile
Greetings,

I'd like to test graphics rendering with Vulkan on an Aarch64 Yocto honister 
(qemu, host is x64). Can you tell me which parameters I need to add to 
local.conf to get all libs and headers installed (plus maybe some useful tools 
and demo if present)?

Regards

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58059): https://lists.yoctoproject.org/g/yocto/message/58059
Mute This Topic: https://lists.yoctoproject.org/mt/93720286/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-