Completely unable to uninstall broken nvidia drivers :( [19.04 – KDE]

During an update, my nvidia drivers were completely broken and I’ve been unable to uninstall the broken ones and reinstall new ones. GPU is the Quadro K2100M (GK106GLM). Ubuntu version is 19.04 Machine is the Dell Precision M4800.

when I run ” sudo apt –purge autoremove nvidia* ” I get this ( https://i.imgur.com/oLGTWxn.jpg )

When I run “apt –fix-broken install” I get this ( https://i.imgur.com/OP1bmbD.jpg )

lsmod | grep nvidia returns this ( https://i.imgur.com/4YODZCx.jpg )

sudo ubuntu-drivers autoinstall returns this ( https://i.imgur.com/IA65W18.jpg )

I’m at a loss, all tutorials I can find online referring to how to remove broken nvidia drivers doesn’t seem to be effective. Can anyone help? apt-autoremove hasn’t helped either 🙁 I have tried downloading the .run installer from nvidia’s site to no avil, claiming it cannot build the kernel module.

Thanks to the broken packages, I cannot apt install, apt remove, apt dist-upgrade, or anything of that sort :/

Edit: “sudo apt clean” and “sudo apt autoclean” have not helped

Xbuntu Nvdia drivers are messed up?

I just installed this Xubuntu, and everytime i login to my account it just shows the desktop, just the wallpaper and mouse, and stays frozen. All i can use is firefox.

When i signed into xfce with the open source driver it did however it would work.

How do i make it work with my nivida driver? I had no problems on Linux mint or Debian. Ive tried many guides. I couldnt use the 19 version of Xbuntu, i had to use the 18 versions one. I currently have a nitro 5, i5 8300k, gtx 1050. Is it possible i can resort back to the open source driver? Or to make the gtx 1050 driver work?

I deleted the etc/X11 folder and now the UI doesn’t work when I log with nvidia drivers installed

I was trying to change some configs of my GPU (Nvidia MX150) and I did something that made the screen freezes after login screen, so I deleted the folder with one of the files that I edited (xorg.conf), I thought if I delete this folder it was going to be rebuild somehow, but it doesn’t happen. Now I’m only able to use the UI when I purge nvidia drivers. How can I recover this folder?

I know that I did something really stupid, but I appreciate any tips you can give me.

GPU model not recognized in Additional Drivers tab

I am looking to install Nvidia’s proprietary drivers in order to be able to use CUDA for some Machine Learning.

But I am not able to select the proprietary driver option as the GPU model is not recognized in Software & Updates under the additional drivers tab: It only says Nvidia Corporation: Unknown

But if I lookup the GPU through a lspci command, it is detected correctly: It is indeed a GTX1660

Does someone know why that is the case?

Nvidia drivers with Ubuntu 19.04

I’m facing a strange problem I can’t seem to work around.

My computer is set up with Ubuntu 19.04, with the 5.0.0-23 Linux headers and I seem to have problems installing the correct drivers for my Nvidia GTX1050.

When I purge all nvdia related packages, I manage to get a GUI but in a really small resolution (9650×540) on my laptop screen. If I plug in an external monitor in HDMI, I have the correct display on this new screen with a usual 1920*1080 resolution.

I’ve tried to install the nvidia-drivers with :

  • sudo ubuntu-drivers autoinstall
  • By installing the graphics-drivers ppa, and running sudo apt-get install nvidia-driver-430 which is the latest version supporting my graphics card

When rebooting after this installation, I don’t have any GUI showing up and I’m stuck with a black screen and terminal access.

I’ve tried setting lightdm as the default manager, or gdm3 and turning off Wayland in its conf, to no avail.

Does anyone have a clue for me ?

Installation of NVDIA drivers on ASUS ZenBook 14 UX431FN-AN001T

I just installed ubuntu 18.04.3 LTS 64b on an ASUS ZenBook 14 UX431FN-AN001T using both Intel and NVIDIA GeForce MX150.

I don’t manage to use the nvidia graphic card and up to now, could use the laptop only booting with nomodeset in resolution 800×600 and there is no possibility to adjust the screen resolution to 1920×1080.

I installed the nvidia drivers (version 430, as suggested by the command ubuntu-drivers devices) from the “software & updates”/”Additional Softwares” panel (dkms status indicates : nvidia, 430.26 installed), and restarted the computer (with secure mode disabled).

After the command “prime-select nvidia”: Booting without nomodeset I only get a black screen, and rebooting with nomodeset it blocks on a black screen with only a white underscore sign at upper left corner.

When using instead “prime-select intel”, the booting is successful only with nomodeset, while i get a black screen without nomodeset.

I already read numerous posts, but couldn’t find yet how to proceed any further, someone can help?

18.04 does not recognize monitors or drivers after graphic card change

Before I was working with build in graphic card, all worked fine. Now I set nvidia quadro p620 with DP connection.

The problem: Only one monitor recognized and it’s resolution is 800×600, nothing more than this in settings. Nvidia X server settings not load at all.

I’ve reinstalled drivers x times through console, through “sofware & updates”, in terminal mode, I’ve downloaded the driver from nvidia website and ./run it. Nothing helps.

So what I have in

xrandr  xrandr: Failed to get size of gamma for output default Screen 0: minimum 800 x 600, current 800 x 600, maximum 800 x 600 default connected primary 800x600+0+0 0mm x 0mm    800x600       75.00*      lspci -k | grep -iEA5 'vga|display|3d'   01:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P620] (rev a1)     Subsystem: NVIDIA Corporation Device 1264     Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia 01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)     Subsystem: NVIDIA Corporation GP107GL High Definition Audio Controller     Kernel driver in use: snd_hda_intel