Hacker News new | ask | show | jobs
by bitsandboots 1048 days ago
> The love the Linux world has for Firefox is not reciprocated by Mozilla in the same way, and this shows in various places where issues fixed and addressed on the Windows side are ignored on the Linux side for years or longer.

> The best and most visible example of that is hardware video acceleration.

That's not "Desktop Linux has a Firefox problem", that's "Desktop Linux has a problem". hardware acceleration was always a pain to get working in linux, as a subset of the larger problem of linux video drivers having varying levels of support for the plethora of features that video cards need to do these days.

Things like this ultimately led me to my current Linux usage: Windows host, linux vm, fullscreened on its own virtual desktop.

If I need to do something that linux wasn't going to do efficiently, I do it in the windows host. Otherwise, I do it in the linux vm.

Anyway, I wonder if any of the problems this person is pointing out are going to be made better or worse by wayland

5 comments

> That's not "Desktop Linux has a Firefox problem", that's "Desktop Linux has a problem". hardware acceleration was always a pain to get working in linux

Media players like mpv supported VA-API for video acceleration for many years and that just worked for me without any issues on all my computers.

It is clearly a Firefox issue that it did not support API that was supported by many Linux-native software.

Wayland might eventually be better, but for a Linux-hostile computer configuration (10 bpp color, Nvidia, audio only half-supported by Realtek, no snaps/flatpak) the constant flag setting friction, video codecs being in limbo, and programs like OpenSCAD having a huge keyboard delay and screen flickering (which Firefox also had for a long time) led me after a decade of Linux use to a reasonably satisfying experience (ignoring time sync problems and slow-ass cross-OS file access):

Windows 10 + WSL

I thought an AMD + Radeon laptop would be a great improvement. Evidently I have the Reverse Midas Touch. Also garbage. Sadly, FULL hardware/peripheral support requires Windows or Mac, happiness everywhere else dictates Linux, and WSL delivers both (plus WebGPU, which is another aspect of Firefox/Linux that is perplexing and half-baked).

On both computers, X was a dramatic improvement over Wayland: proper color support (i.e. parts of the GIMP UI wouldn't turn magenta or half-transparent, you could enable HDR in Chrome), no extreme keyboard lag, all my Java binaries work without requiring cryptic flags, I didn't have to compile my own drivers from a guy named ElFarto, I could finally forget the difference between AV1 and VP9 and whichever gstreamer package lets you watch video again...

I'm using Firefox on Fedora and VAAPI works perfectly fine with no issues. In my experience, it's a problem carried from the past, and not real limitation anymore.
Same but macOS. Unix under the hood too and all my shit still works.
Where do you do most of your web browsing, in the host or in the VM?
VM, which is fine for text but when it comes to video like twitch or youtube, there's a pretty high cpu cost on it. It's still smooth, 60fps, but at a cost.