Nvidia & wayland on laptop

I also have Optimus: Intel UHD Graphics 620 and Nvidia GeForce MX150. Should it work with Wayland?

I get this:

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=0.659761) [GFX1-]: No GPUs detected via PCI
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=0.659761) |[1][GFX1-]: glxtest: process failed (received signal 11) (t=0.659801) [GFX1-]: glxtest: process failed (received signal 11)
Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=5.50082) Segmentation fault (core dumped)

glxgears works with my Nvidia GPU.

Firefox should work with UHD Graphics 620 without any problem, it’s supported and working.
NVIDIA is know to be broken somehow under Wayland.

Yes, it has been working very well! Thanks a lot for your excellent work!

Which bug can I follow to track this bug?

Which nvidia driver is installed and in use?

The proprietary nvidia driver version 470 or older will not work with wayland at all. I am not sure about the nouveau driver and wayland, although I do know that it does not support hardware acceleration on newer nvidia GPUs.

I checked the nvidia site and they show that card should work with the new 525.60.11 driver. If that driver has been installed from rpmfusion then it seems it should do as you wish.

The earlier posts in this thread are related to much older versions of fedora, firefox, etc. so your issue seems very different at this point.

Please post the output of lsmod | grep nvidia and dnf list installed *nvidia*

It’s the 470 driver from Fedora 37:

[root]# dnf list installed *nvidia*
Installed Packages
akmod-nvidia-470xx.x86_64                                 3:470.161.03-1.fc37           @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-470xx-6.0.12-300.fc37.x86_64.x86_64           3:470.161.03-1.fc37           @@commandline                   
kmod-nvidia-470xx-6.0.13-300.fc37.x86_64.x86_64           3:470.161.03-1.fc37           @@commandline                   
kmod-nvidia-470xx-6.0.15-300.fc37.x86_64.x86_64           3:470.161.03-1.fc37           @@commandline                   
nvidia-gpu-firmware.noarch                                20221214-145.fc37             @updates                        
nvidia-libXNVCtrl.x86_64                                  3:510.39.01-1.fc35            @cuda-fedora35-x86_64           
nvidia-libXNVCtrl-devel.x86_64                            3:510.39.01-1.fc35            @cuda-fedora35-x86_64           
nvidia-settings-470xx.x86_64                              3:470.161.03-1.fc37           @rpmfusion-nonfree-nvidia-driver
nvidia-vaapi-driver.x86_64                                0.0.8-1.fc37                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-470xx.x86_64                          3:470.161.03-1.fc37           @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-470xx-kmodsrc.x86_64                  3:470.161.03-1.fc37           @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-470xx-libs.i686                       3:470.161.03-1.fc37           @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-470xx-libs.x86_64                     3:470.161.03-1.fc37           @rpmfusion-nonfree-nvidia-driver

[root]# lsmod | grep nvidia
nvidia_drm             69632  1
nvidia_modeset       1204224  2 nvidia_drm
nvidia              35524608  114 nvidia_modeset

Really? Link please! I was under the impression that my GPU (GeForce MX150) will not be supported by the new Nvidia open-source drivers as it has a Pascal architecture.

go to nvidia.com
click on the drivers button
search for your card

Which gives this

I would suggest you remove the existing nvidia drivers
sudo dnf remove *nvidia* --exclude=nvidia-gpu-firmware (the firmware is required)
then install the updated driver from rpmfusion
sudo dnf install akmod-nvidia xorg -x11-drv-nvidia-cuda
Verify this is installing the 525.60.11 driver.

Once the updated driver is installed you will have more features available, including the ability to use wayland with the nvidia GPU.

I also note that you have some mismatched nvidia packages installed. Most are 470 but you also show 2 that are 510 and for fc35.

I am splitting this thread since you are on F37 and the original post was for F31 and last used more than 2 years ago (except for one stray post).

Thanks for the information! Now, it looks like this:

[root]# dnf list installed *nvidia*
Installed Packages
akmod-nvidia.x86_64                         3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.0.15-300.fc37.x86_64.x86_64   3:525.60.11-1.fc37    @@commandline                   
nvidia-gpu-firmware.noarch                  20221214-145.fc37     @updates                        
nvidia-persistenced.x86_64                  3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                      3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                  3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64             3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686          3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64        3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64          3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686               3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64             3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64            3:525.60.11-1.fc37    @rpmfusion-nonfree-nvidia-driver

[root]# lsmod | grep nvidia
nvidia_drm             73728  1
nvidia_modeset       1208320  2 nvidia_drm
nvidia_uvm           2904064  0
nvidia              56176640  115 nvidia_uvm,nvidia_modeset

glxgears still works with the Nvidia GPU, but firefox doesn’t:

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=0.616625) [GFX1-]: No GPUs detected via PCI
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=0.616625) |[1][GFX1-]: glxtest: process failed (received signal 11) (t=0.6167) [GFX1-]: glxtest: process failed (received signal 11)
[2022-12-28T13:16:24Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping background-update
[2022-12-28T13:17:03Z ERROR viaduct::backend::ffi] Missing HTTP status
[2022-12-28T13:17:03Z ERROR viaduct::backend::ffi] Missing HTTP status

I do not use firefox so cannot assist there.

I do have one concern though.
Are you starting firefox from the command line with that string or are you using the icon to launch firefox. There is likely a difference in the way it is launched and I doubt that the current version of firefox requires those options. The icon should launch it properly.

in fact the /usr/share/applications/firefox.desktop launches the app with the command ‘firefox’ and no additional options.

Maybe this wasn’t clear: I have an Optimus setup, with Intel Mesa and Nvidia MX150.

When I start Firefox with “Launch using discrete graphics card” it seems to fail in the same way (FEATURE_FAILURE_GLXTEST_FAILED in about:support)