Installing Nvidia Propietary Drivers from Official Page
Tofloor
poster avatar
oscararg
deepin
2018-01-05 16:25
Author
Edited by oscararg at 2018-10-20 02:42

Hello all, as everybody knows, Deepin offers Nouveau and 390.67 Nvidia propietary drivers in its available driver options.

Here I'll teach - for those who want it for some reason - how to install latest long live / short live drivers on Deepin:

* Install Deepin's drivers with sudo apt install nvidia-driver, then reboot.
* After reboot, and without login in, use Ctrl + Alt + F2 to enter to the console.
* You'll see that you need to put your login info, do it, and then put sudo su and enter the password.
* Now write service lightdm stop, it will end the X session, necessary to install the drivers.
* Delete the newly installed drivers apt purge nvidia* && apt autoremove --purge

* Move to the directory in which Nvidia drivers file is located, using cd -path to directory-
* Type chmod a+x *run, now the file can be used as an executable (make sure it is the only .run file at your directory).
* Type sh *run, the Nvidia Driver will unpack and start to run, simply follow the steps it will say.

* After reboot, instead Nvidia Driver, maybe Nouveau will be running, so reboot again if this happens and type Ctrl + Alt + F2 // sudo su // service lightdm stop // sh *run
* You'll be running the .run file again, but not for another install, it will ask you to activate a "modprobe file" to disable the Nouveau drivers, autorize it to do that task, then reboot.


After rebooting you'll have the Nvidia 410 drivers running.
Reply Favorite View the author
All Replies
1 / 2
To page
leonardo520
deepin
2018-01-05 16:49
#1
Thank you so much
Reply View the author
akira08
deepin
2018-03-26 14:46
#2
I tried this but he always said my nvidia gpu dosen't suport the driver, and I'm downloading the Driver from the Nvidia Web-site.


Reply View the author
oscararg
deepin
2018-03-26 17:08
#3
https://bbs.deepin.org/post/151191
I tried this but he always said my nvidia gpu dosen't suport the driver, and I'm downloading the Dri ...

You can see the list of drivers supported by X driver version, on Nvidia's page... As yours is a laptop, maybe you need to check for last Bumblebee or Prime drivers at their pages, I can not give help about them because I do not use them, I advice.
Reply View the author
abercoque
deepin
2018-04-03 00:58
#4
Thanks oscararg.
Reply View the author
oscararg
deepin
2018-04-03 08:06
#5
As an advice, installing last drivers is a little risky because they aren't verified by Deepin's devs, always save the .run file of the last Nvidia driver sucessfully installed, to reinstall it if the new driver fails for some reason.
Reply View the author
oscararg
deepin
2018-07-03 06:10
#6
Edited by oscararg at 2018-7-2 19:24

Adding some info: If Nouveau driver, as in last Deepin versions it does, makes impossible to change to propietary drivers with Deepin Graphics Manager (because instalation fails after reboot). Or, if installing the Nvidia driver from official page and it fails, even after using the modprobe file option. Its because Nouveau running even before greeting window.
So:
- sudo gedit /etc/modprobe.d/blacklist-nouveau.conf
- add it to the note blacklist nouveau
                                options nouveau modeset=0

- sudo update-initramfs -u
Then reboot and repeat the installing process again.
Reply View the author
oscararg
deepin
2018-08-22 20:59
#7
https://bbs.deepin.org/post/151191
Adding some info: If Nouveau driver, as in last Deepin versions it does, makes impossible to change  ...

After 15.7 update, blacklisting Nouveau makes impossible to login, even impossible to open the console with ctrl + alt + F2, so don't do this. Install 390.67 Deepin drivers, with sudo apt install nvidia-driver
Reply View the author
softhacker
deepin
2018-08-22 23:05
#8
Edited by softhacker at 2018-8-22 16:04

Lenovo Legion Y720 15IKB  - there is noway  to connect this notebook using  via hdmi 2 dvi cable (China) to Benq-Siemens GW2250 display.  Xrandr do not show any HDMI port.

But Windows10  working well , MX linux and Kubuntu also working good with second display.
It is impossible to install Nvidia drivers from .run file because of debian packages, problem to stop lightdm (xserver).

Guys I hate your software much  more and more!
--
Here is my logs

user@LENOVO:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.01*+  60.01    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  

--
user@LENOVO:~$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
00:15.2 Signal processing controller: Intel Corporation Device a162 (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1)
00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #4 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060] (rev a1)
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
3d:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
---

And you "new " Gtaphics driver manager do not want to switch to NVIDIA.  Maybe you made something wrong.

At all there is only ONE good thing at your OS - Full Pirate version of Crossover  - other is fullshit, especially Ukrainian translation
Reply View the author
oscararg
deepin
2018-10-20 21:41
#9
Updated the post.
Reply View the author
377549909
deepin
2018-11-15 17:20
#10
thank you very much
Reply View the author
larryk1717x
deepin
2018-12-04 04:42
#11
Edited by larryk1717x at 2018-12-4 01:16

After installing the driver how to teach applications like steam, obs and simple screen recorder do not work and sometimes neither install by the store
Reply View the author
oscararg
deepin
2018-12-04 08:26
#12
https://bbs.deepin.org/post/151191
After installing the driver how to teach applications like stream, obs and simple screen crecorder d ...

Install them as a flatpak.
Reply View the author
svenhsia
deepin
2019-01-15 15:21
#13
I didn't manage to remove the old version (390) by sudo apt purge nvidia*. There are always some package dependence problem.
Reply View the author
oscararg
deepin
2019-01-17 10:58
#14
As version 15.8 and 15.9 all I can say is that its impossible to install the last drivers from official page, so I do not recommend it for now.
Reply View the author
madalinv
deepin
2019-01-21 05:50
#15
or just use the ppa?
  1. apt purge nvidia* && apt autoremove --purge
  2. sudo add-apt-repository ppa:graphics-drivers/ppa
  3. sudo apt update
  4. sudo apt install nvidia-driver-415
Copy the Code
Reboot and that's it. no need to work with files and stuff.
Reply View the author
oscararg
deepin
2019-01-21 12:47
#16
https://bbs.deepin.org/post/151191
or just use the ppa?
Reboot and that's it. no need to work with files and stuff.

And you don't have nvidia-settings with it.
Reply View the author
sukarof
deepin
2019-01-23 09:49
#17
Edited by sukarof at 2019-1-23 01:54
https://bbs.deepin.org/post/151191
or just use the ppa?
Reboot and that's it. no need to work with files and stuff.

I tried that. After reboot I couldnt get into the login screen.
I did a dpkg repair in deepin recovery mode then I was able to boot into deepin with 1024x768 resolution. Thank god for Timeshift that saved my day

I have only been using deepin for 6 months, maybe some old timers can tell how often deepin update Nvidia graphic drivers?
Reply View the author
oscararg
deepin
2019-01-23 13:43
#18
Most distros don't distribute Nvidia's 410 series till now, not even Ubuntu, not even Debian, or Fedora, only Arch, and Ubuntu's ppa are testing ones. The only distros which offer the new drivers officially are Arch Linux's based ones.
Reply View the author
Comments
sukarof
2019-01-24 05:13
Thanks for the info.
drpeppercan
deepin
2019-09-21 17:09
#19
Are these instructions still good today?
Reply View the author
Aung Ko Oo
deepin
2019-10-19 00:42
#20
I'm using Dell Vostro 5568, from graphic manager it shows intel, open graphic driver and bumblebee. No options for Nvidia Geforce 940MX or Nvidia graphic driver option even after manually download the driver from nvidia official download page.
Reply View the author
1 / 2
To page