State of hardware-accelerated video playback in 20.04

Hi!

Guess this is a question for @vanvugt: what’s the state of hardware-accelerated video playback in 20.04?

The topic regarding 18.04 was closed long ago Call for testing: Video playback in 18.04 and the Wiki IntelQuickSyncVideo - Ubuntu Wiki was last updated on 2018-08-28.

I’ve also read this on the “What’s New” post https://ubuntu.com/blog/whats-new-in-ubuntu-desktop-20-04-lts by @Wimpress:

For live streamers and video creators, you’ll find that FFmpeg supports nvenc and VA-API. These are features found in GPUs that perform decoding, encoding or filtering to offload these compute-intensive tasks from the CPU.

But I’m not sure it’s related…

1 Like

I haven’t audited it as recently as I would like to. I am only aware of a mesa bug that breaks mpv and totem in Wayland sessions. But even that bug is good news because it’s caused by the presence of 10-bit colour support in 20.04, finally :slight_smile:

1 Like

vaapi with the iHD driver (intel-media-va-driver-non-free) seems to work very well here, even with the snap version of vlc …

a really annoying bit is that fractional scaling messes up switching to/from fullscreen, running my 4k 13" laptop screen with 150% makes fullscreening any app loop over various resolutions until if finds one that it feels suiting:

https://paste.ubuntu.com/p/VnRGRgcxJx/

but that “flashy experience” is indeed not related to/caused by acceleration :wink:

That sounds like https://bugs.launchpad.net/bugs/1871849

1 Like

awesome … i me-tooed it :slight_smile: