Open djibux opened 2 years ago
Attaching a full log, a backtrace and version of sunshine you were trying (the exact commit if applicable) would be a great first step
Hello,
I am using the sunshine-debian.deb
package from v0.11.1
release assets.
Here is the journalctl
log when starting the service:
oct. 23 11:59:02 localhost systemd[2336]: Started Sunshine Gamestream Server for Moonlight.
oct. 23 11:59:02 localhost sunshine[13072]: Cannot load libcuda.so.1
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Error: Couldn't load cuda: -1
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Error: Environment variable WAYLAND_DISPLAY has not been defined
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Detecting connected monitors
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: //////////////////////////////////////////////////////////////////
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: // //
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: // Testing for available encoders, this may generate errors. //
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: // You can safely ignore those errors. //
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: // //
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: //////////////////////////////////////////////////////////////////
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Trying encoder [nvenc]
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Screencasting with KMS
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Found monitor for DRM screencasting
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Error: Couldn't open [h264_nvenc]
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Screencasting with KMS
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Found monitor for DRM screencasting
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Error: Couldn't open [h264_nvenc]
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Screencasting with KMS
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Found monitor for DRM screencasting
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Error: Couldn't open [h264_nvenc]
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Screencasting with KMS
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Found monitor for DRM screencasting
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Error: Couldn't open [h264_nvenc]
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Encoder [nvenc] failed
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Trying encoder [vaapi]
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Screencasting with KMS
oct. 23 11:59:02 localhost sunshine[13072]: [2021:10:23:11:59:02]: Info: Found monitor for DRM screencasting
oct. 23 11:59:02 localhost sunshine[13072]: libva info: VA-API version 1.13.0
oct. 23 11:59:02 localhost sunshine[13072]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
oct. 23 11:59:02 localhost sunshine[13072]: libva info: Found init function __vaDriverInit_1_10
oct. 23 11:59:02 localhost sunshine[13072]: libva info: va_openDriver() returns 0
oct. 23 11:59:03 localhost sunshine[13072]: libva info: VA-API version 1.13.0
oct. 23 11:59:03 localhost sunshine[13072]: [2021:10:23:11:59:03]: Info: Color coding [Rec. 601]
oct. 23 11:59:03 localhost sunshine[13072]: [2021:10:23:11:59:03]: Info: Color range: [JPEG]
oct. 23 11:59:03 localhost sunshine[13072]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
oct. 23 11:59:03 localhost sunshine[13072]: libva info: Found init function __vaDriverInit_1_10
oct. 23 11:59:03 localhost sunshine[13072]: libva info: va_openDriver() returns 0
oct. 23 11:59:03 localhost sunshine[13072]: [2021:10:23:11:59:03]: Error: Couldn't export va surface handle: [1]: invalid VASurfaceID
oct. 23 11:59:03 localhost systemd[2336]: sunshine.service: Main process exited, code=killed, status=11/SEGV
oct. 23 11:59:03 localhost systemd[2336]: sunshine.service: Failed with result 'signal'.
Version 0.9
is the last one that seems to work for me, with the following journalctl
log that seems to be a subset of the log above apart from the last line:
oct. 23 12:01:15 localhost systemd[2336]: Started Sunshine Gamestream Server for Moonlight.
oct. 23 12:01:16 localhost sunshine[13246]: libva info: VA-API version 1.13.0
oct. 23 12:01:16 localhost sunshine[13246]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
oct. 23 12:01:16 localhost sunshine[13246]: libva info: Found init function __vaDriverInit_1_10
oct. 23 12:01:16 localhost sunshine[13246]: libva info: va_openDriver() returns 0
oct. 23 12:01:16 localhost sunshine[13246]: libva info: VA-API version 1.13.0
oct. 23 12:01:16 localhost sunshine[13246]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
oct. 23 12:01:16 localhost sunshine[13246]: libva info: Found init function __vaDriverInit_1_10
oct. 23 12:01:16 localhost sunshine[13246]: libva info: va_openDriver() returns 0
oct. 23 12:01:16 localhost sunshine[13246]: x264 [error]: high profile doesn't support a bit depth of 10
I don't know how to get a backtrace :S
Same problem here, im using Debian 11. I cant even compile, i think because xfixes package on Debian. Log when compile: https://pastebin.com/GaBbHiA7 (Commit e4c9c292e57d39136df2d46d1e9b66eba53f3bd3) Log when running: https://pastebin.com/bg8EYgLe
Using the previous commit fe7a7f4d779899493d4397cd28a7d3441aa57746 is working fine.
Cant running on AMD in commit fe7a7f4d779899493d4397cd28a7d3441aa57746, the sunshine is running but i cant connect to the host. Before that happen log is showing:
Error: Couldn't import RGB Image: 00003002
Maybe thats help.
Howdy. I believe this is possibly related. I'm running Manjaro on a Ryzen 5 3600 with an AMD RX 570 and kernel 5.14.10-1-MANJARO. Sunshine is installed via the AUR and is version 0.11.1-1.
I just started trying to use Sunshine and have encountered a similar situation. If I don't run setcap on the sunshine executable (which is what I think I'm supposed to do), or remove those capabilities, then the service can be started and I can connect from a client for a moment, seeing my desktop but unable to interact, before it crashes.
Adding the extra capabilities results in the service crashing while attempting to start. I will have to dig further but the errors I'm seeing offhand currently are: [ 14.422565] Bluetooth: hci0: urb 000000003d07be0a submission failed (90) [ 735.976121] sunshine[2766]: segfault at 7ff83ae50fd0 ip 00007ff83ae50fd0 sp 00007ffe8b7538b8 error 14 [ 864.560256] sunshine[2948]: segfault at 7ff2ecba5fd0 ip 00007ff2ecba5fd0 sp 00007ffddc3a1d38 error 14 in libLLVM-12.so[7ff2edd55000+910000]
As well as the message "kvm: disabled by bios".
Later I'll attempt enabling virtualization in the BIOS, if I can, and disabling bluetooth.
Hello,
I just upgraded to v0.11.1 and Sunshine no longer works. The error message is dmesg is somehow cryptic:
What can I do to help debugging?
Thanks.