Skip to content

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.

1 points15 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
rmb112

Author

8
posts
175
comments
0
media
View profile
No comments archived yet. Reddit counts 15.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.