Error: Couldn't import RGB Image: 00003002
Describe the Bug
Trying to connect to a Kubuntu 20.04 host results in instant „Connection terminated“.
Expected Behavior
Working stream.
Additional Context
Hi,
I tried running Sunshine on Kubuntu 20.04 on the host and ipadOS/Moonlight on the client. My setup is a little weird but as this works on GFE on the same setup I guess it‘s a bug.
I run a Proxmox VM with a passed through 770 GTX. As soon as I disconnect the virtual monitor and connect via Moonlight I get „Connection Terminated“ immedeatly. The GPU is connected to a monitor.
Since there is an open pull request which seems to fix a similar error I built that version but it doesnt seem to fix my problem. (https://github.com/LizardByte/Sunshine/pull/345)
Host OS: Kubuntu 20.04 Client: Current Moonlight on ipadOS GPU: 770 GTX Drivers: Most recent proprietary Nvidia drivers
Thank you for your engangement!
Edit: Also tried a 980 which sadly leads to the same symptoms.
Host Operating System
Linux
Operating System Version
Kubuntu 20.04
Architecture
64bit
Sunshine Version
v0.14.1
GPU Type
Nvidia
GPU Model
Geforce 770 GTX
GPU Driver/Mesa Version
474.141.03
Capture Method (Linux Only)
X11
Relevant log output
[2022:09:18:23:02:01]: Info: /CN=NVIDIA GameStream Client -- verfied
[2022:09:18:23:02:02]: Info: /CN=NVIDIA GameStream Client -- verfied
[2022:09:18:23:02:02]: Info: /CN=NVIDIA GameStream Client -- verfied
[2022:09:18:23:02:02]: Info: CLIENT CONNECTED
[2022:09:18:23:02:02]: Warning: Couldn't expose some properties for card: /dev/dri/card0
[2022:09:18:23:02:02]: Info: Screencasting with KMS
[2022:09:18:23:02:02]: Warning: Couldn't expose some properties for card: /dev/dri/card0
[2022:09:18:23:02:02]: Info: Found monitor for DRM screencasting
[2022:09:18:23:02:02]: Error: Couldn't import RGB Image: 00003002
[2022:09:18:23:02:02]: Info: Color coding [Rec. 601][2022:09:18:23:02:02]: Info: Color range: [MPEG]
I am also facing this issue with the most recent AUR sunshine installed via ArchLinux
The client I am trying to login with is Moonlight on WeboS
2022:10:01:16:33:45]: Info: Offset: 0x0 [2022:10:01:16:33:45]: Info: Resolution: 1920x1080 [2022:10:01:16:33:45]: Info: Name: eDP-1 [2022:10:01:16:33:45]: Info: Found monitor: Built-in display [2022:10:01:16:33:45]: Info: eDP-1: Built-in display [2022:10:01:16:33:45]: Verbose: Reduced to name: eDP-1: 1 [2022:10:01:16:33:45]: Debug: Monitor description [2022:10:01:16:33:45]: Debug: Resolution: 0x0 [2022:10:01:16:33:45]: Debug: Offset: 0x0 [2022:10:01:16:33:45]: Debug: Monitor description [2022:10:01:16:33:45]: Debug: Resolution: 1920x1080 [2022:10:01:16:33:45]: Debug: Offset: 0x0 [2022:10:01:16:33:45]: Debug: Desktop resolution: 1920x1080 [2022:10:01:16:33:45]: Info: Screencasting with KMS [2022:10:01:16:33:45]: Info: Found monitor for DRM screencasting [2022:10:01:16:33:45]: Debug: crtc(0, 0) [2022:10:01:16:33:45]: Debug: crtc(1920, 1080) [2022:10:01:16:33:45]: Debug: plane->possible_crtcs == 1 [2022:10:01:16:33:45]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(51) [2022:10:01:16:33:45]: Debug: Resolution: 1920x1080: Pitch: 7680: Offset: 0 [2022:10:01:16:33:45]: Debug: Format [C8 , RG16, XR24, XB24, AR24, AB24, XR30, XB30, XR4H, XB4H, YUYV, YVYU, UYVY, VYUY, XYUV] [2022:10:01:16:33:45]: Debug: EGL: [Mesa Project]: version [1.5] [2022:10:01:16:33:45]: Debug: API's supported: [OpenGL OpenGL_ES ] [2022:10:01:16:33:45]: Debug: GL: vendor: Intel [2022:10:01:16:33:45]: Debug: GL: renderer: Mesa Intel(R) HD Graphics 520 (SKL GT2) [2022:10:01:16:33:45]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 22.1.7 [2022:10:01:16:33:45]: Debug: GL: shader: 4.60 [2022:10:01:16:33:45]: Error: Couldn't import RGB Image: 00003002 [2022:10:01:16:33:45]: Info: Color coding [Rec. 709] [2022:10:01:16:33:45]: Info: Color range: [MPEG] [libx264 @ 0x7f9c2c7eab00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x7f9c2c7eab00] profile High, level 4.0, 4:2:0, 8-bit [2022:10:01:16:33:45]: Verbose: type [IDX_ENCRYPTED] [2022:10:01:16:33:45]: Verbose: type [IDX_START_A] [2022:10:01:16:33:45]: Verbose: type [IDX_ENCRYPTED] [2022:10:01:16:33:45]: Debug: Waiting for video to end... [2022:10:01:16:33:45]: Debug: Waiting for audio to end...
darn, I had tried this a year ago with an AMD RX 460 but I had this error. I am trying now with v0.14.1 and a GTX 1080 on ubuntu 22.10 and it still gave this error
I have the same problem with VirGL. Any ideas how to solve that?
I am also having this exact same error on v0.15.0 built from the AUR using a GTX 1070 mobile on arch
Had to disable KMS to get it to work. Maybe it has issues with multi-GPU setups. (I am on mobile with a dGPU and an eGPU).
I have the same problem on Arch Linux AUR:
[2023:01:02:16:45:32]: Debug: Resolution: 1280x720
[2023:01:02:16:45:32]: Debug: Offset: 0x0
[2023:01:02:16:45:32]: Debug: Desktop resolution: 1280x720
[2023:01:02:16:45:32]: Info: Screencasting with KMS
[2023:01:02:16:45:32]: Info: Found monitor for DRM screencasting
[2023:01:02:16:45:32]: Debug: crtc(0, 0)
[2023:01:02:16:45:32]: Debug: crtc(1280, 720)
[2023:01:02:16:45:32]: Debug: plane->possible_crtcs == 1
[2023:01:02:16:45:32]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(45)
[2023:01:02:16:45:32]: Debug: Resolution: 1280x720: Pitch: 5120: Offset: 0
[2023:01:02:16:45:32]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XR48, XB48, AR48, AB48, XB24, AB24, RG16, XR4H, AR4H, XB4H, AB4H]
[2023:01:02:16:45:32]: Debug: EGL: [Mesa Project]: version [1.5]
[2023:01:02:16:45:32]: Debug: API's supported: [OpenGL OpenGL_ES ]
[2023:01:02:16:45:32]: Debug: GL: vendor: AMD
[2023:01:02:16:45:32]: Debug: GL: renderer: AMD Radeon R3 Graphics (stoney, LLVM 14.0.6, DRM 3.48, 6.0.10-zen2-1-zen)
[2023:01:02:16:45:32]: Debug: GL: version: 4.5 (Compatibility Profile) Mesa 22.2.3
[2023:01:02:16:45:32]: Debug: GL: shader: 4.50
[2023:01:02:16:45:32]: Info: Color coding [Rec. 709]
[2023:01:02:16:45:32]: Info: Color range: [MPEG]
[2023:01:02:16:45:32]: Error: Couldn't import RGB Image: 00003002
[2023:01:02:16:45:32]: Debug: --begin relative mouse move packet--
deltaX [1]
deltaY [1]
--end relative mouse move packet--
[2023:01:02:16:45:32]: Debug: --begin relative mouse move packet--
deltaX [-1]
deltaY [-1]
--end relative mouse move packet--
[2023:01:02:16:45:32]: Debug: RAISE: 192.168.92.196:52841 :: AUDIO
[2023:01:02:16:45:32]: Debug: Received ping from 192.168.92.196:52841 [474E4950]
[2023:01:02:16:45:32]: Debug: Start capturing Audio
Home directory not accessible: Permission denied
[2023:01:02:16:45:32]: Debug: Connecting to pulseaudio
[2023:01:02:16:45:32]: Debug: Pulseadio context failed
[2023:01:02:16:45:32]: Error: Couldn't connect to pulseaudio: Access denied
[2023:01:02:16:45:32]: Warning: There will be no audio
[2023:01:02:16:45:32]: Debug: Waiting for video to end...
[2023:01:02:16:45:32]: Debug: Waiting for audio to end...
[2023:01:02:16:45:32]: Debug: Waiting for control to end...
[2023:01:02:16:45:32]: Debug: Resetting Input...
[2023:01:02:16:45:32]: Debug: Removing references to any connections...
[2023:01:02:16:45:32]: Debug: Session ended
[2023:01:02:16:45:32]: Debug: Waiting for main listening thread to end...
[2023:01:02:16:45:32]: Debug: Waiting for main video thread to end...
[2023:01:02:16:45:32]: Debug: Waiting for main audio thread to end...
[2023:01:02:16:45:32]: Debug: Waiting for main control thread to end...
[2023:01:02:16:45:32]: Debug: All broadcasting threads ended
Disabling KMS makes it work.
I also had this issue, but #761 fixed it for me. Thanks!
This issue has been fixed and will be available in the next release.