From 5ab3c3c8305abb8af90aedda176744a5279116bd Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Fri, 19 Mar 2021 22:39:46 +0000 Subject: [PATCH] got nvidia working on laptop with xinit and nvidia prime, can now game on arch --- .xinitrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.xinitrc b/.xinitrc index 2388d10..1ff7fc2 100644 --- a/.xinitrc +++ b/.xinitrc @@ -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 &