By not editing the file BEFORE you ran the install, the conf file installed is not correct. You should not need to uninstall it. Your best option is to run the install script again. However, BEFORE you do that, you need to do the following:
-
Open a terminal and run:
lspci | grep -E 'VGA|3D'
and take note of the nvidia Bus ID. -
After you have cloned the git repository to your home directory by typing:
git clone https://github.com/dglt1/optimus-switch-sddm.git
go to the following folder~/optimus-switch-sddm/switch/nvidia
and open thenvidia-xorg.conf
and make sure the Bus ID matches what is listed for the nvidia card. -
Save the file.
-
Now run the install script.
If you still get to a black screen when trying to run on your nvidia card, you may need to use a kernel parameter. I would suggest either acpi_osi='Windows 2012'
or acpi_osi='Windows 2018'
or acpi_osi=Linux
If you need help in how to apply kernel parameters, take a look at this post.
Without any further information about your system, I can’t give you any more advice. More information can be obtained by opening a terminal and typing inxi -fxxz
and posting the results here. This will tell us what kind of cpu you have and what nvidia card is installed in your system.