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
ubuntu:gpu:nvidia_gpu:uninstall_nvidia_driver [2023/06/07 19:56] peterubuntu:gpu:nvidia_gpu:uninstall_nvidia_driver [2025/05/21 18:14] (current) peter
Line 5: Line 5:
 <code bash> <code bash>
 sudo dpkg -P $(dpkg -l | grep nvidia-driver | awk '{print $2}') sudo dpkg -P $(dpkg -l | grep nvidia-driver | awk '{print $2}')
 +sudo apt autoremove
 </code> </code>
  
Line 23: 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 35: 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.txt · Last modified: 2025/05/21 18:14 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki