Use bbswitch to manage nvidia
It seems in the latest version of nvidia-xrun, this is automated by the script. When I did the steps listed here I was no longer able to switch back to my Intel session without manually disabling the
nvidia_drm modules with
modprobe -r. If anyone else can confirm that this wasn't just an issue with my setup (2016 razer blade) I think this section should be removed. Johnpetryk (talk) 21:09, 29 August 2018 (UTC)
Issues with Nvidia after removing Bumblebee
I think it should be
blacklist nvidia-uvm instead of
blacklist nvidia_uvm. Also, I don't know what this
nvidia-uv kernel module is, but I suppose it's just a mistyped
nvidia-uvm. Can anyone confirm ? Zyfarok (talk) 13:01, 21 February 2019 (UTC)
Specifications of Manjaro
I don't know if it's worth mentioning here, but in Manjaro (at least on my hardware) I needed to rewrite /etc/X11/nvidia-xorg.conf.d/30-nvidia.conf so that it has:
Driver "linuxXX-nvidia" (where XX was my kernel version)
instead of just:
Otherwise it didn't work properly. And I really wasted a lot of time.
UPD. Figured out that wasn't the main cause or a cause at all. The real bummer was nvidia-utils.
sudo pacman -Rdd nvidia-utils
solves the problem.
Path of nvidia-xinitrc
I installed nvidia-xrun from AUR. When placing my xinitrc in $XDG_CONFIG_HOME/X11/nvidia-xinitrc, it did not work for me. After 2 hours of debugging I found out that /etc/X11/xinit/nvidia-xinitrc actually loads $HOME/.nvidia-xinitrc. With the correct path it works.
I did not make a change, since I don't want to mislead anyone, if I'm wrong. so maybe someone should double check and then edit the path occurrences.