Announcement

Collapse
No announcement yet.

[RESOLVED] How do I make Firefox play videos on Jammy?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] How do I make Firefox play videos on Jammy?

    So, i've finally got round to updating to Jammy, and I've definitely been enjoying quite how broken Firefox is now. I've reverted away from the really annoying snap version that won't launch any external programs and reinstalled the .deb version ( 104.0+build2-0ubuntu0.22.04.1~mt1​ ) from the mozillateam ppa, and now it won't play any videos anywhere other than Youtube.

    It continually errors out complaining that it can't find the codec, despite my (afaict) having them all installed:


    root@rocinante:~# apt list --installed *codec* ubuntu-restricted-extras *ffmpeg*
    Listing... Done
    chromium-codecs-ffmpeg-extra/jammy,now 1:85.0.4183.83-0ubuntu2 amd64 [installed,automatic]
    ffmpeg/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed]
    ffmpegthumbs/jammy,now 4:21.12.3-0ubuntu1 amd64 [installed,automatic]
    libavcodec-dev/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed]
    libavcodec-extra58/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed,automatic]
    libavcodec-extra/jammy-updates,jammy-security,now 7:4.4.2-0ubuntu0.22.04.1 amd64 [installed]
    libcodec2-1.0/jammy,now 1.0.1-3 amd64 [installed,automatic]
    libk3b7-extracodecs/jammy,now 21.12.3-0ubuntu1 amd64 [installed,automatic]
    libkf5codecs-data/jammy,jammy,now 5.92.0-0ubuntu1 all [installed,automatic]
    libkf5codecs-dev/jammy,now 5.92.0-0ubuntu1 amd64 [installed,automatic]
    libkf5codecs-doc/jammy,jammy,now 5.92.0-0ubuntu1 all [installed,automatic]
    libkf5codecs5/jammy,now 5.92.0-0ubuntu1 amd64 [installed,automatic]
    ubuntu-restricted-extras/jammy,now 67 amd64 [installed]



    And i've tried with a fresh firefox profile with no extensions/cookies/cache


    Any idea what i'm missing?

    #2
    /usr/local/cuda-*/** mixr,






    For anyone coming across a similar issue in the future, adding that line to /etc/apparmor.d/local/usr.bin.firefox has solved it for me

    Specifically, for my situation at least, the file that apparmor was blocking was /usr/local/cuda-11.2/targets/x86_64-linux/lib/libOpenCL.so.1.0.0, but i've been a bit more flexible with my unblocking

    Comment

    Working...
    X