[Bug]: VAAPI resource allocation failed with N150 Alder Lake-N
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 383
- Avg merge
- 8d 18h
- Merged PRs (30d)
- 4
Description
### Which component impacted?
_No response_
### Is it regression? Good in old configuration?
None
### What happened?
Ubuntu 24.10
$ LIBVA_DRIVER_NAME=iHD vainfo
Trying display: wayland
Trying display: x11
libva info: Open new log file /tmp/libva_trace.log.205238.thd-0x0001c170 for the thread 0x0001c170
libva info: LIBVA_TRACE is on, save log into /tmp/libva_trace.log.205238.thd-0x0001c170
libva info: VA-API version 1.22.0
libva error: vaGetDriverNames() failed with unknown libva error
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 2
vaInitialize failed with error code 2 (resource allocation failed),exit
### What's the usage scenario when you are seeing the problem?
Transcode for media delivery
### What impacted?
_No response_
### Debug Information
intel-media-va-driver-non-free/oracular 24.3.4+ds1-0ubuntu1 amd64
$ ls /dev/dri
by-path card0 renderD128
$ lspci -nn |grep -Ei 'VGA|DISPLAY'
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-N [Intel Graphics] [8086:46d4]
$ cat /tmp/libva_trace.log.205238.thd-0x0001c170
[44054.088813][ctx none]==========va_TraceInitialize
[44054.088831][ctx none]=========vaInitialize ret = VA_STATUS_ERROR_ALLOCATION_FAILED, resource allocation failed
[44054.088841][ctx none]==========va_TraceTerminate
[44054.088880][ctx none]=========vaTerminate ret = VA_STATUS_SUCCESS, success (no error)
### Do you want to contribute a patch to fix the issue?
None
Contributor guide
Assessment
This issue has not been assessed yet.