Hacker News new | ask | show | jobs
by jwells89 957 days ago
Maybe Firefox needing flags is a per-distro thing? I’ll have to check and make sure but I think Firefox works with Waylad sessions out of the box on my Fedora laptop. That’s using an Intel iGPU instead of an Nvidia GPU though so maybe that’s also a factor.
2 comments

I think that's right. To make it work on Nvidia you need to go through extra hoops in a bunch of ways (turning on config flags, installing alternative HW decoding libraries etc). Part of this story is definitely Nvidia & Wayland teams being at ends with each other for some reason so anyone on Intel & AMD GPUs probably don't see a lot of this which is kind of surprising because 10 years ago Nvidia was the only one with well behaving drivers on Linux.
I'm using sway on an Nvidia card and apart from having to use sway-nvidia (which does set some environment variables for wayland with nvidia) I don't have to set any flags for Firefox. On my laptop with Intel graphics I didn't have to use any special flags for Firefox on wayland for several years.

One thing is that the correct environment variables should be set, but all the wayland compositors have been setting these for ages AFAIK