I also have Optimus: Intel UHD Graphics 620 and Nvidia GeForce MX150. Should it work with Wayland?
I get this:
$ __NV_PRIME_RENDER_OFFLOAD=1 \
__GLX_VENDOR_LIBRARY_NAME=nvidia \
firefox
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)
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*
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.
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).
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.