Scrolling on Microsoft Edge is smoother for me. It would be good if Firefox could implement something similar to make scrolling feel much more smoother than it currently is.
I finally got scrolling in Firefox is buttery smooth and I'm super-sensitive to visual stutters. Here's how: get the add-on "Yet Another Smooth Scrolling WE". Then in Settings turn off "Use Smooth Scrolling" as the add-on is handling it. n About:Config, try setting "general.smoothScroll.msdPhysics.enabled" to True. Also try turning "Use hardware acceleration when available" on/off. Hardware acceleration can make scrolling smoothness worse on some systems depending on complex interactions between your CPU, GPU, RAM and graphics drivers.
It is my experience, that a smaller value of general.smoothScroll.mouseWheel.durationMaxMS compared to default (200 ms) is counterproductive. Instead, a value of (e.g.) 800 makes it clearly better. The other two mentioned parameters (gfx.x11-egl.force-enabled -> true, and layers.acceleration.force-enabled -> true) only make a minor difference.
I came across this thread after data loss. I had to reconfigure smooth scrolling with Firefox (OS: Kubuntu 24.04 Linux). Some time ago, I also was able to change the resource configuration (libinput) to the same one that's used with Chromium and other browsers. I do not remember what made that Firefox can use the same resource (that makes scrolling truly perfect), but on the downside, I experienced failing custom global key shortcuts by xbindkeys (also a downside with Chromium), using
(and in the same sense for the alt+right combination) The Control key assignment allows me to browse forth and back through web pages using fingers of one hand, which compensates for the lack of dedicated keys for (web) page back or forth on my former Thinkpad notebook that offered 7 instead of today's common 6 key rows on the keyboard.