#
…

2023-12-07

03:01john-cabaj has joined #ubuntu-asahi
10:53kaazoo has joined #ubuntu-asahi
10:55kaazootobhe: I also have snap gnome-42-2204 in version 0+git.3b09a51 installed.
10:56tobhe[m]hm not sure what the problem is then
10:57tobhe[m]I can try building a mesa today
10:57kaazooDoes that include mesa? Does the mismatch between locally installed mesa and bundled mesa perhaps lead to Firefox falling back to software rendering?
10:57tobhe[m]the gnome snap bundles mesa
10:58tobhe[m]and because we have an asahi track of that we can have accelerated snaps
10:58tobhe[m]without modifying the actual snaps
10:58kaazooAnother problem with Firefox are random crashes:
10:58kaazoo[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
10:58kaazoo[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
10:58kaazooExiting due to channel error.
10:58kaazoo[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
11:01kaazooI 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.
11:01tobhe[m]is anything blocking you from upgrading to mantic? Because I think that would be the easiest way to solve some of those problems
11:01tobhe[m]I haven't seen any major firefox problems here so not sure what might be causing it
11:02kaazooSo far I tried to wait for 24.04 release, as this is my work machine. But perhaps I should consider upgrading.
11:13kaazoo has left #ubuntu-asahi [#ubuntu-asahi]
14:28Vercas has quit [Remote host closed the connection]
14:29Vercas has joined #ubuntu-asahi
16:40rs2009 has quit [Ping timeout: 480 seconds]
18:17eslerm[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>)
18:38popey has quit [Remote host closed the connection]
21:56john-cabaj1 has joined #ubuntu-asahi
22:01john-cabaj has quit [Ping timeout: 480 seconds]
22:01john-cabaj1 is now known as john-cabaj
22:50kaazoo has joined #ubuntu-asahi
22:51kaazooI've upgraded to Mantic. Firefox (from snap) still only uses software rendering. I get this error when starting it from terminal:
22:51kaazooMESA: error: ZINK: failed to load libvulkan.so.1
22:51kaazoolibEGL warning: egl: failed to create dri2 screen
22:57kaazoolibvulkan.so.1 is at /snap/gnome-3-38-2004/145/usr/lib/aarch64-linux-gnu/libvulkan.so.1
22:57kaazooWould Firefox use that automatically?
22:57tobhe[m]not sure why it uses the old gnome-3 snap
22:58tobhe[m]can you show the output of snap list
22:58tobhe[m]and maybe snap refresh
23:00tobhe[m]oh you also might have to update the ppa release in /etc/apt/sources.list.d/
23:00tobhe[m]i think it doesn't do that automatically
23:00tobhe[m]and then apt update && apt upgrade
23:04kaazoosudo snap refresh: "All snaps up to date."
23:05kaazoo/etc/apt/sources.list.d/asahi-ppa.list contains
23:05kaazoodeb [signed-by=/usr/share/keyrings/tobhe-asahi.gpg] https://ppa.launchpadcontent.net/tobhe/asahi/ubuntu mantic main
23:05tobhe[m]ok so that worked
23:06tobhe[m]good to know
23:06kaazooThe mesa packages are already upgraded to their Mantic versions.
23:06tobhe[m]I don't have the gnome-3-snap so that might be the difference
23:06tobhe[m]i think you can force firefox to use the newer one
23:06tobhe[m]let me find the command though
23:07kaazooglxinfo shows hardware support. So hardware acceleration works in general.
23:09tobhe[m]can you snap remove gnome-3-38-2004 without breaking anything else?
23:16kaazooI removed that snap and restarted Firefox. Same error regarding libvulkan.so.1 and still using SW rendering.
23:17tobhe[m]can you also show the output of snap connections
23:17kaazooDoes snap gnome-3-38-2004 belong to Gnome on Mantic? Or was it only required on Lunar?
23:18tobhe[m]snaps use a base snap, gnome-3-38-2004 belongs to the core20 base snap
23:18tobhe[m]but firefox should not be using that
23:19tobhe[m]and you snap list shows that you are on the newest firefox version
23:20tobhe[m]so that does use the correct gnome-42-2204
23:20kaazoo"snap info firefox --verbose" says it's using core22
23:20tobhe[m]content[gnome-42-2204] firefox:gnome-42-2204 gnome-42-2204:gnome-42-2204 -
23:22kaazooAccording to "sudo find /snap/gnome-42-2204 -iname libvulkan.so.1" there is no libvulkan.so.1 in that snap.
23:23kaazooDo you have Firefox from snap installed? Do you get that error message when starting Firefox from terminal?
23:25kaazooI mean there is no Vulkan support yet, so perhaps that file is not even required anyways.
23:25tobhe[m]but I also don't get that error
23:27kaazooOK, it works when forcing Wayland mode via "MOZ_ENABLE_WAYLAND=1 firefox"
23:28kaazooNow about:support shows hardware support for webgl
23:28tobhe[m]ok, i have that enabled by default
23:29kaazooin about:config or via environment variables?
23:29tobhe[m]via environment
23:29kaazooOK, I've added it to my .bashrc
23:30kaazooThanks for checking.
23:30tobhe[m]well thanks for the report
23:30tobhe[m]We might want to disable that for everyone actually
23:31tobhe[m]interesting. I will forward this to the right snap people. not sure if they are aware
23:32kaazooOK, thanks
23:36kaazoo has quit [Quit: Leaving.]
…