Crashes after updating to 0.23.1
Closed this issue · 1 comments
Is there an existing issue for this?
- I have searched the existing issues
Is your issue described in the documentation?
- I have read the documentation
Is your issue present in the latest beta/pre-release?
None
Describe the Bug
1.Install sunshine 0.23.1 on ubuntu 22.04
2.Follow https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/setup.html#install to Create and reload udev rules for uinput and Enable permissions for KMS capture.
3.Execute sunshine from shell
Expected Behavior
Sunshine worked as normal
Additional Context
logs
https://gist.github.com/Blue-Beaker/b59ab29f5d954c91067c6a57a58a6c6f
The bug is fixed in the v2024.1015.41553 pre-release AppImage. (this pre-release have no deb for 22.04)
Also, it doesn't crash in v2024.922.10353 ubuntu22.04 package, which I use before updating.
In v2024.922.10353 it shows a warning in web UI Fatal: Unable to find display or encoder during startup. Fatal: Please check that a display is connected and powered on.
, but streaming worked well.
Host Operating System
Linux
Operating System Version
KUbuntu 22.04
Architecture
amd64/x86_64
Sunshine commit or version
v2024.1015.41553
Package
Linux - deb
GPU Type
none (software encoding)
GPU Model
AMD Vega 8 in R7 5700G + Nvidia GTX750
GPU Driver/Mesa Version
Mesa: 23.2.1-1ubuntu3.1~22.04.2, Nvidia:560.35.03-0ubuntu1
Capture Method
X11 (Linux)
Config
sw_preset = ultrafast
nv_preset = p3
origin_pin_allowed = lan
channels = 3
address_family = both
upnp = enabled
locale = zh
encoder = software
Apps
No response
Relevant log output
[encoder] -- [software]
[locale] -- [zh]
[upnp] -- [enabled]
[address_family] -- [both]
[channels] -- [3]
[origin_pin_allowed] -- [lan]
[nv_preset] -- [p3]
[sw_preset] -- [ultrafast]
Warning: Unrecognized configurable option [origin_pin_allowed]
Warning: Unrecognized configurable option [nv_preset]
[2024:10:16:14:44:55]: Info: Sunshine version: v0.23.1
[2024:10:16:14:44:55]: Info: System tray created
[2024:10:16:14:44:55]: Error: Failed to create session:
[2024:10:16:14:44:55]: Info: /dev/dri/card1 -> nvidia-drm
[2024:10:16:14:44:55]: Info: /dev/dri/card2 -> amdgpu
[2024:10:16:14:44:55]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2024:10:16:14:44:55]: Info: Detecting monitors
[2024:10:16:14:44:55]: Info: Detected monitor 0: HDMI-A-2, connected: true
[2024:10:16:14:44:55]: Info: Detected monitor 1: DVI-D-1, connected: false
[2024:10:16:14:44:55]: Info: Detected monitor 2: DisplayPort-0, connected: false
[2024:10:16:14:44:55]: Info: Detected monitor 3: DisplayPort-1, connected: false
[2024:10:16:14:44:55]: Info: Detected monitor 4: DVI-I-1-0, connected: false
[2024:10:16:14:44:55]: Info: Detected monitor 5: DVI-I-1-1, connected: false
[2024:10:16:14:44:55]: Info: Detected monitor 6: HDMI-1-0, connected: false
[2024:10:16:14:44:55]: Info: Detected monitor 7: HDMI-1-1, connected: false
[2024:10:16:14:44:55]: Info: Detected monitor 8: DVI-D-1-0, connected: false
[2024:10:16:14:44:55]: Info: Trying encoder [software]
[2024:10:16:14:44:55]: Info: Screencasting with KMS
[2024:10:16:14:44:55]: Info: /dev/dri/card1 -> nvidia-drm
[2024:10:16:14:44:55]: Info: /dev/dri/card2 -> amdgpu
[2024:10:16:14:44:55]: Info: Found monitor for DRM screencasting
[2024:10:16:14:44:55]: Info: Found connector ID [87]
[2024:10:16:14:44:55]: Info: Found cursor plane [70]
[2024:10:16:14:44:55]: Error: Couldn't make current display
[2024:10:16:14:44:55]: Info: Screencasting with KMS
[2024:10:16:14:44:55]: Info: /dev/dri/card1 -> nvidia-drm
[2024:10:16:14:44:55]: Info: /dev/dri/card2 -> amdgpu
[2024:10:16:14:44:55]: Info: Found monitor for DRM screencasting
[2024:10:16:14:44:55]: Info: Found connector ID [87]
[2024:10:16:14:44:55]: Info: Found cursor plane [70]
[2024:10:16:14:44:55]: Error: Couldn't make current display
[2024:10:16:14:44:55]: Info: Encoder [software] failed
[2024:10:16:14:44:55]: Error: Couldn't find any working encoder matching [software]
[2024:10:16:14:44:55]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:10:16:14:44:55]: Info: Trying encoder [nvenc]
[2024:10:16:14:44:55]: Info: Screencasting with KMS
[2024:10:16:14:44:55]: Info: /dev/dri/card1 -> nvidia-drm
[2024:10:16:14:44:55]: Info: /dev/dri/card2 -> amdgpu
[2024:10:16:14:44:55]: Error: Couldn't find monitor [0]
[2024:10:16:14:44:55]: Info: /dev/dri/card1 -> nvidia-drm
[2024:10:16:14:44:55]: Info: /dev/dri/card2 -> amdgpu
[2024:10:16:14:44:55]: Error: Couldn't find monitor [0]
[2024:10:16:14:44:56]: Info: Screencasting with KMS
[2024:10:16:14:44:56]: Info: /dev/dri/card1 -> nvidia-drm
[2024:10:16:14:44:56]: Info: /dev/dri/card2 -> amdgpu
[2024:10:16:14:44:56]: Error: Couldn't find monitor [0]
[2024:10:16:14:44:56]: Info: /dev/dri/card1 -> nvidia-drm
[2024:10:16:14:44:56]: Info: /dev/dri/card2 -> amdgpu
[2024:10:16:14:44:56]: Error: Couldn't find monitor [0]
[2024:10:16:14:44:56]: Info: Encoder [nvenc] failed
[2024:10:16:14:44:56]: Info: Trying encoder [vaapi]
[2024:10:16:14:44:56]: Info: Screencasting with KMS
[2024:10:16:14:44:56]: Info: /dev/dri/card1 -> nvidia-drm
[2024:10:16:14:44:56]: Info: /dev/dri/card2 -> amdgpu
[2024:10:16:14:44:56]: Info: Found monitor for DRM screencasting
[2024:10:16:14:44:56]: Info: Found connector ID [87]
[2024:10:16:14:44:56]: Info: Found cursor plane [70]
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
[2024:10:16:14:44:56]: Error: Couldn't make current display
[2024:10:16:14:44:56]: Error: Couldn't make current display
[2024:10:16:14:44:56]: Error: Couldn't make current display
[2024:10:16:14:44:56]: Error: Couldn't make current display
[2024:10:16:14:44:56]: Info: Encoder [vaapi] failed
[2024:10:16:14:44:56]: Fatal: Unable to find display or encoder during startup.
[2024:10:16:14:44:56]: Fatal: Please check that a display is connected and powered on.
[2024:10:16:14:44:56]: Error: Video failed to find working encoder
terminate called after throwing an instance of 'boost::wrapexcept<boost::property_tree::ptree_bad_path>'
what(): No such node (root.devices)
[1] 8087 IOT instruction (core dumped) sunshine
We don't backport fixes, use the beta.