#ubuntu-asahi · 2023-12-07 23:30
kaazoohttps://bugzilla.mozilla.org/show_bug.cgi?id=1828196#ubuntu-asahi · 2023-12-07 23:30
kaazooThanks for checking.#ubuntu-asahi · 2023-12-07 23:29
kaazooOK, I've added it to my .bashrc#ubuntu-asahi · 2023-12-07 23:29
kaazooin about:config or via environment variables?#ubuntu-asahi · 2023-12-07 23:28
kaazooNow about:support shows hardware support for webgl#ubuntu-asahi · 2023-12-07 23:27
kaazooOK, it works when forcing Wayland mode via "MOZ_ENABLE_WAYLAND=1 firefox"#ubuntu-asahi · 2023-12-07 23:25
kaazooI mean there is no Vulkan support yet, so perhaps that file is not even required anyways.#ubuntu-asahi · 2023-12-07 23:23
kaazooDo you have Firefox from snap installed? Do you get that error message when starting Firefox from terminal?#ubuntu-asahi · 2023-12-07 23:22
kaazooAccording to "sudo find /snap/gnome-42-2204 -iname libvulkan.so.1" there is no libvulkan.so.1 in that snap. #ubuntu-asahi · 2023-12-07 23:20
kaazoo"snap info firefox --verbose" says it's using core22#ubuntu-asahi · 2023-12-07 23:19
kaazoosnap connections: https://paste.debian.net/1300481/#ubuntu-asahi · 2023-12-07 23:17
kaazooDoes snap gnome-3-38-2004 belong to Gnome on Mantic? Or was it only required on Lunar?#ubuntu-asahi · 2023-12-07 23:16
kaazooI removed that snap and restarted Firefox. Same error regarding libvulkan.so.1 and still using SW rendering.#ubuntu-asahi · 2023-12-07 23:07
kaazooglxinfo shows hardware support. So hardware acceleration works in general.#ubuntu-asahi · 2023-12-07 23:06
kaazooThe mesa packages are already upgraded to their Mantic versions.#ubuntu-asahi · 2023-12-07 23:05
kaazoodeb [signed-by=/usr/share/keyrings/tobhe-asahi.gpg] https://ppa.launchpadcontent.net/tobhe/asahi/ubuntu mantic main#ubuntu-asahi · 2023-12-07 23:05
kaazoo/etc/apt/sources.list.d/asahi-ppa.list contains #ubuntu-asahi · 2023-12-07 23:04
kaazoosudo snap refresh: "All snaps up to date."#ubuntu-asahi · 2023-12-07 23:03
kaazoosnap list: https://paste.debian.net/1300477/#ubuntu-asahi · 2023-12-07 22:57
kaazooWould Firefox use that automatically?#ubuntu-asahi · 2023-12-07 22:57
kaazoolibvulkan.so.1 is at /snap/gnome-3-38-2004/145/usr/lib/aarch64-linux-gnu/libvulkan.so.1#ubuntu-asahi · 2023-12-07 22:51
kaazoolibEGL warning: egl: failed to create dri2 screen#ubuntu-asahi · 2023-12-07 22:51
kaazooMESA: error: ZINK: failed to load libvulkan.so.1#ubuntu-asahi · 2023-12-07 22:51
kaazooI've upgraded to Mantic. Firefox (from snap) still only uses software rendering. I get this error when starting it from terminal:#ubuntu-asahi · 2023-12-07 11:02
kaazooSo far I tried to wait for 24.04 release, as this is my work machine. But perhaps I should consider upgrading.#ubuntu-asahi · 2023-12-07 11:01
kaazooI 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.#ubuntu-asahi · 2023-12-07 10:58
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#ubuntu-asahi · 2023-12-07 10:58
kaazooExiting due to channel error.#ubuntu-asahi · 2023-12-07 10:58
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#ubuntu-asahi · 2023-12-07 10:58
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#ubuntu-asahi · 2023-12-07 10:58
kaazooAnother problem with Firefox are random crashes:#ubuntu-asahi · 2023-12-07 10:57
kaazooDoes that include mesa? Does the mismatch between locally installed mesa and bundled mesa perhaps lead to Firefox falling back to software rendering?#ubuntu-asahi · 2023-12-07 10:55
kaazootobhe: I also have snap gnome-42-2204 in version 0+git.3b09a51 installed. #ubuntu-asahi · 2023-12-06 08:48
kaazoofirefox-trunk 120.0~a1~hg20230929r679989-0ubuntu0.23.04.1~umd1 reports mesa 23.3.0-devel (git-8c1db24d09) with hardware rendering on "Mesa -- Apple M2 Pro (G14S B1)".#ubuntu-asahi · 2023-12-06 08:45
kaazooI also noticed that Firefox 120.0.1-1 from snap seems to bundle mesa 24.0~pre20231121-0asahi1.22.04 (according to about:support) while 23.3.0~pre20230904-1asahi1.23.04 is installed in the system. Firefox is using software rendering with llvmpipe#ubuntu-asahi · 2023-12-06 08:36
kaazooHi, will there be a new mesa build 24.0~pre20231121-0asahi1 for Lunar as well? On https://launchpad.net/~tobhe/+archive/ubuntu/asahi I only see newer packages for Mantic and Jammy#ubuntu-asahi · 2023-11-01 23:27
kaazooNetflix works as well, after switching user-agent to ChromeOS, as described in https://www.da.vidbuchanan.co.uk/blog/netflix-on-asahi.html#ubuntu-asahi · 2023-11-01 23:26
kaazooFor newly created profiles you don't even have to create that symlink.#ubuntu-asahi · 2023-11-01 23:13
kaazooWidevine DRM example: https://reference.dashif.org/dash.js/latest/samples/drm/widevine.html#ubuntu-asahi · 2023-11-01 23:11
kaazooand symlink the plugin directory into my profile: "ln -s /opt/widevine/gmp-widevinecdm $HOME/.mozilla/firefox-esr/$MY_PROFILE/gmp-widevinecdm"#ubuntu-asahi · 2023-11-01 23:10
kaazooI needed to copy the default prefs: "sudo cp /usr/lib64/firefox/defaults/pref/gmpwidevine.js /usr/lib/firefox-esr/defaults/pref/"#ubuntu-asahi · 2023-11-01 23:09
kaazooOK, I got it working with firefox-esr 115 from https://launchpad.net/~mozillateam/+archive/ubuntu/ppa?field.series_filter=lunar#ubuntu-asahi · 2023-11-01 22:43
kaazooStill the plugin is not shown in the about:addons page and widevine DRM test websites report no widevine support.#ubuntu-asahi · 2023-11-01 22:41
kaazooGMP related logs: https://paste.centos.org/view/d54a01a6#ubuntu-asahi · 2023-11-01 22:34
kaazooprints "D/GMP GMPServiceParent::operator(): /opt/widevine/gmp-widevinecdm/system-installed Succeeded"#ubuntu-asahi · 2023-11-01 22:34
kaazooWith the PPA build pf firefox-trunk I can get it to load via 'MOZ_GMP_PATH=/opt/widevine/gmp-widevinecdm/system-installed firefox-trunk -MOZ_LOG="GMP:5"'#ubuntu-asahi · 2023-11-01 22:31
kaazooRecent 121 and 120 builds result in segfaults as well. The newest working build seems to be this one from Sep 29: https://launchpad.net/~ubuntu-mozilla-daily/+archive/ubuntu/ppa/+build/26743417#ubuntu-asahi · 2023-11-01 22:31
kaazooI also tried firefox-trunk builds from https://launchpad.net/~ubuntu-mozilla-daily/+archive/ubuntu/ppa#ubuntu-asahi · 2023-11-01 22:28
kaazooOK, so I checked further. Firefox 120 and 121 from snap have segfaults on startup, while 119 works. There seems to be something broken on Ubuntu Asahi with versions > 119.#ubuntu-asahi · 2023-11-01 09:22
kaazoobase: core22