3 # Undo bumblebee setup.
4 sudo service bumblebeed stop
5 sudo modprobe nvidia-drm
6 sudo update-alternatives --set glx /usr/lib/nvidia
8 # Use special xorg.conf and pass NVIDIA_DIRECT directive to .xinitrc.
9 NVIDIA_DIRECT=1 startx -- -config xorg.conf.forced_nvidia
11 # Recreate bumblebee setup.
12 sudo service bumblebeed start
13 sudo update-alternatives --auto glx