#
…

2024-10-11

02:04tobhe has joined #ubuntu-asahi
02:11tobhe_ has quit [Ping timeout: 480 seconds]
05:09pthariensflame has joined #ubuntu-asahi
06:22kaazoo has joined #ubuntu-asahi
06:25kaazooHi, with Vulkan support being released yesterday (see https://asahilinux.org/2024/10/aaa-gaming-on-asahi-linux/), it would be great to have the required tooling packaged for Ubuntu as well.
06:28kaazooThis would require newer mesa and virglrenderer packages: https://copr.fedorainfracloud.org/coprs/g/asahi/mesa/packages/
06:29andymandias has quit [Read error: Connection reset by peer]
06:30andymandias has joined #ubuntu-asahi
07:18kaazoo has quit [Ping timeout: 480 seconds]
07:27kaazoo has joined #ubuntu-asahi
08:47kaazooI was able to build mesa 24.2.0~pre20241006-1asahi1.24.04 with these changes: https://github.com/kaazoo/mesa/commit/728bcaa025885b4ee7e59f8d31b14cfb85eef052
08:47kaazooUnfortunately mesa requires LLVM 16+ which isn't available on 22.04.
08:48kaazooVulkan and OpenGL seems to work with the newly built packages on my system. Will try to provide a PPA soonish.
09:12tobhe[m]thx! 22.04 is always the problematic part but I think this time at least we don't have a kernel dependency, so it might be fine publishing noble first
09:25tobhe[m]since 24.10 is officially out now I'll hopefully have more time cleaning up our package
09:25tobhe[m]including building 24.10 versions
09:33tobhe[m]this looks promising
11:25kaazooTook me a while to figure out how to create source packages, sign them and upload to this PPA: https://launchpad.net/~kaazoo/+archive/ubuntu/ubuntu-asahi-gaming/+packages
12:27kaazooAh, seems like one has to upload a new version to trigger a build after changing the CPU architecture configuration of the PPA :(
12:32tobhe[m]hm I think there might be a trick
12:32tobhe[m]you could copy the package to the same ppa
12:32tobhe[m]tick the include binaries box
12:34tobhe[m]^ on the top right in the package detail view
12:34tobhe[m]and then:
12:46kaazooYes, I read the copy trick after I deleted my privously uploaded source package. Only to realize that a new upload of the same package version would be rejected afterwards ...
12:47tobhe[m]yep. launchpad can be very unforgiving if it comes to versions
12:47tobhe[m]quite a pain sometimes
12:48kaazooI'm uploading a new version, based on LLVM 18 this time. In the hope that this LLVM version would be available for 22.04 at some point.
12:49tobhe[m]that sounds like a good idea
12:49tobhe[m]did you happen to test if snaps still worked with the new version? Sometimes having different base and snap versions seems to make problems
12:49tobhe[m]if it still works I can merge your changes and ship it in the official ppa
12:52tobhe[m]feel free to open a PR against https://github.com/UbuntuAsahi/mesa 🙂
12:56kaazooI restarted Firefox (snap version) and about:support still shows "OpenGL ES 3.2 Mesa 24.2.0~pre20240725-1asahi1.22.04" as WebGL driver. On the second restart, when starting from terminal in hangs for a few seconds, but works afterwards.
12:57kaazoo0:2(12): error: extension `GL_EXT_shader_texture_lod' unsupported in fragment shader
12:57kaazooGetShaderSource() ->
12:57kaazoovoid main() {}
12:57kaazoo#extension GL_EXT_shader_texture_lod: require
12:57kaazooBut I don't know if this is new or has been there all the time.
12:57tobhe[m]the snap should pull in the old version bundled with the gnome snap, but I've seen problems before where the host version still affected the snaps
12:58tobhe[m]I can test that
12:58tobhe[m]and your new one as soon as we have a binary in the ppa
12:59tobhe[m]yep, I see the same so not your fault
13:00kaazooDependency lookup for libdrm_amdgpu with method 'pkgconfig' failed: Invalid version, need 'libdrm_amdgpu' ['>=2.4.121'] found '2.4.120'.
13:01tobhe[m]you can copy those to your ppa or add this ppa as a build dependency
13:02kaazooOK, will try setting the dependency
13:06kaazooDoes retrying a previously failed build work after adding a PPA dependency?
13:06tobhe[m]I think so yes
13:49tobhe[m]heh tiny 🙂
13:50kaazooGitHub doesn't seem to be made for such large PRs
13:52tobhe[m]luckily I think I can just fetch it, work locally and push when I'm done and github would hopefully understand that
13:52kaazooOK, good luck
13:53kaazooPackages are still pending publication. How long does that normally take?
13:53tobhe[m]I'd say anywhere between 10 minutes and 1 hour
13:54tobhe[m]i wish it was event based but I think it's just a cron job collecting all updates regularly
14:18tobhe[m]merged, thank you for your contribution ❤️
14:28john-cabaj[m]Do we need a new kernel?
14:29john-cabaj[m]Maybe that PAGE_SIZE one..
14:53kaazooNow packages are published, in case anybody wants to try out: https://launchpad.net/~kaazoo/+archive/ubuntu/ubuntu-asahi-gaming/+packages
15:13kaazoo has quit [Quit: Leaving.]
15:20tobhe[m]thx, I'll try that
15:26tobhe[m]but something doesn't work yet. It doesn't want to auto update
15:29tobhe[m]urgh just me being stupid
15:39tobhe[m]that didn't work before
15:42tobhe[m]all this reminds me that I also have a m1n1 update pending
17:05pthariensflame has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:56pthariensflame has joined #ubuntu-asahi
17:58pthariensflame has quit []
20:01russell-- has joined #ubuntu-asahi
20:28tobhe[m]aaand updates are rolling out to our ubuntu-asahi ppa
20:28tobhe[m]that's m1n1 and mesa
…