%% 2022-09-10 %% A quick attempt # echo 'linux_enable="YES"' >> /etc/rc.conf # /etc/rc.d/linux start # kldstat | grep linux # df # pkg install linux-c7 # cd /compat/linux/opt # tar -xjf ~/firefox-104.0.2.tar.bz2 # mv firefox firefox-104-0-2 # ln -s firefox-104-0-2 firefox # chown -R root:wheel firefox-104-0-2/ $ /compat/linux/opt/firefox/firefox %% library problems, so found the suitable CentOS7 rpms and unpacked into the tree in /compat/linux %% the following packages were obtained by suffixing their name to http://www.nic.funet.fi/pub/Linux/mirrors/centos/7/os/x86_64/ # cd /compat/linux # pkg install rpm2cpio # rpm2cpio ~user/Downloads/gtk3-3.22.30-5.el7.x86_64.rpm | cpio -dim # rpm2cpio ~user/Downloads/cairo-gobject-1.15.12-4.el7.x86_64.rpm | cpio -dim # rpm2cpio ~user/Downloads/at-spi2-atk-2.26.2-1.el7.x86_64.rpm | cpio -dim # rpm2cpio ~user/Downloads/at-spi2-atk-devel-2.26.2-1.el7.x86_64.rpm | cpio -dim # rpm2cpio ~user/Downloads/libepoxy-1.5.2-1.el7.x86_64.rpm | cpio -dim # rpm2cpio ~user/Downloads/libxkbcommon-x11-0.7.1-3.el7.x86_64.rpm | cpio -dim # rpm2cpio ~user/Downloads/libxkbcommon-x11-devel-0.7.1-3.el7.x86_64.rpm | cpio -dim # rpm2cpio ~user/Downloads/libxkbcommon-0.7.1-3.el7.x86_64.rpm | cpio -dim # rpm2cpio ~user/Downloads/libxkbcommon-devel-0.7.1-3.el7.x86_64.rpm | cpio -dim # rpm2cpio ~user/Downloads/at-spi2-core-2.28.0-1.el7.x86_64.rpm | cpio -dim $ /compat/linux/opt/firefox/firefox %% it started a window, but only transparent within a frame (firefox:3361): Gtk-WARNING **: 03:47:13.864: Locale not supported by C library. Using the fallback 'C' locale. [Parent 3361, Main Thread] WARNING: read-only dup failed (No such file or directory); not using memfd: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/shared_memory_posix.cc:255 Gtk-Message: 03:47:15.035: Failed to load module "colorreload-gtk-module" Gtk-Message: 03:47:15.035: Failed to load module "window-decorations-gtk-module" (firefox:3361): Gtk-WARNING **: 03:47:15.060: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found. [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: libEGL missing eglGetDisplayDriverName GLib-GIO-Message: 03:47:15.828: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. [Child 3393, TaskController #6] WARNING: read-only dup failed (No such file or directory); not using memfd: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/shared_memory_posix.cc:255 [2022-09-10T01:47:35Z ERROR viaduct::backend::ffi] Missing HTTP status $ /compat/linux/opt/firefox/firefox --safe-mode %% started ok; changed settings to avoid hardware acceleration - seems to have worked, as it starts ok next time without safe-mode $ /compat/linux/opt/firefox/firefox %% ok ... runs, but crashes on youtube and spins on netflix on the part for getting the widevine drm plugin, which was the sole purpose of trying the linux version of firefox