05:47austriancoder: Ristovski: thx .. will check it out
06:02tacokoneko: 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:04MoeIcenowy: tacokoneko: in fact I think the build-system Mesa could have just your needed drivers built
07:05MoeIcenowy: or even cut drivers that do not require a clc
07:39tacokoneko: 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:40tacokoneko: -Dinstall-mesa-clc=true -Dplatforms=wayland -Dgallium-rusticl=true -Dllvm=enabled -Dgallium-drivers=llvmpipe -Dvulkan-drivers=swrast -Dglx=disabled
07:41tacokoneko: for the first mesa; many more drivers are enabled in the cross-compiled mesa configuration i am using
08:05MoeIcenowy: tacokoneko: ah only enabling swrast even works?!
08:05MoeIcenowy: what driver did you enable in the final mesa
08:38tacokoneko: here is the configuration of the final mesa that doesn't seem to have an error (hopefully)
08:39tacokoneko: -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:40tacokoneko: -Dfreedreno-kmds=msm,kgsl -Dvulkan-drivers=swrast,virtio,freedreno
08:44MoeIcenowy: okay it looks like you didn't enable any driver that uses clc
08:44MoeIcenowy: so rusticl seems to be the only clc comsumer
08:47tacokoneko: 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:48tacokoneko: in our build configuration, this error did not start occurring until this PR was merged into the mesa repository:
08:48tacokoneko: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40663
08:49tacokoneko: in mesa 26.0 and mesa 26.1, building a mesa_clc separately from mesa during cross-compilation was not required for us
08:49tacokoneko: in mesa 26.2, now this solution you have helped me set up is required.
13:15MoeIcenowy: tacokoneko: I think panvk and pvr are also two drivers that gained clc requirement in some version
13:32karolherbst: we really should fix the underlying meson problem at some point.. though we could maybe also work around it? dunno
14:55MoeIcenowy: karolherbst: automatically build the native clc?
14:56karolherbst: MoeIcenowy: mesa could duplicate the targets if it detects a crosscompile and have native/target pairs
15:45dcbaker: 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:45bonzini: lol yes we did
15:45karolherbst: cool
15:45bonzini: the we is fine
15:46karolherbst: 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:46karolherbst: but not quite sure how well that works when the same source uses test and non test
15:48dcbaker: 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:49bonzini: 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:49bonzini: with those refactorings
15:52MoeIcenowy: karolherbst: then I think the dependencies would be duplicated too...
16:22dcbaker: I think this is a CMake suprojec thought?
16:22dcbaker: *subproject
16:23karolherbst: libclc? yeah
16:23HdkR: dcbaker: Oh! with 1.12 I'll be able to use subprojects that cross compile? Excited!
16:26dcbaker: It's complicated because it's all OpenCL 🙃
16:26dcbaker: Which is why I'd like to remove the host/build requirement :)
16:26dcbaker: I guess we could lie kinda like we do for Java?
16:29HdkR: yay OpenCL making things complicated that benefit me
16:29elibrokeit: "we are closer to getting it to work than ever before"
16:29elibrokeit: "how close?"
16:30dcbaker: "closer"
16:30elibrokeit: "that's beside the point, it is in the right direction!!!!"
16:30dcbaker: HdkR: It's not just OpenCL, it's really any specialized binary. Could be EFI for systemd
16:32alyssa: HdkR: thunk thonk
16:32HdkR: :D
22:44steev: 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:46karolherbst: steev: need to set V3D_WEBGPU_OVERRIDE=1 though it's not fully implemented
22:53steev: karolherbst: that doesn't seem to change anything... maybe i'm just misreading what is going on. https://paste.debian.net/hidden/cfa1c46d