sunshine icon indicating copy to clipboard operation
sunshine copied to clipboard

linux mint: "Fatal: Couldn't find any encoder"

Open PartyPigy45 opened this issue 3 years ago • 0 comments

Hello!

I've found that Sunshine isn't starting with any encoder set, not even software.

The logs in debug mode are:

[hevc_mode] -- [1]
[min_threads] -- [12]
[qp] -- [22]
[output_name] -- [\\.\DISPLAY2]
[adapter_name] -- [AMD Radeon RX 5700 XT]
[channels] -- [1]
[fec_percentage] -- [10]
[origin_pin_allowed] -- [lan]
[min_log_level] -- [1]
[sunshine_name] -- [5700XT]
Cannot load libcuda.so.1
[2022:09:25:21:31:25]: Error: Couldn't load cuda: -1
[2022:09:25:21:31:25]: Debug: crtc(0, 0)
[2022:09:25:21:31:25]: Debug: crtc(1920, 1080)
[2022:09:25:21:31:25]: Debug: plane->possible_crtcs == 2
[2022:09:25:21:31:25]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(55)
[2022:09:25:21:31:25]: Debug: Resolution: 1920x1080: Pitch: 8192: Offset: 0
[2022:09:25:21:31:25]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XR48, XB48, AR48, AB48, XB24, AB24, RG16, XR4H, AR4H, XB4H, AB4H]
[2022:09:25:21:31:25]: Debug: crtc(0, 0)
[2022:09:25:21:31:25]: Debug: crtc(1920, 1080)
[2022:09:25:21:31:25]: Debug: plane->possible_crtcs == 1
[2022:09:25:21:31:25]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(53)
[2022:09:25:21:31:25]: Debug: Resolution: 1920x1080: Pitch: 8192: Offset: 0
[2022:09:25:21:31:25]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XR48, XB48, AR48, AB48, XB24, AB24, RG16, XR4H, AR4H, XB4H, AB4H]
[2022:09:25:21:31:25]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2022:09:25:21:31:25]: Debug: Monitor description
[2022:09:25:21:31:25]: Debug: Resolution: 0x0
[2022:09:25:21:31:25]: Debug: Offset: 0x0
[2022:09:25:21:31:25]: Debug: Monitor description
[2022:09:25:21:31:25]: Debug: Resolution: 1920x1080
[2022:09:25:21:31:25]: Debug: Offset: 0x0
[2022:09:25:21:31:25]: Debug: Monitor description
[2022:09:25:21:31:25]: Debug: Resolution: 1920x1080
[2022:09:25:21:31:25]: Debug: Offset: 0x0
[2022:09:25:21:31:25]: Debug: Desktop resolution: 1920x1080
[2022:09:25:21:31:25]: Info: Detecting connected monitors
[2022:09:25:21:31:25]: Info: //////////////////////////////////////////////////////////////////
[2022:09:25:21:31:25]: Info: //                                                              //
[2022:09:25:21:31:25]: Info: //   Testing for available encoders, this may generate errors.  //
[2022:09:25:21:31:25]: Info: //   You can safely ignore those errors.                        //
[2022:09:25:21:31:25]: Info: //                                                              //
[2022:09:25:21:31:25]: Info: //////////////////////////////////////////////////////////////////
[2022:09:25:21:31:25]: Info: Trying encoder [nvenc]
[2022:09:25:21:31:25]: Info: Screencasting with KMS
[2022:09:25:21:31:25]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:25]: Info: Screencasting with KMS
[2022:09:25:21:31:25]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:25]: Info: Screencasting with KMS
[2022:09:25:21:31:25]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:25]: Info: Screencasting with KMS
[2022:09:25:21:31:25]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:26]: Info: Screencasting with KMS
[2022:09:25:21:31:26]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:26]: Info: Screencasting with KMS
[2022:09:25:21:31:26]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:26]: Info: Screencasting with KMS
[2022:09:25:21:31:26]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:26]: Info: Screencasting with KMS
[2022:09:25:21:31:26]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:26]: Info: Encoder [nvenc] failed
[2022:09:25:21:31:26]: Info: Trying encoder [vaapi]
[2022:09:25:21:31:26]: Info: Screencasting with KMS
[2022:09:25:21:31:26]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:26]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:27]: Info: Screencasting with KMS
[2022:09:25:21:31:27]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:27]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:27]: Info: Screencasting with KMS
[2022:09:25:21:31:27]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:27]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:27]: Info: Screencasting with KMS
[2022:09:25:21:31:27]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:27]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:27]: Info: Screencasting with KMS
[2022:09:25:21:31:27]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:27]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:27]: Info: Screencasting with KMS
[2022:09:25:21:31:27]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:27]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:28]: Info: Screencasting with KMS
[2022:09:25:21:31:28]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:28]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:28]: Info: Screencasting with KMS
[2022:09:25:21:31:28]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:28]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:28]: Info: Encoder [vaapi] failed
[2022:09:25:21:31:28]: Info: Trying encoder [software]
[2022:09:25:21:31:28]: Info: Screencasting with KMS
[2022:09:25:21:31:28]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:28]: Info: Screencasting with KMS
[2022:09:25:21:31:28]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:28]: Info: Screencasting with KMS
[2022:09:25:21:31:28]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:29]: Info: Screencasting with KMS
[2022:09:25:21:31:29]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:29]: Info: Screencasting with KMS
[2022:09:25:21:31:29]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:29]: Info: Screencasting with KMS
[2022:09:25:21:31:29]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:29]: Info: Screencasting with KMS
[2022:09:25:21:31:29]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:29]: Info: Screencasting with KMS
[2022:09:25:21:31:29]: Error: Couldn't find monitor [-2094259776]
[2022:09:25:21:31:30]: Info: Encoder [software] failed
[2022:09:25:21:31:30]: Info: 
[2022:09:25:21:31:30]: Info: //////////////////////////////////////////////////////////////
[2022:09:25:21:31:30]: Info: //                                                          //
[2022:09:25:21:31:30]: Info: // Ignore any errors mentioned above, they are not relevant //
[2022:09:25:21:31:30]: Info: //                                                          //
[2022:09:25:21:31:30]: Info: //////////////////////////////////////////////////////////////
[2022:09:25:21:31:30]: Info: 
[2022:09:25:21:31:30]: Fatal: Couldn't find any encoder
[2022:09:25:21:31:30]: Debug: Waiting for Gamepad notifications to stop...
[2022:09:25:21:31:30]: Debug: Gamepad notifications stopped

Any help would be appreciate.

PartyPigy45 avatar Sep 26 '22 08:09 PartyPigy45