Mai kula da kunshin Firefox don Fedora ya sanar da hakan tallafi yanzu yana shirye don amfani da hanzarin kayan aiki don sauya bidiyo Firefox a cikin Fedora ta amfani da VA-API, tun lokacin da hanzari har zuwa yanzu kawai ke aiki a cikin yanayin da ke kan Wayland, tun lokacin da aka aiwatar da tallafin Chromium VA-API a Fedora a bara.
Wannan ƙarin goyan bayan hanzarin kayan aikin kayan sarrafa bidiyo a Firefox ya sami damar ne ta hanyar sabuwar hanyar bayan Wayland, wanda ke amfani da hanyar DMABUF don zana laushi da tsara musayar buffers tare da waɗannan lamuran ta matakai daban-daban.
Haka ne, yana ƙarshe a nan. Shekara daya da rabi bayan Tom Callaway Injiniyan Injiniya @ Red Hat ya ƙara facin zuwa Chromium, haka kuma muna samun kayan aiki da aka kara saurin kunna bidiyo don Firefox. Abun kunya ne ya dauki tsawon lokaci amma har yanzu ina koyo.
Tallafin VA-API a cikin Firefox ɗan takamaiman abu ne, saboda yana aiki a Wayland ne kawai a halin yanzu. Babu wani dalili na fasaha akan hakan, kawai bani da isasshen lokacin aiwatar dashi don X11, don haka kuskure 1619523 na jiran jarumai masu ƙarfin zuciya.
Jonas Ådahl (Red Hat) ya taimake ni da goyon bayan Wayland tun farkon facin Wayland shekaru huɗu da suka gabata.
A cikin Fedora 32 da Fedora 31, sabon fasalin Firefox 77 ya hada da sabon baya ta tsoho lokacin da yake gudana a cikin zangon bayanan GNOME akan Wayland, amma don ba da damar ingantaccen kayan aikin bidiyo da ke bayyana wasu ƙarin fakitoci suma ana buƙata. wanda dole ne a sanya shi akan tsarin: ffmpeg, libva da libva-utils RPM Fusion mangaza, wanda aka tattara tare da tallafin VA-API.
A kan tsarin tare da katunan zane na Intel, hanzari kawai yana aiki tare da direban libva-Intel (ba a tallafawa libva-intel-matasan-direba ba tukuna).
Ga AMD GPU, hanzari yana aiki idan kuna da ingantaccen ɗakin karatu radeonsi_drv_video.so, wanda wani ɓangare ne na fakitin mesa-dri-drivers. Don katunan zane-zanen NVIDIA, ba a aiwatar da tallafi ba tukuna. Don kimanta jituwa tare da direban VA-API, zaku iya amfani da amfanin banza.
Idan an tabbatar da tallafi, don kunna hanzari a Firefox, a shafin "about: config", dole ne ka saita masu canji "gfx.webrender.enabled" da "widget.wayland-dmabuf-vaapi.enabled" gaskiya.
Bayan sake farawa mai binciken, kuna buƙatar bincika kunnawa na WebRender da sabon bayan fage (Wayland / drm) akan shafin game da: tallafi.
Bayan haka, mai amfani ya kamata ya tabbata cewa ana amfani da VA-API don saurin nuni na bidiyo (akwai yiwuwar samun daidaito tare da codec, girman bidiyo, da dakunan karatu), wanda za'a iya kunna yanayin cirewa ta farawa Firefox tare da canjin yanayin MOZ_LOG da bincika kasancewar «VA-API FFmpeg init nasarorin.
MOZ_LOG = "PlatformDecoderModule: 5" MOZ_ENABLE_WAYLAND = 1 Firefox
Amfani da hanzari lokacin kallon YouTube ya dogara da hanyar da aka sanya fim ɗin (H.264, AV1, da sauransu).
Kuna iya ganin tsari a cikin menu na dama-danna mahallin a cikin "Statistics for Nerds". Don zaɓar tsarin da goyan bayan kayan aikin bidiyo na kayan aiki, zaku iya amfani da ingantaccen plugin ɗin h264ify.
Na dabam, fakitoci tare da Firefox 77.0 don Fedora sun haɗa da ƙarin faci wanda ke shafar aiki da kwanciyar hankali, waɗanda ba su cikin tsarin Firefox 77.0 na Mozilla. Kasancewar waɗannan facin a cikin babban tsari ana tsammanin kawai a Firefox 78.0 (masu amfani zasu iya amfani da sigar beta na Firefox 78 ko kuma ginin dare daga Mozilla ta hanyar fara burauzar tare da umurnin "MOZ_ENABLE_WAYLAND = 1 ./firefox").
Hakanan, Mozilla yana gini Suna amfani da ginannen ɗakin karatu na libvpx wanda baya tallafawa VA-API don VP8 / VP9 dikodi mai; idan hanzari ya zama dole na VP8 / VP9 dikodi mai, libvpx dole ne a kashe shi ta hanyar sauya "media.ffvpx.enabled" a cikin "game da: saitin" ƙarya "(libvpx an riga an kashe shi a cikin fakitin daga wurin adana Fedora).
Aƙarshe, idan kuna son ƙarin sani game da shi, zaku iya tuntuɓar asalin bayanin akan gidan yanar gizon hukuma na Martin Stransky.