Hello,
I know this has been a topic that has been asked a lot, and I’ve read my fair share of topic here on the forum on the subject.
My problem right now:
I tried a few things that were suggested, and now I’m booting to a black screen with only /dev/sda2: clean and the rest of that line.
(I’ve managed to recover from this state before, but I’ve made another change, and now I’m stuck here)
My original problem, and how I got to this stage:
I tried to get the Nvidia driver to always use the 960 and not the Intel graphics.
What I tried to get back to desktop:
removed all drivers
reinstalled both nonfree and when that did not work also the free ones.
read all the logs that are required when posting a new topic to search for the cause (could not capture them easily from this state)
deleted/edited some conf files that were recommended on similar topics. (can look at history to find out the exact ones)
I have 2 questions
what’s the best way to get back to the desktop?
once I’m back there, what the best way to make sure a certain program always uses the Nvidia GPU?
the best way now is to boot into manjaro usb, connect to internet, and chroot: sudo manjaro-chroot -a
then provide output from: inxi -G mhwd -l && mhwd -li pacman -Qs nvidia pacman -Qs optimus find /etc/X11/ -name "*.conf"
Thanks, will do that the first chance I get.
The weird thing is, I somehow managed to get sound working (unintentionally) so when I reboot from the terminal it plays the sound for power off.
ok so first try removing this: sudo rm /etc/X11/mhwd.d/nvidia.conf sudo rm /etc/X11/xorg.conf.d/20-nvidia.conf systemctl reboot
you can do this from tty - ctrl+alt+f2 no need to enter chroot again
with prime-run command for example: prime-run minecraft
you can add this prime-run command into the application you want to use the nvidia so that you dont have to run it every time …
give me an example of an application you want to run with nvidia
Thanks! That did the trick, I edited the program command to include prime-run.
Will update this topic in the next couple of days if this did not stick for some reason.