Modify rpath of a binary program
· One min read
open terminal
check the current driver
lspci -k | grep -A 2 -E "(VGA|3D)"
see the output like this:
Kernel driver in use: nvidia
switch to text mode
sudo systemctl set-default multi-user.target
sudo reboot
remove nvidia driver one by one
sudo modprobe -r nvidia*
sync; echo 1 > /proc/sys/vm/drop_caches
sync; echo 2 > /proc/sys/vm/drop_caches
sync; echo 3 > /proc/sys/vm/drop_caches