I'm trying to remove the nvidia driver from my system (running with debian 10). I tried several methods,but unsuccesfully. Something like these :

  1. apt remove nvidia-driver
  2. apt-get purge nvidia-driver

after that,when I reboot the PC,debian 10 restarts and I see this :

mario@DESKTOP-N9UN2H3:/home/mariozio# lspci -nnk -d 10de

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] [10de:1e04] (rev a1) Subsystem: ZOTAC International (MCO) Ltd. TU102 [GeForce RTX 2080 Ti] [19da:2503] Kernel driver in use: nvidia Kernel modules: nvidia

what to do ?

  • Suggest you edit your question and include the output generated when you input the two commands. The driver probably isn't named nvidia-driver. Commented Oct 5, 2019 at 20:50
  • Also, how exactly did you install it? Commented Oct 5, 2019 at 21:04

2 Answers 2


Answer from debian wiki applied when something went wrong with nvidia driver:

hit Ctrl+alt+F2

login as root

apt-get purge nvidia. 

(don't forget the "." dot) It erases every package with "nvidia" on its name

/etc/init.d/gdm3 stop # (gdm3 for gnome 3)
apt-get install --reinstall xserver-xorg
apt-get install --reinstall xserver-xorg-video-nouveau
killall Xorg

Xorg should reconfigure itself, if not run a terminal and pass

X -configure

debian wiki: Backing out in case of failure


The kernel modules of the nvidia driver may still be present in your initramfs. Use update-initramfs -u to rebuild your initramfs file without the nvidia driver modules.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .