Local, and web media playback (Video & Audio) broken upon opening any browser or web-app

Nothing changed except an update to firefox, chromium, and brave-browser.
Everything functioned. Rebooted, and the problem began.
Regressed all three browsers (downgraded) and removed anything that may interfere (anything that may touch audio/video).

Playback works fine until any browser or browser based application is opened (such as discord, etc).
The most I could get for logs was by running Chromium via a terminal, getting vaapi_wrapper errors.
Vaapi should not be in use as far as I understand it, being an intel specific api.

This is a Ryzen/nNvidia based system.
This has mattered a lot in choice of video api being used in the past, but never had any issues like this - only ever had to select the optimal one for the specific non-standard use-case, but never saw a default that wasn’t compatible.

My best guess is webkit is messing with the video api being used by ffmpeg.
I do believe ffmpeg is what they are all relying on to do actual decode/encode, and is the one common link I can find between the browser based and local playback of media files.

Sadly, it is quite a big issue as it means video conferencing, and any sort of communications beyond text is a no-go.

Any assistance would be appreciated. I’ve searched for similar issues and come up dry so far.

Edit:
Running nVidia driver 5010.73.05
Kernel 5.17.0-1

No special configurations. Largely an out of the box install, with just a few GUI tweaks, but low-level stuff is standard.

FYI, I’m a long time participant in these forums, but for whatever reason since I was last here my account was deleted or detached from my email. It says first post, but it is not.

Probably on the archived forum. This forum was fresh/new back in August 2020 and nothing was imported from the old one, so it is your first post here.

At least 5.17.9-1 should be on stable branch if you fully updated the system and rebooted.
Please follow [HowTo] Provide System Information and share that information here.

Correct. 5.17.9-1
Either I misread, or uname was misreporting due to reinstalling the nvidia drivers (I’m at a loss, so I’m just throwing random ideas at it now)

System:
  Kernel: 5.17.9-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.17-x86_64
    root=UUID=97919b61-1d96-4797-a80f-43d0ba6ac790 rw quiet
    cryptdevice=UUID=70cd1973-bc7b-4675-bc6c-0567743d909e:luks-70cd1973-bc7b-4675-bc6c-0567743d909e
    root=/dev/mapper/luks-70cd1973-bc7b-4675-bc6c-0567743d909e apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: tint2 wm: xfwm v: 4.16.1
    vt: 7 dm: LightDM v: 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: CROSSHAIR VI HERO v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 7901
    date: 07/31/2020
Battery:
  Device-1: hidpp_battery_0 model: Logitech G604 Wireless Gaming Mouse
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  RAM: total: 15.61 GiB used: 2.67 GiB (17.1%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x71 (113)
    stepping: 0 microcode: 0x8701021
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 2x16 MiB
  Speed (MHz): avg: 2527 high: 4247 min/max: 2200/4602 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2195 2: 2114
    3: 2924 4: 2179 5: 2143 6: 2194 7: 4247 8: 2163 9: 3592 10: 2193 11: 2196
    12: 2195 bogomips: 91056
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme smep ssbd sse
    sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce
    topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme
    vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Retpolines, IBPB: conditional, STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070 Ti] vendor: ASUSTeK driver: nvidia
    v: 510.73.05 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-06) arch: Pascal process: TSMC 16nm
    built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 0b:00.0
    chip-ID: 10de:1b82 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.3 compositor: xfwm v: 4.16.1 driver: X:
    loaded: nvidia gpu: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3640x2490 s-dpi: 96 s-size: 963x659mm (37.91x25.94")
    s-diag: 1167mm (45.94")
  Monitor-1: DP-0 pos: primary,middle-l res: 2560x1440 hz: 144 dpi: 93
    size: 698x393mm (27.48x15.47") diag: 801mm (31.54") modes: N/A
  Monitor-2: DP-3 pos: top-right res: 1680x1050 hz: 60 dpi: 99
    size: 430x270mm (16.93x10.63") diag: 508mm (19.99") modes: N/A
  Monitor-3: HDMI-1 pos: bottom-c res: 1080x1920 hz: 60 dpi: 102
    size: 268x477mm (10.55x18.78") diag: 547mm (21.54") modes: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: NVIDIA GP104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel bus-ID: 1-10:6 v: kernel chip-ID: 0c76:161e pcie:
    gen: 3 class-ID: 0300 speed: 8 GT/s lanes: 16 bus-ID: 0b:00.1
    chip-ID: 10de:10f0 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0d:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: JMTek LLC. USB PnP Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound Server-1: ALSA v: k5.17.9-1-MANJARO running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.21 running: no
  Sound Server-4: PulseAudio v: 15.0 running: yes
  Sound Server-5: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 06:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp6s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-2:2
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-70cd1973-bc7b-4675-bc6c-0567743d909e maj-min: 254:0
    type: LUKS dm: dm-0 size: 931.21 GiB
  Components:
  p-1: nvme0n1p2 maj-min: 259:2 size: 931.22 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 7.96 TiB used: 958.5 GiB (11.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 2B2QEXE7 temp: 31.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 931.21 GiB size: 915.52 GiB (98.32%)
    used: 640.04 GiB (69.9%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: ----------------- label: N/A
    uuid: 97919b61-1d96-4797-a80f-43d0ba6ac790
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 440 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: 0188-D33F
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Unmounted:
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 14 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
    class-ID: e001
  Device-3: 1-6:9 info: Corsair RM850i Power Supply type: HID
    driver: corsair-psu,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 1b1c:1c0c class-ID: 0300
  Device-4: 1-9:5 info: Logitech Cordless Mouse Receiver
    type: Keyboard,Mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s power: 98mA chip-ID: 046d:c539 class-ID: 0300
  Device-5: 1-10:6 info: JMTek LLC. USB PnP Audio Device type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1
    speed: 12 Mb/s power: 100mA chip-ID: 0c76:161e class-ID: 0300
  Device-6: 1-13:7 info: Microdia Backlit Gaming Keyboard
    type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 400mA chip-ID: 0c45:652f class-ID: 0301
  Hub-2: 2-0:1 info: Super-speed hub ports: 8 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-6: 5-1:2 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Hub-7: 6-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 50.0 C mobo: 29.0 C gpu: nvidia temp: 49 C
  Fan Speeds (RPM): cpu: 1454 case-1: 0 case-2: 986 case-3: 0 gpu: nvidia
    fan: 0%
  Power: 12v: 11.64 5v: N/A 3.3v: N/A vbat: 3.01
Info:
  Processes: 335 Uptime: 1h 57m wakeups: 7 Init: systemd v: 250
  default: graphical tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1
  Packages: 1608 pacman: 1603 lib: 436 flatpak: 5 Shell: Bash v: 5.1.16
  running-in: terminator inxi: 3.3.17

The drivers for Nvidia GPU seems to be correctly installed and loaded.

This is something i try to avoid, even tho in some cases is not an issue, but in one particular case it actually created some issues on my end. So, If you prefer to use pulseaudio, install manjaro-pulse. If you prefer to use pipewire, install manjaro-pipewire.
Is ffmpeg4.4 package installed on your system?
Could you share /etc/X11/mhwd.d/nvidia.conf ?

Videos stuck on first frame and no sound were problems after that switch from pipewire-media-session to wireplumber, afaik.

As @bogdancovaciu suggests, try swtching between the two.

I can’t dump the results of nvidia.conf in here atm but I didn’t see anything alarming. I’ll aim to do that soon. Have to type this up on a separate machine.

ffmpeg and ffmpeg4.4 are both installed. I checked an older install (unbootable but searchable) and found both so I took that as an indicator both should be there for compatibility (as well as their listed applications that depend on them indicating the same).
As an entirely separate bit of curiosity, was I correct in that conclusion?

I always dislike messing with pulse/pipewire etc - I tend to cause myself more trouble than not with how much things are changing. I’m far from current on where the development is at, but previously I ran pipewire and was on good terms with it in its state at the time, so I am going to try that switch now.

zbe: sorry for not properly quoting, this machine wants is fighting me so I’m doing the bare minimum to avoid it wiping my responses again. The problem you mentioned sounds nearly identical. It says its “playing” and stuck on that frame, no sound, and it does not progress past that frame. It is a strange sight I have trouble articulating. The progress bar/time does not change, but it does open the file and want to play, it just doesn’t.

1 Like

mention of wireplumber sparked something in my head and I checked, and I had it installed, and that seemed incorrect to me for some reason. I think I installed something at some point that required it and removed that thing previously - so I removed wireplumber and so far things seem to be back to normal.
I do have things configured to remove deps that are no longer required but this was hanging on.

Not sure why it would suddenly cause issues but I’m thinking I need to do some reading on it because I am not familiar with wireplumber. I think I was out of the loop a bit too long.

So far in my testing, everything seems to work right.

I greatly appreciate the help from both of you, @zbe and @bogdancovaciu

Thank you for putting up with my rusty forum protocol and clumsy approach to conveying the problem and current state of things.

I’m still clueless as to why the problem occurred so much latter than the presumed cause (wireplumber), making this one confusing issue to chase down for me.

Like I said already, I’m going to have to do some reading to develop some understanding of what has changed in the area of pulse, pipewire, alsa, etc.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.