After rebuilding the chromium snap with the above patch applied to
snap/command-chain/desktop-launch, and running it with the following
command line:
LIBVA_DRIVER_NAME=iHD
LIBVA_DRIVERS_PATH=/snap/chromium/x1/usr/lib/x86_64-linux-gnu/dri
LIBVA_MESSAGING_LEVEL=2 snap run chromium --enable-
features=VaapiVideoDecoder
I'm seeing "Video Decode: Hardware accelerated" in chrome://gpu, but
FFmpegVideoDecoder is still being used for decoding H264 videos, and
consequently the decoding is *not* hardware accelerated.
This is the relevant excerpt from chrome://media-internals:
info "Failed to initialize DecryptingVideoDecoder"
info "Failed to initialize Unknown Video Decoder"
info "Failed to initialize VpxVideoDecoder"
info "Failed to initialize Dav1dVideoDecoder"
kIsVideoDecryptingDemuxerStream false
kVideoDecoderName "FFmpegVideoDecoder"
kIsPlatformVideoDecoder false
info "Selected FFmpegVideoDecoder for video decoding, config: codec: h264,
profile: h264 high, level: not available, alpha_mode: is_opaque, coded size:
[1920,1080], visible rect: [0,0,1920,1080], natural size: [1920,1080], has
extra data: false, encryption scheme: Unencrypted, rotation: 0°, flipped: 0,
color space: {primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}"
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1816497
Title:
[snap] vaapi chromium no video hardware decoding
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1816497/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs