I followed all the steps over at arch wiki entry for firefox#Hardware_video_acceleration but I still can’t get it to work.
From looking at the firefox logs this seems the most relevant
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Initialising VA-API FFmpeg decoder
[Child 8715: MediaPDecoder #2]: D/PlatformDecoderModule AudioTrimmer[0x7ff038cb6fc0] ::HandleDecodedResult: sample[0,21000] (decoded[0,13500] no trimming needed
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Failed to create VA-API device context
This is the full firefox log from having set:
MOZ_LOG="PlatformDecoderModule:5"
Can't find symbol 'eglGetNativeClientBufferANDROID'.
Can't find symbol 'eglQuerySurfacePointerANGLE'.
Can't find symbol 'eglCreateStreamProducerD3DTextureANGLE'.
Can't find symbol 'eglStreamPostD3DTextureANGLE'.
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder supports requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder supports requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder supports requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder supports requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder supports requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder supports requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: Main Thread]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: MediaController #1]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: MediaController #1]: D/PlatformDecoderModule Sandbox decoder supports requested type
[Child 8715: MediaController #1]: D/PlatformDecoderModule Sandbox decoder supports requested type
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule AudioTrimmer[0x7ff038cb6fc0] ::Decode: sample[0,21000] no trimming information
[RDD 8853: MediaPDecoder #1]: D/PlatformDecoderModule OpusDataDecoder[0x7f5380766200] ::Decode: Opus decoder skipping 312 of 960 frames
[Child 8715: MediaController #2]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Initialising VA-API FFmpeg decoder
[Child 8715: MediaPDecoder #2]: D/PlatformDecoderModule AudioTrimmer[0x7ff038cb6fc0] ::HandleDecodedResult: sample[0,21000] (decoded[0,13500] no trimming needed
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Failed to create VA-API device context
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Initialising FFmpeg decoder.
[h264 @ 0x7ff038e66800] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7ff038e66800] nal_unit_type: 8(PPS), nal_ref_idc: 3
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule FFmpeg init successful.
[h264 @ 0x7ff038e66800] nal_unit_type: 5(IDR), nal_ref_idc: 1
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Choosing FFmpeg pixel format for video decoding.
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Requesting pixel format YUV420P.
[h264 @ 0x7ff038e66800] Format yuv420p chosen by get_format().
[h264 @ 0x7ff038e66800] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x7ff038e66800] no picture
[h264 @ 0x7ff038e67000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[h264 @ 0x7ff038e69800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x7ff038e6b000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x7ff038e66800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule DMABUF/VA-API Got one frame output with pts=0dts=0 duration=16666 opaque=-9223372036854775808
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Got one frame output with pts=0 dts=0 duration=16666 opaque=-9223372036854775808
[Child 8715: MediaController #2]: D/PlatformDecoderModule Sandbox decoder rejects requested type
[Child 8715: MediaPDecoder #2]: D/PlatformDecoderModule Initialising VA-API FFmpeg decoder
[Child 8715: MediaController #2]: D/PlatformDecoderModule Sandbox decoder supports requested type
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[Child 8715: MediaPDecoder #2]: D/PlatformDecoderModule Failed to create VA-API device context
[Child 8715: MediaPDecoder #2]: D/PlatformDecoderModule Initialising FFmpeg decoder.
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule AudioTrimmer[0x7ff038d660c0] ::Decode: sample[0,21000] no trimming information
[h264 @ 0x7ff037675800] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7ff037675800] nal_unit_type: 8(PPS), nal_ref_idc: 3
[RDD 8853: MediaPDecoder #1]: D/PlatformDecoderModule OpusDataDecoder[0x7f5380766dd0] ::Decode: Opus decoder skipping 312 of 960 frames
[Child 8715: MediaPDecoder #2]: D/PlatformDecoderModule FFmpeg init successful.
[Child 8715: MediaPDecoder #2]: D/PlatformDecoderModule AudioTrimmer[0x7ff038d660c0] ::HandleDecodedResult: sample[0,21000] (decoded[0,13500] no trimming needed
[h264 @ 0x7ff037675800] nal_unit_type: 5(IDR), nal_ref_idc: 1
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Choosing FFmpeg pixel format for video decoding.
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Requesting pixel format YUV420P.
[h264 @ 0x7ff037675800] Format yuv420p chosen by get_format().
[h264 @ 0x7ff037675800] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0x7ff037675800] no picture
[h264 @ 0x7ff037676000] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
[h264 @ 0x7ff037676800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x7ff037677800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x7ff037675800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule DMABUF/VA-API Got one frame output with pts=0dts=0 duration=16666 opaque=-9223372036854775808
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule Got one frame output with pts=0 dts=0 duration=16666 opaque=-9223372036854775808
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule AudioTrimmer[0x7ff038d660c0] ::Decode: sample[21000,41000] no trimming information
[Child 8715: MediaPDecoder #1]: D/PlatformDecoderModule AudioTrimmer[0x7ff038d660c0] ::HandleDecodedResult: sample[21000,41000] (decoded[14500,34500] no trimming needed
[Child 8715: MediaPDecoder #3]: D/PlatformDecoderModule AudioTrimmer[0x7ff038d660c0] ::Decode: sample[41000,61000] no trimming information
[Child 8715: MediaPDecoder #2]: D/PlatformDecoderModule AudioTrimmer[0x7ff038d660c0] ::HandleDecodedResult: sample[41000,61000]
Here is my system information
System:
Kernel: 5.8.11-1-MANJARO x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64
root=UUID=acba3298-1a44-4be0-a80a-70fe66871e50 rw quiet
cryptdevice=UUID=3aa8acd6-248d-4eaf-bd53-68e107be9820:luks-3aa8acd6-248d-4eaf-bd53-68e107be9820
root=/dev/mapper/luks-3aa8acd6-248d-4eaf-bd53-68e107be9820 apparmor=1
security=apparmor udev.log_priority=3
Desktop: GNOME 3.36.6 tk: GTK 3.24.23 wm: gnome-shell dm: GDM 3.36.3
Distro: Manjaro Linux
Machine:
Type: Laptop System: Dell product: Vostro 5581 v: N/A serial: <filter>
Chassis: type: 10 serial: <filter>
Mobo: Dell model: 03H24J v: A00 serial: <filter> UEFI: Dell v: 2.2.0
date: 03/24/2019
Battery:
ID-1: BAT0 charge: 34.6 Wh condition: 34.6/42.0 Wh (82%) volts: 12.7/11.4
model: BYD DELL 1VX1H93 type: Li-poly serial: <filter> status: Full
Memory:
RAM: total: 15.33 GiB used: 2.25 GiB (14.7%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Topology: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP
arch: Kaby Lake family: 6 model-id: 8E (142) stepping: B (11) microcode: D6
L2 cache: 6144 KiB bogomips: 28808
Speed: 700 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 700 2: 700 3: 701
4: 700 5: 700 6: 700 7: 700 8: 700
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities
arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc
cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms
est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window
hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm
mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat
pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand
rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2
ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme
vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:3ea0
Device-2: NVIDIA GM108M [GeForce MX130] vendor: Dell driver: nvidia
v: 450.66 alternate: nouveau,nvidia_drm bus ID: 02:00.0 chip ID: 10de:174d
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus ID: 1-6:4 chip ID: 0c45:671f
Display: x11 server: X.org 1.20.9 compositor: gnome-shell
driver: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa
resolution: <xdpyinfo missing>
OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 20.1.8
direct render: Yes
Audio:
Device-1: Intel Cannon Point-LP High Definition Audio vendor: Dell
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci
bus ID: 00:1f.3 chip ID: 8086:9dc8
Sound Server: ALSA v: k5.8.11-1-MANJARO
Network:
Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel
port: 5000 bus ID: 00:14.3 chip ID: 8086:9df0
IF: wlo1 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Dell driver: r8169 v: kernel port: 3000 bus ID: 03:00.0
chip ID: 10ec:8168
IF: enp3s0 state: down mac: <filter>
IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
IP v4: <filter> scope: global
IP v6: <filter> virtual: stable-privacy scope: link
IF-ID-2: virbr0 state: down mac: <filter>
IP v4: <filter> scope: global broadcast: <filter>
IF-ID-3: virbr0-nic state: down mac: <filter>
WAN IP: <filter>
Drives:
Local Storage: total: 1.38 TiB used: 777.22 GiB (55.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-75Z10T2
size: 931.51 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
rotation: 5400 rpm serial: <filter> rev: 1A03 scheme: GPT
ID-2: /dev/sdb vendor: Eaget model: SSD S300L size: 476.94 GiB block size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 9A0
scheme: GPT
Message: No Optical or Floppy data was found.
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 port: 5060 bus ID: 00:17.0 chip ID: 8086.282a rev: 30
Partition:
ID-1: / raw size: 58.30 GiB size: 57.13 GiB (98.00%) used: 24.97 GiB (43.7%)
fs: ext4 dev: /dev/dm-0 label: N/A
uuid: acba3298-1a44-4be0-a80a-70fe66871e50
ID-2: /boot/efi raw size: 300.0 MiB size: 299.4 MiB (99.80%)
used: 492 KiB (0.2%) fs: vfat dev: /dev/sdb7 label: N/A uuid: DD95-4162
ID-3: /mnt/Games raw size: 443.23 GiB size: 443.23 GiB (100.00%)
used: 258.82 GiB (58.4%) fs: ntfs dev: /dev/sda2 label: Games
uuid: 94E2AA73E2AA596E
ID-4: /mnt/Media raw size: 488.28 GiB size: 488.28 GiB (100.00%)
used: 268.79 GiB (55.0%) fs: ntfs dev: /dev/sda1 label: Media
uuid: 10DA317ADA315D62
ID-5: /mnt/SSDntfs raw size: 116.63 GiB size: 116.63 GiB (100.00%)
used: 41.93 GiB (35.9%) fs: ntfs dev: /dev/sdb4 label: SSD
uuid: E89619119618E23C
ID-6: /mnt/Stuff raw size: 52.43 GiB size: 51.36 GiB (97.95%)
used: 32.84 GiB (64.0%) fs: ext4 dev: /dev/sdb8 label: Stuff
uuid: 6f56e15c-2904-4b07-8e9e-ad7e5542f4fd
ID-7: /mnt/Windows raw size: 248.73 GiB size: 248.73 GiB (100.00%)
used: 149.87 GiB (60.3%) fs: ntfs dev: /dev/sdb5 label: N/A
uuid: 662E68F42E68BEA5
Swap:
Alert: No Swap data was found.
Unmounted:
ID-1: /dev/sdb1 size: 450.0 MiB fs: ntfs label: Recovery
uuid: EC3C48443C480C50
ID-2: /dev/sdb2 size: 99.0 MiB fs: vfat label: N/A uuid: 3E55-6418
ID-3: /dev/sdb3 size: 16.0 MiB fs: <superuser/root required> label: N/A
uuid: N/A
ID-4: /dev/sdb6 size: 58.30 GiB fs: crypto_luks label: N/A
uuid: 3aa8acd6-248d-4eaf-bd53-68e107be9820
USB:
Device-1: 0-0:0 info: N/A type: N/A driver: N/A rev: N/A chip ID:
Hub: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 speed: 480 Mb/s
chip ID: 1d6b:0002
Device-1: 1-2:2 info: Holtek OBINS type: Keyboard,HID
driver: hid-generic,usbhid interfaces: 4 rev: 2.0 speed: 12 Mb/s
chip ID: 04d9:a293 serial: <filter>
Device-2: 1-3:3 info: SteelSeries ApS SteelSeries Rival 300 Gaming Mouse
type: HID,Mouse driver: hid-generic,usbhid interfaces: 3 rev: 1.1
speed: 12 Mb/s chip ID: 1038:1710
Device-3: 1-6:4 info: Microdia Integrated_Webcam_HD type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s chip ID: 0c45:671f
Device-4: 1-10:5 info: Intel Bluetooth 9460/9560 Jefferson Peak (JfP)
type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
chip ID: 8087:0aaa
Hub: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.1 speed: 10 Gb/s
chip ID: 1d6b:0003
Sensors:
System Temperatures: cpu: 49.0 C mobo: N/A
Fan Speeds (RPM): cpu: 3426
Info:
Processes: 336 Uptime: 12m Init: systemd v: 246 Compilers: gcc: 10.2.0
Packages: pacman: 1416 lib: 458 flatpak: 0 Shell: Zsh v: 5.8
running in: gnome-terminal inxi: 3.1.05