Yadda ake girka direbobin AMD / ATI a cikin Ubuntu 18.04?

AMD Radeon

En labarin da ya gabata Na raba wasu hanyoyi don yin shigarwa na Nvidia direbobin bidiyo akan tsarin muTo, yanzu lokaci ne na waɗanda suke tare da direbobin AMD.

Don samun damar girka direbobin bidiyo na kwakwalwar mu Dole ne mu san samfurin hotunan mu na bidiyo, wannan ya haɗa da masu sarrafa AMD waɗanda an daɗe sun haɗu tare da haɗin hoto.

Ya kamata a faɗi cewa wannan labarin ya dace da sababbin abubuwa, tunda wannan batun yawanci abu ne da ake tambaya sau da yawa.

Shigar da direbobin AMD Firistoci a Ubuntu

Dole mu yi bude m kuma gudanar da umarni mai zuwa:

lspci | grep VGA

Don haka zai nuna muku wani abu kamar haka:

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] [Radeon R5 (PCIE)]

A halin da nake ciki ina da mai sarrafa AMD tare da hadadden Radeon R5 GPU.

Tare da wannan bayanin, muna ci gaba da zazzage direban da ya dace da tsarinmu.

Dole ne mu je ga hukuma AMD shafi don sauke direba daidai da katin bidiyo. Haɗin haɗin shine wannan.

Anyi saukewar dole ne mu zare fayil din da muka samu, a cikin tashar mun sanya kanmu kan babban fayil din da muke ajiye fayil din kuma muka aiwatar:

tar -xJvf amdgpu-pro _ *. tar.xz

Za'a kirkiro kundin adireshi wanda yake dauke da dukkan abubuwanda ake bukata na direba. Mun shigar da kundin adireshi:

cd amdgpu-pro-XX.XX-XXXXXX

Kafin girka dole ne mu kara tallafi don gine-gine 32-bit:

sudo dpkg --add-architecture i386

sudo apt update

Kuma yanzu bari mu gudu rubutun shigarwa. A cikin tashar mun rubuta:

./amdgpu-pro-install -y

Zasu iya amfani da waɗannan muhawara dangane da shari'ar.

--px  PX platform support

--online    Force installation from an online repository

--version=VERSION      Install the specified driver VERSION

--pro        Install "pro" support (legacy OpenGL and Vulkan)

--opencl=legacy    Install legacy OpenCL support

--opencl=rocm      Install ROCm OpenCL support

--opencl=legacy,rocm       Install both legacy and ROCm OpenCL support

--headless    Headless installation (only OpenCL support)

--compute     (DEPRECATED) Equal to --opencl=legacy –headless

Shawarwarin da aka ba da shawarar don kafawa mai santsi shine -px.

A karshen shigarwar kawai zaka sake kunna kwamfutarka sab thatda haka, ana ɗora sababbin direbobi a farawa kuma zaka iya fara tsarinka ta amfani dasu.

Como hanyoyi masu ban sha'awa waɗanda zaku iya girka:

./amdgpu-pro-install --opencl=rocm

Yadda ake cirewa direbobin Radeon a Ubuntu 18.04?

Yanzu daya daga cikin matsaloli mafi saurin faruwa galibi shine lokacin da ka sake kunna kwamfutarka allon ya zama baƙi kuma ba ya nuna maka yanayin tebur.

Don haka don sake jujjuya canje-canjen kawai zaka bude TTY tare da Ctrl + Alt + F1 kuma a ciki kuke rubuta:

amdgpu-pro-uninstall

Kuna iya gwadawa tare da wasu maganganun shigarwa idan na baya bai muku aiki ba.

Wani bayani shine gyara burbushin, dole ne mu gyara layi mai zuwa, don wannan muke aiwatarwa:

sudo nano /etc/default/grub

Suka kara amdgpu.vm_fragment_size = 9 a cikin layi mai zuwa, yana kama da wannan:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.vm_fragment_size=9"

Shigar da tushen buɗewa direbobi ATI / AMD a cikin Ubuntu 18.04

Tsohuwa Ubuntu 18.04, tuni yana da buɗe tushen shigar direbobin AMD. An gina su a cikin Mesa da Linux Kernel.

Kodayake, a suna son samun sabbin abubuwan sabuntawa cikin sauri, Tunda fakitin cikin manyan wuraren adana Ubuntu ba koyaushe suke sabunta ba, zamu iya dogaro da ma'ajiyar ajiya.

Wannan PPA yana ba da ingantattun direbobi masu kyauta X (2D) da tebur (3D). Kunshin sabuntawa yana samarwa:

  • Vulcan 1.1+
  •  OpenGL 4.5 + tallafi da sabon faɗaɗa OpenGL
  • Tallafin OpenCL tare da tallafi na libclc
  • Gallium -nine aka sabunta
  • VDPAU da VAAPI Gallium3D Saurin Direbobin Bidiyo

Don ƙara wannan PPA a cikin tsarinmu, ya zama dole mu bude tashar tare da Ctrl + Alt + T da muna aiwatarwa dokokin nan masu zuwa:

sudo add-apt-repository ppa:oibaf/graphics-drivers

sudo apt-get update

Kuma mun shigar tare da:

sudo apt install xserver-xorg-video-amdgpu

Y idan kana son shigar da tallafi ga Vulkan:

sudo apt install mesa-vulkan-drivers

Wata hanya don tsarin shigar da direbobi shine:

sudo apt update && sudo apt -y upgrade

A karshen dole ne mu sake kunna kwamfutarmu kuma za a ɗora canje-canje a farkon tsarin.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

8 comments, bar naka

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Roberto m

    Wannan umarnin da aka nakalto a cikin labarin ku BA yayi aiki ba: sudo add-apt-repository ppa: oibaf / graphics-drivers.
    Bayan bada password dina sai ya isar da sako mai zuwa: Kuskure: ma'ajiyar ajiya guda daya ake bukata a matsayin hujja.

  2.   Daren Vampire m

    Dauke wurare don yin aiki:

    sudo add-apt-mangaza ppa: oibaf / masu zane-zane

  3.   Mai ba da fanti m

    Barka dai, na bi matakai a cikin labarin kuma yanzu na sami allo na baƙin yayin saka mesa a Ubuntu 18.04. kuna da wata shawara yadda za'a gyara ta? Duk mafi kyau

  4.   Emilio m

    Ba ya aiki, ni kai tsaye a kan shafin amd na zazzage direba a cikin tsarin .deb, suna ba ku rarrabuwa tare da duk abin dogaro kuma gwargwadon abin da gpu kuke da shi dole ne ku girka su a cikin tsarin da yake buƙata sannan kuma Ina da allo a baki kuma ban fara tsarin ba bayan barin tambarin ... Ka manta da kowace irin hanya, ba za ka iya ba kuma lokaci

  5.   Oscar m

    Barka dai, na gode da sakon.

    Tambaya ɗaya, Na fahimci cewa vulkan duka a cikin sigar buɗewar matattara, kamar yadda yake a cikin masu shi.

    Wadanne ne za su ba da aiki mafi kyau a yau?

  6.   paco m

    Barka dai, na gode sosai da darasin. Ya zama babban taimako a gare ni!

  7.   xawafi m

    Tare da Ubuntu 18.04 bayan watsi da isassun bayan sanya matattun direbobi tare da mai biyowa mai zuwa ./amdgpu-pro-install –opencl = rocm ya zama dole GRUB_CMDLINE_LINUX_DEFAULT = »shiru fantsama amdgpu.dc = 0 ″ domin baƙin allon ba zai ƙara bayyana ba.
    Ina fatan zai yi muku amfani

  8.   Valentin m

    Ina bukatan taimako, Na yi kokarin girka direbobi na tsawon awanni kuma ina amfani da wannan tsokaci azaman makoma ta karshe.

    a cikin amsar wannan umarnin: tar -xJvf amdgpu-pro _ *. tar.xz
    ubuntu ya jefa ni:

    tar (yaro): amdgpu-pro: Ba za a iya buɗewa ba: Fayil ko kundin adireshi babu shi
    tar (yaro): Kuskuren ba za'a iya dawo dashi ba: yana fitowa yanzu
    tar: Yaron ya dawo da matsayinsa 2
    tar: Kuskuren ba za'a iya dawo da shi ba: fita yanzu

    abin da ban gane ba shine dalili tunda nayi duk matakan zuwa harafin (sau 5 ko 6)