Question Regarding Firefox Hardware Acceleration
Hello everyone. I came across an unusual issue with Firefox recently.
For background, I'm on a triple monitor setup using KDE and an up-to-date Arch installation. All monitors are connected to the same RTX 2080, which is using the latest Nvidia proprietary drivers. The main monitor is 165hz, and runs well under my X11 setup. I use Kwin as the compositor, but regularly disable it for things like gaming.
Throughout my workday, I'll regularly have podcasts or streams open on a side monitor, usually on YouTube. In the past, I've found that having an active video playing on Firefox is not the best experience; other Firefox instances will have bad scrolling performance and framerate issues. Often, the video itself will render poorly and tear.
Because of this, I've taken to using a dedicated Chromium instance for watching video, and using Firefox for everything else. When working in this way, neither application sees a performance hit; Firefox and Chromium both run smoothly.
More recently, I've revisited the Arch wiki page for Hardware Video Acceleration, as well as the HVA section of the Firefox page. Doing this, I discovered a few settings I hadn't enabled for Firefox, and was able to make Firefox perform much better.
Here's the strange bit; if I open a YouTube video in a Firefox instance, it will run perfectly. Other tabs in that same instance will also run perfectly.
However, if I start a separate instance of Firefox, tabs in that new instance will run poorly, even if I close the YouTube tab on the first instance. To get the second instance to run smoothly, I have to fully close the first instance.
It seems to me like I'm only getting hardware acceleration on one instance of Firefox at a time. Is this a correct assessment? If so, is there a fix? My GPU has more than enough resources to support as many instances as I can open, as this isn't an issue on other OS's.
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- rmb112