[INFO] Getting Firefox working with NVIDIA on Wayland

Post Reply
User avatar
Posts: 25
Joined: Wed Dec 28, 2022 9:54 pm

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
Post Reply

Return to “Tips and Tricks”