While running a youtube video in one window on one monitor on firefox and then creating a new tab in a new window I get very laggy/slow scrolling. Its almost as if the video is hogging all of the resources allocated to firefox. The video plays fine, no issues. When I close the video and scroll on the other windows I have no issues.
Now I do have a nvidia card which I understand can/will cause issues. Not sure if it is the issue however. I have followed what seems to be the default solution of this github
but either I didn’t do it correctly or it just doesn’t solve the issue.
I don’t have this issue in chromium so my current solution is to just use chromium as my youtube player, but this isn’t ideal and would like to consolidate to one browser (preferably firefox). I am hoping the solution is not “buy amd” or “just use chromium” unless this is a problem everyone has with firefox on linux. I don’t recall ever having this issue on windows.
Here are some (maybe?) helpful commands:
vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.19 (libva 2.18.2)
vainfo: Driver version: VA-API NVDEC driver [egl backend]
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
nvidia-smi ✔
Wed Aug 2 21:10:48 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.86.05 Driver Version: 535.86.05 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 2080 ... Off | 00000000:2D:00.0 On | N/A |
| 42% 38C P0 51W / 250W | 1267MiB / 8192MiB | 2% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 582 G /usr/lib/Xorg 534MiB |
| 0 N/A N/A 684 G /usr/bin/ksmserver 2MiB |
| 0 N/A N/A 687 G /usr/bin/kded5 2MiB |
| 0 N/A N/A 688 G /usr/bin/kwin_x11 147MiB |
| 0 N/A N/A 718 G /usr/bin/plasmashell 66MiB |
| 0 N/A N/A 730 G ...b/polkit-kde-authentication-agent-1 2MiB |
| 0 N/A N/A 732 G /usr/lib/xdg-desktop-portal-kde 2MiB |
| 0 N/A N/A 833 G /usr/bin/msm_kde_notifier 2MiB |
| 0 N/A N/A 835 G /usr/lib/kdeconnectd 2MiB |
| 0 N/A N/A 847 G /usr/bin/kaccess 2MiB |
| 0 N/A N/A 849 G /usr/bin/pamac-tray-plasma 56MiB |
| 0 N/A N/A 952 G ...local/share/Steam/ubuntu12_32/steam 3MiB |
| 0 N/A N/A 1080 G ...,WinRetrieveSuggestionsOnlyOnDemand 33MiB |
| 0 N/A N/A 1224 G ...re/Steam/ubuntu12_64/steamwebhelper 7MiB |
| 0 N/A N/A 1380 G /usr/bin/kwalletd5 2MiB |
| 0 N/A N/A 4620 G /usr/bin/pamac-manager 26MiB |
| 0 N/A N/A 5445 G ...7299190,15111219640881526391,262144 96MiB |
| 0 N/A N/A 5560 G ...bin/plasma-browser-integration-host 2MiB |
| 0 N/A N/A 99483 G /usr/lib/baloorunner 2MiB |
| 0 N/A N/A 104666 G /usr/bin/dolphin 2MiB |
| 0 N/A N/A 107052 G /usr/lib/firefox/firefox 242MiB |
| 0 N/A N/A 107497 G /usr/bin/konsole 2MiB |
+---------------------------------------------------------------------------------------+
uname -a ✔
Linux XXXXXX-pc 6.4.6-1-MANJARO #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux