Black screen after installing optimus-manager

you have installed from AUR:

which is basically the same as this one from the official repos:


so remove the prime one from AUR, and install optimus as outlined here: