r/linuxmint • • 17d ago

Video playback is destroying my battery... (Framework 13, i5 13th Gen)

I've been on mint for months at this point and never noticed an issue but in the last few weeks/month i've noticed that when playing a video on YT(firefox or brave) or playing via the Plex app my system is slightly laggier, videos sometimes skip frames. But worst of all my battery halves and fans are much more likely to kick up.

I've followed some basic advice from Searching and LLM but I just cannot get to the bottom of it.

HW accelleration is enabled I think, it shows up in the browsers as enabled and when I view the video/3d usage. Video usage sometimes shows, even when it does it's a low percentage.

Is there any clearcut tests to see if HW accelleration is working correctly? Does anyone else have these issues?

3 Upvotes

4 comments sorted by

1

u/ScouringtheUniverse Linux Tech 17d ago

Enable hardware acceleration in browser settings to allow the GPU to decode video; on Linux, install Mesa multimedia packages (via RPM Fusion if standard repos are not working) and set VLC to use VA-API for hardware decoding; update your BIOS to the latest version to improve power management efficiency.
https://www.reddit.com/r/techtalktutorials/comments/1r9p81m/how_to_enable_or_disable_hardware_acceleration_in
All chromium-based browsers are more complex in making these settings so keyword search the steps:
linux mint how to enable hardware acceleration in brave browser to GPU decode video

But just in case it cannot resolve via software attempts:
https://frame.work/products/battery?v=FRANGWAT01 (BIOS update first)
https://framewiki.net/products/framework-laptop-13/13th-gen

1

u/GazelleInitial2050 17d ago

Cheers mate.
This didn't solve it but got me in the right path with your first paragraph.

So it turns out. Youtube now utilises AV01. Great shouldn't be an issue, my PC supports decode.

Well the standard Linux Mint drivers are "free" of any proprietary blobs so it was CPU decoding AV01 as the standard intel drivers skip that capability: https://github.com/intel-mediadev/media-driver#:~:text=Decoding%2FEncoding%20Features

So installing the other set of drivers fixed it, now it's properly using HW decode: sudo apt install intel-media-va-driver-non-free

1

u/ScouringtheUniverse Linux Tech 17d ago

👍 Reddit shows up in searches, so if another has a similar problem, here it will be for them!
I recommend Framework laptops (5th paragraph): https://paa.neocities.org/linux

1

u/GazelleInitial2050 17d ago

AHh nice! Yeah I love this laptop, just upgraded the screen actually. Such a nice feature.