Page MenuHomePhabricator

Reload Nouveau

Authored by pmoreau on Sep 22 2015, 6:34 PM.
Referenced Files
F9681: Reload Nouveau
Sep 22 2015, 6:34 PM
# Reload local Nouveau kernel module.
# Unbind fbcon before removing Nouveau kernel module.
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
sleep 0.5
# Remove kernel modules related to Nouveau.
rmmod nouveau || exit 1
rmmod drm_kms_helper
rmmod ttm
rmmod drm
# Reload required kernel modules for Nouveau.
modprobe drm_kms_helper
modprobe i2c_algo_bit
modprobe ttm
modprobe drm rnodes=1
# Load local Nouveau kernel module.
sleep 1
insmod nouveau.ko debug=debug

Event Timeline

pmoreau changed the title of this paste from untitled to Reload Nouveau.
pmoreau updated the paste's language from autodetect to bash.
pmoreau changed the visibility from "All Users" to "Public (No Login Required)".
pmoreau added a project: Nouveau.