Skip to content

分享:开启 VA-API 视频硬件解码,包含 AV1/HEVC/AVC #193

@lxf1992521

Description

@lxf1992521

将如下参数添加到~/.config/bilibili/bilibili-flags.conf文件中:

--ignore-gpu-blocklist
--disable-gpu-driver-bug-workarounds
--enable-gpu-rasterization
--enable-zero-copy
--enable-native-gpu-memory-buffers
--enable-features=VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,PlatformHEVCDecoderSupport,CanvasOopRasterization
--disable-features=UseChromeOSDirectVideoDecoder

通过 intel_gpu_top/amdgpu_top 等命令观察 VideoDecode/VNCU 视频解码单元的使用率,可以看到 B 站的 AV1/HEV1/AVC 三种视频编码都支持 VA-API 硬件解码。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions