|
Changing git url of qemu
That depends on what is your target. If you're running qemu on a x86 host, it's better to not do software emulation and build for qemux86_64 as well, and then run qemu with kvm, so it executes directl
That depends on what is your target. If you're running qemu on a x86 host, it's better to not do software emulation and build for qemux86_64 as well, and then run qemu with kvm, so it executes directl
|
By
Alexander Kanavin
· #58241
·
|
|
Changing git url of qemu
You might want to try enabling gallium-llvm only for the target mesa: PACKAGECONFIG:append:x86-64:pn-mesa = ' gallium-llvm' Alex
You might want to try enabling gallium-llvm only for the target mesa: PACKAGECONFIG:append:x86-64:pn-mesa = ' gallium-llvm' Alex
|
By
Alexander Kanavin
· #58239
·
|
|
Changing git url of qemu
You need to build mesa, not mesa-native. And please show exact changes you made. Alex
You need to build mesa, not mesa-native. And please show exact changes you made. Alex
|
By
Alexander Kanavin
· #58212
·
|
|
Changing git url of qemu
Try latest poky master? Alex
Try latest poky master? Alex
|
By
Alexander Kanavin
· #58207
·
|
|
Changing git url of qemu
The following works for me. I get tmp/work/core2-64-poky-linux/mesa/2_22.2.0-r0/packages-split/mesa-vulkan-drivers/usr/lib/libvulkan_intel.so tmp/work/core2-64-poky-linux/mesa/2_22.2.0-r0/packages-spl
The following works for me. I get tmp/work/core2-64-poky-linux/mesa/2_22.2.0-r0/packages-split/mesa-vulkan-drivers/usr/lib/libvulkan_intel.so tmp/work/core2-64-poky-linux/mesa/2_22.2.0-r0/packages-spl
|
By
Alexander Kanavin
· #58205
·
|
|
Changing git url of qemu
I think for software vulkan you need to pass in -Dvulkan-drivers=swrast when building mesa for the target. Alex
I think for software vulkan you need to pass in -Dvulkan-drivers=swrast when building mesa for the target. Alex
|
By
Alexander Kanavin
· #58202
·
|
|
Changing git url of qemu
I would first check whether any of that work in the branch has meanwhile landed upstream. The post is from 2021. Have you tried the software Vulkan in the guest? Alex
I would first check whether any of that work in the branch has meanwhile landed upstream. The post is from 2021. Have you tried the software Vulkan in the guest? Alex
|
By
Alexander Kanavin
· #58200
·
|
|
Changing git url of qemu
You need to clarify what you want to do exactly. Why can’t you use the existing recipe? Alex
You need to clarify what you want to do exactly. Why can’t you use the existing recipe? Alex
|
By
Alexander Kanavin
· #58197
·
|
|
nodejs do_compile eats all resources
Do keep in mind that PARALLEL_MAKE can and should be set per recipe, so you can make-limit only the worst items. Alex <Oliver.Westermann@...> wrote:
Do keep in mind that PARALLEL_MAKE can and should be set per recipe, so you can make-limit only the worst items. Alex <Oliver.Westermann@...> wrote:
|
By
Alexander Kanavin
· #58178
·
|
|
nodejs do_compile eats all resources
Anything written in C++ tends to consume 1-2 Gb of ram per compiler process. If that lands you in OOM, you probably should limit that with PARALLEL_MAKE:pn-nodejs, but otherwise that is the sad realit
Anything written in C++ tends to consume 1-2 Gb of ram per compiler process. If that lands you in OOM, you probably should limit that with PARALLEL_MAKE:pn-nodejs, but otherwise that is the sad realit
|
By
Alexander Kanavin
· #58166
·
|
|
Setting up layers in Yocto, the introduction
TL;DR version =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D If you want to get everything needed to run a yocto build: - clone the bootstrap repository (ask your distribution maintainer where = it is): $ gi
TL;DR version =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D If you want to get everything needed to run a yocto build: - clone the bootstrap repository (ask your distribution maintainer where = it is): $ gi
|
By
Alexander Kanavin
· #58164
·
|
|
Building vulkan-samples
vulkan-samples recipe is simply using the standard cmake installation routine from cmake.bbclass, so all questions should be aimed to upstream. And upstream doesn't want you to run installation at all
vulkan-samples recipe is simply using the standard cmake installation routine from cmake.bbclass, so all questions should be aimed to upstream. And upstream doesn't want you to run installation at all
|
By
Alexander Kanavin
· #58148
·
|
|
Building vulkan-samples
I finally got a moment to look at this. The binary with the samples is being built (you can find it in $WORKDIR/build/app/bin/x86_64/vulkan_samples), but is not installed. So if you want to get it pac
I finally got a moment to look at this. The binary with the samples is being built (you can find it in $WORKDIR/build/app/bin/x86_64/vulkan_samples), but is not installed. So if you want to get it pac
|
By
Alexander Kanavin
· #58146
·
|
|
Adding Vulkan to core-image-weston
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
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
|
By
Alexander Kanavin
· #58122
·
|
|
Adding Vulkan to core-image-weston
You need to check package-split/ to find out why. Alex
You need to check package-split/ to find out why. Alex
|
By
Alexander Kanavin
· #58120
·
|
|
Adding Vulkan to core-image-weston
This is not logs from mesa, this is logs from your image recipe. You need to start with mesa. Alex
This is not logs from mesa, this is logs from your image recipe. You need to start with mesa. Alex
|
By
Alexander Kanavin
· #58117
·
|
|
Adding Vulkan to core-image-weston
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 s
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 s
|
By
Alexander Kanavin
· #58115
·
|
|
Adding Vulkan to core-image-weston
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
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
|
By
Alexander Kanavin
· #58093
·
|
|
Adding Vulkan to core-image-weston
It helps if you say what you did precisely and show the complaint. Alex
It helps if you say what you did precisely and show the complaint. Alex
|
By
Alexander Kanavin
· #58091
·
|
|
Adding Vulkan to core-image-weston
Don’t bother with virgl yet. Start with the pure software implementation in Mesa. Alex
Don’t bother with virgl yet. Start with the pure software implementation in Mesa. Alex
|
By
Alexander Kanavin
· #58088
·
|