Skip to main content
Topic: (edited) LibreWolf GPU decoding issue on YT (Read 1849 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

(edited) LibreWolf GPU decoding issue on YT

today is the Sabbath and i'm watching live stream BUT today they are not playing on librewolf

https://www.youtube.com/watch?v=1BkkIpg3uOM

this is one link to a live stream that i normally watch but is not playing on librewolf any longer

trying to launch it in a browser reveals nothing.

Anyone else can verify this experience?

oh ok i found this:

Code: [Select]
/usr/lib/librewolf/librewolf %u
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection. (t=0.326511) [GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.


OK so i have it now running from terminal and i see this in the terminal when i try to play the video:

Code: [Select]
[Child 27741, MediaDecoderStateMachine #1] WARNING: Decoder=7fbaedfc8400 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
Cat Herders of Linux

Re: librewolf being censored by youtube?

Reply #1
Code: [Select]
/usr/lib/librewolf/librewolf %u
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection. (t=0.315222) [GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.
[2023-03-11T16:16:02Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-11T16:16:02Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-11T16:16:02Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-11T16:16:02Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[Child 2090, MediaDecoderStateMachine #1] WARNING: Decoder=7f1065eb0700 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 2090, MediaDecoderStateMachine #1] WARNING: Decoder=7f1065eb0100 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 2090, MediaDecoderStateMachine #1] WARNING: Decoder=7f105f263700 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 2090, MediaDecoderStateMachine #1] WARNING: Decoder=7f1065eb1600 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[2023-03-11T16:16:21Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[Child 2260, MediaDecoderStateMachine #1] WARNING: Decoder=7f44e0ff9100 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[2023-03-11T16:16:21Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[Child 2260, MediaDecoderStateMachine #1] WARNING: Decoder=7f44e0f68100 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[2023-03-11T16:16:21Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[Child 2260, MediaDecoderStateMachine #1] WARNING: Decoder=7f44e0ffc400 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[2023-03-11T16:16:21Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[Child 2260, MediaDecoderStateMachine #1] WARNING: Decoder=7f44e7725500 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 2260, MediaDecoderStateMachine #1] WARNING: Decoder=7f44dd383300 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 2260, MediaDecoderStateMachine #1] WARNING: Decoder=7f44dc066900 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 2260, MediaDecoderStateMachine #1] WARNING: Decoder=7f44e091dd00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 2260, MediaDecoderStateMachine #1] WARNING: Decoder=7f44d88ab400 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164


i install gstreamer-vaapi and rebooted but to no avail
Cat Herders of Linux

Re: librewolf being censored by youtube?

Reply #2
I like librewolf because it does an excellent job of blocking worldy ads for things i def don't need to know about  Wait till Sabbath is over though.  don't work on Sabbath to solve this problem.
Cat Herders of Linux

Re: librewolf being censored by youtube?

Reply #3
That live stream works for me in all my regular installed browsers. So then I updated and installed Librewolf and it works there too. I suggest updating in case something has just got fixed - although occasionally mirrors can be slow to sync, so if you have another mirror at the top of your mirrorlist you might not always get the same results. The other thing after updating I'd suggest is trying with a fresh blank profile in case some local setting, extension or add on is affecting things. Cache & cookie issues can  be another cause of local problems. Safe mode can be helpful to try with too. Happy Sabbath! Saturday for me so no problem to answer!

Re: librewolf being censored by youtube?

Reply #4
this is nuts nothing makes a difference.  it just does the sit and spin
Cat Herders of Linux

Re: librewolf being censored by youtube?

Reply #5
these are the correct artix repos?
Code: [Select]
[system]
Include = /etc/pacman.d/mirrorlist

[world]
Include = /etc/pacman.d/mirrorlist

#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist

[galaxy]
Include = /etc/pacman.d/mirrorlist

[universe]
Server = https://universe.artixlinux.org/$arch
Server = https://mirror1.artixlinux.org/universe/$arch
Server = https://mirror.pascalpuffke.de/artix-universe/$arch
Server = https://artixlinux.qontinuum.space/artixlinux/universe/os/$arch
Server = https://mirror1.cl.netactuate.com/artix/universe/$arch
Server = https://ftp.crifo.org/artix-universe/

[omniverse]
Server = https://eu-mirror.artixlinux.org/omniverse/$arch
Server = https://omniverse.artixlinux.org/$arch
Cat Herders of Linux

Re: librewolf being censored by youtube?

Reply #6
OK so whatever it is it is specific to my machine and to artix.  i booted the live usb, updated it and installed librewolf and got the sit and spin.  next i booted windows and installed librewolf and it worked perfectly.  I know windows has a newer nvidia driver version than linux but i dont think that's it is it?  Just to be sure i'm gonna try a live usb from a diff version of linux...

as soon as i can find a distro that has librewolf in its repos...
Cat Herders of Linux

Re: (edited) LibreWolf GPU decoding issue on YT

Reply #7
Interesting the error message mentions VA-API, there was another thread about this recently -
https://forum.artixlinux.org/index.php/topic,5134.msg32821.html
Perhaps try installing / enabling some VA-API stuff, or conversely uninstalling and disabling it? Why would it be looking for that if it doesn't work with Nvidia / Firefox / Linux according Dudemanguy on that other thread? I am using nouveau incidentally.

 

Re: (edited) LibreWolf GPU decoding issue on YT

Reply #8
Interesting the error message mentions VA-API, there was another thread about this recently -
https://forum.artixlinux.org/index.php/topic,5134.msg32821.html
Perhaps try installing / enabling some VA-API stuff, or conversely uninstalling and disabling it? Why would it be looking for that if it doesn't work with Nvidia / Firefox / Linux according Dudemanguy on that other thread? I am using nouveau incidentally.
i am using the proprietary nvidia drivers.  I booted a live dvd of another os and install librewolf-bin and it ran fine.  It was also using nouveau also.  surely theres a way for this to work with nvidias drivers?
Cat Herders of Linux

Re: (edited) LibreWolf GPU decoding issue on YT

Reply #9
Yes I had to jump through some hoops to get hardware decoding working with nvidia, out of the box you wouldn't think librewolf would be using vaapi at all just straight to cpu and forget about it.

Then again the second group of error messages has much more to say about audio than it does video, maybe the vaapi error is a red herring?

Try reinstalling ffmpeg?  Maybe xvidcore?  I just did a quick 'pacman -Qs codec' to see what I have that might be relevant.


Interesting the error message mentions VA-API, there was another thread about this recently -
https://forum.artixlinux.org/index.php/topic,5134.msg32821.html
Perhaps try installing / enabling some VA-API stuff, or conversely uninstalling and disabling it? Why would it be looking for that if it doesn't work with Nvidia / Firefox / Linux according Dudemanguy on that other thread? I am using nouveau incidentally.
i am using the proprietary nvidia drivers.  I booted a live dvd of another os and install librewolf-bin and it ran fine.  It was also using nouveau also.  surely theres a way for this to work with nvidias drivers?


Yes it should work fine just without hardware video decoding (ie: vaapi).

Re: (edited) LibreWolf GPU decoding issue on YT

Reply #10
after resetting my bios to boot from intel graphics card and removing nvidia-dkms i h=now have this setup:
Code: [Select]
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Hewlett-Packard driver: i915
    v: kernel arch: Gen-9.5 bus-ID: 00:02.0
  Device-2: NVIDIA TU117 [GeForce GTX 1650] vendor: Gigabyte driver: N/A
    arch: Turing bus-ID: 01:00.0
  Display: x11 server: X.org v: 1.21.1.7 driver: X: loaded: intel
    unloaded: fbdev,modesetting,vesa dri: i965 gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 630 (KBL
    GT2) direct-render: Yes[/code}



and i stil get the sit and spin on youtube videos on my system from churches websites
Cat Herders of Linux

Re: (edited) LibreWolf GPU decoding issue on YT

Reply #11
added a bunch of gstreamer stuff and rebooted.  still not playing nice on youtube.

Code: [Select]

Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA vendor: Gigabyte driver: snd_hda_intel v: kernel
    bus-ID: 01:00.1
  Sound API: ALSA v: k6.2.5-lqx3-1-lqx running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: JACK v: 1.9.22 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.66 running: no



since i'm plugged back into my nvidia card after hdmi after trying and not succeeding on the intel  displayport  shouldn't nvidia's sound be the first one listed?  i have sound over hdmi so i assume that's working.  just wondering.


So i did boot another arch based distro from usb that was using nouveau driver and that linux distro plays youtube videos on librewolf browser just fine on my machine.
Cat Herders of Linux

Re: (edited) LibreWolf GPU decoding issue on YT

Reply #12
so since librewolf is fashioned from firefox, how do i make firefox as solid as librewolf?
Cat Herders of Linux

Re: (edited) LibreWolf GPU decoding issue on YT

Reply #13
Code: [Select]
Alright I installed ''nvida-vaapi-driver-git'' and added ''NVD_BACKEND=direct'' to .profile and I still get the same error.
i don't have a .profile in my home dir.  what is the proper syntax for it?  should i chmod +x it after creating it?
Cat Herders of Linux

Re: (edited) LibreWolf GPU decoding issue on YT

Reply #14
To start Librewolf, Firefox or other Mozilla derived browsers with a clean profile, a short script makes it easy to do repeated tests:
Code: [Select]
#! /usr/bin/bash

rm -rf "/tmp/tmpprofiledir"
mkdir "/tmp/tmpprofiledir"
librewolf -no-remote -profile "/tmp/tmpprofiledir"
Then
Code: [Select]
$ chmod a+x scriptname
$ ./scriptname

Or you can do that manually but it's less typing with a script.

For safe mode you start librewolf like this:
Code: [Select]
$ librewolf --safe-mode

The --help option will show you more possible arguments.

Even though it works here, I get some error messages myself, including the VAAPI one, so it might not be that causing the problem:
Code: [Select]
$ librewolf --safe-mode
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection. (t=0.737482) [GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.
ATTENTION: default value of option mesa_glthread overridden by environment.
[2023-03-12T13:37:20Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:37:20Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:37:20Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:37:20Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[Child 5624, MediaDecoderStateMachine #1] WARNING: 7f93ff1e7280 Could not set cubeb stream name.: file /build/librewolf/src/firefox-110.0/dom/media/AudioStream.cpp:321
[2023-03-12T13:37:31Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:37:31Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:37:31Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:37:31Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[Child 5624, MediaDecoderStateMachine #1] WARNING: 7f9616370b80 Could not set cubeb stream name.: file /build/librewolf/src/firefox-110.0/dom/media/AudioStream.cpp:321


$ ./librewolf-clean-profile-script
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection. (t=1.83675) [GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
[2023-03-12T13:30:07Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:30:07Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:30:07Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:30:07Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[Child 5020, MediaDecoderStateMachine #1] WARNING: 7f485327d700 Could not set cubeb stream name.: file /build/librewolf/src/firefox-110.0/dom/media/AudioStream.cpp:321
[2023-03-12T13:30:19Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:30:19Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:30:19Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T13:30:19Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[Child 5020, MediaDecoderStateMachine #1] WARNING: 7f48378deee0 Could not set cubeb stream name.: file /build/librewolf/src/firefox-110.0/dom/media/AudioStream.cpp:321