RPI4 Chromium and video acceleration

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

RPI4 Chromium and video acceleration

Postby MatheCheck » Sat Sep 16, 2023 3:46 pm

I got my Raspberry Pi 4 model B 8GB on monday and installed Arch Linux Arm aarch64. I followed the installation guide with the minor tweak of running rpi-update on the SD card, otherwise the pi would return mmc1 -110 error on boot. Now it works like a charm, 3D acceleration and Vulkan included but I'm really struggling to enable hardware video decode on Chromium: no matter what combination of configuration options and flags + enahancedH264ify I use on chromium, it always uses software decoding (FfmpegVideoDecoder, VpxVideoDecoder). I thought it just wasn't supported for aarch64 but last news is older than a year. Am I missing something?
MatheCheck
 
Posts: 2
Joined: Fri Sep 15, 2023 5:46 pm

Re: RPI4 Chromium and video acceleration

Postby graysky » Sat Sep 16, 2023 5:46 pm

Not sure about chromium but vlc and kodi on RPi4 use hw acceleration for video but a requirement is the linux-rpi kernel (RPi Foundation fork) not vanilla kernel.
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RPI4 Chromium and video acceleration

Postby MatheCheck » Sat Sep 16, 2023 8:17 pm

You are a hero. There's something odd with my installation of chromium but after following [url=https://archlinuxarm.org/forum/viewtopic.php?f=65&t=15128]Fresh Raspberry Pi 4B Install with linux-raspberrypi4 Kernel[/url] (linux-raspberrypi4 has become linux-rpi) my chromium settings pactically removed the huge amount of lag lag when cloud gaming, left no cpu usage spiking up and youtube 1080p is really smooth. Thanks!
MatheCheck
 
Posts: 2
Joined: Fri Sep 15, 2023 5:46 pm

Re: RPI4 Chromium and video acceleration

Postby graysky » Sat Sep 16, 2023 9:58 pm

Glad you're happy with the distro. Enjoy.
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 35 guests