Linuxのブラウザでハードウェアデコードを有効にする
Table of Contents
ThinkBook 13s Gen3(Ryzen7 5800U/ArchLinux)で確認しました。
vainfo
コマンドでハードウェアデコードが使用可能なことを確認します。
デスクトップ環境はXorgです。
Chrome/Chromiumの場合⌗
起動時に--enable-features=VaapiVideoDecoder --use-gl=egl --disable-features=UseChromeOSDirectVideoDecoder
フラグを付け加えます。
Firefoxの場合⌗
サンドボックスを無効にする必要があるので非推奨です
about:config
でmedia.ffmpeg.vaapi.enabled
をtrueにします。
環境変数にMOZ_DISABLE_RDD_SANDBOX=1
を設定してFirefoxを起動します。
Read other posts