In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to install the Nvidia driver and switch the graphics card for the Ubuntu system on the notebook". In the daily operation, it is believed that many people have doubts about how to install the Nvidia driver and switch the graphics card for the Ubuntu system on the notebook. The editor consulted all kinds of materials and sorted out a simple and useful method of operation. I hope it will be helpful to answer the question of "how to install the Nvidia driver and switch the graphics card for the Ubuntu system on the notebook"! Next, please follow the editor to study!
Preparatory work:
Execute the following command to cleanly uninstall the previously installed nvidia driver
The code is as follows:
Sudo apt-get remove-purge nvidia-*
Sudo apt-get install ubuntu-desktop
Sudo rm / etc/X11/xorg.conf
Echo 'nouveau' | sudo tee-a / etc/modules
Installation
Ubuntu's private driver library restricted includes Nvidia's official graphics driver. We can easily use apt-get or install it in a graphical Ubuntu software center:
The code is as follows:
Sudo apt-get install nvidia-331 nvidia-settings nvidia-prime
Like Windows, installing the graphics driver requires a reboot to take effect.
The Nvidia official website also provides driver installers for Linux, such as the latest stable version 331 for 64-bit Linux:
Http://www.geforce.cn/drivers/results/75062
However, it is recommended to install directly with apt-get. Apt-get will automatically choose whether to install 32-bit or 64-bit drivers according to the system type, and the drivers in the restricted library are generally tested by Ubuntu, which is relatively more stable and more convenient to operate.
Handover
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.
Or after entering the system, the resolution may be incorrect. You can execute the following command to view the driver currently used.
The code is as follows:
Prime-select query
If you output intel, execute the following command
The code is as follows:
Sudo update-alternatives-config i386-linux-gnu_gl_conf
Choose the nvidia-331-uvm item
The code is as follows:
Sudo update-alternatives-config x86_64-linux-gnu_gl_conf
Also choose nvidia-331-uvm.
Finally, update the system.
The code is as follows:
Sudo ldconfig-n
Sudo update-initramfs-u
Select nvidia driver
The code is as follows:
Sudo prime-select nvidia
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.
At this point, the study on "how to install Nvidia drivers and switch graphics cards for the Ubuntu system on the notebook" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.