Firefox not recognizing Nvidia graphics card

When I open Librefox (or FF), this is the error I get:

[GFX1-]: FireTestProcess failed: Failed to spawn child process “/usr/share/librewolf/glxtest” (No such file or directory)

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: ManageChildProcess failed
(t=0.145368) [GFX1-]: glxtest: ManageChildProcess failed

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: ManageChildProcess failed
(t=0.145368) |[1][GFX1-]: No GPUs detected via PCI
(t=0.145392) [GFX1-]: No GPUs detected via PCI

image

image

This is despite having acceleration enabled, and setting DRI_PRIME=1.

You need to provide more details. Best practive is to provide enough detail to allow others to reproduce the problem.

There are at least two Fedora Librewolf repos, so it would be good to mention which you use.

What does the “failure log” contain?

You appear to be using an Azure VM and skia. Fedora provides “Tiny Skia subset ported to Rust” – I wonder if that is adequate for your use case.

Does /usr/share/librewolf/glxtest exist on your system? What do you get for /usr/lib64/firefox/glxtest.

1 Like

Thanks for reply. Following your note about different versions, I looked under “other linux” on librewolf site and found a flatpak and appimage. I installed the flatpak and it works much better. Normal run:

image

And opened with “discreet graphics card” flag:

image

I really wonder why the flatpak works much better than the rpm version…

Anyway, do you know how to make librewolf run with the graphics card by default? Or maybe how to set that as a system default for all graphics apps? DRI_PRIME=1 seems to do nothing.

Third-party RPM’s may need to be rebuilt when the kernel or libraries are updated. If the RPM in question is a a small unfunded project, rebuilding the RPM may be delayed until higher priority projects like family vacations are done.

I’m not sure if this question applies to the flatpak version or the RPM version. For the latter you should start by reading the “failure log”.

Third-party RPM’s may need to be rebuilt when the kernel or libraries are updated. If the RPM in question is a a small unfunded project, rebuilding the RPM may be delayed until higher priority projects like family vacations are done.

I thought the rpm was first party maintained as it is the first suggestion on the Fedora download page on their site. The flatpak and appImage are hidden on another page called “other linux.”

I’m not sure if this question applies to the flatpak version or the RPM version. For the latter you should start by reading the “failure log”.

The question applies to the flatpak. I have removed the rpm as it doesn’t function correctly.

On the other hand, I wonder if I even need to use the graphics card for videos. The cpu usage is very low now without the card. The rpm version used an excessive amount of cpu, but the flatpak seems fine.

To me this suggest that the flatpak used your GPU (as it should in my opinion) for graphics/decoding video in Firefox while the rpm did not and instead used the CPU which can result in higher power use, more heat, more noise, and with a laptop it being more hot than normal.

I checked. No browser uses gpu unless specifically called with the “discreet graphics card” flag. But all browsers play video fine without gpu or over consumption of cpu. The reason I was stuck playing around with all those settings was because the rpm version of librewolf did not handle video well at all. It was consuming close to 3x cpu of other browsers and causing my fan to go on despite running an i9. I have now deleted that version and use the flatpak which is working fine.