Skip to content

Intel acceleration fails for projects that link/dlopen libvpl#7

Description

@jasongdove

馃搶 Task summary

Install libvpl2 for all Intel branches

馃搵 Task details

_setup_intel_arc() installs libvpl2 on debian, but not on ubuntu, and _setup_intel_modern() installs libvpl2 on neither. This causes runtime failures with anything that tries to load the library (e.g. ErsatzTV's next streaming engine that uses libvpl for capability detection https://github.com/ErsatzTV/next/blob/main/crates/ffpipeline/src/capabilities/qsv/vpl.rs).

A fresh install of ErsatzTV with acceleration enabled on an N150 gives this error when troubleshooting playback using the next streaming engine:

[08:40:49 Error] [ersatztv_channel::config] failed to probe QSV capabilities: error detecting qsv capabilities: libvpl not found: dlopen failed

Fix is simply apt -y install libvpl2. Then it results in:

[08:53:32 Debug] [ersatztv_channel::config] detected QSV capabilities: QsvCapabilities { supported_decoders: {H264: [8], Vc1: [8], Vp8: [8], Mpeg2Video: [8], Hevc: [8, 10], Av1: [8, 10], Vp9: [8, 10]}, supported_encoders: {Mpeg2Video: [8], H264: [8], Vp9: [8, 10], Hevc: [8, 10]}, vpp_pixel_formats: {"RGB4", "Y210", "RG10", "RGB2", "Y216", "AYUV", "P010", "RGBP", "NV12", "Y416", "BGRP", "BGR4", "Y410", "YUY2", "P016"} }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions