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 quit [Ping timeout: 480 seconds]
kaazoo has joined #ubuntu-asahi
<kaazoo> Hi, did anybody try https://github.com/AsahiLinux/widevine-installer yet? It doesn't seem to work on my Ubuntu 23.04 setup. The plugin gets installed system-wide, but neither Firefox nor Chromium pick it up.
<kaazoo> Perhaps this is related to the fact that both are installed via Snap?
<tobhe[m]> <tobhe[m]> "not so simple with the snap i..." <- ^
<kaazoo> It seems that glibc 2.36 is required.
<kaazoo> $ sudo find /snap -name libc.so.6 | xargs -L1 strings | grep "Ubuntu GLIBC"
<kaazoo> only returns older versions
<kaazoo> While the system version is 2.37
<kaazoo> strings /usr/lib/aarch64-linux-gnu/libc.so.6 | grep "Ubuntu GLIBC"
<kaazoo> GNU C Library (Ubuntu GLIBC 2.37-0ubuntu2.1) stable release version 2.37.
<kaazoo> core24 contains glibc 2.38-1ubuntu5
holman has joined #ubuntu-asahi
holmanb has quit [resistance.oftc.net weber.oftc.net]
<kaazoo> Seems like all snaps of firefox are based on core22:
<kaazoo> snap info firefox --verbose | grep base
<kaazoo> base: core22
<tobhe[m]> hm yes
<tobhe[m]> where does the glibc dep come from? the widevine binary?
<tobhe[m]> maybe there is an older build of that
<tobhe[m]> oh i see its hardcoded in the script
kaazoo has quit [Quit: Leaving.]
john-cabaj has joined #ubuntu-asahi
<enick_81> Just another datapoint, 14.1 doesn't appear to have updated my SystemRecovery version (M2 Air):... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/VXVBzLYFTHHyhLYbahLmhNUH>)
<eslerm[m]> tobhe: upstream installer recently had patch fixes https://github.com/AsahiLinux/asahi-installer/issues/232#issuecomment-1788837283
<tobhe[m]> yesm i don't think we need to do anything
<tobhe[m]> because we fetch the asahi installer builds directly
<tobhe[m]> user@ubuntu:~$ curl -sL https://ubuntuasahi.org/install | grep INSTALLER_BASE
<tobhe[m]> export INSTALLER_BASE=https://cdn.asahilinux.org/installer
kaazoo has joined #ubuntu-asahi
<kaazoo> OK, 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.
<tobhe[m]> is that with widevine?
<tobhe[m]> i have to check my version when i'm back at my computer
<kaazoo> I also tried firefox-trunk builds from https://launchpad.net/~ubuntu-mozilla-daily/+archive/ubuntu/ppa
<kaazoo> Recent 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
<kaazoo> With 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"'
<kaazoo> prints "D/GMP GMPServiceParent::operator(): /opt/widevine/gmp-widevinecdm/system-installed Succeeded"
<kaazoo> GMP related logs: https://paste.centos.org/view/d54a01a6
<kaazoo> Still the plugin is not shown in the about:addons page and widevine DRM test websites report no widevine support.
john-cabaj1 has joined #ubuntu-asahi
<kaazoo> OK, I got it working with firefox-esr 115 from https://launchpad.net/~mozillateam/+archive/ubuntu/ppa?field.series_filter=lunar
<kaazoo> I needed to copy the default prefs: "sudo cp /usr/lib64/firefox/defaults/pref/gmpwidevine.js /usr/lib/firefox-esr/defaults/pref/"
<kaazoo> and symlink the plugin directory into my profile: "ln -s /opt/widevine/gmp-widevinecdm $HOME/.mozilla/firefox-esr/$MY_PROFILE/gmp-widevinecdm"
john-cabaj has quit [Ping timeout: 480 seconds]
john-cabaj1 is now known as john-cabaj
<kaazoo> For newly created profiles you don't even have to create that symlink.
<kaazoo> Netflix works as well, after switching user-agent to ChromeOS, as described in https://www.da.vidbuchanan.co.uk/blog/netflix-on-asahi.html
kaazoo has quit [Quit: Leaving.]