05:47 austriancoder: Ristovski: thx .. will check it out
06:02 tacokoneko: MoeIcenowy: thanks again very much, because, while it took a long time to write the setup for in my environment, that method of building a full mesa for the build machine first with both -Dinstall-mesa-clc=true and -Dmesa-clc=enabled, then setting -Dmesa-clc=system during the cross build, has worked for me fully, I think!
07:04 MoeIcenowy: tacokoneko: in fact I think the build-system Mesa could have just your needed drivers built
07:05 MoeIcenowy: or even cut drivers that do not require a clc
07:39 tacokoneko: MoeIcenowy: currently, this configuration is working for me. any more than this required too many dependencies, and any less had been giving linker errors due to missing components
07:40 tacokoneko: -Dinstall-mesa-clc=true -Dplatforms=wayland -Dgallium-rusticl=true -Dllvm=enabled -Dgallium-drivers=llvmpipe -Dvulkan-drivers=swrast -Dglx=disabled
07:41 tacokoneko: for the first mesa; many more drivers are enabled in the cross-compiled mesa configuration i am using
08:05 MoeIcenowy: tacokoneko: ah only enabling swrast even works?!
08:05 MoeIcenowy: what driver did you enable in the final mesa
08:38 tacokoneko: here is the configuration of the final mesa that doesn't seem to have an error (hopefully)
08:39 tacokoneko: -Dgbm=enabled -Dopengl=true -Degl=enabled -Degl-native-platform=x11 -Dgles1=disabled -Dgles2=enabled -Dglx=dri -Dllvm=enabled -Dshared-llvm=enabled -Dplatforms=x11,wayland -Dgallium-drivers=llvmpipe,softpipe,virgl,zink -Dgallium-rusticl=true -Dglvnd=enabled -Dxmlconfig=disabled
08:40 tacokoneko: -Dfreedreno-kmds=msm,kgsl -Dvulkan-drivers=swrast,virtio,freedreno
08:44 MoeIcenowy: okay it looks like you didn't enable any driver that uses clc
08:44 MoeIcenowy: so rusticl seems to be the only clc comsumer
08:47 tacokoneko: yes, we need rusticl and it's quite important; i hope this minimal swrast build of mesa with mesa_clc was sufficient for it to keep working.
08:48 tacokoneko: in our build configuration, this error did not start occurring until this PR was merged into the mesa repository:
08:48 tacokoneko: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40663
08:49 tacokoneko: in mesa 26.0 and mesa 26.1, building a mesa_clc separately from mesa during cross-compilation was not required for us
08:49 tacokoneko: in mesa 26.2, now this solution you have helped me set up is required.
13:15 MoeIcenowy: tacokoneko: I think panvk and pvr are also two drivers that gained clc requirement in some version
13:32 karolherbst: we really should fix the underlying meson problem at some point.. though we could maybe also work around it? dunno
14:55 MoeIcenowy: karolherbst: automatically build the native clc?
14:56 karolherbst: MoeIcenowy: mesa could duplicate the targets if it detects a crosscompile and have native/target pairs
15:45 dcbaker: karolherbst: we're working on it! Meson 1.12 fixed a lot of the underlying assumptions about subprojects being for one machine. I can't remember if we actually enabled subprojects per-machine in 1.12 or if that's a 1.13 feature. And by we I monstly mean bonzini
15:45 bonzini: lol yes we did
15:45 karolherbst: cool
15:45 bonzini: the we is fine
15:46 karolherbst: ohh there is one meson issue I have to look into at some point in regards to rust-project.json.. it never emits the cfg things, which is kinda needed for "test" targets
15:46 karolherbst: but not quite sure how well that works when the same source uses test and non test
15:48 dcbaker: I know we've also talked about removing the host/build limitation, and I'd like to add support for OpenCL and SPIRV as machine targets, which should help with some of this too
15:49 bonzini: that would be a huge amount of work, but yeah at least the native subproject changes were structured to help a tiny little bit
15:49 bonzini: with those refactorings
15:52 MoeIcenowy: karolherbst: then I think the dependencies would be duplicated too...
16:22 dcbaker: I think this is a CMake suprojec thought?
16:22 dcbaker: *subproject
16:23 karolherbst: libclc? yeah
16:23 HdkR: dcbaker: Oh! with 1.12 I'll be able to use subprojects that cross compile? Excited!
16:26 dcbaker: It's complicated because it's all OpenCL 🙃
16:26 dcbaker: Which is why I'd like to remove the host/build requirement :)
16:26 dcbaker: I guess we could lie kinda like we do for Java?
16:29 HdkR: yay OpenCL making things complicated that benefit me
16:29 elibrokeit: "we are closer to getting it to work than ever before"
16:29 elibrokeit: "how close?"
16:30 dcbaker: "closer"
16:30 elibrokeit: "that's beside the point, it is in the right direction!!!!"
16:30 dcbaker: HdkR: It's not just OpenCL, it's really any specialized binary. Could be EFI for systemd
16:32 alyssa: HdkR: thunk thonk
16:32 HdkR: :D
22:44 steev: i'm trying to run Dusklight on a RaspberryPi 5, but it keeps throwing a vulkan error(?) saying that Vulkan shaderUniform*ArrayDynamicIndexing is required - which is a 1.2 vulkan core, and (i thought?) v3d supported Vulkan 1.3? I'm on mesa 26.1.2
22:46 karolherbst: steev: need to set V3D_WEBGPU_OVERRIDE=1 though it's not fully implemented
22:53 steev: karolherbst: that doesn't seem to change anything... maybe i'm just misreading what is going on. https://paste.debian.net/hidden/cfa1c46d