[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


https://www.phoronix.com/news/Firefox-Vulkan-Video-Merged
>>
>>109002454
I 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 esr
icecat chads keep winning
>>
>>109002454
I'm glad Mozilla has their priorities straight amidst the various tech market crisis. Vulkan support and UI will help a bunch!
>>
>>109002516
Vividly improved video playback performance on Linux is a large benefit.
>>
>>109002454
I 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?
>>
>>109002454
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.
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.

>>109002674
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.
>>
>>109002674
Depends on the drivers really, but Vulkan decode isn't inherently less efficient.
>>
>>109002500
>icecat
I'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?
>>
>>109002454
What does this mean for me?
>>
>>109002783
TigerVNC 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.
>>
>>109002790
If you use Firefox on Linux and you have problems streaming high quality video, it may start working properly soon.
>>
>>109002713
So this is like VAAPI or VDPAU, but vulkan? alrighty then.
>>
>>109002454
For The Emperor!
>>
>>109002783
>>109002795
what does vnc have to do with streaming video?
>>
>>109002500
>>109002725
is 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.
>>
>>109003668
Because 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.
>>
>>109002454
When vulkan video encoding in ffmpeg?
>>
>>109002488
After all these decades linux still don't have hardware acceleration? What in the fuck?
>>
>>109004158
probably 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 browsers

nvidia 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 ass
they 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
>>
>>109004241
I thought it was a solved thing when adobe started using hardware acceleration around 2010 on windows
>>
>>109003359
just use ESR and apply arkenfox it is quite simple easy to use
>>
>>109004278
well, 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
>>
>>109002454
I would actually bet lots of my own money that this will crash the browser on linux in the first release
>>
File: 1778795734285184.jpg (233 KB, 1762x561)
233 KB JPG
>>109004158
we do have it but now it will be through vulkan video
>>
>>109002454
What's the implication of this? Vulkan only Intel GPUs can finally play video?
>>
>>109002454
ok but what'll that do for me
>>
>>109002454
what is Vulkan video?
>>
File: 1779359387345219.png (2.17 MB, 1600x900)
2.17 MB PNG
>>109006167
you will be a vulkan bro
>>
>>109003668
i'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?
>>
>>109007241
But fiferox has been relying on and shipping ffmpeg for years. Even the windows version does that now.
>>
>>109009439
Disable hardware acceleration in the settings.
>>
>>109009439
what hardware are you using anon? stop using core2duo thinkpads.
>>
>>109002488
>>109004158
It 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.
>>
>>109003668
There 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/2bfbc2a289e37204e9333fa2ad443df2

but firefox only allows a restrictive set of codecs: https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Video_codecs

nothing 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 reasons
What ideological reasons? Can you elaborate?
>>
>>109012765
nta but it's nobody's obligation to educate you if you're willfully ignorant
>>
what happened to 152?
>>
File: 1759912943550788.jpg (62 KB, 1039x370)
62 KB JPG
>>109012765
they 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.
>>
>>109002454
Don'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.
>>
>>109004158
depending 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.
>>
>>109002454
good 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.
>>
>>109002454
Any 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.
>>
File: 1770551994696607.png (983 KB, 1920x1080)
983 KB PNG
mozilla can do what they want but it won't excuse their upcoming terrible shit redesign of firefox
>>
>>109015955
It'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.
>>
>>109016028
It'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
>>
>>109002454
idk what is that, does it fix the embeded videos from twitter in 4chin or nah?
>>
>>109002454
oh boy! i can't wait for random websites to start installing rootkits just because you visited them.
>>
>>109015923
not 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 granted
Yeah, Quicktime player on macos can open about 0.03% of the video I have, lmao
>>
>>109003088
What do you think VNC streams?
>>
>>109021225
A 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.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.