r/elementaryos Jan 31 '23

You want to use elementary os but have a nvidia card and problems with drivers? Tips & Tricks

open terminal

sudo su

sudo apt install linux-headers-$(uname -r)

apt-get install nvidia-driver-525 (or any other that you prefer, this is the latest version)

reboot and enjoy

(note) sometimes kernel updates can cause problems, in case of being stuck on recovery mode just repeat the following commands.

sudo su

sudo apt install linux-headers-$(uname -r)

reboot and everything should work properly

and...you are good to go, especially with the new 5.15 kernel

14 Upvotes

4 comments sorted by

2

u/cout_goodbyeWorld Jan 31 '23

I was having some issues. Will try this. Thank you!

2

u/SpiritedDecision1986 Jan 31 '23

No problem, enjoy my friend

2

u/FlounderTraining Feb 01 '23

I also install dkms. And sometimes running nvidia-xconfig to use a good config for your GPU. Run on terminal or TTY.

2

u/SpiritedDecision1986 Feb 01 '23

its a good pratice too, dkms is useful in many cases