Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Intel Arc A380 (VA-API): Error: Couldn't import RGB Image: 00003009

Open njdom24 opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is your issue described in the documentation?

  • [X] I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

Streaming to Moonlight spams the log, and gives a black screen that disconnects after a few minutes. Works fine with Software encoding, or using my AMD GPU (Also VA-API).

To be clear, this is happening without cross-GPU encoding. If I render sway on my Intel card, and encode with the Intel card, I get a black screen.

Expected Behavior

Picture being sent to Moonlight client when host has an Intel Arc GPU.

Additional Context

Using Distrobox to access bleeding-edge Arch packages for testing, but seeing the same issues on NixOS 24.05 and flatpak (nightly) packages.

Host Operating System

Linux

Operating System Version

NixOS 24.05, Arch Linux (Distrobox)

Architecture

64 bit

Sunshine commit or version

v2024.903.205

Package

Linux - pkg.tar.zst

GPU Type

Intel

GPU Model

Arc A380

GPU Driver/Mesa Version

24.3.0_devel.193759.db39685e317-1

Capture Method

wlroots (Linux)

Config

nvenc_h264_cavlc = enabled
key_rightalt_to_key_win = enabled
audio_sink = sink-sunshine-stereo
nvenc_preset = 2
nvenc_twopass = disabled
adapter_name = /dev/dri/renderD129
encoder = vaapi
capture = wlr

Apps

No response

Relevant log output

[2024-09-03 18:32:15.741]: Debug: ------  h264 ------
[2024-09-03 18:32:15.741]: Debug: PASSED: supported
[2024-09-03 18:32:15.741]: Debug: REF_FRAMES_RESTRICT: supported
[2024-09-03 18:32:15.741]: Debug: CBR: supported
[2024-09-03 18:32:15.741]: Debug: DYNAMIC_RANGE: unsupported
[2024-09-03 18:32:15.741]: Debug: YUV444: unsupported
[2024-09-03 18:32:15.741]: Debug: VUI_PARAMETERS: supported
[2024-09-03 18:32:15.741]: Debug: -------------------
[2024-09-03 18:32:15.741]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2024-09-03 18:32:15.741]: Debug: ------  hevc ------
[2024-09-03 18:32:15.741]: Debug: PASSED: supported
[2024-09-03 18:32:15.741]: Debug: REF_FRAMES_RESTRICT: supported
[2024-09-03 18:32:15.741]: Debug: CBR: supported
[2024-09-03 18:32:15.741]: Debug: DYNAMIC_RANGE: supported
[2024-09-03 18:32:15.741]: Debug: YUV444: unsupported
[2024-09-03 18:32:15.741]: Debug: VUI_PARAMETERS: supported
[2024-09-03 18:32:15.741]: Debug: -------------------
[2024-09-03 18:32:15.741]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2024-09-03 18:32:15.741]: Debug: ------  av1 ------
[2024-09-03 18:32:15.741]: Debug: PASSED: supported
[2024-09-03 18:32:15.741]: Debug: REF_FRAMES_RESTRICT: supported
[2024-09-03 18:32:15.741]: Debug: CBR: supported
[2024-09-03 18:32:15.741]: Debug: DYNAMIC_RANGE: supported
[2024-09-03 18:32:15.741]: Debug: YUV444: unsupported
[2024-09-03 18:32:15.741]: Debug: VUI_PARAMETERS: unsupported
[2024-09-03 18:32:15.741]: Debug: -------------------
[2024-09-03 18:32:15.741]: Info: Found AV1 encoder: av1_vaapi [vaapi]
------------------------------------------------------------------------------
[2024-09-03 18:32:31.487]: Info: Creating encoder [hevc_vaapi]
[2024-09-03 18:32:31.487]: Info: Color coding: SDR (Rec. 709)
[2024-09-03 18:32:31.487]: Info: Color depth: 8-bit
[2024-09-03 18:32:31.487]: Info: Color range: MPEG
[2024-09-03 18:32:31.496]: Debug: EGL: [Mesa Project]: version [1.5]
[2024-09-03 18:32:31.496]: Debug: API's supported: [OpenGL OpenGL_ES ]
[2024-09-03 18:32:31.497]: Debug: GL: vendor: Intel
[2024-09-03 18:32:31.497]: Debug: GL: renderer: Mesa Intel(R) Arc(tm) A380 Graphics (DG2)
[2024-09-03 18:32:31.497]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 24.3.0-devel (git-db39685e31)
[2024-09-03 18:32:31.497]: Debug: GL: shader: 4.60
[2024-09-03 18:32:31.500]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 24.2.5 ()
[2024-09-03 18:32:31.500]: Debug: [AVHWDeviceContext @ 0x7f8c2e4a93c0] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 24.2.5 ().
[2024-09-03 18:32:31.500]: Debug: [AVHWDeviceContext @ 0x7f8c2e4a93c0] Driver not found in known nonstandard list, using standard behaviour.
[2024-09-03 18:32:31.500]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] Input surface format is nv12.
[2024-09-03 18:32:31.500]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] Using VAAPI profile VAProfileHEVCMain (17).
[2024-09-03 18:32:31.500]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] Using VAAPI entrypoint VAEntrypointEncSliceLP (8).
[2024-09-03 18:32:31.500]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] Using VAAPI render target format YUV420 (0x1).
[2024-09-03 18:32:31.500]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] Using CTU size 64x64, min CB size 8x8.
[2024-09-03 18:32:31.500]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] RC mode: CBR.
[2024-09-03 18:32:31.500]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] RC target: 100% of 7308000 bps over 16 ms.
[2024-09-03 18:32:31.500]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] RC buffer: 121800 bits, initial fullness 91350 bits.
[2024-09-03 18:32:31.501]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] RC framerate: 60/1 (60.00 fps).
[2024-09-03 18:32:31.501]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] Driver does not support P-frames, replacing them with B-frames.
[2024-09-03 18:32:31.501]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] Using intra and B-frames (supported references: 3 / 3).
[2024-09-03 18:32:31.501]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] All wanted packed headers available (wanted 0xd, found 0x1f).
[2024-09-03 18:32:31.503]: Debug: Sent HDR mode: false
[2024-09-03 18:32:31.503]: Debug: [hevc_vaapi @ 0x7f8c2c2c3c00] Using level 3.1.
[2024-09-03 18:32:31.506]: Debug: Minimum frame time set to 100ms, based on min fps factor of 1.
[2024-09-03 18:32:31.509]: Error: Couldn't import RGB Image: 00003009
[2024-09-03 18:32:31.509]: Error: Could not convert image

njdom24 avatar Sep 03 '24 18:09 njdom24

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

LizardByte-bot avatar Dec 03 '24 10:12 LizardByte-bot

This issue was closed because it has been stalled for 10 days with no activity.

LizardByte-bot avatar Dec 14 '24 10:12 LizardByte-bot