https://www.phoronix.com/news/Firefox-Vulkan-Video-Merged
>>109002454I don't need no videos of volcanoes in my Firefox.
I hope this means I can play 4K videos in Firefox on Linux without making my CPU cry with despair.
>>109002454>153>next esricecat chads keep winning
>>109002454I'm glad Mozilla has their priorities straight amidst the various tech market crisis. Vulkan support and UI will help a bunch!
>>109002516Vividly improved video playback performance on Linux is a large benefit.
>>109002454I assume this is less efficient than the implementation on Windows and macOS which just hand off decoding to dedicated hardware on the GPU rather than using the general purpose GPU cores, right?
>>109002454That's great but this kind of thing is a good reminder that the "year of the linux desktop" people need to take a step back and understand how unserious they sound sometimes.On Windows and Mac, hardware video decode has been taken for granted for what, 15 years? 20? It's just assumed that it'll work perfectly regardless of which player you're using or which browser you choose or which GPU vendor you're using."Linux will now support hardware video decode under a few more scenarios" sounds like saying "Linux now supports more keyboards". You would just assume that every keyboard has always worked perfectly.>>109002674Actually no. If I understand correctly, this does use the dedicated hardware. "Vulkan Video" is a new API which exposes hardware decoders to Vulkan programs.
>>109002674Depends on the drivers really, but Vulkan decode isn't inherently less efficient.
>>109002500>icecatI'm not using Icecat, but any esr chads are winning by default.
when are we going to be able to stream in browsers the way we can with chrome like with vnc?
>>109002454What does this mean for me?
>>109002783TigerVNC and KasmVNC don't work on firefox for shit.
>>109002713>Actually no. If I understand correctly, this does use the dedicated hardware. "Vulkan Video" is a new API which exposes hardware decoders to Vulkan programs.Oh, nice. So the graphic card vendors have finally done the impossible and agreed on a standard. It only took like 20 years.
>>109002790If you use Firefox on Linux and you have problems streaming high quality video, it may start working properly soon.
>>109002713So this is like VAAPI or VDPAU, but vulkan? alrighty then.
>>109002454For The Emperor!
>>109002783>>109002795what does vnc have to do with streaming video?
>>109002500>>109002725is there a single project that behaves like Librewolf but for FireFox ESR? IceCat barely changes shit aside from Stallman autism
why firefox doesn't just pass the video to ffmpeg instead of doing all this bullshit stuff? we should be able to play wmv or amv video from the browser but no they don't want because "muh standard types". mozilla failed the people.
>>109003668Because like all other surveillance capitalism browsers, they're in bed with spyware and marketing syndicates that wouldn't be able to track you, restrict you, or serve you ads as easily if media playback was delegated to software outside of their control that by design doesn't support RCE of their obfuscated proprietary javascript blobs.
>>109002454When vulkan video encoding in ffmpeg?
>>109002488After all these decades linux still don't have hardware acceleration? What in the fuck?
>>109004158probably a nvidia user that needs to jump through hoops to get vaapi to work (through unofficial hacky means) because nobody supports nvdec or vdpau in web browsersnvidia been pushing for vulkan decode in them as a solution
I don't know what the fuck firefox is doing with their video stack, but I have to permanently keep GPU acceleration disabled because it makes videos flicker and GPU drivers crash out the assthey are going to be able to fuck it up even more spectacularly with vulkan, with it being a lower level API
pretty funny to see this thread next to the one asking why on earth people still use windows
>>109004241I thought it was a solved thing when adobe started using hardware acceleration around 2010 on windows
>>109003359just use ESR and apply arkenfox it is quite simple easy to use
>>109004278well, it mostly is for amd and intel users (not that it can't be flaky with some setups) -- for nvidia, it is in most things *except* web browsers
>>109002454I would actually bet lots of my own money that this will crash the browser on linux in the first release
>>109004158we do have it but now it will be through vulkan video
>>109002454What's the implication of this? Vulkan only Intel GPUs can finally play video?
>>109002454ok but what'll that do for me
>>109002454what is Vulkan video?
>>109006167you will be a vulkan bro
>>109003668i'd guess it's because of all the patent encumbered rent seeking formats that would instantly ride firefox's ass into a bleeding out
Will this stop my GPU fan from kicking on every time I open a webm from here?
>>109007241But fiferox has been relying on and shipping ffmpeg for years. Even the windows version does that now.
>>109009439Disable hardware acceleration in the settings.
>>109009439what hardware are you using anon? stop using core2duo thinkpads.
>>109002488>>109004158It has had VAAPI acceleration for ages. It's just that the NVIDIA support for that is a bit shit. Intel and AMD figured it out ages ago.However, VAAPI is mostly Linux specific, Vulkan Video is better supported and could in the long run mean Firefox uses the same API on Windows, Linux and Android instead of platform-specific APIs. This would be a huge win for everyone.
>>109003668There is no such thing as "just pass the video to ffmpeg", you still have to setup the decoding pipeline and that involves choosing the appropriate technology to do so (e.g vaapi, vulkan, whatever the direct3d thing is on Windows, etc).Basically, Firefox is already doing that with their ffvpx like >>109009549 said. On Linux, they actually dlopen the system's ffmpeg and use that directly but there's still quite a lot of plumbing code to do it all. There's no such thing as just getting ffmpeg to do it all for you.
What problem does this solve?
>>109012539>There is no such thing as "just pass the video to ffmpeg"yes there is, lel. with libavcodec and libavformat, you can open a stream, detect the codec, then send packet by packet to get frame by frame. is super simple to do.here a full example in only less than 200 lines https://gist.github.com/fador/2bfbc2a289e37204e9333fa2ad443df2but firefox only allows a restrictive set of codecs: https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Video_codecsnothing prevent firefox to also being able to play wmv, amv, avi, realvideo, ... only the devs don't want you to for ideological reasons.
will it finally fixed the shitty youtube performance
>>109012703>only the devs don't want you to for ideological reasonsWhat ideological reasons? Can you elaborate?
>>109012765nta but it's nobody's obligation to educate you if you're willfully ignorant
what happened to 152?
>>109012765they refused to support .mkv for years to keep the web "simple". yes, having to download a mkv file instead of playing it in the browser is simpler according to mozilla devs.
>>109002454Don't care. Not using a web browser that requires 900 different configuration tweaks in the advanced settings to make it usable and not spy on me.
>>109004158depending on the distro hardware acceleration is not enabled by default and a pain in the ass to setup. Also vulkan and webgpu are a scam they never work in praxis in my experience because of version differences.
>>109002454good and since i have the bets vulkan driver on earth im finally going to use vulkan exclusively.vulkan graphics, vulkan compute and vulkan video.goodbye everything else.
>>109002454Any news on when they start to actually trim RAM used? I'm fucking tired of having 2+GB used at all times with just a dozen tabs.
>>109012703>>yes there is, lel. with libavcodec and libavformat, you can open a stream, detect the codec, then send packet by packet to get frame by frame. is super simple to do.That's exactly what they do tard, but if you just do that it's going to turn your computer into a space heater. You don't get hardware decoding for free.
mozilla can do what they want but it won't excuse their upcoming terrible shit redesign of firefox
>>109015955It's literally exactly the same but they rounded some corners more and you nutjobs lost your head over it.If you use the vertical tab bar then it's barely any difference at all.
>>109016028It's also nowhere near finished yet either. Right now, if you enable nova and watch a fullscreen video you get a white border around the edges of your screen so they're clearly nowhere near finished with it.Maybe wait until it releases before having your melodramatic fit where you pretend you used Firefox and switched to Brave or some other Chrome skin.
>>109016028>If you use the vertical tab bar then it's barely any difference at all.cool, I never used/liked vertical tab bar
>>109002454idk what is that, does it fix the embeded videos from twitter in 4chin or nah?
>>109002454oh boy! i can't wait for random websites to start installing rootkits just because you visited them.
>>109015923not true. there is no hardware acceleration with nvidia on linux (except if you install that hack from github), no one noticed anything.
>>109002713>On Windows and Mac, hardware video decode has been taken for grantedYeah, Quicktime player on macos can open about 0.03% of the video I have, lmao
>>109003088What do you think VNC streams?
>>109021225A remote frame buffer
>>109002713>That's great but this kind of thing is a good reminder that the "year of the linux desktop" people need to take a step back and understand how unserious they sound sometimes.We already know we sound stupid telling you to buy Intel and AMD because only NVIDIA can fix NVIDIA's problems.In this case, that's exactly what they did do. NVIDIA contributed this Vulkan Video Decode support to Firefox themselves. They also made sure it worked on Intel and AMD too but they didn't need to do that. The Firefox devs would have been happy to gate this behind NVIDIA graphics if they had to. Intel and AMD already had hardware decode after all.