Firefox 105.0.1 error messages after Sep 28th upgrade - Slack64-Current
After today's upgrades (Slackware64-current), Firefox 105.0.1 refused to start. I killed the process that remained running in background, lauched FF again from a console and it started but with error messages (FF is running now, but with these errors in the console). I have an AMD GPU card running stock drivers (see inxi -G output below). Things were running nicely yesterday. Kernel 5.19.12, display server X.org.
Any ideas? Console errors: Quote:
Quote:
|
I'm not running current, but you might want to try switching to the amdgpu driver. I have a Tahiti card as well and if my memory serves me, I used to see those errors with firefox before I switched drivers. The amdgpu driver has better support for hw acceleration.
There's a couple other ways to enable it, but this the method I used. Code:
# cat /etc/modprobe.d/amdgpu.conf |
Regarding the first VAAPI error, you probably got bitten by the last mesa update. Starting from 22.2, mesa does not build by default video decode codecs for h264/h265, thus leaving amd gpus without VAAPI support.
|
Quote:
Code:
Support for building Mesa with select video codecs disabled out of software patent concerns. Maybe we should add: Code:
+ -Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc \ |
Quote:
And maybe if it goes down that route, then vdpau also should be moved to SBo or something? |
Quote:
Others also do it like that (at least Arch & Gentoo) Code:
option( |
Quote:
That part of mesa should really go to SBo, but with SBo policy of not replacing distro packages, how? |
Quote:
The -D means : Code:
Universal options and "+" a the beginning is because I made a diff between my slackbuild and the original one Code:
--- mesa.SlackBuild.orig 2022-08-09 04:58:15.107303823 +0200 |
Quote:
Still not clear if we're going to have to recompile all of mesa in the future, to get this. |
From my understandings this mostly affects GPU-accellerated video decode/encode (VAAPI) on AMD hardware using mesa's va driver.
Intel already needed an external driver for this (https://github.com/intel/media-driver/), while nouveau is probably out of luck anyway on recent cards. About 5 months ago a change was introduced in mesa to require an explicit list of enabled video codecs at configure time: https://gitlab.freedesktop.org/mesa/...9bf33337bc2c96 The default list of enabled codecs is empty, but all of them are explicitly enabled in mesa's automatic CI build script, and they are still enabled as of today. One week ago fedora disabled all codecs in its CI build script, thus the drama: https://src.fedoraproject.org/rpms/m...branch=rawhide Looks like Fedora now split the vaapi drivers into a separate package, hoping for them being provided by a separate entity (possibly rpmfusion): https://src.fedoraproject.org/rpms/m...branch=rawhide Arch still enables all the video codecs: arch: https://github.com/archlinux/svntogi...5ef0e6d7c57f8a Gentoo defines a compile time flag "proprietary-codecs": https://gitweb.gentoo.org/repo/gento....0.ebuild#n448 Debian defines a compile time filter "pkg.mesa.nolibva": https://salsa.debian.org/xorg-team/l...e/debian/rules Ubuntu does the same as Debian: https://git.launchpad.net/ubuntu/+so...u/kinetic#n135 OpenSUSE doesn't explicitly enable any of the video codes (looks like they "forgot" to add the option when updating to mesa 22.2): https://build.opensuse.org/package/v....spec?expand=1 |
Quote:
Guess we will have to compile our own mesa package, luckily it's very easy on slack but still an annoyance. |
Yesterday everything was working, I updated to current just now and Firefox is broken (also Librewolf). There's no error messages, it just hangs. I'm posting this from SeaMonkey.
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R5 430 OEM / R7 240/340 / Radeon 520 OEM] is my card, using "radeon" kmod. Alot of people are going to have non-working browsers. "Just build Mesa yourself" is our current fix? |
Good news: rebuilding Mesa with the patch fixes things. Bad news: Firefox wanted to "refresh" for some reason, which I foolishly allowed, losing all my bookmarks and configuration.
|
Thank you for the help.
I turned off Firefox hardware acceleration but still kept radeon driver (I will try to change the radeon driver to amdgpu driver later, as suggested by fourtysixandtwo). This way, the RENDERER DEVICE error went off, but the VA-API / mesa error kept showing up. |
Quote:
|
All times are GMT -5. The time now is 10:46 PM. |