intel / intel/media-driver

[Bug]: DRI3 implementation lacks vaPutSurface()

Open
#1,737 2 comments 0 reactions 1 assignee Assigned to @XinfengZhang View on GitHub
Dominant language
C
Stars
1.2k
Forks
383
Avg merge
8d 18h
Merged PRs (30d)
4

Description

### Which component impacted?

Not sure

### Is it regression? Good in old configuration?

None

### What happened?

1. I'm using Linux Mint 21.2 Xfce, which is based on Ubuntu Jammy.
2. It currently comes with libva2 2.14.0-1 and iHD 22.3.1.
3. Run `xine -V vaapi --verbose "xvdr+tcp://127.0.0.1:37890#nocache"` or `xine -V vaapi --verbose randomrecording.ts`

4. This results in a black screen with only audio playing. The verbose log quickly fills with repeated `video_out_vaapi Error : vaPutSurface(): unknown libva error` entries.

The problem seems to be a lack of vaPutSurface() support in your DRI3 implementation.
See also [this libva issue report](https://github.com/intel/libva/issues/677), which affects hardware decoding in Chromium as well.

### What's the usage scenario when you are seeing the problem?

Playback

### What impacted?

xine, vdr-sxfe, vdr-plugin-xineliboutput
[Apparently also chromium.](https://github.com/intel/libva/issues/677)

### Debug Information

1. libva2 2.14.0-1 and intel-media-driver 22.3.1
2. `by-path card0 renderD128`
3. `00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:46d1]`
4. [vainfo.log](https://github.com/intel/media-driver/files/13277837/vainfo.log)

### Do you want to contribute a patch to fix the issue?

None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.