VA error: resource allocation failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
Medium
|
Bram Stolk |
Bug Description
https:/
---
When I play a H264/AAC video with HW decoding enabled on Alderlake 12600k, using Wayland I get the error:
vaCreateSurfaces (import mode) failed, VA error: resource allocation failed
After which, chromium will proceed to play the video without HW acceleration using ffmpeg.
This is both with using the pre-built snap from channel beta/hwacc and a snap built from source.
(NOTE: HW decoding does work with same browser on X11 desktop, using VDAVideoDecoder.)
To get more information on this VA error, I built the snap with debug versions of gmmlib and media-driver (latest git) using the latest git from valib as well.
The log output from chromium now mentions why the allocation fails:
[390012:
[389969:
[390012:
[390012:
[LIBVA]:CRITICAL - DdiMediaUtil_
[389969:
[389969:
[LIBVA]:CRITICAL - DdiMediaUtil_
[389969:
[389969:
[389969:
[390012:
[390012:
[390012:
[390012:
Note the message: "DdiMediaUtil_
I am on wayland, and use these chromium flags:
export CHROMIUM_
The video that fails: the 1080p/60 version downloaded from here: https:/
I will figure out which is the "unsupported modifier" and report back, here.
Note: currently gmmlib and media-driver have failing debug builds, but I have created pull requests to both:
https:/
https:/
CPU: 12600k
GPU: Intel Alderlake_s (Gen12)
Snap built with: core20
Host OS: Ubuntu Kinetic
Changed in chromium-browser (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
description: | updated |
Changed in chromium-browser (Ubuntu): | |
assignee: | nobody → Nathan Teodosio (nteodosio) |
tags: | added: kinetic |
Changed in chromium-browser (Ubuntu): | |
status: | In Progress → Fix Released |
I added logging of the unsupported modifier value.
This is the value that it fails on:
[LIBVA]:CRITICAL - DdiMediaUtil_ AllocateSurface :379: Unsupported modifier: 0x100000000000008