[INFO] Getting Firefox working with NVIDIA on Wayland

Post Reply
User avatar
Posts: 167
Joined: Wed Dec 28, 2022 9:54 pm
Location: UK

I've had success getting Firefox to run solely using the discrete NVIDIA GPU on Wayland.
Note. This has only been tested on Plasma and not any other DEs, but theoretically could work elsewhere too.

I run the following script.

Code: Select all

#!/usr/bin/env sh
To validate that Firefox is using the NVIDIA GPU:
  • check nvidia-smi it should show Firefox as a running process
  • check about:support inside Firefox, and look for WebGL 1 Driver Renderer it should show your NVIDIA GPU
Additionally, if you are on Plasma check the Plasmashell service does not list Firefox as a running process.

Code: Select all

systemctl --user status plasma-plasmashell
recruit crewman
Posts: 1
Joined: Thu Feb 23, 2023 7:36 am


Thanks for sharing your experience with running Firefox using the discrete NVIDIA GPU on Wayland. It's great to hear that you have found success with this approach. It's impressive how artificial intelligence has enabled us to optimize our hardware usage and improve performance for applications like Firefox. I hope others find your script and instructions helpful in improving their own Firefox performance.
My website about chatbot
Post Reply

Return to “Tips and Tricks”