Error: Couldn't import RGB Image: 00003009 & Error: Unknown status & Error: Failed to create session: Version mismatch between NvFBC and the X driver interface
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
Describe the Bug
I cannot connect to the server "Conection was closed"
Expected Behavior
No response
Additional Context
No response
Host Operating System
Fedora x64 Wayland
Operating System Version
Fedora x64 Wayland
Architecture
64 bit
Sunshine commit or version
v0.15.0
Package
No response
GPU Type
No response
GPU Model
GeForce GTX 1650 / RENOIR
GPU Driver/Mesa Version
Lastest
Capture Method (Linux Only)
No response
Relevant log output
[origin_pin_allowed] -- [wan]
[resolutions] -- [[
1920x1080,
1536x864
]]
[key_rightalt_to_key_win] -- [disabled]
[vt_realtime] -- [enabled]
[amd_rc] -- [auto]
[vt_coder] -- [auto]
[fps] -- [[60]]
[sw_tune] -- [zerolatency]
[sw_preset] -- [ultrafast]
[dwmflush] -- [enabled]
[nv_rc] -- [auto]
[hevc_mode] -- [3]
[gamepad] -- [x360]
[nv_coder] -- [auto]
[amd_coder] -- [auto]
[nv_preset] -- [hp]
[upnp] -- [enabled]
[min_log_level] -- [3]
[vt_software] -- [auto]
[origin_web_ui_allowed] -- [lan]
[amd_quality] -- [default]
[2022:11:27:14:52:29]: Error: Failed to create session: Version mismatch between NvFBC and the X driver interface
[2022:11:27:14:52:29]: Warning: Missing Wayland wire for wlr-export-dmabuf
[2022:11:27:14:52:29]: Warning: Mismatch on expected Resolution compared to actual resolution: 1920x1080 vs 1536x864
[2022:11:27:14:52:29]: Error: Could not open codec [h264_nvenc]: Function not implemented
[2022:11:27:14:52:29]: Error: Could not open codec [hevc_nvenc]: Function not implemented
[2022:11:27:14:52:29]: Error: Could not open codec [h264_nvenc]: Function not implemented
[2022:11:27:14:52:29]: Warning: nvenc: hevc: replacing nalu prefix data
[2022:11:27:14:52:39]: Error: Unknown status
[2022:11:27:14:53:45]: Warning: Mismatch on expected Resolution compared to actual resolution: 1920x1080 vs 1536x864
[2022:11:27:14:53:45]: Error: Couldn't import RGB Image: 00003009
Did you build from source, and if so, does the build include CUDA support and how was CUDA installed in that case?
I've seen the 'version mismatch between NvFBC and X driver' error when the NVidia driver installation is broken and multiple versions of driver & nvidia library versions exist on the system at build time. One source of this is manually installing CUDA by using the NVidia installer from their website instead of using only distro packages. The reason is that the CUDA installer from NVidia includes the full X driver as well so if you install the distro drivers then install the NVidia CUDA manually, your driver config will be broken and building with CUDA support enabled will get you this error.
I had the exact same issue. Just uninstalling the package and building it from source code fixed it. Just read the docs.
Now I don't know if this is expected behavior on wayland but it is screencasting with KMS and not with NvFBC. I already have the patch for the driver. The thing I was not able to solve is Error: Couldn't import RGB Image: 00003004 when a client connects.
[2022:12:02:11:59:33]: Info: CLIENT CONNECTED [2022:12:02:11:59:33]: Info: Found display [wayland-0] [2022:12:02:11:59:33]: Info: Found interface: zxdg_output_manager_v1(30) version 3 [2022:12:02:11:59:33]: Info: Found interface: wl_output(45) version 4 [2022:12:02:11:59:33]: Info: Found interface: wl_output(46) version 4 [2022:12:02:11:59:33]: Info: Offset: 0x178 [2022:12:02:11:59:33]: Info: Resolution: 1920x1080 [2022:12:02:11:59:33]: Info: Name: HDMI-A-1 [2022:12:02:11:59:33]: Info: Found monitor: HP Inc. OMEN by HP 2/3CQ910217C [2022:12:02:11:59:33]: Info: Offset: 1920x0 [2022:12:02:11:59:33]: Info: Resolution: 1920x1080 [2022:12:02:11:59:33]: Info: Name: DP-3 [2022:12:02:11:59:33]: Info: Found monitor: HP Inc. OMEN by HP 2/3CQ9010XDN [2022:12:02:11:59:33]: Info: HDMI-A-1: HP Inc. OMEN by HP 2/3CQ910217C [2022:12:02:11:59:33]: Info: DP-3: HP Inc. OMEN by HP 2/3CQ9010XDN [2022:12:02:11:59:33]: Info: Screencasting with KMS [2022:12:02:11:59:33]: Info: Found monitor for DRM screencasting [2022:12:02:11:59:33]: Info: Color coding [Rec. 601] [2022:12:02:11:59:33]: Info: Color range: [MPEG] [2022:12:02:11:59:33]: Error: Couldn't import RGB Image: 00003004 [2022:12:02:11:59:38]: Error: Unknown status [2022:12:02:11:59:43]: Error: Initial Ping Timeout
Reated to issue #453
This issue is stale because it has been open for 90 days with no activity. Comment or remove the stale label, otherwise this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.