Firefox version rau Fedora twb tau txais kev txhawb nqa hauv kev hloov kho cov vis dis aus video ntawm VA-API

Firefox pob tswj hwm rau Fedora tshaj tawm tias kev txhawb nqa tam sim no npaj los siv kho vajtse acceleration rau kev txiav txim siab video Firefox hauv Fedora siv VA-API, txij li lub nrawm dua tam sim no tsuas yog ua haujlwm hauv cov chaw ib puag ncig raws Wayland, txij li Chromium VA-API tau nqis tes ua haujlwm hauv Fedora xyoo dhau los.

Qhov no ntxiv kev txhawb nqa ntawm kev kho vajtse nrawm nrawm ntawm cov vis dis aus hauv Firefox tau ua tau los ntawm tus tshiab Wayland backend, uas siv DMABUF mechanism los kos textures thiab npaj cov kev sib pauv khoom tiv thaiv nrog cov qauv no los ntawm cov txheej txheem sib txawv.

Yog, nws yog thaum kawg ntawm no. Ib xyoos thiab ib nrab tom qab Tom Callaway Engineering Tus Thawj Tswj Haujlwm @ Red Hat tau ntxiv thaj ntxiv rau Chromium, peb kuj tau txais cov cuab yeej kho vajtse sai sai rau kev tso video rau Firefox. Nws yog kev txaj muag nws siv sijhawm ntev heev tab sis kuv tseem kawm.

VA-API kev txhawb nqa hauv Firefox yog me ntsis tshwj xeeb, vim nws ua haujlwm hauv Wayland tsuas yog thaum caij. Tsis muaj qhov laj thawj ntawm qhov ntawd, Kuv tsuas yog tsis muaj sijhawm txaus los siv rau X11, yog li kev ua yuam kev 1619523 tseem tos rau cov neeg siab tawv nyiag.

Jonas Ådahl (Liab Khaub Ncaws) tau pab kuv nrog Wayland backend txij li thawj thawj thaj chaw Wayland plaub xyoos dhau los.

Hauv Fedora 32 thiab Fedora 31, qhov hloov tshiab ntawm Firefox 77 suav nrog tus tshiab rov qab los ntawm lub neej ntawd thaum khiav hauv GNOME database kev sib ntsib ntawm Wayland, tab sis txhawm rau kom kho vajtse nrawm nrawm txiav txim siab video txiav tawm qee cov pob ntxiv yuav tsum tau ua. uas yuav tsum muab nruab rau hauv cov kab ke: ffmpeg, libva thiab libva-utils RPM Fusion rov qab, sau ua ke nrog VA-API txhawb nqa.

Hauv cov nruab nrog Intel cov ntawv teev lus, kev nrawm tsuas yog ua haujlwm nrog libva-intel-tsav tsheb tsav tsheb (libva-intel-hybrid-driver tsis txaus siab tsis tau).

Rau qhov AMD GPU, kev ua haujlwm nrawm yog tias koj muaj lub tsev qiv ntawv txheem radeonsi_drv_video.so, uas yog ib feem ntawm cov pob zeb ntawm Mesa-dri-drivers. Rau NVIDIA cov npav phaib, kev txhawb nqa tseem tsis tau siv. Txhawm rau ntsuas qhov ua tau zoo nrog VA-API tus tsav, koj tuaj yeem siv tus nqi hluav taws xob.

Yog tias kev txhawb nqa tau lees tias, los ua kom muaj kev nrawm nrawm hauv Firefox, ntawm nplooj "txog: config", koj yuav tsum teeb tsa lub zog "gfx.webrender.enabled" thiab "widget.wayland-dmabuf-vaapi.enabled" kom muaj tseeb.

Tom qab rov qab qhib lub browser, koj yuav tsum kuaj xyuas kev ua kom zoo ntawm WebRender thiab tus backend tshiab (Wayland / drm) ntawm nplooj ntawv hais txog: kev txhawb nqa.

Tom qab ntawd, tus neeg siv yuav tsum tau ua kom paub tseeb tias VA-API siv los ua kom video ceev (nws yuav muaj teeb meem sib raug zoo nrog codecs, video ntau thiab ntau ntxiv), rau qhov debug hom tuaj yeem qhib los ntawm kev pib Firefox nrog lub MOZ_LOG ib puag ncig muaj sib txawv thiab tshawb xyuas qhov muaj “VA-API FFmpeg init kev ua tiav.

MOZ_LOG = "PlatformDecoderModule: 5" MOZ_ENABLE_WAYLAND = 1 tus tua hluav taws

Kev siv kev ua nrawm thaum saib YouTube yog nyob ntawm txoj kev ntawm cov mauv vim (encode H.264, AV1, thiab lwm yam).

Koj tuaj yeem pom cov hom ntawv nyob hauv txoj cai nyem cov ntawv qhia zaub mov hauv seem "Txheeb cais rau Nerds". Txhawm rau xaiv cov hom ntawv txhawb los ntawm kho vajtse video decoding system, koj tuaj yeem siv cov txhim kho h264ify plugin.

Nyias, pob nrog Firefox 77.0 rau Fedora suav nrog thaj ua rau thaj ntxiv uas cuam tshuam rau kev ua tau zoo thiab kev ruaj khov, uas tsis tuaj kawm ntawv hauv Mozilla tus qauv Firefox 77.0 ua tau. Cov kab ke ntawm cov thaj ua rau thaj qauv tseem ceeb tsuas yog siv rau hauv Firefox 78.0 (cov neeg siv tuaj yeem siv beta version ntawm Firefox 78 lossis hmo ntuj tsim tawm los ntawm Mozilla los ntawm pib qhov browser nrog qhov hais kom ua "MOZ_ENABLE_WAYLAND = 1 ./firefox").

Kuj, Mozilla tsim Lawv siv cov tsev qiv ntawv libvpx ua ke uas tsis txhawb nqa VA-API rau kev txiav txim siab VP8 / VP9; yog tias yuav tsum tau khiav ceev ntawm kev txiav txim siab VP8 / VP9, ​​libvpx yuav tsum yog neeg xiam los ntawm kev teeb tsa cov kuj sib txawv "media.ffvpx.enabled" hauv "hais txog: config" cuav "(libvpx twb xiam ib qho hauv pob los ntawm Fedora qhov chaw cia).

Thaum kawg, yog tias koj xav paub ntau ntxiv txog nws, koj tuaj yeem sab laj nrog cov ntawv qub ntawm lub vev xaib raug ntawm Martin Stransky: XNUMX Lab tus kiv cua tos koj rau Webtalk!

Qhov link yog qhov no. 


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

Yog thawj tus tuaj tawm tswv yim

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.