steam-for-linux
steam-for-linux copied to clipboard
Intel Ice Lake hardware encoding not working on Fedora 36
Your system information
- Steam client version (build number or date): 1655931638
- Distribution (e.g. Ubuntu): Fedora 36
- Opted into Steam client beta?: Yes
- Have you checked for system updates?: Yes
Please describe your issue in as much detail as possible:
Hardware encoding is not working on Intel Ice Lake iGPU. FFmpeg fails with a weird error.
>>> Starting desktop stream
Installing breakpad exception handler for appid(steam)/version(1655931638)
>>> Switching video stream from NONE to Desktop_MovieStream
ffmpeg verbose: libva: VA-API version 1.14.0
ffmpeg verbose: libva: User environment variable requested driver 'iHD'
ffmpeg verbose: libva: Trying to open /usr/lib/dri/iHD_drv_video.so
ffmpeg verbose: libva: Found init function __vaDriverInit_1_14
ffmpeg verbose: libva: va_openDriver() returns 0
ffmpeg verbose: Initialised VAAPI connection: version 1.14
ffmpeg verbose: VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 22.3.1 ().
ffmpeg verbose: Driver not found in known nonstandard list, using standard behaviour.
ffmpeg verbose: Input surface format is nv12.
ffmpeg verbose: Using VAAPI profile VAProfileH264Main (6).
ffmpeg verbose: Using VAAPI entrypoint VAEntrypointEncSlice (6).
ffmpeg verbose: Using VAAPI render target format YUV420 (0x1).
ffmpeg verbose: RC mode: VBR.
ffmpeg verbose: RC target: 83% of 3000000 bps over 1000 ms.
ffmpeg verbose: RC buffer: 3000000 bits, initial fullness 2250000 bits.
ffmpeg verbose: RC framerate: 239/4 (59.75 fps).
ffmpeg verbose: Using intra and P-frames (supported references: 8 / 2).
ffmpeg verbose: All wanted packed headers available (wanted 0xd, found 0x1f).
ffmpeg error: Failed to create encode pipeline context: 2 (resource allocation failed).
CGameStreamVideoStageVAAPI: Failed to open codec: Input/output error
Steps for reproducing this issue:
- Install Steam on Fedora
- Install all 32-bit libva libraries
- Enable hardware encoding in host settings
- Run Steam Link client on iPadOS.
Hello @kkanungo17, this issue should also be mentioned to your video driver vendor if it hasn't been already.
Hello @kkanungo17, this issue should also be mentioned to your video driver vendor if it hasn't been already.
Sunshine streaming works just fine with the VA-API drivers, so would it still be an issue with the video driver?