Open Bug 1787597 Opened 2 years ago Updated 2 years ago

getting "[GFX1-]: No GPUs detected via PCI" with Nvidia gpu in Wayland

Categories

(Core :: Widget: Gtk, defect)

Firefox 103
defect

Tracking

()

UNCONFIRMED

People

(Reporter: flafyarazi, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce:

OS: Linux
Distro: NixOS
GPU: Nvidia GTX 1050 mobile
Using a Wayland compositor named Hyprland

Running the command:

$ MOZ_ENABLE_WAYLAND=1 __NV_PRIME_RENDER_OFFLOAD=1 firefox

Launches firefox and with nvidia-smi it seems it does use the Nvidia GPU for videos.

But for some reason I'm also getting these errors:

[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)

more info:

NVIDIA-SMI 515.65.01    Driver Version: 515.65.01    CUDA Version: 11.7

Actual results:

[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)

Expected results:

These errors shouldn't appear

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.