hello
i have a laptop and use optimus manager(intel/nvidia) and currently in hybrid mode.
i have the proprietary drivers installed.
i use Manjaro(arch based)distribution.
i tried all kind of settings to make Firefox use Nvidia,but it never shows in nvidia-smi
.
this is what i tried with no success:
-simply do prime-run Firefox( prime-run glxgears
does appear in nvidia-smi)
or __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia firefox
-copy the firefox.desktop file from /usr/share/applications/
and put it in ~/.local/share/applications/
then edit it with either:
Exec=/usr/bin/prime-run /usr/lib/firefox/firefox %u
Exec=prime-run /usr/lib/firefox/firefox %u
-i also tried updating the desktop file like it’s shown in the Arch wiki with
update-desktop-database ~/.local/share/applications
-tried renaming the firefox.desktop file to firefoxnvidia and also change the Name= inside the file.
in about:config i have layers.acceleration.force-enabled
to true
and gfx.webrender.all
to true
i looked all around and the only things i didn’t try were to start Firefox with MOZ_X11_EGL=1
or MOZ_WEBRENDER=1
or both?
and change to true
media.ffmpeg.vaapi.enabled
media.ffmpeg.dmabuf-textures.enabled
Thanks.