Maitiro ekuisa Vulkan API rutsigiro paLinux?

rinoputika
Vulkan ndeyeyambuka-chikuva API yekuvandudza kunyorera neiyo 3D mifananidzo. Yakatanga kuziviswa ku2015 GDC neKhronos Boka. Pakutanga, yakapihwa naKhronos se "chizvarwa chinotevera OpenGL chirongwa", asi gare gare zita rakakandwa, richisiya Vulkan seyekupedzisira.

Vulkan yakavakirwa paMantle, imwe API kubva kuADD, iyo kodhi yakapihwa Khronos nechinangwa chekugadzira yakavhurika chiyero chakafanana neOverGL, asi padanho rakaderera.

Hunhu hwayo hukuru ndewekuti inogona kutora mukana weiyo nhamba yemakoresi aripo mune huru processor yePC, zvinoshamisa kuwedzera magiraidhi mashandiro.

Vulkan inoitirwa kupa akasiyana mabhenefiti pamusoro pemamwe maAPI, pamwe neyakatangira, OpenGL. Vulkan inopa zvishoma pamusoro, yakatwasuka kutonga pamusoro peGPU, uye kudzikisa kushandiswa kweCPU. Pfungwa yakajairika uye seti yeVulkan yakafanana neDirectx 12, Metal, uye Mantle.

Kuisa Vulkan paLinux

Usati waenderera mberi nekumisikidza, Izvo zvakakosha kuti uite tsvagiridzo yako paVulkan kuenderana neGPU yako sezvo asiri ese mamodheru anotsigirwa. Izvi ndezve iwe pachako kubhadhara uye iwe unofanirwa kunanga kune yako GPU yekugadzira webhusaiti uye utarise kumusoro kunoenderana specs.

Izvo zvinodawo kuve neazvino madhiraivhu akagadzika evhidhiyo mukuparadzira kwedu, kwaunogona kushandisa ese akavhurika uye akazvimirira macontroller pano, inyaya yekuravira.

Kuiswa paDebian

Kune avo vari vashandisi veDebian kana chero kumwe kugovera kunoenderana nazvo, Iwe unofanirwa kumhanyisa imwe yemirairo inotevera yekuisa Vulkan kune yako system.

Kune avo vari vanoshandisa AMD GPU:

sudo apt install libvulkan1 mesa-vulkan-drivers vulkan-utils

Iye zvino kune avo venyu vari vashandisi veNvidia GPU:

sudo apt install vulkan-utils

Kuiswa muUbuntu uye zvigadzirwa

Avo vari vashandisi veUbuntu, Linux Mint, Elementary OS kana chero chimwe chinobva paUbuntu. Ivo vanogona kuita kumisikidza nenzira yakafanana neyaDebian, chete kuti pano isu tishandise zvinyorwa zveiyo.

Kutanga kune vese zvavari Vashandisi ve AMD GPU vanofanirwa kuwedzera inotevera dura:

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

Ini ndakazoisa ne:

sudo apt install libvulkan1 mesa-vulkan-drivers vulkan-utils

Zvino kune chero ani Vashandisi veNvidia GPU vanongowedzera iyi repository:

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt upgrade

Uye isu tinoisa ne:

sudo apt install nvidia-graphics-drivers-396 nvidia-settings vulkan vulkan-utils

Kuisirwa pane Fedora

Kune avo vari vashandisi veFedora pamwe nekugovera kunobva kwazviri. Unogona kuisa iyo Vulkan API pane yako system nekutevera iwo mirairo zvinoenderana neGPU yako.
Ivo vane AMD GPUs vanofanirwa kumhanya unotevera kuraira:

sudo dnf install vulkan vulkan-info

Vashandisi vane Nvidia GPUs vanofanirwa kumhanya zvinotevera mune terminal:

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Uye gare gare, kuisa iyo Vulkan mifananidzo API, tichaita zvinotevera mune terminal.

sudo dnf install xorg-x11-drv-nvidia akmod-nvidia vulkan vulkan-tools

Kuisirwa yakavhurikaSUSE

Muchiitiko cheavo vari vashandisi ve chero vhezheni ye openSUSE, isu tichaisa iyo Vulkan API nekuita zvinotevera mune terminal.
Vashandisi ve AMD GPU:

sudo zypper in vulkan libvulkan1 vulkan-utils mesa-vulkan-drivers

Vashandisi veNvidia GPU:

sudo zypper in vulkan libvulkan1 vulkan-utils

Kuisirwa pane Arch Linux uye zvigadzirwa

Chekupedzisira, kune avo vari vashandisi veArch Linux, Manjaro Linux, Antergos kana chero chimwe chinobva paArch Linux, ivo vachakwanisa kuisa iyi API nenzira inotevera.

Mune chaiyo kesi yekuparadzirwa kweLinux, iwe unofanirwa kuziva kuti kuisirwa kwevatyairi vhidhiyo yeGPU yako yakati siyanei zvishoma pane zvinogona kuitwa mune kumwe kugovera.

Sezvaunoziva, mune iyo AMD GPUs, pane Radeon kana AMDGPU Pro mapakeji, saka pano isu tine akati wandei sarudzo yeVulkan API.

Kutanga kune avo vane Intel GPUs ivo vari kuzoisa zvinotevera:

sudo pacman -S vulkan-intel

Iye zvino yevashandisi ve AMD GPU, asi naRadeon madhiraivha isa zvinotevera:

sudo pacman -S vulkan-radeon

Mune imwe nyaya kubva ku AMD asi uchishandisa iyo AMDGPU Pro madhiraivha, izvi zvichaitwa kubva kuAUR.

yay -S amdgpu-pro-vulkan

Chekupedzisira, kuongorora iko kuiswa kwatinoita:

glxinfo | grep -i vulkan

Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Makomendi gumi, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   Albrecht akadaro

    Mangwanani, iyi api inobatsirawo maAPU here kana chete yemakadhi akatsaurwa emifananidzo?

  2.   James pfungwa akadaro

    Pandinoda kuisa vulkan, izvi zvinoratidzika kwandiri
    sudo apt kuisa nvidia-giraidhi-dhiraivha-396 nvidia-marongero vulkan vulkan-utils
    Kuverenga package package ... Yakaitwa
    Kugadzira kutsamira muti
    Kuverenga ruzivo rwechimiro ... Zvaitwa
    E: Iyo nvidia-giraidhi-dhiraivha-396 package haina kugona kuwanikwa
    E: Iyo vulkan package haina kugona kuwanikwa
    uye ini handikwanise kushandisa vulkan papc yangu.