tobhe changed the topic of #ubuntu-asahi to: Ubuntu-Asahi development | Github: https://github.com/UbuntuAsahi | Logs: https://oftc.irclog.whitequark.org/ubuntu-asahi
john-cabaj has joined #ubuntu-asahi
kaazoo has joined #ubuntu-asahi
<kaazoo> tobhe: I also have snap gnome-42-2204 in version 0+git.3b09a51 installed.
<tobhe[m]> hm not sure what the problem is then
<tobhe[m]> I can try building a mesa today
<kaazoo> Does that include mesa? Does the mismatch between locally installed mesa and bundled mesa perhaps lead to Firefox falling back to software rendering?
<tobhe[m]> it might
<tobhe[m]> the gnome snap bundles mesa
<tobhe[m]> and because we have an asahi track of that we can have accelerated snaps
<tobhe[m]> without modifying the actual snaps
<kaazoo> Another problem with Firefox are random crashes:
<kaazoo> [Parent 5268, IPC I/O Parent] WARNING: process 13104 exited on signal 11: file /build/firefox/parts/firefox/build/ipc/chromium/src/base/process_util_posix.cc:265
<kaazoo> [Parent 5268, IPC I/O Parent] WARNING: process 13109 exited on signal 11: file /build/firefox/parts/firefox/build/ipc/chromium/src/base/process_util_posix.cc:265
<kaazoo> Exiting due to channel error.
<kaazoo> [Parent 5268, Main Thread] WARNING: failed to seal memfd: Bad file descriptor: file /build/firefox/parts/firefox/build/ipc/chromium/src/base/shared_memory_posix.cc:472
<kaazoo> I don't know if this is related to software rendering as well. Before hardware acceleration in Mesa worked, Firefox was quite stable with software rendering.
<tobhe[m]> is anything blocking you from upgrading to mantic? Because I think that would be the easiest way to solve some of those problems
<tobhe[m]> I haven't seen any major firefox problems here so not sure what might be causing it
<kaazoo> So far I tried to wait for 24.04 release, as this is my work machine. But perhaps I should consider upgrading.
kaazoo has left #ubuntu-asahi [#ubuntu-asahi]
Vercas has quit [Remote host closed the connection]
Vercas has joined #ubuntu-asahi
rs2009 has quit [Ping timeout: 480 seconds]
<eslerm[m]> <kaazoo> "Does that include mesa? Does the..." <- please run `snap info gnome-42-2204`... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/VVVMVSjhBnMYUHLCZnWBjYku>)
popey has quit [Remote host closed the connection]
john-cabaj1 has joined #ubuntu-asahi
john-cabaj has quit [Ping timeout: 480 seconds]
john-cabaj1 is now known as john-cabaj
kaazoo has joined #ubuntu-asahi
<kaazoo> I've upgraded to Mantic. Firefox (from snap) still only uses software rendering. I get this error when starting it from terminal:
<kaazoo> MESA: error: ZINK: failed to load libvulkan.so.1
<kaazoo> libEGL warning: egl: failed to create dri2 screen
<kaazoo> libvulkan.so.1 is at /snap/gnome-3-38-2004/145/usr/lib/aarch64-linux-gnu/libvulkan.so.1
<kaazoo> Would Firefox use that automatically?
<tobhe[m]> not sure why it uses the old gnome-3 snap
<tobhe[m]> can you show the output of snap list
<tobhe[m]> and maybe snap refresh
<tobhe[m]> oh you also might have to update the ppa release in /etc/apt/sources.list.d/
<tobhe[m]> i think it doesn't do that automatically
<tobhe[m]> and then apt update && apt upgrade
<kaazoo> sudo snap refresh: "All snaps up to date."
<kaazoo> /etc/apt/sources.list.d/asahi-ppa.list contains
<kaazoo> deb [signed-by=/usr/share/keyrings/tobhe-asahi.gpg] https://ppa.launchpadcontent.net/tobhe/asahi/ubuntu mantic main
<tobhe[m]> ok so that worked
<tobhe[m]> good to know
<kaazoo> The mesa packages are already upgraded to their Mantic versions.
<tobhe[m]> I don't have the gnome-3-snap so that might be the difference
<tobhe[m]> i think you can force firefox to use the newer one
<tobhe[m]> let me find the command though
<kaazoo> glxinfo shows hardware support. So hardware acceleration works in general.
<tobhe[m]> can you snap remove gnome-3-38-2004 without breaking anything else?
<kaazoo> I removed that snap and restarted Firefox. Same error regarding libvulkan.so.1 and still using SW rendering.
<tobhe[m]> can you also show the output of snap connections
<kaazoo> Does snap gnome-3-38-2004 belong to Gnome on Mantic? Or was it only required on Lunar?
<tobhe[m]> snaps use a base snap, gnome-3-38-2004 belongs to the core20 base snap
<tobhe[m]> but firefox should not be using that
<tobhe[m]> and you snap list shows that you are on the newest firefox version
<kaazoo> snap connections: https://paste.debian.net/1300481/
<tobhe[m]> so that does use the correct gnome-42-2204
<kaazoo> "snap info firefox --verbose" says it's using core22
<tobhe[m]> content[gnome-42-2204] firefox:gnome-42-2204 gnome-42-2204:gnome-42-2204 -
<kaazoo> According to "sudo find /snap/gnome-42-2204 -iname libvulkan.so.1" there is no libvulkan.so.1 in that snap.
<kaazoo> Do you have Firefox from snap installed? Do you get that error message when starting Firefox from terminal?
<tobhe[m]> checking
<kaazoo> I mean there is no Vulkan support yet, so perhaps that file is not even required anyways.
<tobhe[m]> but I also don't get that error
<tobhe[m]> weird
<kaazoo> OK, it works when forcing Wayland mode via "MOZ_ENABLE_WAYLAND=1 firefox"
<kaazoo> Now about:support shows hardware support for webgl
<tobhe[m]> hah
<tobhe[m]> ok, i have that enabled by default
<kaazoo> in about:config or via environment variables?
<tobhe[m]> via environment
<kaazoo> OK, I've added it to my .bashrc
<kaazoo> Thanks for checking.
<tobhe[m]> well thanks for the report
<tobhe[m]> We might want to disable that for everyone actually
<tobhe[m]> interesting. I will forward this to the right snap people. not sure if they are aware
<kaazoo> OK, thanks
kaazoo has quit [Quit: Leaving.]