#!/bin/bash #sudo rmmod nvidia_drm #sudo rmmod nvidia_modeset #sudo rmmod nvidia #sudo tee /proc/acpi/bbswitch << /proc/acpi/call; echo 1 > /sys/bus/pci/rescan"