[Newbies] How t install NVIDIA drivers
Tofloor
poster avatar
submgr
deepin
2021-08-17 02:52
Author

Hello. I want to install nvidia drivers on my laptop with PRIME.

 

I was unable to install them via the command line (nvidia-driver-460 *not found*). I tried installing them via Deepin Graphics Driver Manager, but its rebooting and giving me an error. So, what I supposed to do now? How to fix that?😭

Reply Favorite View the author
All Replies
avatar
sammy-621
deepin
2021-08-17 03:08
#1

forget it if ur lap is running well. 

Beleive me,Installing graphic driver is horrible!

Reply View the author
avatar
submgr
deepin
2021-08-17 03:32
#2
sammy-621

forget it if ur lap is running well. 

Beleive me,Installing graphic driver is horrible!

Idk, I always put them without problems in Ubuntu🥲 besides, without a NVIDIA video card, I cannot use some programs. So, maybe there is some way?

Reply View the author
avatar
忘记、过去
deepin
2021-08-17 04:07
#3

Just run in terminal:

sudo apt install nvidia-driver nvidia-smi nvidia-settings

and the latest nvidia driver will be installed.

 

 

If you need nvidia-prime, you can try Deepin Graphics Driver Manager, the latest version provides this option.

Or you can try this deb: https://github.com/zty199/dde-dock-switch_graphics_card/releases/download/v1.8.3/dde-dock-graphics-plugin_1.8.3_amd64.deb

After installation, you need to logout or reboot and let dde-dock load this plugin. If you need nvidia-prime, you need to switch to NVIDIA first and then switch back to Intel again, then nvidia-prime mode is enabled.

Reply View the author
avatar
submgr
deepin
2021-08-17 04:46
#4
忘记、过去

Just run in terminal:

sudo apt install nvidia-driver nvidia-smi nvidia-settings

and the latest nvidia driver will be installed.

 

 

If you need nvidia-prime, you can try Deepin Graphics Driver Manager, the latest version provides this option.

Or you can try this deb: https://github.com/zty199/dde-dock-switch_graphics_card/releases/download/v1.8.3/dde-dock-graphics-plugin_1.8.3_amd64.deb

After installation, you need to logout or reboot and let dde-dock load this plugin. If you need nvidia-prime, you need to switch to NVIDIA first and then switch back to Intel again, then nvidia-prime mode is enabled.

Ah, getting an error, i dont know how to fix that. Or its okay and i can ignore that?

screenshot: https://imgur.com/a/X6uE0KZ

Reply View the author
avatar
extremeblack
deepin
2021-08-17 05:09
#5

O también puede usar este comando

 

#Lo primero que debemos hacer antes de instalar Nvidia, es instalar el neofetch

1 sudo apt-get update

2 sudo apt-get update && sudo apt-get neofecth

#Ya teniendo eso, vemos las configuraciones y comenzamos

3 sudo apt-get install nvidia-detect

#Veremos cual instalaremos 

4 nvidia-detect

#Al momento de saber cual versión comenzamos con esta

5 sudo apt install nvidia-driver

 

Reply View the author
avatar
submgr
deepin
2021-08-17 05:17
#6
It has been deleted!
avatar
submgr
deepin
2021-08-17 05:17
#7
extremeblack

O también puede usar este comando

 

#Lo primero que debemos hacer antes de instalar Nvidia, es instalar el neofetch

1 sudo apt-get update

2 sudo apt-get update && sudo apt-get neofecth

#Ya teniendo eso, vemos las configuraciones y comenzamos

3 sudo apt-get install nvidia-detect

#Veremos cual instalaremos 

4 nvidia-detect

#Al momento de saber cual versión comenzamos con esta

5 sudo apt install nvidia-driver

 

Oh, getting an error on "sudo apt-get install nvidia-detect"
screenshot: https://imgur.com/a/X6uE0KZ

Reply View the author
avatar
忘记、过去
deepin
2021-08-17 07:20
#8
submgr

Ah, getting an error, i dont know how to fix that. Or its okay and i can ignore that?

screenshot: https://imgur.com/a/X6uE0KZ

That's weird...... I didn't met this issue. You can't just ignore that, because nvidia-driver is  NOT installed properly.....

 

First run "sudo apt autopurge nvidia-driver" to uninstall the half-configured nvidia-driver. Then check that if you have installed linux-headers-5.10.50-amd64-desktop. And run "sudo apt reinstall nvidia-driver" to try to install nvidia-driver again......There shouldn't be any error......

Reply View the author
avatar
submgr
deepin
2021-08-17 08:00
#9
忘记、过去

That's weird...... I didn't met this issue. You can't just ignore that, because nvidia-driver is  NOT installed properly.....

 

First run "sudo apt autopurge nvidia-driver" to uninstall the half-configured nvidia-driver. Then check that if you have installed linux-headers-5.10.50-amd64-desktop. And run "sudo apt reinstall nvidia-driver" to try to install nvidia-driver again......There shouldn't be any error......

Still getting an errors after your advise..:(

https://imgur.com/a/02gQ0vn

 

full output is here: https://pastebin.com/66APRLF2

Reply View the author
avatar
xieqin74123
deepin
2021-08-17 16:21
#10

Well, I would suggest you instialling .run file directly from Nvidia, but it reqiures a good knowledge of Linux to write xorg.conf and modify lightdm configuration.

Apart from that, you can use the instruction given in Nvidia CUDA page which can install both driver and CUDA correctly. However, it seems lack in i386 support so that you might run into problem with 32-bit program (like Steam).

Reply View the author
avatar
忘记、过去
deepin
2021-08-17 16:47
#11
submgr

Still getting an errors after your advise..:(

https://imgur.com/a/02gQ0vn

 

full output is here: https://pastebin.com/66APRLF2

Well, that I can't fix...... nvidia-driver 460.73 should work with linux-image 5.10.50, I don't know what happened......

 

Maybe you should paste your device info here and see if anyone can help you...... Just turn on Deepin Device Manager, right click and choose "Export" in context menu, and paste the info here.

Reply View the author
avatar
ke******93@gmail.com
deepin
2022-07-28 01:38
#12
It has been deleted!
avatar
da******gs@gmail.com
deepin
2022-10-23 18:34
#13
It has been deleted!
avatar
ph******91@gmail.com
deepin
2022-11-23 01:26
#14
It has been deleted!
avatar
T***7@outlook.com
deepin
2023-02-22 19:19
#15
It has been deleted!