User Tools

Site Tools


ubuntu:gpu:nvidia_gpu:uninstall_nvidia_driver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:gpu:nvidia_gpu:uninstall_nvidia_driver [2023/06/07 17:55] peterubuntu:gpu:nvidia_gpu:uninstall_nvidia_driver [2025/05/21 18:14] (current) peter
Line 2: Line 2:
  
 ===== When installed through Ubuntu Repo ===== ===== When installed through Ubuntu Repo =====
 +
 +<code bash>
 +sudo dpkg -P $(dpkg -l | grep nvidia-driver | awk '{print $2}')
 +sudo apt autoremove
 +</code>
 +
 +or 
  
 <code bash> <code bash>
Line 17: Line 24:
 ---- ----
  
-===== Reboot =====+===== Switch back to the nouveau driver =====
  
 +Enable Nouveau modules, if this was blacklisted previously:
 +
 +<code bash>
 +sudo rm /etc/modprobe.d/blacklist-nvidia-nouveau.conf
 +</code>
 +
 +else install the nouveau driver:
 +
 +<code bash>
 +sudo apt update
 +
 +sudo apt install xserver-xorg-video-nouveau # for xserver.
 +</code>
 +
 +----
 +
 +===== Reboot =====
  
 <code bash> <code bash>
Line 29: Line 53:
 sudo init 6 sudo init 6
 </code> </code>
 +
 +----
 +
 +===== Confirm the nouveau driver is loaded =====
 +
 +<code bash>
 +lsmod | grep nouveau
 +</code>
 +
 +returns:
 +
 +<code>
 +nouveau              1949696  4
 +mxm_wmi                16384  1 nouveau
 +ttm                   106496  1 nouveau
 +drm_kms_helper        184320  1 nouveau
 +drm                   491520  7 drm_kms_helper,ttm,nouveau
 +i2c_algo_bit           16384  1 nouveau
 +wmi                    32768  3 wmi_bmof,mxm_wmi,nouveau
 +video                  49152  1 nouveau
 +</code>
 +
  
ubuntu/gpu/nvidia_gpu/uninstall_nvidia_driver.1686160546.txt.gz · Last modified: 2023/06/07 17:55 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki