Hardware video acceleration in Chromium on Manjaro
#1
Lightbulb 
Earlier today, when i was bored, I turned on "Hardware-accelerated video decode" and "GPU rasterization" in Chromium browser ( chrome://flags ). To my surprise, it actually worked well, bringing CPU load to 80% when playing plain H.264, compared to 160% before.

I am currently Manjaro 21.05 with GNOME 40 on my Pinebook Pro.

I wonder if it works "just for me", so you guys might give it a try.
  Reply
#2
The relative change in performance seems quite good, on the other hand 80% of a single core to play a video does not really sound like fully working acceleration.

Did you check which of these two options caused the improvement? What test or website did you use?
  Reply
#3
Is it really hardware accelerated?

Open the devtools with F12 and open the `media` tab. (it's in the hamburger menu under "More Tools" if you've never opened it before)
It will tell you if it's hardware accel'd. For me it shows FFmpegVideoDecoder, which is software. I think MojoVideoDecoder would be hardware.
  Reply
#4
(05-31-2021, 07:14 AM)maxjrh Wrote: Is it really hardware accelerated?

I'm a little embarrassed, but you are right. I am seeing "FFmpegVideoDecoder" as well. Turning HW acceleration off and on running with different test videos and formats actually show no effect in CPU usage.
What I observed with my first test was a mere coincidence and I got all exited over it and posted prematurely ;-)
And also Chromium would happily lie about HW Video acceleration in chrome://gpu

"Boosted" my PBP with a load of Placebo.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Inexpected reboot during watching youtube video regivanx 1 239 10-19-2024, 06:02 AM
Last Post: KC9UDX
  (xorg) Video driver? falken 2 568 07-03-2024, 12:01 PM
Last Post: falken
  Manjaro Sway Theme Broken Eighty8 1 777 03-08-2024, 08:41 AM
Last Post: tophneal
Question Manjaro with Full Disk Encryption and GRUB dumetrulo 1 2,284 02-02-2024, 02:45 AM
Last Post: frankkinney
  Manjaro network problem late 2023 acruhl 1 805 01-19-2024, 11:32 PM
Last Post: Kevin Kofler
  Streaming video sites tessa 1 1,463 01-19-2024, 03:47 AM
Last Post: similarwham
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,163 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,428 12-11-2023, 03:47 AM
Last Post: calinb
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 853 12-07-2023, 03:11 PM
Last Post: wdt
  No Video Out on PBP on all major distros misha64 9 4,151 11-28-2023, 01:41 PM
Last Post: zaius

Forum Jump:


Users browsing this thread: 1 Guest(s)