intel / intel/media-driver

[Bug]: File descriptor leak for Alder Lake-S GT1

Open
#1,700 3 comments 0 reactions 2 assignees Claimed by @XinfengZhang View on GitHub
Decode Need Info
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. Using Qt6 I am using the FFmpeg backend to play video's.
2. I have observed that on Alder Lake-S GT1, /dev/dri/renderD128 is leaking its file descriptor using the iHD VA code.
3. I have been unable to reproduce this issue on for example _CoffeeLake-H GT2_ or older.

I am more than happy to share more details, but at this point in time I am very puzzled.

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

Playback

### What impacted?

Eventually the application crashes because it is out of file descriptors.1

### Debug Information

1. intel-media-driver-23.3.0-r0
2. They exists
3. 00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] [8086:4682] (rev 0c)
4. [vainfo.log](https://github.com/intel/media-driver/files/12138536/vainfo.log)
5. I'll try this later.

### 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.