Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Nvidia Video Card driver on Ubuntu system of Notebook computer

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to install Nvidia graphics card driver on the Ubuntu system of notebook computer". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to install Nvidia graphics card driver on notebook Ubuntu system".

I. preparatory work

You need to close the graphical interface before installing the driver. The following is the specific process:

1. It is assumed that you have installed Ubuntu 14.10 (14.04 is fine, and the installation process will not be repeated).

two。 Close the running program and Ctrl+Alt+F1 enters tty1 mode

3. Running

The code is as follows:

Sudo stop lightdm

, close the graphical interface (X Server)

4. Newly installed system, or have not tried to drive Duxian, skip this step

If you have tried other drivers before, uninstall them first.

Use

The code is as follows:

Sudo apt-get-purge remove nvidia

To uninstall

You can also borrow the uninstall function driven by the official website and try

The code is as follows:

Sudo sh 346.35.run-uninstall

(take 346.35.run as an example)

Download and install the driver

Because it is impossible to directly use the 346.35.run file provided by the NV official website (the screen will be black after installation, it can be restored after uninstallation, and sometimes it cannot be used normally even after uninstallation. ), which adds a third-party source to use the 346.35 driver provided by mamarley The following is the specific process

1. Running

The code is as follows:

Sudo add-apt-repository ppa:mamarley/nvidia

Add the source, and then enter the user password

two。 Running

The code is as follows:

Sudo apt-get update

Update sourc

3. Running

The code is as follows:

Sudo apt-get install nvidia-346

To install the 346.35 driver, you need to download about 90m files. Enter y to agree to download and install. Because the server is abroad, it takes a long time and waits patiently.

Apt-get will automatically choose whether to install 32-bit or 64-bit drivers according to the type of system, and the drivers in the restricted library are generally tested by Ubuntu, which is relatively more stable and easier to operate.

4. After the driver installation is complete, run sudo reboot to restart the computer

Third, check whether the dual video card is working properly

Open NVIDIA X Server Settings and look at the following figure. GPU 0-(GeForce GTX970M) appears, indicating that unique display has been enabled.

two。 You can choose to use unique display or nuclear display in PRIME Profiles.

The shortcut to the control panel of the Nvidia video card nvidia-settings is located at / usr/share/applications/nvidia-settings.desktop

You can link one to the desktop to facilitate graphics card settings. You can also directly Alt+F2 to run nvidia-settings to open the control panel, such as checking the temperature of the video card under Thermal Settings and switching the video card under PRIME Profiles. With nvidia-prime, you don't need bumblebee. You can switch graphics cards in nvidia-settings, the official control panel of Nvidia, which is very convenient.

When I turn on the Nvidia video card, the GPU temperature is 40 °C and the CPU temperature is 41 °C, as shown in the following figure.

When not playing large 3D games or watching HD videos, it is recommended that you switch from "Nvidia performance mode" to "Intel energy saving mode".

The Nvidia graphics card is automatically turned off in Intel energy saving mode, thus saving energy. In addition, Intel nuclear display itself has a good hardware acceleration ability, usually use Intel nuclear display.

For example, the tens of thousands of yuan MacBook on JD.com is only equipped with an i5 CPU and uses Intel Iris Graphics for hardware acceleration. In addition, many ultrabooks are only equipped with Intel low-voltage processors and use built-in HD Graphics.

Intel has integrated its own graphics driver into the Linux kernel project, so there is no need to install additional Intel graphics drivers, just out of the box. If you do not need to use unique display for a long time, you can boot into BIOS to change Graphic Mode from Switchable to Integrated to disable unique display.

Attachment: you can also install VirtualGL for glxspheres hardware acceleration testing.

Http://sourceforge.net/projects/virtualgl/files/VirtualGL/

For example, download the 64-bit Deb package and run / opt/VirtualGL/bin/glxspheres64 after installation to test it.

Thank you for your reading, the above is the content of "how to install Nvidia graphics card driver on the Ubuntu system of notebook computer". After the study of this article, I believe you have a deeper understanding of how to install Nvidia graphics card driver on the Ubuntu system of notebook computer. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report