LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Deepin (https://www.linuxquestions.org/questions/linux-deepin-101/)
-   -   How to Install proprietary Nvidia drivers? (https://www.linuxquestions.org/questions/linux-deepin-101/how-to-install-proprietary-nvidia-drivers-4175661259/)

drpeppercan 09-21-2019 11:39 AM

How to Install proprietary Nvidia drivers?
 
I found these instructions dating almost a year ago.
I was wondering if they are good today, or if there is another way.

Thanks

Firerat 09-21-2019 11:53 AM

where possible use the ones available in the distros repo

if you feel they are too old, then download direct from nvidia
purge the ones currently installed and run the .run from nvidia

so yeah, those instructions are fine

drpeppercan 09-21-2019 11:58 AM

"...the ones available in the distros repo"
Are they the same showing in the Driver Manager app?

Thanks

Firerat 09-21-2019 12:09 PM

yes

unless you have a specific problem you need not worry


yo don't have any issues with the drivers do you?

what do you get from

Code:

glxinfo | grep ^[a-Z]

[code]

paste the output in code block

[/code]

drpeppercan 09-21-2019 05:06 PM

You might be right in saying that I may not need to change the graphics drivers.
I installed Steam and a simple game (Spelunky) and to my surprise, I was able to play it.

But here's the feedback from glxinfo anyway:
Code:

glxinfo | grep ^[a-Z]
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX version: 1.4
GLX extensions:
Extended renderer info (GLX_MESA_query_renderer):
OpenGL vendor string: nouveau
OpenGL renderer string: NV136
OpenGL core profile version string: 4.3 (Core Profile) Mesa 18.1.9
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 18.1.9
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.1.9
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:


Firerat 09-21-2019 05:22 PM


[code]
why did you not paste the output in
a code block?
[/code]


you are using the opensource drivers

you will get better performance from Nvidia's
just use the ones from deepin

Code:

sudo apt install nvidia-driver
or use which ever package manager you prefer

you will need* to reboot for those to take effect


* well, you don't *need* to, it is just much easier that way

drpeppercan 09-21-2019 05:27 PM

Code:

sudo apt install nvidia-driver
Am I supposed to replace "nvidia-driver" for the nvidia driver's name?

drpeppercan 09-21-2019 05:33 PM

In the Graphics Driver Manager, there is a choice at the top: "Use default driver". It says: NVIDIA driver is not detected in the current environment, and NVIDIA card will not work properly.
If I choose it and it doesn't work, what should I do to go back? Is there a command line I could use?

Thanks

Firerat 09-21-2019 05:43 PM

ok, good point, lets confirm your video card

Code:

lspci -k | grep -A 3 VGA

drpeppercan 09-21-2019 06:24 PM

Code:

01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
        Subsystem: PC Partner Limited / Sapphire Technology GP106 [GeForce GTX 1060 6GB]
        Kernel driver in use: nouveau
        Kernel modules: nvidiafb, nouveau


Firerat 09-21-2019 06:40 PM

you do have an Nvidia card

Code:

sudo apt install nvidia-driver

drpeppercan 09-21-2019 07:16 PM

Success: v. 390.87

Thank you so much Firerat! :)


DPC

Firerat 09-21-2019 07:24 PM

:D

tbh I didn't really do anything


All times are GMT -5. The time now is 07:35 AM.