Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PartyPigy45 opened this issue Sep 26, 2022 · 0 comments
Open

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

PartyPigy45 opened this issue Sep 26, 2022 · 0 comments

Comments

@PartyPigy45
Copy link

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.

psyke83 pushed a commit to psyke83/sunshine that referenced this issue Nov 7, 2022
…ased

[Linux Pulse/Pipewire] No sink path *rebased*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant