V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
chackchackGO
V2EX  ›  问与答

arch Linux 下的 chromium 无法正常使用 live caption.

  •  
  •   chackchackGO · 274 天前 · 737 次点击
    这是一个创建于 274 天前的主题,其中的信息可能已经有所发展或是发生改变。

    搜到了一个相关的讨论帖子和 bug report, 但是似乎没有解决方案.

    https://bbs.archlinux.org/viewtopic.php?id=267905

    5 条回复    2024-03-29 19:15:31 +08:00
    Cooky
        1
    Cooky  
       274 天前 via Android   ❤️ 1
    vaapi vdpau 库都装了吗
    chackchackGO
        2
    chackchackGO  
    OP
       274 天前
    @Cooky 我的硬件比较新, 似乎找不到对应的 vaapi 和 vdpau 包.
    我的硬件是 I7-13700H, RTX 4060.
    Cooky
        3
    Cooky  
       273 天前
    只用集显解码:
    intel-media-driver ,vainfo 看一下
    libvdpau-va-gl ,vdpauinfo 看一下

    只用独显解码需要连 3D 都完全用独显
    chackchackGO
        4
    chackchackGO  
    OP
       273 天前
    ```
    ❯ vainfo
    Trying display: wayland
    vainfo: VA-API version: 1.21 (libva 2.20.1)
    vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.4 ()
    vainfo: Supported profile and entrypoints
    VAProfileNone : VAEntrypointVideoProc
    VAProfileNone : VAEntrypointStats
    VAProfileMPEG2Simple : VAEntrypointVLD
    VAProfileMPEG2Simple : VAEntrypointEncSlice
    VAProfileMPEG2Main : VAEntrypointVLD
    VAProfileMPEG2Main : VAEntrypointEncSlice
    VAProfileH264Main : VAEntrypointVLD
    VAProfileH264Main : VAEntrypointEncSlice
    VAProfileH264Main : VAEntrypointFEI
    VAProfileH264Main : VAEntrypointEncSliceLP
    VAProfileH264High : VAEntrypointVLD
    VAProfileH264High : VAEntrypointEncSlice
    VAProfileH264High : VAEntrypointFEI
    VAProfileH264High : VAEntrypointEncSliceLP
    VAProfileVC1Simple : VAEntrypointVLD
    VAProfileVC1Main : VAEntrypointVLD
    VAProfileVC1Advanced : VAEntrypointVLD
    VAProfileJPEGBaseline : VAEntrypointVLD
    VAProfileJPEGBaseline : VAEntrypointEncPicture
    VAProfileH264ConstrainedBaseline: VAEntrypointVLD
    VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
    VAProfileH264ConstrainedBaseline: VAEntrypointFEI
    VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
    VAProfileVP8Version0_3 : VAEntrypointVLD
    VAProfileHEVCMain : VAEntrypointVLD
    VAProfileHEVCMain : VAEntrypointEncSlice
    VAProfileHEVCMain : VAEntrypointFEI
    VAProfileHEVCMain : VAEntrypointEncSliceLP
    VAProfileHEVCMain10 : VAEntrypointVLD
    VAProfileHEVCMain10 : VAEntrypointEncSlice
    VAProfileHEVCMain10 : VAEntrypointEncSliceLP
    VAProfileVP9Profile0 : VAEntrypointVLD
    VAProfileVP9Profile0 : VAEntrypointEncSliceLP
    VAProfileVP9Profile1 : VAEntrypointVLD
    VAProfileVP9Profile1 : VAEntrypointEncSliceLP
    VAProfileVP9Profile2 : VAEntrypointVLD
    VAProfileVP9Profile2 : VAEntrypointEncSliceLP
    VAProfileVP9Profile3 : VAEntrypointVLD
    VAProfileVP9Profile3 : VAEntrypointEncSliceLP
    VAProfileHEVCMain12 : VAEntrypointVLD
    VAProfileHEVCMain12 : VAEntrypointEncSlice
    VAProfileHEVCMain422_10 : VAEntrypointVLD
    VAProfileHEVCMain422_10 : VAEntrypointEncSlice
    VAProfileHEVCMain422_12 : VAEntrypointVLD
    VAProfileHEVCMain422_12 : VAEntrypointEncSlice
    VAProfileHEVCMain444 : VAEntrypointVLD
    VAProfileHEVCMain444 : VAEntrypointEncSliceLP
    VAProfileHEVCMain444_10 : VAEntrypointVLD
    VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP
    VAProfileHEVCMain444_12 : VAEntrypointVLD
    VAProfileHEVCSccMain : VAEntrypointVLD
    VAProfileHEVCSccMain : VAEntrypointEncSliceLP
    VAProfileHEVCSccMain10 : VAEntrypointVLD
    VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP
    VAProfileHEVCSccMain444 : VAEntrypointVLD
    VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP
    VAProfileAV1Profile0 : VAEntrypointVLD
    VAProfileHEVCSccMain444_10 : VAEntrypointVLD
    VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP
    ❯ vdpauinfo
    display: :1 screen: 0
    API version: 1
    Information string: NVIDIA VDPAU Driver Shared Library 550.67 Tue Mar 12 23:27:43 UTC 2024

    Video surface:

    name width height types
    -------------------------------------------
    420 8192 8192 NV12 YV12
    422 8192 8192 UYVY YUYV
    444 8192 8192 NV24 YV24
    420_16 8192 8192 P010 P016
    422_16 8192 8192 UYVY YUYV
    444_16 8192 8192 Y_U_V_444_16

    Decoder capabilities:

    name level macbs width height
    ----------------------------------------------------
    MPEG1 0 65536 4096 4096
    MPEG2_SIMPLE 3 65536 4096 4096
    MPEG2_MAIN 3 65536 4096 4096
    H264_BASELINE 51 65536 4096 4096
    H264_MAIN 51 65536 4096 4096
    H264_HIGH 51 65536 4096 4096
    VC1_SIMPLE 1 8190 2048 2048
    VC1_MAIN 2 8190 2048 2048
    VC1_ADVANCED 4 8190 2048 2048
    MPEG4_PART2_SP 3 8192 2048 2048
    MPEG4_PART2_ASP 5 8192 2048 2048
    DIVX4_QMOBILE 0 8192 2048 2048
    DIVX4_MOBILE 0 8192 2048 2048
    DIVX4_HOME_THEATER 0 8192 2048 2048
    DIVX4_HD_1080P 0 8192 2048 2048
    DIVX5_QMOBILE 0 8192 2048 2048
    DIVX5_MOBILE 0 8192 2048 2048
    DIVX5_HOME_THEATER 0 8192 2048 2048
    DIVX5_HD_1080P 0 8192 2048 2048
    H264_CONSTRAINED_BASELINE 51 65536 4096 4096
    H264_EXTENDED 51 65536 4096 4096
    H264_PROGRESSIVE_HIGH 51 65536 4096 4096
    H264_CONSTRAINED_HIGH 51 65536 4096 4096
    H264_HIGH_444_PREDICTIVE 51 65536 4096 4096
    VP9_PROFILE_0 1 262144 8192 8192
    VP9_PROFILE_1 --- not supported ---
    VP9_PROFILE_2 1 262144 8192 8192
    VP9_PROFILE_3 --- not supported ---
    HEVC_MAIN 153 262144 8192 8192
    HEVC_MAIN_10 153 262144 8192 8192
    HEVC_MAIN_STILL --- not supported ---
    HEVC_MAIN_12 153 262144 8192 8192
    HEVC_MAIN_444 153 262144 8192 8192
    HEVC_MAIN_444_10 153 262144 8192 8192
    HEVC_MAIN_444_12 153 262144 8192 8192
    AV1_MAIN 16 262144 8192 8192
    AV1_HIGH --- not supported ---
    AV1_PROFESSIONAL --- not supported ---

    Output surface:

    name width height nat types
    ----------------------------------------------------
    B8G8R8A8 32768 32768 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
    R10G10B10A2 32768 32768 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8

    Bitmap surface:

    name width height
    ------------------------------
    B8G8R8A8 32768 32768
    R8G8B8A8 32768 32768
    R10G10B10A2 32768 32768
    B10G10R10A2 32768 32768
    A8 32768 32768

    Video mixer:

    feature name sup
    ------------------------------------
    DEINTERLACE_TEMPORAL y
    DEINTERLACE_TEMPORAL_SPATIAL y
    INVERSE_TELECINE y
    NOISE_REDUCTION y
    SHARPNESS y
    LUMA_KEY y
    HIGH QUALITY SCALING - L1 y
    HIGH QUALITY SCALING - L2 -
    HIGH QUALITY SCALING - L3 -
    HIGH QUALITY SCALING - L4 -
    HIGH QUALITY SCALING - L5 -
    HIGH QUALITY SCALING - L6 -
    HIGH QUALITY SCALING - L7 -
    HIGH QUALITY SCALING - L8 -
    HIGH QUALITY SCALING - L9 -

    parameter name sup min max
    -----------------------------------------------------
    VIDEO_SURFACE_WIDTH y 1 8192
    VIDEO_SURFACE_HEIGHT y 1 8192
    CHROMA_TYPE y
    LAYERS y 0 4

    attribute name sup min max
    -----------------------------------------------------
    BACKGROUND_COLOR y
    CSC_MATRIX y
    NOISE_REDUCTION_LEVEL y 0.00 1.00
    SHARPNESS_LEVEL y -1.00 1.00
    LUMA_KEY_MIN_LUMA y
    LUMA_KEY_MAX_LUMA y

    ```
    chackchackGO
        5
    chackchackGO  
    OP
       273 天前
    @Cooky chrome 能正常使用 live caption. 姑且擁抱 chrome 了.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2847 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 11:27 · PVG 19:27 · LAX 03:27 · JFK 06:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.