I’ve really been struggling with my Fedora/NVIDIA setup. Not to long ago, I swapped over to the KDE Plasma spin of Fedora, and everything has been fine EXCEPT Cities: Skylines absolutely refuses to run on the NVIDIA card. Other games seem to do fine: the Intel UHD GPU will hand off more complex stuff off to the NVIDIA card. But for some reason, it just won’t hand off anything to the NVIDIA GPU. I tried a number of things … among them trying to launch Cities with switcherooctl and using the -adapter flag when launching Cities.
Instead of trying to spend more time figuring out what’s wrong, I decided to just set the primary GPU to the NVIDIA card using the directions here: https://docs.fedoraproject.org/en-US/quick-docs/how-to-set-nvidia-as-primary-gpu-on-optimus-based-laptops/
And it worked! Cities: Skylines is now running on the NVIDIA GPU … because it has too! Still not as beautiful as is looked under Windows, but a lot better than runing on the Intel GPU.
It kinda sucks, because having the NVIDIA card set to the primary GPU drains the battery and heats up the laptop, but since I rarely use my laptop off the AC Adapter, I guess it doesn’t really matter. Since it looks like this only works in an X11, I guess if I need to save power, I can login to a Wayland session. Or maybe manually set the NVIDIA card to a lower state.