Hacker News new | past | comments | ask | show | jobs | submit login

Have no problem using just this flag --enable-features=VaapiVideoDecodeLinuxGL on a laptop with HD Graphics 500. And I even think that flag is passed by default now.

Key thing is to make sure you are playing back supported codecs when checking for hw decode. E.g YouTube randomly forces av1 on clients and some older hardware don't support hw decode for it.

Also some distros like Fedora and OpenSUSE ship with partial codec support in their installation media.

An easy way to make sure you have all the right drivers in place is to test this in one of the Chromium flatpaks.

Though I have to state hardware video playback is not yet officially supported and it has broken a lot over the past due to this fact and the quality of the different GPU drivers in question here. The Chromium devs don't explicitly block vaapi on Intel hardware.




I always had all the codecs and Vaapi on Firefox worked fine, but could specifically never get Youtube on Chromium to use GPU decoding, that was the main problem you're reminding me.

In this past year, I've since moved to Windows after like 7 years of constantly messing and tweaking Linux to kinda sorta almost for some stretch of time get all the things to work after spending hours looking for the right configuration. Look at how long this thread is, for example[0]. Or here most saying it still doesn't work[1] and the flags constantly change. Before Linux I was about 6 yrs on Mac. I hadn't used Windows for so long, it actually felt weird to have so much hardware and software support for anything I ever need to use.

I'll take your word for it that Chromium sometimes uses hardware decoding now. But as you say, and they should put that slogan on a T-shirt: "Linux on Desktop: not officially supported and it has broken a lot over the past due to lack of support and quality of driver". I wouldn't really characterize that as "have no problem using". It feels nice to have a system that just works without all that hassle and tweaking so I can just get actual work done, or watch Youtube efficiently without brittle configuration, no window manager bugs etc.

[0] https://bbs.archlinux.org/viewtopic.php?id=244031&p=40

[1] https://www.reddit.com/r/linux/comments/1ey4n2k/heres_how_to...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: