Sunshine
Sunshine copied to clipboard
it does not worked on Ubuntu 22.04
Is there an existing issue for this?
- [X] I have searched the existing issues
Is your issue described in the documentation?
- [X] I have read the documentation
Is your issue present in the nightly release?
- [X] This issue is present in the nightly release
Describe the Bug
it started the web UI (https://localhost:47990/apps). But there is an error message when it starts.
Expected Behavior
it should works
Additional Context
For Appimage
sudo ./sunshine.appimage --install && ./sunshine.appimage
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=
Host Operating System
Linux
Operating System Version
Ubuntu 22.04
Architecture
64 bit
Sunshine commit or version
0.16
Package
Linux - 22.04-deb & Appimage
GPU Type
Nvidia
GPU Model
RTX 3070
GPU Driver/Mesa Version
515.86.01
Capture Method (Linux Only)
No response
Relevant log output
this one for deb file
sunshine
[amd_coder] -- [auto]
[upnp] -- [enabled]
[nv_preset] -- [default]
[encoder] -- [vaapi]
[hevc_mode] -- [0]
[nv_rc] -- [auto]
[fps] -- [[10,30,60]]
[vt_coder] -- [auto]
[amd_rc] -- [auto]
[min_log_level] -- [2]
[vt_realtime] -- [enabled]
[key_rightalt_to_key_win] -- [disabled]
[origin_pin_allowed] -- [pc]
[resolutions] -- [[
352x240,
480x360,
858x480,
1280x720,
1920x1080,
2560x1080,
3440x1440,
1920x1200,
1280x800
]]
[nv_coder] -- [auto]
[gamepad] -- [x360]
[dwmflush] -- [enabled]
[origin_web_ui_allowed] -- [lan]
[vt_software] -- [auto]
[amd_quality] -- [default]
[2022:12:23:13:50:01]: Error: Failed to create session: This hardware does not support NvFBC
[2022:12:23:13:50:01]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2022:12:23:13:50:01]: Info: Detecting connected monitors
[2022:12:23:13:50:01]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2022:12:23:13:50:01]: Info: Trying encoder [vaapi]
[2022:12:23:13:50:01]: Info: Screencasting with KMS
[2022:12:23:13:50:01]: Info: Found monitor for DRM screencasting
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
libva info: VA-API version 1.14.0
[2022:12:23:13:50:01]: Info: Color coding [Rec. 601]
[2022:12:23:13:50: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_14
libva info: va_openDriver() returns 0
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
[2022:12:23:13:50:01]: Info: Screencasting with KMS
[2022:12:23:13:50:01]: Info: Found monitor for DRM screencasting
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
libva info: VA-API version 1.14.0
[2022:12:23:13:50:01]: Info: Color coding [Rec. 601]
[2022:12:23:13:50: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_14
libva info: va_openDriver() returns 0
[2022:12:23:13:50:01]: Info: Screencasting with KMS
[2022:12:23:13:50:01]: Info: Found monitor for DRM screencasting
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
libva info: VA-API version 1.14.0
[2022:12:23:13:50:01]: Info: Color coding [Rec. 601]
[2022:12:23:13:50: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_14
libva info: va_openDriver() returns 0
[2022:12:23:13:50:01]: Info: Screencasting with KMS
[2022:12:23:13:50:01]: Info: Found monitor for DRM screencasting
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
libva info: VA-API version 1.14.0
[2022:12:23:13:50:01]: Info: Color coding [Rec. 601]
[2022:12:23:13:50: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_14
libva info: va_openDriver() returns 0
[2022:12:23:13:50:02]: Info: Screencasting with KMS
[2022:12:23:13:50:02]: Info: Found monitor for DRM screencasting
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
libva info: VA-API version 1.14.0
[2022:12:23:13:50:02]: Info: Color coding [Rec. 601]
[2022:12:23:13:50:02]: 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_14
libva info: va_openDriver() returns 0
[2022:12:23:13:50:02]: Info: Screencasting with KMS
[2022:12:23:13:50:02]: Info: Found monitor for DRM screencasting
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
libva info: VA-API version 1.14.0
[2022:12:23:13:50:02]: Info: Color coding [Rec. 709]
[2022:12:23:13:50:02]: 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_14
libva info: va_openDriver() returns 0
[2022:12:23:13:50:02]: Info: Screencasting with KMS
[2022:12:23:13:50:02]: Info: Found monitor for DRM screencasting
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
libva info: VA-API version 1.14.0
[2022:12:23:13:50:02]: Info: Color coding [Rec. 709]
[2022:12:23:13:50:02]: 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_14
libva info: va_openDriver() returns 0
[2022:12:23:13:50:02]: Warning: vaapi: hevc missing sps->vui parameters
[2022:12:23:13:50:02]: Warning: vaapi: hevc: replacing nalu prefix data
[2022:12:23:13:50:02]: Info:
[2022:12:23:13:50:02]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2022:12:23:13:50:02]: Info:
[2022:12:23:13:50:02]: Info: Found encoder vaapi: [h264_vaapi, hevc_vaapi]
[2022:12:23:13:50:02]: Info: Adding avahi service Sunshine
[2022:12:23:13:50:02]: Info: Configuration UI available at [https://localhost:47990]
[2022:12:23:13:50:03]: Info: Avahi service Sunshine successfully established.
[2022:12:23:13:50:10]: Error: Couldn't discover any UPNP devices
It's a bug in the AppImage.
Failed to set capabilities on file `/tmp/.mount_sunshi1Xh3xd/usr/bin/sunshine-0.16.0' (Read-only file system)
You can use Xorg/X11 and it should work.
FYI, I already use x11 on that session and that problem occurs
Would love to know how to fix this...
This issue is stale because it has been open for 90 days with no activity. Comment or remove the stale label, otherwise this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.
it is relevant
It exists for me on a brand new install of kubuntu with a 3090 graphics card.
Same issue here
Also exists on KDE Neon 5.27:
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Kernel Version: 6.5.0-17-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS PRO WIFI
System Version: -CF
also ubuntu22.04lts
When it starts, it will simultaneously launch the Todesk, Ubuntu startup tools, and screen reading in the settings (although it is displayed as off in the settings)
Linux EliteBook 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux