Artix Linux Forum

General Category => Off-Topic => Topic started by: cat herders of linux on 11 March 2023, 17:02:14

Title: (edited) LibreWolf GPU decoding issue on YT
Post by: cat herders of linux on 11 March 2023, 17:02:14
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
Title: Re: librewolf being censored by youtube?
Post by: cat herders of linux on 11 March 2023, 17:17:40
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
Title: Re: librewolf being censored by youtube?
Post by: cat herders of linux on 11 March 2023, 17:23:51
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.
Title: Re: librewolf being censored by youtube?
Post by: ####### on 11 March 2023, 17:57:55
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!
Title: Re: librewolf being censored by youtube?
Post by: cat herders of linux on 11 March 2023, 18:16:39
this is nuts nothing makes a difference.  it just does the sit and spin
Title: Re: librewolf being censored by youtube?
Post by: cat herders of linux on 11 March 2023, 18:56:08
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
Title: Re: librewolf being censored by youtube?
Post by: cat herders of linux on 11 March 2023, 19:23:21
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...
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: ####### on 11 March 2023, 22:50:38
Interesting the error message mentions VA-API, there was another thread about this recently -
https://forum.artixlinux.org/index.php/topic,5134.msg32821.html (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.
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: cat herders of linux on 11 March 2023, 23:08:12
Interesting the error message mentions VA-API, there was another thread about this recently -
https://forum.artixlinux.org/index.php/topic,5134.msg32821.html (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?
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: Wolzly on 11 March 2023, 23:09:34
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 (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).
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: cat herders of linux on 11 March 2023, 23:53:06
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
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: cat herders of linux on 12 March 2023, 08:11:08
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.
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: cat herders of linux on 12 March 2023, 08:54:35
so since librewolf is fashioned from firefox, how do i make firefox as solid as librewolf?
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: cat herders of linux on 12 March 2023, 09:12:03
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?
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: ####### on 12 March 2023, 14:43:33
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
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: cat herders of linux on 12 March 2023, 19:41:20
So i did the profile cleaner which also launches librewolf and tried to play that video feed and it sits and spins.
then i ran safemode and tried to watch the videos again from village sda and got the sit and spin as before.
terminal outpu is as follows:
Code: [Select]
librewolf --safe-mode
[2023-03-12T18:36:28Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T18:36:28Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T18:36:28Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-03-12T18:36:28Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[Child 14643, MediaDecoderStateMachine #1] WARNING: Decoder=7f2f8e88dd00 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 14643, MediaDecoderStateMachine #1] WARNING: Decoder=7f2f864fca00 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 14643, MediaDecoderStateMachine #1] WARNING: Decoder=7f2f8e859a00 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 14643, MediaDecoderStateMachine #1] WARNING: Decoder=7f2f84e9e500 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 14643, MediaDecoderStateMachine #1] WARNING: Decoder=7f2f83ac5100 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 14643, MediaDecoderStateMachine #1] WARNING: Decoder=7f2f830b0b00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 14643, MediaDecoderStateMachine #1] WARNING: Decoder=7f2f7d08e100 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file /build/librewolf/src/firefox-110.0/dom/media/MediaDecoderStateMachineBase.cpp:164

clearly a decoder is missing.  is this supposed to be built into the browser or installed on the system?  i'm believing it's os that needs the decoder installed but which decoder o i install?  there's a missing mp4a driver it seeems to me but what to do about that?

given that librewolf plays these videos on another arch based linux distro and on windows i assume i need to install something on artix.  whatever that is i dunno.
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: cat herders of linux on 12 March 2023, 19:47:31
clearly i am dumb.  i installed vlc and now librewolf works again?  it worked b4 without vlc installed.  i'm not running vlc but librewolf.  dummy me?
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: cat herders of linux on 12 March 2023, 19:53:39
uninstalled vlc then rebooted.  it still works
Title: Re: (edited) LibreWolf GPU decoding issue on YT
Post by: Wolzly on 12 March 2023, 22:28:38
Sounds like a codec issue.