Failed to Set NVIDIA as Primary GPU

Failed in “Step #10: Verify the configuration” when using the article “How to Set Nvidia as Primary GPU on Optimus-based Laptops”.

Can you help me?

Follow the steps here precisely.

Step 8 particularly is required and it only works this way when you are logged in with xorg. This procedure does not work when using the wayland desktop.

Your advice about being logged into GNOME on Xorg while running Step 8 saved me a great deal of frustration. I wish the official Fedora Project guide would note right at the top that one should not be using a Wayland session when running the steps. (I don’t have permission to edit the guide.)