Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P22
Reload Nouveau
Archived
Public
Actions
Authored by
pmoreau
on Sep 22 2015, 6:34 PM.
Edit Paste
Activate Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Nouveau
Subscribers
None
#!/bin/bash
#
# 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
edited the content of this paste.
(Show Details)
Sep 22 2015, 6:34 PM
2015-09-22 18:34:13 (UTC+2)
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
.
pmoreau
archived this paste.
Aug 23 2020, 10:26 AM
2020-08-23 10:26:38 (UTC+2)
Log In to Comment