Score:1

How to install nvidia drivers without breaking my system?

cn flag

I have an nvidia 1050ti. Recently installed kubuntu 20.04.3 and allowed 3rd party software during installation. After installation when I try to boot it just stays loading at the splash screen after grub, so broken system right after installation.

From recovery I tried ubuntu-driver autoinstall. This allowed me to at least get to the display manager but the scale is off, everything looks small, and I get micro-freezes, like every second I lose some frames or something. I uninstalled the nvidia drivers and that fixed the problem. However nouveau leaves a lot to be desired and I would like to have proper drivers installed.

I also tried to install without allowing 3rd party software, and the result is the same. It all works all right without the nvidia drivers but the moment I install them, either with ubuntu-driver or directly with apt, everything breaks.

I tried nvidia-driver-390 , 460 and 470. None works. Just as a note I also had a similar problem with debian and recently with arch, which never managed to fix either.

ChanganAuto avatar
us flag
As always update UEFI. Then use the recommended driver version only, that is 470 (390 is a long term driver branch for legacy products, your isn't there yet). Make sure the correct (native) resolution is selected and increase scaling if you think it "looks small". What you refer to as "micro-freeses" ain't so because "lose(?) some frames" suggests a screen tearing issue for which you should enable force full composition (or something like that) in Nvidia X Server Settings.
ChanganAuto avatar
us flag
`nouveau` is an unofficial open-source replacement driver (i.e., "not from Nvidia") that is limited indeed for any current Nvidia hardware (it works sufficiently for most legacy hardware). And here's a comment (or two) that's a better answer than the one you got so far.
cn flag
With "update UEFI" you mean update the mother's firmware? I tried changing the scale thorough plasma's settings but it had no effect. Tried forcing composition through nvidia, both simple and full, but nothing. Also tried disabling flipping and vsync. Nothing
Score:0
de flag

since you said trying nvidia-driver-390 I can suggest you try some solutions. The first one is trying to get the drivers from Software & Updates, under the "aditional drivers" tab.enter image description here

In my case I already installed Ubuntu with the proprietary drivers, but you could try selecting the first option: proprietary, tested.

If it doesn't work you could try to purge any existing Nvidia drivers and reinstall them, you can do this by typing this on your terminal:

sudo apt-get remove --purge '^nvidia-.*'

Please be aware there's a dependency between one of the packages that will be removed and ubuntu-desktop, therefore you may as well need:

sudo apt-get install ubuntu-desktop

Then try to reinstall them via terminal, and search for the adequate drivers using:

apt search nvidia-driver

If nothing works, since you already tried Arch, you could perhaps try installing Ubuntu, it supported my card out of the box, or Fedora, which is RPM based, it has good out of the box support for Nvidia as well.

Now as a personal recommendation since your system is already broken, the Ubuntu installer includes Nvidia drivers, so I suggest you go for it instead this time, since you can change to a flavor anytime with

sudo apt-get install kubuntu-desktop

I don't know if the installers for the flavors are different, but Ubuntu's supported my card, it's what I can suggest. Good luck!

ChanganAuto avatar
us flag
Enabling 3rd party drivers during the installation or using the command the OP mentioned - `ubuntu-drivers autoinstall` - does exactly the same thing you're suggesting here.
Santiago avatar
de flag
I'm sorry, I didn't know they included proprietary drivers under that command. Cheers.
cn flag
Nothing. For now I will try vanilla ubuntu and see if it's a plasma problem or something
cn flag
Alright as an update. Tried vanilla ubuntu. It didn't get stuck after grub and the scale was alright, but the micro-freezes/stuttering keeps happening. Forcing composition through nvidia didn't solve that either. Pain
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.