I have a Dell Latitude 5480 with a dedicated Nvidia graphics card and an integrated Intel graphics chip. Trying to debug some issues with CPU fan, I tried to change the graphics card used by the system using the GUI tool:
After I changed it, the system asked me for a reboot. After that, I am not able to boot the system again. I get the usual splash screen asking me to unlock the encrypted disk and after that just a black screen.
I tried to change various boot settings in grub using this tutorial, but the results are always the same. If I use
nomodeset, I cannot even get past the drive decryption step since the input is just written to the top left hand of the screen and not in the input field.
I was able to get some limited abilitied from the recovery mode, but after a minute or so working in the root mode, the recovery menu appears again and the inputs get totally messed up until I reboot.
How can I undo the graphics card switch from the command line?