Live data from Hacker News

Firefox 153 available with support for Vulkan video decoding, JPEG-XL

phoronix.com

41–50 of 80 posts

Re: Firefox 153 available with support for Vulkan video decoding, JPEG-XL

#41

Cool, have been using vulkan video decoding via mpv for a while now and it seems fine with little or no performance hits. Glad it's made its way here as getting hardware decoding to actually work in ff has felt like a house of cards (more options are welcome). Does something need to be done to enable/switch to it?

Yes, while the Chrome/Chromium hardware decoding, or any other uses of the GPU, like WebGL, was always impeccable on Linux, with Firefox that was always an adventure, much more often not working than working (at least with an NVIDIA GPU). So I also hope that Vulkan decoding might solve this behavior of Firefox on Linux.

Nvidia drivers on Linux are not really display quality. The effort goes towards CUDA for headless rigs. They work great for AI and that's it. Pair them with an AMD and Intel card for display, graphics and video acceleration. Otherwise you end up with too many cases of booting into a black screen, random software breaking, games not working, bad performance and just jank in general.

Re: Firefox 153 available with support for Vulkan video decoding, JPEG-XL

#42

Earlier quoted context omitted.

Yes, while the Chrome/Chromium hardware decoding, or any other uses of the GPU, like WebGL, was always impeccable on Linux, with Firefox that was always an adventure, much more often not working than working (at least with an NVIDIA GPU). So I also hope that Vulkan decoding might solve this behavior of Firefox on Linux.

Nvidia drivers on Linux are not really display quality. The effort goes towards CUDA for headless rigs. They work great for AI and that's it. Pair them with an AMD and Intel card for display, graphics and video acceleration. Otherwise you end up with too many cases of booting into a black screen, random software breaking, games not working, bad performance and just jank in general.

> booting into a black screen, random software breaking, games not working, bad performance and just jank in general.

That has not been my experience at all, using either the old closed source drivers or the newer "open" drivers. (Note: I am referring to the open source Nvidia kernel drivers, not Nouveau.)

Re: Firefox 153 available with support for Vulkan video decoding, JPEG-XL

#43
post #21

Cool, have been using vulkan video decoding via mpv for a while now and it seems fine with little or no performance hits. Glad it's made its way here as getting hardware decoding to actually work in ff has felt like a house of cards (more options are welcome). Does something need to be done to enable/switch to it?

The primary advantage of dedicated hardware accelerators for the past ~15 years been power efficiency, rather than performance. Not much of a problem on a desktop, but very noticeable on mobile devices.

8K decoding needs HW acceleration, unless having 8-16 cores with AVX-512.

Re: Firefox 153 available with support for Vulkan video decoding, JPEG-XL

#44
post #43
post #21

Earlier quoted context omitted.

The primary advantage of dedicated hardware accelerators for the past ~15 years been power efficiency, rather than performance. Not much of a problem on a desktop, but very noticeable on mobile devices.

8K decoding needs HW acceleration, unless having 8-16 cores with AVX-512.

Yes, but that's way out of budget for most consumers.

Re: Firefox 153 available with support for Vulkan video decoding, JPEG-XL

#45
post #6

Interesting - will see if I can toy with it. Word of caution though. I’ve found that on my machine (Linux/nvidia) unaccelerated video is way more power efficient. The second video is playing it kept the GPU in a high power state and that uses incrementally more power than the cpu doing software decoding I had always assumed gpu would obviously be more efficient until I measured it

All modern CPUs come with an iGPU, so it's unlikely to be software decoding. Just iGPU driver's decoder being more efficient than dGPU one.

Not all, most desktop have two options with or without igpu.

Re: Firefox 153 available with support for Vulkan video decoding, JPEG-XL

#46
post #26

Earlier quoted context omitted.

Yes.

Well, supposedly. But in my experience, there was no consequence disabling the blacklist in order to enable hardware video encoding and decoding.

And in my experience, there was.

One person's lived experience is another person's “supposedly”.

Re: Firefox 153 available with support for Vulkan video decoding, JPEG-XL

#47
post #4

Earlier quoted context omitted.

https://www.phoronix.com/news/Firefox-153-Downloads

That's not the final release, that's an RC and tech blogs should stop reporting this as final. There were instances in the past where the RC had critical bugs.

An RC justifies the "merges" title (compare "releases")

Re: Firefox 153 available with support for Vulkan video decoding, JPEG-XL

#48
post #21

Cool, have been using vulkan video decoding via mpv for a while now and it seems fine with little or no performance hits. Glad it's made its way here as getting hardware decoding to actually work in ff has felt like a house of cards (more options are welcome). Does something need to be done to enable/switch to it?

The primary advantage of dedicated hardware accelerators for the past ~15 years been power efficiency, rather than performance. Not much of a problem on a desktop, but very noticeable on mobile devices.

I could also imagine the decoded output being pluggable into Vulkan-based filters (mpv uses https://code.videolan.org/videolan/libplacebo) without slow device->host copying.

Re: Firefox 153 available with support for Vulkan video decoding, JPEG-XL

#49
post #47

Earlier quoted context omitted.

That's not the final release, that's an RC and tech blogs should stop reporting this as final. There were instances in the past where the RC had critical bugs.

An RC justifies the "merges" title (compare "releases")

Yeah but not the Phoronix one ("Firefox 153 Available", "Mozilla has uploaded the Firefox 153.0 release binaries today"). Shame because Phoronix was kinda good in the past.

Re: Firefox 153 available with support for Vulkan video decoding, JPEG-XL

#50
post #44
post #43

Earlier quoted context omitted.

8K decoding needs HW acceleration, unless having 8-16 cores with AVX-512.

Yes, but that's way out of budget for most consumers.

Actually not really, Lunar Lake chips with Xe2 graphics have VVC decoding in hardware which can do 8K.

https://en.wikipedia.org/wiki/Versatile_Video_Coding

Post reply on HN