ChanServ changed the topic of #ubuntu-asahi to: Ubuntu-Asahi development | Github: https://github.com/UbuntuAsahi | Logs: https://oftc.irclog.whitequark.org/ubuntu-asahi
tobhe has joined #ubuntu-asahi
tobhe_ has quit [Ping timeout: 480 seconds]
pthariensflame has joined #ubuntu-asahi
kaazoo has joined #ubuntu-asahi
<kaazoo> Hi, 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.
<kaazoo> This would require newer mesa and virglrenderer packages: https://copr.fedorainfracloud.org/coprs/g/asahi/mesa/packages/
andymandias has quit [Read error: Connection reset by peer]
andymandias has joined #ubuntu-asahi
kaazoo has quit [Ping timeout: 480 seconds]
kaazoo has joined #ubuntu-asahi
<kaazoo> I was able to build mesa 24.2.0~pre20241006-1asahi1.24.04 with these changes: https://github.com/kaazoo/mesa/commit/728bcaa025885b4ee7e59f8d31b14cfb85eef052
<kaazoo> Unfortunately mesa requires LLVM 16+ which isn't available on 22.04.
<kaazoo> Vulkan and OpenGL seems to work with the newly built packages on my system. Will try to provide a PPA soonish.
<tobhe[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
<tobhe[m]> since 24.10 is officially out now I'll hopefully have more time cleaning up our package
<tobhe[m]> including building 24.10 versions
<tobhe[m]> this looks promising
<kaazoo> Took 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
<kaazoo> Ah, seems like one has to upload a new version to trigger a build after changing the CPU architecture configuration of the PPA :(
<tobhe[m]> hm I think there might be a trick
<tobhe[m]> you could copy the package to the same ppa
<tobhe[m]> tick the include binaries box
<tobhe[m]> ^ on the top right in the package detail view
<tobhe[m]> and then:
<kaazoo> Yes, 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 ...
<tobhe[m]> yep. launchpad can be very unforgiving if it comes to versions
<tobhe[m]> quite a pain sometimes
<kaazoo> I'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.
<tobhe[m]> that sounds like a good idea
<tobhe[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
<tobhe[m]> if it still works I can merge your changes and ship it in the official ppa
<tobhe[m]> feel free to open a PR against https://github.com/UbuntuAsahi/mesa 🙂
<kaazoo> I 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.
<kaazoo> 0:2(12): error: extension `GL_EXT_shader_texture_lod' unsupported in fragment shader
<kaazoo> GetShaderSource() ->
<kaazoo> void main() {}
<kaazoo> #extension GL_EXT_shader_texture_lod: require
<kaazoo> But I don't know if this is new or has been there all the time.
<tobhe[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
<tobhe[m]> I can test that
<tobhe[m]> and your new one as soon as we have a binary in the ppa
<tobhe[m]> yep, I see the same so not your fault
<kaazoo> Dependency lookup for libdrm_amdgpu with method 'pkgconfig' failed: Invalid version, need 'libdrm_amdgpu' ['>=2.4.121'] found '2.4.120'.
<tobhe[m]> you can copy those to your ppa or add this ppa as a build dependency
<kaazoo> OK, will try setting the dependency
<kaazoo> Does retrying a previously failed build work after adding a PPA dependency?
<tobhe[m]> I think so yes
<tobhe[m]> heh tiny 🙂
<kaazoo> GitHub doesn't seem to be made for such large PRs
<tobhe[m]> luckily I think I can just fetch it, work locally and push when I'm done and github would hopefully understand that
<kaazoo> OK, good luck
<kaazoo> Packages are still pending publication. How long does that normally take?
<tobhe[m]> I'd say anywhere between 10 minutes and 1 hour
<tobhe[m]> i wish it was event based but I think it's just a cron job collecting all updates regularly
<tobhe[m]> merged, thank you for your contribution ❤️
<john-cabaj[m]> Do we need a new kernel?
<john-cabaj[m]> Maybe that PAGE_SIZE one..
<kaazoo> Now packages are published, in case anybody wants to try out: https://launchpad.net/~kaazoo/+archive/ubuntu/ubuntu-asahi-gaming/+packages
kaazoo has quit [Quit: Leaving.]
<tobhe[m]> thx, I'll try that
<tobhe[m]> but something doesn't work yet. It doesn't want to auto update
<tobhe[m]> urgh just me being stupid
<tobhe[m]> that didn't work before
<tobhe[m]> all this reminds me that I also have a m1n1 update pending
pthariensflame has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pthariensflame has joined #ubuntu-asahi
pthariensflame has quit []
russell-- has joined #ubuntu-asahi
<tobhe[m]> aaand updates are rolling out to our ubuntu-asahi ppa
<tobhe[m]> that's m1n1 and mesa