Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

sunshine cannot start on Debian11

Open s0urcelab opened this issue 3 years ago • 1 comments

Describe the Bug

As official install document said:

  • download .deb
  • click to check & install
  • reboot
  • run sunshine

And throw a error:

htpc@HTPC:/root$ sunshine
Cannot load libcuda.so.1
[2022:07:14:02:01:01]: Error: Couldn't load cuda: -1
[2022:07:14:02:01:01]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2022:07:14:02:01:01]: Info: //////////////////////////////////////////////////////////////////
[2022:07:14:02:01:01]: Info: //                                                              //
[2022:07:14:02:01:01]: Info: //   Testing for available encoders, this may generate errors.  //
[2022:07:14:02:01:01]: Info: //   You can safely ignore those errors.                        //
[2022:07:14:02:01:01]: Info: //                                                              //
[2022:07:14:02:01:01]: Info: //////////////////////////////////////////////////////////////////
[2022:07:14:02:01:01]: Info: Trying encoder [nvenc]
[2022:07:14:02:01:01]: Info: Screencasting with KMS
[2022:07:14:02:01:01]: Info: Found monitor for DRM screencasting
[2022:07:14:02:01:01]: Error: Couldn't open [h264_nvenc]
[2022:07:14:02:01:01]: Info: Screencasting with KMS
[2022:07:14:02:01:01]: Info: Found monitor for DRM screencasting
[2022:07:14:02:01:01]: Error: Couldn't open [h264_nvenc]
[2022:07:14:02:01:01]: Info: Screencasting with KMS
[2022:07:14:02:01:01]: Info: Found monitor for DRM screencasting
[2022:07:14:02:01:01]: Error: Couldn't open [h264_nvenc]
[2022:07:14:02:01:01]: Info: Screencasting with KMS
[2022:07:14:02:01:01]: Info: Found monitor for DRM screencasting
[2022:07:14:02:01:01]: Error: Couldn't open [h264_nvenc]
[2022:07:14:02:01:01]: Info: Encoder [nvenc] failed
[2022:07:14:02:01:01]: Info: Trying encoder [vaapi]
[2022:07:14:02:01:01]: Info: Screencasting with KMS
[2022:07:14:02:01:01]: Info: Found monitor for DRM screencasting
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
[2022:07:14:02:01:01]: Info: Color coding [Rec. 601]
libva info: VA-API version 1.10.0
[2022:07:14:02:01:01]: Info: Color range: [JPEG]
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
[2022:07:14:02:01:01]: Error: Couldn't export va surface handle: [1]: invalid VASurfaceID

Expected Behavior

work properly

Additional Context

also tried Add user to group input and Create udev rules, it stayed the same.

Sunshine Host Operating System and Version

Debian11 with kernel 5.16.0-0.bpo.3-amd64

Architecture

x86-64

Sunshine Version

0.14.0

GPU Type

AMD

GPU Model

AMD 200GE with VEGA 3

GPU Driver/Mesa Version

Mesa Gallium driver 20.3.5

Capture Method (Linux Only)

N/A

s0urcelab avatar Jul 13 '22 18:07 s0urcelab

This issue is stale because it has been open for 30 days with no activity. Comment or remove the stale label, otherwise this will be closed in 5 days.

github-actions[bot] avatar Oct 12 '22 01:10 github-actions[bot]

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

github-actions[bot] avatar Oct 23 '22 01:10 github-actions[bot]