Otu esi etinye ma ọ bụ kwalite Nvidia ndị ọkwọ ụgbọ ala na Linux Mint 20

Ọtụtụ sistemụ desktọpụ Linux ọgbara ọhụrụ dịka Mint Linux bia na a Nvidia ọkwọ ụgbọala etinyegoro na mbụ Ọhụrụ Onye na-anya ngwaọrụ eserese mepere emepe maka kaadị vidiyo Nvidia. Maka ọtụtụ akụkụ, nke a bụ ihe a na-anabata; Agbanyeghị, ọ bụrụ na ị na-eji sistemụ Linux gị maka imepụta eserese ma ọ bụ egwuregwu, ị nwere ike nweta ndị ọkwọ ụgbọ ala ka mma.

Kemgbe ụwa, Ọhụrụ Ndị ọkwọ ụgbọ ala nwere ji nwayọọ nwayọọ karịa nke Nvidia, nke na-enweghị njirimara kacha ọhụrụ ngwaike kaadị eserese, teknụzụ ngwanrọ na nkwado. N'ọtụtụ ọnọdụ, ịkwalite ndị ọkwọ ụgbọ ala Nvidia gị site na iji ntuziaka ndị a bara uru karịa ịmeghị ya. N'ọnọdụ ụfọdụ, ị nwere ike ịhụ nkwalite ụfọdụ n'ozuzu ya.

N'ime nkuzi na-esonụ, ị ga-amụta ka esi etinye Nvidia Graphic Drivers maka usoro 470.xx / 465.xx / 460.xx / 390.xx na 340.xx site na Nvidia Proprietary Repository, na-enye gị ihe kachasị ọhụrụ na ngwanrọ dị.

Prerequisites

Melite Sistemụ Ọrụ

Melite gi Mint Linux Sistemụ arụmọrụ iji hụ na ngwugwu niile dị adị adịla ugbu a:

sudo apt update && sudo apt upgrade -y

Nkuzi a ga-eji ya sudo iwu na na-eche na ị nwere ọnọdụ sudo. Iji nyochaa ọkwa sudo na akaụntụ gị:

sudo whoami

Ihe atụ na-egosi ọkwa sudo:

[joshua@linuxmint ~]$ sudo whoami
root

Ọ bụrụ na ịtọbeghị akaụntụ onye ọrụ sudo ma ọ ga-amasị gị, gaa na nkuzi anyị Otu esi etinye onye ọrụ na Sudoers na Linux Mint.

Iji mgbọrọgwụ akaụntụ, jiri iwu na-esonụ na paswọọdụ mgbọrọgwụ banye.

su

Advertisement


Wụnye Nhọrọ 1. Wụnye ndị ọkwọ ụgbọ ala NVIDIA site na iji Terminal

Nhọrọ mbụ iji wụnye ndị ọkwọ ụgbọ ala NVIDIA maka sistemụ arụmọrụ Mint 20 Linux gị bụ iji ahịrị iwu. Ndị ọrụ dị elu na-ahọrọ iji iwu dabere na iwu, mana onye mbido nwere ike nweta nke a ngwa ngwa site na ihe ndị a:

Mepee ọnụ ọnụ gị "CTRL + TLỌ + T" wee chọpụta ozi na kaadị eserese gị nke mbụ.

ubuntu-drivers devices

Ihe atụ mmepụta:

ubuntu-drivers devices
 == /sys/devices/pci0000:00/0000:00:03.0/0000:03:00.0 ==
 modalias : pci:v000010DEd00001F82sv00001458sd00004028bc03sc00i00
 vendor   : NVIDIA Corporation
 model    : TU117 [GeForce GTX 1650]
 driver   : nvidia-driver-450-server - distro non-free
 driver   : nvidia-driver-418-server - distro non-free
 driver   : nvidia-driver-460 - distro non-free recommended
 driver   : nvidia-driver-465 - distro non-free
 driver   : nvidia-driver-460-server - distro non-free
 driver   : xserver-xorg-video-nouveau - distro free builtin

Site ihe atụ mmepụta, ị pụrụ ịhụ anyị sistemụ modul bụ "TU117 (GeForce GTX 1650] ”, na onye ọkwọ ụgbọ ala Nvidia akwadoro bụ "Nvidia-ọkwọ ụgbọala-460". Cheta na nke a bụ naanị ihe atụ. Onye ọ bụla ga-enwe kaadị eserese Nivida dị iche iche. Chọọ maka nhọrọ akwadoro ma ọ bụrụ na enwere otu.

Ọzọ, anyị ga-etinye ihe "Nvidia-ọkwọ ụgbọala-460" ngwugwu ọkwọ ụgbọala. Enwere ike ime nke a n'ụzọ abụọ.

Nke mbụ, ọ bụrụ na ị nwere mmasị na ụdị akwadoro, jiri iwu a:

sudo ubuntu-drivers autoinstall

Nke abụọ, kọwaa ya n'okpuru ma ọ bụrụ na ịchọrọ ịwụnye ngwugwu ọkwọ ụgbọala ozugbo ma ọ bụ họrọ ụdị ọzọ.

sudo apt install nvidia-driver-460

Ozugbo arụnyere, ị ga-achọ ịmalitegharị sistemụ arụmọrụ Mint Linux gị, tinye iwu a:

reboot

Mgbe ịbanye n'ime sistemụ gị, ị nwere ike ịlele ọkwa nke kaadị eserese site na iji "Nvidia-smi" iwu.

nvidia-smi

Ihe atụ mmepụta:

~$ nvidia-smi
 Sun Oct 3 23:01:34 2021       
 +-----------------------------------------------------------------------------+
 | NVIDIA-SMI 460.91.03       Driver Version: 460.91.03      CUDA Version: 11.2     |
 |-------------------------------+----------------------+----------------------+
 | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
 | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
 |                               |                      |               MIG M. |
 |===============================+======================+======================|
 |   0  GeForce GTX 1650    Off  | 00000000:03:00.0  On |                  N/A |
 | 56%   30C    P8    N/A /  75W |    403MiB /  3903MiB |      5%      Default |
 |                               |                      |                  N/A |
 +-------------------------------+----------------------+----------------------+
 +-----------------------------------------------------------------------------+
 | Processes:                                                                  |
 |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
 |        ID   ID                                                   Usage      |
 |=============================================================================|
 |    0   N/A  N/A      1627      G   /usr/lib/xorg/Xorg                182MiB |
 |    0   N/A  N/A      1772      G   /usr/bin/gnome-shell               35MiB |
 |    0   N/A  N/A      3782      G   …lib/vmware/bin/vmware-vmx        8MiB |
 |    0   N/A  N/A     35908      G   …lib/vmware/bin/vmware-vmx        8MiB |
 |    0   N/A  N/A     81318      G   /usr/lib/firefox/firefox          161MiB |
 +-----------------------------------------------------------------------------+

Wụnye Nhọrọ 2. Wụnye ndị ọkwọ ụgbọ ala NVIDIA Iji GUI

Ihe ngwọta nke abụọ na ịwụnye Nvidia Drivers bụ iji usoro GUI. A na-akwado nke a maka ndị mbido na Linux karịsịa.

Nke mbụ, gaa na nke gị Ogwe ọrụ> nchịkwa> Dosimiri Manager.

Ihe Nlereanya:

Otu esi etinye ma ọ bụ kwalite Nvidia ndị ọkwọ ụgbọ ala na Linux Mint 20

Na-esote, a ga-egosi gị nhọrọ ndị a na-enye. Site na ndabara, ọ ga-abụ na ị ga-etinyerịrị ndị ọkwọ ụgbọala mepere emepe. Agbanyeghị, dị ka ihe atụ dị n'okpuru na-egosi, a na-atụ aro ya ọbụlagodi Linux Mint ka ịwụnye ndị ọkwọ ụgbọ ala kacha ọhụrụ site na ebe nchekwa ụlọ Nvidia.

Ihe Nlereanya:

Otu esi etinye ma ọ bụ kwalite Nvidia ndị ọkwọ ụgbọ ala na Linux Mint 20

Nzọụkwụ ọzọ bụ ịhọrọ Nvidia diver ịchọrọ ịwụnye wee pịa ya "Tinye Mgbanwe" bọtịnụ.

Mara, nrụnye ga-ewe 2 ruo 3 nkeji, dabere na sistemụ gị na akụrụngwa ya.

Ozugbo arụnyere, malitegharịa sistemụ arụmọrụ gị.

reboot

Ọ bụ ya. Ị tinyela Nvidia Drivers site na iji usoro GUI. Ndụmọdụ dị mma bụ ịlele ntọala na ozi nke kaadị eserese gị, nke enwere ike ịme na ọdụ gị, na-akpọku iwu a.

sudo nvidia-settings
Otu esi etinye ma ọ bụ kwalite Nvidia ndị ọkwọ ụgbọ ala na Linux Mint 20

Advertisement


Wụnye nhọrọ - Wụnye Nvidia Bleeding Edge PPA Beta Drivers

Ka e were ya na ịchọrọ ngwugwu Nvidia ọhụrụ n'ihi na kaadị eserese gị bụ modul ọhụrụ. Ị nweghị ike ịhụ nkwado onye ọkwọ ụgbọ ala na ebe nchekwa ndabere dị na Ubuntu/Linux Mint; tinye Nvidia PPA ndị a.

sudo apt install software-properties-common
sudo add-apt-repository ppa:graphics-drivers/ppa

Mwepụta ihe atụ ma ọ bụrụ na ọ ga nke ọma:

gpg: key FCAE110B1118213C: public key "Launchpad PPA for Graphics Drivers Team" imported
gpg: Total number processed: 1
gpg:               imported: 1

Mara, agụọ ndị ọkwọ ụgbọ ala ndị a dị ka ndị anaghị akwụrụ ọtọ. Wụnye na ihe egwu nke gị. Jide n'aka na ịkwado ihe niile na mbụ.

Na-esote, pịnye iwu ọnụ ka iweta ndụmọdụ na kaadị eserese gị.

ubuntu-drivers devices

Ị ga-enweta mmepụta ọhụrụ ma e jiri ya tụnyere nke mbụ yana kwụsiri ike:

~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:03.0/0000:03:00.0 ==
modalias : pci:v000010DEd00001F82sv00001458sd00004028bc03sc00i00
vendor   : NVIDIA Corporation
model    : TU117 [GeForce GTX 1650]
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-460-server - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-470 - distro non-free recommended
driver   : nvidia-driver-460 - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

Dị ka ị pụrụ ịhụ, anyị nwere ugbu a ndị ọzọ akwadoro ọkwọ ụgbọala. Iji wụnye, soro nhọrọ iwu ọzọ.

Nke mbụ, ọ bụrụ na ị nwere mmasị na ụdị akwadoro, jiri iwu a:

sudo ubuntu-drivers autoinstall

Nke abụọ, kọwaa ya n'okpuru ma ọ bụrụ na ịchọrọ ịwụnye ngwugwu ọkwọ ụgbọala ozugbo ma ọ bụ họrọ ụdị ọzọ.

sudo apt install nvidia-driver-460

Site na ndị ọkwọ ụgbọ ala nnwale/beta ọhụrụ, ị ga na-emelite ngwugwu nkwado ole na ole.

Ihe atụ mmepụta:

 Reading package lists… Done
 Building dependency tree… Done
 Reading state information… Done
 The following additional packages will be installed:
   dctrl-tools dkms libnvidia-cfg1-460 libnvidia-compute-460 libnvidia-decode-460
   libnvidia-encode-460 libnvidia-extra-460 libnvidia-fbc1-460 libnvidia-gl-460
   libnvidia-ifr1-460 nvidia-compute-utils-460 nvidia-dkms-460 nvidia-kernel-common-460
   nvidia-kernel-source-460 nvidia-utils-460 xserver-xorg-video-nvidia-460
 Suggested packages:
   debtags menu
 Recommended packages:
   libnvidia-compute-460:i386 libnvidia-decode-460:i386 libnvidia-encode-460:i386
 The following NEW packages will be installed:
  libnvidia-cfg1-460 libnvidia-common-460 libnvidia-compute-460
  libnvidia-compute-460:i386 libnvidia-decode-460 libnvidia-decode-460:i386
  libnvidia-encode-460 libnvidia-encode-460:i386 libnvidia-extra-460
  libnvidia-fbc1-460 libnvidia-fbc1-460:i386 libnvidia-gl-460
  libnvidia-gl-460:i386 libnvidia-ifr1-460 libnvidia-ifr1-460:i386
  nvidia-compute-utils-460 nvidia-dkms-460 nvidia-driver-460
  nvidia-kernel-common-460 nvidia-kernel-source-460 nvidia-utils-460
  xserver-xorg-video-nvidia-460
0 to upgrade, 22 to newly install, 22 to remove and 0 not to upgrade.
Need to get 175 MB of archives.
After this operation, 159 MB disk space will be freed.
Do you want to continue? [Y/n] y

ụdị "Y," wee pịa "Tinye igodo" ịga n'ihu na mezue nrụnye. Cheta ịmalitegharị sistemụ gị dịka ọ dị na mbụ.

reboot

Wụnye usoro Nvidia ọkwọ ụgbọ ala 470.xx kacha ọhụrụ

Ị nwekwara ike ịwụnye usoro 470 kachasị ọhụrụ nke na-akwado kaadị eserese Nvidia ọhụrụ; n'okpuru bụ ihe atụ ọzọ.

Gbaa iwu ahụ Ngwa "ubuntu-ọkwọ ụgbọala."

ubuntu-drivers devices

Ihe atụ mmepụta:

== /sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0 ==
modalias : pci:v000010DEd00001E89sv00001458sd00003FC1bc03sc00i00
vendor : NVIDIA Corporation
model : TU104 [GeForce RTX 2060]
driver : nvidia-driver-450-server - distro non-free
driver : nvidia-driver-460-server - distro non-free
driver : nvidia-driver-460 - distro non-free
driver : nvidia-driver-470-server - distro non-free
driver : nvidia-driver-470 - third-party non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin

A na-atụ aro Nvidia Driver 470 Third Party (Nvidia). Iji wụnye ọkwọ ụgbọala a maka ngwugwu ọkwọ ụgbọ ala kacha ọhụrụ, mee iwu a:

sudo apt install nvidia-driver-470 -y

Mara, ọ bụrụ na ị wụnyela ndị ọkwọ ụgbọ ala Nvidia gara aga site na ebe nchekwa ọ bụla, mgbe ị gbakwunyere PPA, ị nwere ike ịme iwu mmelite wee kwalite.

sudo apt update

Ọ bụrụ na enwere mmelite dịnụ nke kwesịrị ịdị ebe ọ bụ na PPA na-emelite oge niile site na Nvidia wuru ọhụrụ, mee iwu nkwalite dabara adaba:

sudo apt upgrade

Ihe atụ mmepụta:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libnvidia-cfg1-470 libnvidia-common-470 libnvidia-compute-470
  libnvidia-compute-470:i386 libnvidia-decode-470 libnvidia-decode-470:i386
  libnvidia-encode-470 libnvidia-encode-470:i386 libnvidia-extra-470
  libnvidia-fbc1-470 libnvidia-fbc1-470:i386 libnvidia-gl-470
  libnvidia-gl-470:i386 libnvidia-ifr1-470 libnvidia-ifr1-470:i386
  nvidia-compute-utils-470 nvidia-dkms-470 nvidia-driver-470
  nvidia-kernel-common-470 nvidia-kernel-source-470 nvidia-utils-470
  xserver-xorg-video-nvidia-470
22 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 270 MB of archives.
After this operation, 529 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

ụdị "Y," wee pịa "Tinye igodo" ịga n'ihu na nkwalite.

Ugbu a malitegharịa usoro Ubuntu gị.

reboot

Ugbu a gosi na iji ya "Nvidia-smi" nye iwu ka arụnyere ụdị ọkwọ ụgbọ ala Nvidia:

nvidia-smi

Ihe atụ mmepụta:

Otu esi etinye ma ọ bụ kwalite Nvidia ndị ọkwọ ụgbọ ala na Linux Mint 20

Ekele, ị wụnyela Nvidia Graphic Card Drivers ọhụrụ.

Otu esi etinye ma ọ bụ kwalite Nvidia ndị ọkwọ ụgbọ ala na Linux Mint 20

Okwu na mmechi

N'ime ntuziaka ahụ, ị ​​mụtara ka esi etinye ihe nkwụsi ike kacha ọhụrụ ma ọ bụ beta na Desktọpụ Mint 20.x Linux gị. Enwere ike ịchọta ozi ndị ọzọ na Nvidia Drivers maka Linux Mint (Ubuntu) site na ịga na Ubuntu nchọpụta nsogbu ngalaba.

4 echiche na "Otu esi etinye ma ọ bụ kwalite Nvidia ndị ọkwọ ụgbọ ala na Linux Mint 20"

Ahapụ a Comment