Optimus-Switch boots to black screen when using nvidia card

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:

  1. Open a terminal and run: lspci | grep -E 'VGA|3D' and take note of the nvidia Bus ID.

  2. 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 the nvidia-xorg.conf and make sure the Bus ID matches what is listed for the nvidia card.

  3. Save the file.

  4. 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.

3 Likes