Optimus-manager can't switch to Nvidia GPU

Thank you everyone for your support, especially @Olli .
What did not work for me is that I have been trying to use “optimus-manager” package for use on Wayland, which does not have support for Nvidia. To check what GPU your PC currently uses, type this command in the terminal:
$ glxinfo | grep server
As a result, if you are on Intel GPU, you will see this:
server glx vendor string: SGI

This is what I did, in summary:

  1. I have switched to a stable kernel, from linux65-rt to linux65.
  2. Uninstalled optimus-manager and its dependent packages. Installed envycontrol.
  3. Uninstalled conflicting packages, like bumblebee. Prime can be used for Hybrid mode later on ( prime-run ApplicationName), but its going to heat up my laptop even more, I have chosen to stay on Nvidia alone.
  4. Changed display communication protocol from Wayland to X11. After you are met with login screen to Manjaro KDE, on the bottom left corner you will see “Desktop Session: Plasma (Wayland)”, change it to …Plasma (X11).
    To check, type:
    $ echo $XDG_SESSION_TYPE
  5. After all that, I checked what mode was envycontrol running:
    $ envycontrol --query
    nvidia
    Then checked what GPU my laptop was on:
    $ glxinfo | grep server
    server glx vendor string: NVIDIA Corporation
1 Like