got nvidia working on laptop with xinit and nvidia prime, can now game on arch

This commit is contained in:
Solomon Laing 2021-03-19 22:39:46 +00:00
parent af7d72d00a
commit 5ab3c3c830

View File

@ -36,5 +36,11 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
# nividia config, note that nvidia and nvidia-prime were needed
# it seems modules and xorg confs were not due to there being an intel
# integrated card, not sure how the desktop will react though
xrandr --setprovideroutputsource modesetting NVIDIA-G0
xrandr --auto
# start my trusty window manager
xmonad &