#
#ubuntu-asahi · 2024-11-11 21:47
kaazooUpdated root FS build config: https://github.com/kaazoo/RootFS/blob/main/Configs/Ubuntu_24_04_asahi.json
#ubuntu-asahi · 2024-11-11 21:45
kaazooTook me a while to get rid of LLVM dependency for the i386 packages.
#ubuntu-asahi · 2024-11-11 21:45
kaazooI've built new packages at https://launchpad.net/~kaazoo/+archive/ubuntu/ubuntu-asahi-gaming/+packages
#ubuntu-asahi · 2024-11-11 21:44
kaazootobhe: which Ubuntu version was that on?
#ubuntu-asahi · 2024-11-11 21:44
kaazooHi
#ubuntu-asahi · 2024-11-11 14:48
tobhe[m]hm but you already do this in Commands_InChroot
#ubuntu-asahi · 2024-11-11 14:21
tobhe[m]tbh I wonder if fex could be made to integrate nicely with multiarch. I imagine it should be possible to --add-architecture amd64 i386 to have apt install all the libraries in namespaced paths and then have fex use those instead of a separate rootfs
#ubuntu-asahi · 2024-11-11 14:19
tobhe[m]on an amd64 machine with dpkg --add-architecture i386
#ubuntu-asahi · 2024-11-11 14:18
tobhe[m] /usr/lib/x86_64-linux-gnu/libLLVM-18.so
#ubuntu-asahi · 2024-11-11 14:18
tobhe[m]on my machine $ dpkg -L libllvm18 gives
#ubuntu-asahi · 2024-11-11 14:17
tobhe[m]kaazoo: i wonder if you need to enable multiarch in your rootfs for libllvm to behave correctly
#ubuntu-asahi · 2024-11-09 21:57
kaazooNext I'll build mesa for i386 without LLVM, which should avoid that conflict on libLLVM.so.18.1, until the libllvm18 package gets fixed.
#ubuntu-asahi · 2024-11-09 21:06
tobhe[m]i'll have time to try all of your stuff next week, am still traveling. but it looks pretty nice already :)
#ubuntu-asahi · 2024-11-09 21:03
tobhe[m]probably a bug in ubuntu... I'll bring it up with the toolchain maintainers
#ubuntu-asahi · 2024-11-09 21:03
kaazooSee https://github.com/kaazoo/RootFS/blob/main/Configs/Ubuntu_24_04_asahi.json#L211
#ubuntu-asahi · 2024-11-09 21:03
kaazooI tried to work around this by installing libllvm18 from http://apt.llvm.org/bookworm/ which is built for i386 and amd64, while using different paths for libLLVM.so.18.1
#ubuntu-asahi · 2024-11-09 21:03
tobhe[m]looks wrong
#ubuntu-asahi · 2024-11-09 21:03
tobhe[m]we might be able to fix that
#ubuntu-asahi · 2024-11-09 21:01
kaazooOne problem is that mesa i386 and amd64 packages depend on libllvm18, which can't coexist in parallel for both i386 and amd64. The packages libllvm18:i386 and libllvm18:amd64 both install /usr/lib/libLLVM.so.18.1, so you'll get an error when installing libllvm18 for both architectures.
#ubuntu-asahi · 2024-11-09 20:56
kaazooWill keep that updated once there is more progress.
#ubuntu-asahi · 2024-11-09 20:56
kaazooCommands to build root FS are in my updated blog post: https://kernelpanik.net/vulkan_and_steam_on_ubuntu_asahi/
#ubuntu-asahi · 2024-11-09 20:55
kaazooHi, I've built new mesa packages at https://launchpad.net/~kaazoo/+archive/ubuntu/ubuntu-asahi-gaming/+packages and also have a bit hacky FEX root FS build config at https://github.com/kaazoo/RootFS/blob/main/Configs/Ubuntu_24_04_asahi.json
#ubuntu-asahi · 2024-11-08 11:08
tobhe[m]nice!
#ubuntu-asahi · 2024-11-08 11:05
kaazooHi, I managed to build mesa 24.3.0~pre20241104 on arm64, amd64 and i386: https://launchpad.net/~kaazoo/+archive/ubuntu/ubuntu-asahi-gaming/+packages . I still have to test if that stuff also works in muvm.
#ubuntu-asahi · 2024-11-06 21:49
kaazooHi, I've built a meson 1.6.0 package at https://launchpad.net/~kaazoo/+archive/ubuntu/ubuntu-asahi-gaming/+packages . Let's see if that helps to build mesa.
#ubuntu-asahi · 2024-11-04 23:44
tobhe[m]hey! bye i guess
#ubuntu-asahi · 2024-11-04 23:32
cleeryy[m]Hello guys!
#ubuntu-asahi · 2024-11-04 22:09
kaazooexport RUSTC:=/usr/bin/rustc-1.80
#ubuntu-asahi · 2024-11-04 22:09
kaazooOK, I figured out that it's possible to set a custom rustc path in the rules file via:
#ubuntu-asahi · 2024-11-04 18:47
tobhe[m]all those bleeding edge dependencies make me sad
#ubuntu-asahi · 2024-11-04 18:46
tobhe[m]not sure it is relevant to our use-case
#ubuntu-asahi · 2024-11-04 18:46
tobhe[m]we might be able to drop directx
#ubuntu-asahi · 2024-11-04 18:43
kaazooAnother problem are the DirectX headers. They are also too old. Locally I was able to build with wrap-mode=default option set, but I guess it would be better to build with dependencies from Ubuntu packages only.
#ubuntu-asahi · 2024-11-04 18:42
kaazoomeson is too old on 24.04
#ubuntu-asahi · 2024-11-04 18:41
kaazooBuilds still fail: https://launchpadlibrarian.net/757202952/buildlog_ubuntu-noble-arm64.mesa_24.3.0~pre20241104-1asahi2.24.04_BUILDING.txt.gz
#ubuntu-asahi · 2024-11-04 09:25
tobhe[m]if only I understood meson
#ubuntu-asahi · 2024-11-04 09:17
tobhe[m]huh good question. Maybe we need to pass it in an environment variable?
#ubuntu-asahi · 2024-11-04 09:13
kaazooWhen trying rustc-1.80 meson can't find rustc, as only /usr/bin/rustc-1.80 exists. Of course I can create a symlink, but that won't work in launchpad builds, or?
#ubuntu-asahi · 2024-11-04 08:09
kaazoofound another problem, will update my PR
#ubuntu-asahi · 2024-11-04 08:08
kaazoothanks
#ubuntu-asahi · 2024-11-04 08:08
tobhe[m]that is in the regular archive but we would have to append -1.80 to all the d/control dependencies
#ubuntu-asahi · 2024-11-04 08:08
kaazooOK, will try that.
#ubuntu-asahi · 2024-11-04 08:07
tobhe[m]we could also use the versioned rust dependencies from rust-1.80
#ubuntu-asahi · 2024-11-04 08:07
tobhe[m]yeah I think I used https://launchpad.net/~liushuyu-011/+archive/ubuntu/rust-vvv-1.76
#ubuntu-asahi · 2024-11-04 07:54
kaazoohttps://github.com/UbuntuAsahi/mesa/pull/3
#ubuntu-asahi · 2024-11-04 07:47
kaazootobhe: Do you have an additional PPA dependency for rustc >=1.76 ? My builds seem to fail because rustc is too old.
#ubuntu-asahi · 2024-11-04 07:42
kaazooHi, there is a new mesa tag at https://gitlab.freedesktop.org/asahi/mesa/-/tags/asahi-20241104
#ubuntu-asahi · 2024-11-03 22:41
nukeletyeah, as a matter of fact everything seems to be working out of the box -- great work on this, the installation was pretty much painless :-)
#ubuntu-asahi · 2024-11-03 22:40
tobhe[m]I was sure i tested it but don't have my test hw around rn
#ubuntu-asahi · 2024-11-03 22:40
tobhe[m]so it isn't entirely broken :)

plus ›