Do you want to disable your NVIDIA GPU because you want to use another one?
Or do you want to force it to use a specific driver (opensource / proprietary)?
Trying to disable the nvidia gpu has caused problems for some.
It is really simple to use the intel gpu only – do nothing extra.
The nvidia gpu will by default load the nouveau driver. The system by default only uses the nvidia gpu when explicitly asked to do so and defaults to using the intel gpu. Thus nothing is required to use the intel gpu only.
This is something that would have been nice to know at the beginning since now it does involve the dGPU on most laptops.
The seeming standard arrangement of monitor management for most optimus arranged laptops is that the iGPU handles the laptop screen and the dGPU manages the external screens. Thus not having the dGPU active could cause the external monitor to not function at all.
If you search older threads on this forum where problems occurred on external monitors I think the overwhelming solution was to install the nvidia drivers from rpmfusion. Instructions are at Howto/NVIDIA - RPM Fusion
@computersavvy I already have NVIDIA proprietary drivers. That improved the situation as a few time my screen used to freeze for a few seconds and I could see nouveau issues logged in the journal. On Debian I used to disable NVIDIA using some script and 2 screens were OK. So I’m just curious to see how does this work in Fedora as I cannot find anything similar like prime-select which Ubuntu provides. Being on Fedora atomic this seems more complex tho. Once I manage to get it disabled, If nothing changes, I will revert it back.
You can add module_blacklist=nouveau,nvidia to your kernel’s command line using commands from Modifying Kernel Arguments :: Fedora Docs. nouveau is the open source driver, nvidia the proprietary one.