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 solve the problem of graphics card under Linux for dual graphics card users

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces how to solve the problem of dual graphics card users under Linux, the content is very detailed, interested friends can refer to, hope to be helpful to you.

In what environment do people like to install Linux system?

In the notebook is a good choice, convenient and fast. Moreover, as the hardware management of users under Linux is more comprehensive, notebooks are really the best choice for Linux! Whether you have a quick and convenient office, a remote monitoring server, or go out to make trouble like me, it's always appropriate to go with a laptop with a Linux.

However, in today's notebooks, CPU always takes a small kernel display and a unique display. As far as the driver is concerned, it is very easy to solve. Intel kernel has its own driver in the Linux kernel, and the independent graphics card driver of Nvidia or AMD/ATI can also be easily installed and run.

Then it will break down, your notebook will run all the time, power consumption and heat loss hardware, and the 3-year-old book is only in your hand for a year and a half.

Next we have to solve this problem!

1. Find out the unique features of your notebook.

I won't say any more about this, and we'll figure it out by ourselves!

Combination of 2.Intel and Nvidia

1]. Nvidia-prime, this is the official project of Nvidia, and the feasibility is very high.

By default, everyone's N cards are Nouveau open source drivers, and their performance is not as good as the official drivers. So if you want the machine to run at maximum performance, you have to disable it.

If there is a nouveau-blacklist.conf under / etc/modprobe.d/, edit the file. Add blacklist nouveau at the end of the file

Sudo su

Gedit / etc/modprobe.d/blacklist

Then, install the driver and Prime in the terminal: (why install the Nvidia 319 driver instead of the latest 331 driver? Because there is no setup program for the 331 driver in the software source, the 319 driver is sufficient)

Sudo apt-get install nvidia-319 nvidia-settings-319 nvidia-prime

After installation, a Nvidia Prime dual video card switching indicator is also installed, which can be used to switch video cards with a click of the mouse in the system tray without using the command. Use the following PPA installation in the terminal:

Sudo add-apt-repository ppa:nilarimogard/webupd8

Sudo apt-get update

Sudo apt-get install prime-indicator

Finally, restart your computer and you will find that there is a small icon in the desktop environment tray. Use it to ok.

2] .bumblebee, this is a community-led project that predates prime, but it is also used by a lot of people.

First of all, it is also necessary to disable the open source driver of the N card, as mentioned above.

Next, install bumblebee.

Since I only have fedora machines here, all commands are subject to fedora 28. Other versions of fedora are used. Please download them here. Other distributions are more or less the same.

# dnf-y-nogpgcheck install http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee-nonfree/fedora28/noarch/bumblebee-nonfree-release-1.2-1.noarch.rpm

Then install nvidia-bumblebee

# dnf install bumblebee-nvidia bbswitch-dkms VirtualGL.x86_64 VirtualGL.i686 primus.x86

Restart the machine and you can use it. Isn't it convenient?

The common usage is:

$optirun [options] application [application-parameters

3.Intel and AMD/ATI

At this time, the convenience of A card users is reflected!

Go to the official website and download the latest driver installation.

Then, you can use the official graphical management software to manage your graphics card!

What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.

On the dual graphics card users how to solve the Linux graphics card problem is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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