Debian Trixie is not compatible
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 latest beta/pre-release?
None
Describe the Bug
The latest release/pre-release and the script linux_build.sh does not work on Debian 13 Trixie, but after seeing the report for Ubuntu 25.05 and the script, adding some lines I could get a working version.
Expected Behavior
It should be usable on Trixie (soon)
Additional Context
Adding this I was able to satisfy all dependencies, but something does not work with the script, so building directly was enough
@@ -516,6 +516,15 @@ elif grep -q "Debian GNU/Linux 12 (bookworm)" /etc/os-release; then
cuda_build="525.60.13"
gcc_version="12"
nvm_node=0
+elif grep -q "Debian GNU/Linux 13 (trixie)" /etc/os-release; then
+ distro="debian"
+ version="13"
+ package_update_command="${sudo_cmd} apt-get update"
+ package_install_command="${sudo_cmd} apt-get install -y"
+ cuda_version="12.2.5.6"
+ cuda_build="535.247.01"
+ gcc_version="12"
+ nvm_node=0
elif grep -q "PLATFORM_ID=\"platform:f40\"" /etc/os-release; then
distro="fedora"
version="40"
cmake -B=build -G=Ninja -S=. -DBUILD_WERROR=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DSUNSHINE_ASSETS_DIR=share/sunshine -DSUNSHINE_EXECUTABLE_PATH=/usr/bin/sunshine -DSUNSHINE_ENABLE_WAYLAND=ON -DSUNSHINE_ENABLE_X11=ON -DSUNSHINE_ENABLE_DRM=ON
ninja -C build
cpack -G DEB --config ./build/CPackConfig.cmake
Host Operating System
Linux
Operating System Version
Debian 13 Trixie
Architecture
amd64/x86_64
Sunshine commit or version
0de8cc864c2790196142b330735c74e434a754dd
Package
Linux - deb
GPU Type
NVIDIA
GPU Model
--
GPU Driver/Mesa Version
--
Capture Method
X11 (Linux)
Config
Apps
Relevant log output
cmake -B=build -G=Ninja -S=. -DBUILD_WERROR=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DSUNSHINE_ASSETS_DIR=share/sunshine -DSUNSHINE_EXECUTABLE_PATH=/usr/bin/sunshine -DSUNSHINE_ENABLE_WAYLAND=ON -DSUNSHINE_ENABLE_X11=ON -DSUNSHINE_ENABLE_DRM=ON
/<source-folder>/sunshine
Sunshine Branch: master
Git tree is dirty!
-- Boost include dirs: /usr/include
-- Boost libraries: Boost::filesystem;Boost::locale;Boost::log;Boost::program_options;Boost::system
CMake Deprecation Warning at third-party/Simple-Web-Server/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Warning (dev) at cmake/macros/common.cmake:27 (_find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
third-party/Simple-Web-Server/CMakeLists.txt:44 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- nlohmann_json v3.11.x package not found in the system. Falling back to FetchContent.
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1300 (cmake_parse_arguments):
The DOWNLOAD_EXTRACT_TIMESTAMP keyword was followed by an empty string or
no value at all. Policy CMP0174 is not set, so cmake_parse_arguments()
will unset the ARG_DOWNLOAD_EXTRACT_TIMESTAMP variable rather than setting
it to an empty string.
Call Stack (most recent call first):
third-party/libdisplaydevice/cmake/Json_DD.cmake:12 (FetchContent_Declare)
third-party/libdisplaydevice/src/common/CMakeLists.txt:18 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Using the multi-header code from /<source-folder>/sunshine/build/_deps/json-src/include/
CMake Warning at third-party/libdisplaydevice/src/CMakeLists.txt:14 (message):
Linux is not supported yet.
-- nlohmann_json v3.11.x package not found in the system. Falling back to FetchContent.
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1300 (cmake_parse_arguments):
The DOWNLOAD_EXTRACT_TIMESTAMP keyword was followed by an empty string or
no value at all. Policy CMP0174 is not set, so cmake_parse_arguments()
will unset the ARG_DOWNLOAD_EXTRACT_TIMESTAMP variable rather than setting
it to an empty string.
Call Stack (most recent call first):
cmake/dependencies/nlohmann_json.cmake:18 (FetchContent_Declare)
cmake/dependencies/common.cmake:19 (include)
CMakeLists.txt:57 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- The CUDA compiler identification is NVIDIA 12.2.140 with host compiler GNU 12.4.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- CUDA Compiler Version: 12.2.140
-- CUDA Architectures: 50;52;60;61;62;70;72;75;80;86;87;89;90
-- Checking for module 'libdrm'
-- Found libdrm, version 2.4.124
-- Found LIBDRM: /usr/lib/x86_64-linux-gnu/libdrm.so
-- Checking for module 'libcap'
-- Found libcap, version 2.75
-- Found LIBCAP: /usr/lib/x86_64-linux-gnu/libcap.so
-- Checking for module 'libevdev'
-- Found libevdev, version 1.13.4
-- Found libevdev library: /usr/lib/x86_64-linux-gnu/libevdev.so
-- Found libevdev include directory: /usr/include/libevdev-1.0
-- Checking for module 'libva'
-- Found libva, version 1.22.0
-- Checking for module 'libva-drm'
-- Found libva-drm, version 1.22.0
-- Found Libva: /usr/include
-- Found Wayland: /usr/lib/x86_64-linux-gnu/libwayland-client.so;/usr/lib/x86_64-linux-gnu/libwayland-server.so;/usr/lib/x86_64-linux-gnu/libwayland-egl.so;/usr/lib/x86_64-linux-gnu/libwayland-cursor.so
wayland-scanner private-code /<source-folder>/sunshine/third-party/wayland-protocols/unstable/xdg-output/xdg-output-unstable-v1.xml /<source-folder>/sunshine/build/generated-src/xdg-output-unstable-v1.c
wayland-scanner client-header /<source-folder>/sunshine/third-party/wayland-protocols/unstable/xdg-output/xdg-output-unstable-v1.xml /<source-folder>/sunshine/build/generated-src/xdg-output-unstable-v1.h
wayland-scanner private-code /<source-folder>/sunshine/third-party/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml /<source-folder>/sunshine/build/generated-src/linux-dmabuf-unstable-v1.c
wayland-scanner client-header /<source-folder>/sunshine/third-party/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml /<source-folder>/sunshine/build/generated-src/linux-dmabuf-unstable-v1.h
wayland-scanner private-code /<source-folder>/sunshine/third-party/wlr-protocols/unstable/wlr-screencopy-unstable-v1.xml /<source-folder>/sunshine/build/generated-src/wlr-screencopy-unstable-v1.c
wayland-scanner client-header /<source-folder>/sunshine/third-party/wlr-protocols/unstable/wlr-screencopy-unstable-v1.xml /<source-folder>/sunshine/build/generated-src/wlr-screencopy-unstable-v1.h
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Checking for module 'ayatana-appindicator3-0.1'
-- Found ayatana-appindicator3-0.1, version 0.5.94
-- Checking for module 'libnotify'
-- Found libnotify, version 0.8.6
-- Export file name: export_static.h
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Checking for module 'systemd'
-- Package 'systemd', required by 'virtual:world', not found
-- Checking for module 'udev'
-- Package 'udev', required by 'virtual:world', not found
-- Configuring done (3.6s)
-- Generating done (0.0s)
-- Build files have been written to: /<source-folder>/sunshine/build
ninja -C build
ninja: Entering directory `build'
[0/2] Re-checking globbed directories...
[18/339] Building C object _deps/boost-build/libs/container/CMakeFiles/boost_container.dir/src/alloc_lib.c.o
In file included from /<source-folder>/sunshine/build/_deps/boost-src/libs/container/src/dlmalloc_ext_2_8_6.c:52,
from /<source-folder>/sunshine/build/_deps/boost-src/libs/container/src/alloc_lib.c:24:
In function ‘internal_multialloc_arrays’,
inlined from ‘boost_cont_multialloc_arrays’ at /<source-folder>/sunshine/build/_deps/boost-src/libs/container/src/dlmalloc_ext_2_8_6.c:1112:13:
/<source-folder>/sunshine/build/_deps/boost-src/libs/container/src/dlmalloc_ext_2_8_6.c:1085:41: warning: iteration 2305843009213693951 invokes undefined behavior [-Waggressive-loop-optimizations]
1085 | size = request2size(sizes[i]*element_size);
| ^
/<source-folder>/sunshine/build/_deps/boost-src/libs/container/src/dlmalloc_2_8_6.c:2231:6: note: in definition of macro ‘request2size’
2231 | (((req) < MIN_REQUEST)? MIN_CHUNK_SIZE : pad_request(req))
| ^~~
/<source-folder>/sunshine/build/_deps/boost-src/libs/container/src/dlmalloc_ext_2_8_6.c:1083:24: note: within this loop
1083 | for(++i; i != next_i; ++i) {
| ~~^~~~~~~~~
[206/339] Building CUDA object CMakeFiles/sunshine.dir/src/platform/linux/cuda.cu.o
nvcc warning : incompatible redefinition for option 'std', the last value of this option was used
[207/339] Building C object CMakeFiles/sunshine.dir/third-party/tray/src/tray_linux.c.o
/<source-folder>/sunshine/third-party/tray/src/tray_linux.c: In function ‘tray_init’:
/<source-folder>/sunshine/third-party/tray/src/tray_linux.c:71:3: warning: ‘app_indicator_new’ is deprecated [-Wdeprecated-declarations]
71 | indicator = app_indicator_new(TRAY_APPINDICATOR_ID, tray->icon, APP_INDICATOR_CATEGORY_APPLICATION_STATUS);
| ^~~~~~~~~
In file included from /<source-folder>/sunshine/third-party/tray/src/tray_linux.c:12:
/usr/include/libayatana-appindicator3-0.1/libayatana-appindicator/app-indicator.h:251:33: note: declared here
251 | AppIndicator *app_indicator_new (const gchar *id,
| ^~~~~~~~~~~~~~~~~
[306/339] Building C object tests/CMakeFiles/test_sunshine.dir/__/third-party/tray/src/tray_linux.c.o
/<source-folder>/sunshine/third-party/tray/src/tray_linux.c: In function ‘tray_init’:
/<source-folder>/sunshine/third-party/tray/src/tray_linux.c:71:3: warning: ‘app_indicator_new’ is deprecated [-Wdeprecated-declarations]
71 | indicator = app_indicator_new(TRAY_APPINDICATOR_ID, tray->icon, APP_INDICATOR_CATEGORY_APPLICATION_STATUS);
| ^~~~~~~~~
In file included from /<source-folder>/sunshine/third-party/tray/src/tray_linux.c:12:
/usr/include/libayatana-appindicator3-0.1/libayatana-appindicator/app-indicator.h:251:33: note: declared here
251 | AppIndicator *app_indicator_new (const gchar *id,
| ^~~~~~~~~~~~~~~~~
[338/339] Installing NPM Dependencies and Building the Web UI
added 169 packages, and audited 170 packages in 23s
37 packages are looking for funding
run `npm fund` for details
6 vulnerabilities (3 moderate, 3 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm notice
npm notice New major version of npm available! 9.8.1 -> 11.4.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v11.4.1>
npm notice Run `npm install -g [email protected]` to update!
npm notice
> [email protected] build
> vite build --debug
....
✓ built in 2.34s
Not related
- ~https://github.com/LizardByte/Sunshine/issues/3892~
Your error is different, it's this: https://bugs.launchpad.net/ubuntu/+source/libayatana-appindicator/+bug/2103851
Essentially there is a new library required libayatana-appindicator-glib... I don't know what changes will be required for https://github.com/LizardByte/tray (if any)
Related:
- https://github.com/leanflutter/tray_manager/issues/67
You were right, I was blinding adding the installed cuda related package versions, but that was not found on the nvidia url (while using the script linux_build.sh), so if the package (nvcc) is found, there is no need to download from nvidia (I guess), so I added the nvidia/cuda related packages to debian install function and voila (this should be tested on other debian based or just add as debian exclusive dependency on add_debian_deps)
diff --git i/scripts/linux_build.sh w/scripts/linux_build.sh
index b391f7dc..c825d931 100755
--- i/scripts/linux_build.sh
+++ w/scripts/linux_build.sh
@@ -178,6 +178,13 @@ function add_debian_based_deps() {
"libva-dev" # VA-API
)
fi
+ if [ "$skip_cuda" == 0 ]; then
+ dependencies+=(
+ "nvidia-cuda-toolkit" # nvcc
+ "nvidia-vaapi-driver" # VA-API
+ )
+ fi
+
}
function add_debian_deps() {
@@ -516,6 +523,15 @@ elif grep -q "Debian GNU/Linux 12 (bookworm)" /etc/os-release; then
cuda_build="525.60.13"
gcc_version="12"
nvm_node=0
+elif grep -q "Debian GNU/Linux 13 (trixie)" /etc/os-release; then
+ distro="debian"
+ version="13"
+ package_update_command="${sudo_cmd} apt-get update"
+ package_install_command="${sudo_cmd} apt-get install -y"
+ cuda_version="12.2.5.6"
+ cuda_build="535.247.01"
+ gcc_version="12"
+ nvm_node=0
elif grep -q "PLATFORM_ID=\"platform:f40\"" /etc/os-release; then
distro="fedora"
version="40"
I tested with a dockerfile for trixie, changing the base from bookworm to trixie. To use the cuda package provided from debian the non-free repo must be enabled (I also added contrib), ex.
diff --git i/docker/debian-bookworm.dockerfile w/docker/debian-bookworm.dockerfile
index 84edc4c9..50d652fa 100644
--- i/docker/debian-bookworm.dockerfile
+++ w/docker/debian-bookworm.dockerfile
@@ -21,6 +21,8 @@ ENV BUILD_VERSION=${BUILD_VERSION}
ENV COMMIT=${COMMIT}
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
+# Enable non-free
+RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list
# copy repository
WORKDIR /build/sunshine/
The script downloads cuda toolkit automatically, we don't want the version provided by the distro (depending on the version it can break compatibility with older cards)
~You mean at build time? because at runtime, you still depend on what the user choose to install on his system, ex.:~
ldd build/sunshine-0.0.0.dirty | grep cuda
libicudata.so.76 => /lib/x86_64-linux-gnu/libicudata.so.76 (0x00007f4f22200000)
~but well, that's another discussion.~
~I will change that and test again~
icu isn't from cuda
Oh, you are right, sorry, I was confusing it with something else
Hello ! Is there a "native" way to make it work in debian trixie ?
Only to self compile
You should be able to use the script to build it on trixie, I have tested from the dockerfile and with a change of the nvidia .run file with a distro equivalent but it did not end well, on the other hand using the nvidia packages from the distro seems to work ok (I am using that in my home)
the latest pre-release contains debian trixie deb, it may work just right now.
Correct, bookworm has been dropped.
I'm trying this to access a Debian 13 Proxmox VM and it doesn't seem to work.
First, I notice the service doesn't seem to be created after install.
> sudo dpkg -i sunshine-debian-trixie-amd64.deb
Selecting previously unselected package sunshine.
(Reading database ... 154669 files and directories currently installed.)
Preparing to unpack sunshine-debian-trixie-amd64.deb ...
Unpacking sunshine (2025.814.234924) ...
Setting up sunshine (2025.814.234924) ...
Not in an rpm-ostree environment, proceeding with post install steps.
Setting CAP_SYS_ADMIN capability on Sunshine binary.
/usr/sbin/setcap cap_sys_admin+p /usr/bin/sunshine-2025.814.234924
CAP_SYS_ADMIN capability set on Sunshine binary.
Reloading udev rules.
Udev rules reloaded successfully.
Processing triggers for mate-menus (1.26.1-1) ...
Processing triggers for mailcap (3.74) ...
Processing triggers for desktop-file-utils (0.28-1) ...
Processing triggers for hicolor-icon-theme (0.18-2) ...
> systemctl --user start sunshine
Failed to start sunshine.service: Unit sunshine.service not found.
> systemctl --user enable sunshine
Failed to enable unit: Unit sunshine.service does not exist
I started Sunshine manually and tried connecting. However, keyboard or mouse input doesn't work at all. I've added the user to the input group and have also restarted. Here's the log.
[2025-08-16 22:24:46.169]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-08-16 22:24:46.169]: Info: Trying encoder [nvenc]
[2025-08-16 22:24:46.169]: Info: Screencasting with KMS
[2025-08-16 22:24:46.169]: Info: /dev/dri/card0 -> qxl
[2025-08-16 22:24:46.169]: Warning: No render device name for: /dev/dri/card0
[2025-08-16 22:24:46.169]: Error: Couldn't find monitor [0]
[2025-08-16 22:24:46.169]: Info: /dev/dri/card0 -> qxl
[2025-08-16 22:24:46.169]: Warning: No render device name for: /dev/dri/card0
[2025-08-16 22:24:46.169]: Error: Couldn't find monitor [0]
[2025-08-16 22:24:46.370]: Info: Screencasting with KMS
[2025-08-16 22:24:46.370]: Info: /dev/dri/card0 -> qxl
[2025-08-16 22:24:46.370]: Warning: No render device name for: /dev/dri/card0
[2025-08-16 22:24:46.370]: Error: Couldn't find monitor [0]
[2025-08-16 22:24:46.370]: Info: /dev/dri/card0 -> qxl
[2025-08-16 22:24:46.370]: Warning: No render device name for: /dev/dri/card0
[2025-08-16 22:24:46.370]: Error: Couldn't find monitor [0]
[2025-08-16 22:24:46.570]: Info: Encoder [nvenc] failed
[2025-08-16 22:24:46.570]: Info: Trying encoder [vaapi]
[2025-08-16 22:24:46.570]: Info: Screencasting with KMS
[2025-08-16 22:24:46.570]: Info: /dev/dri/card0 -> qxl
[2025-08-16 22:24:46.570]: Warning: No render device name for: /dev/dri/card0
[2025-08-16 22:24:46.571]: Info: Found monitor for DRM screencasting
[2025-08-16 22:24:46.571]: Error: Failed to determine panel orientation, defaulting to landscape.
[2025-08-16 22:24:46.571]: Info: Found connector ID [42]
[2025-08-16 22:24:46.571]: Warning: No KMS cursor plane found. Cursor may not be displayed while streaming!
[2025-08-16 22:24:46.571]: Error: Couldn't initialize va display: operation failed
[2025-08-16 22:24:46.571]: Warning: Monitor doesn't support hardware encoding. Reverting back to GPU -> RAM -> GPU
[2025-08-16 22:24:46.571]: Info: /dev/dri/card0 -> qxl
[2025-08-16 22:24:46.571]: Warning: No render device name for: /dev/dri/card0
[2025-08-16 22:24:46.571]: Info: Found monitor for DRM screencasting
[2025-08-16 22:24:46.571]: Error: Failed to determine panel orientation, defaulting to landscape.
[2025-08-16 22:24:46.571]: Info: Found connector ID [42]
[2025-08-16 22:24:46.572]: Warning: No KMS cursor plane found. Cursor may not be displayed while streaming!
[2025-08-16 22:24:46.586]: Info: Creating encoder [h264_vaapi]
[2025-08-16 22:24:46.587]: Info: Color coding: SDR (Rec. 601)
[2025-08-16 22:24:46.587]: Info: Color depth: 8-bit
[2025-08-16 22:24:46.587]: Info: Color range: JPEG
[2025-08-16 22:24:46.587]: Error: Couldn't open /dev/dri/renderD128: No such file or directory
[2025-08-16 22:24:46.587]: Info: Encoder [vaapi] failed
[2025-08-16 22:24:46.588]: Info: Trying encoder [software]
[2025-08-16 22:24:46.588]: Info: Screencasting with KMS
[2025-08-16 22:24:46.588]: Info: /dev/dri/card0 -> qxl
[2025-08-16 22:24:46.588]: Warning: No render device name for: /dev/dri/card0
[2025-08-16 22:24:46.588]: Info: Found monitor for DRM screencasting
[2025-08-16 22:24:46.588]: Error: Failed to determine panel orientation, defaulting to landscape.
[2025-08-16 22:24:46.588]: Info: Found connector ID [42]
[2025-08-16 22:24:46.588]: Warning: No KMS cursor plane found. Cursor may not be displayed while streaming!
[2025-08-16 22:24:46.599]: Info: Creating encoder [libx264]
[2025-08-16 22:24:46.599]: Info: Color coding: SDR (Rec. 601)
[2025-08-16 22:24:46.599]: Info: Color depth: 8-bit
[2025-08-16 22:24:46.599]: Info: Color range: JPEG
[2025-08-16 22:24:46.599]: Info: Streaming bitrate is 1000000
[2025-08-16 22:24:46.599]: Info: [libx264 @ 0x7f4574047c80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2025-08-16 22:24:46.601]: Info: [libx264 @ 0x7f4574047c80] profile High, level 4.2, 4:2:0, 8-bit
[2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] frame I:1 Avg QP:31.00 size: 1203
[2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] mb I I16..4: 99.9% 0.0% 0.0%
[2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] 8x8 transform intra:0.0%
[2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] i16 v,h,dc,p: 97% 0% 3% 0%
[2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] i8c dc,h,v,p: 100% 0% 0% 0%
[2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] kb/s:577.44
[2025-08-16 22:24:46.614]: Info: Creating encoder [libx264]
[2025-08-16 22:24:46.615]: Info: Color coding: SDR (Rec. 601)
[2025-08-16 22:24:46.615]: Info: Color depth: 8-bit
[2025-08-16 22:24:46.615]: Info: Color range: JPEG
[2025-08-16 22:24:46.615]: Info: Streaming bitrate is 1000000
[2025-08-16 22:24:46.615]: Info: [libx264 @ 0x7f4574047c80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2025-08-16 22:24:46.616]: Info: [libx264 @ 0x7f4574047c80] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
[2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] frame I:1 Avg QP:31.00 size: 1335
[2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] mb I I16..4: 99.9% 0.0% 0.0%
[2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] 8x8 transform intra:0.0%
[2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] coded y,u,v intra: 0.0% 0.0% 0.0%
[2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] i16 v,h,dc,p: 97% 0% 3% 0%
[2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 62% 31% 0% 0% 0% 0% 6%
[2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] kb/s:640.80
[2025-08-16 22:24:46.636]: Info: Screencasting with KMS
[2025-08-16 22:24:46.636]: Info: /dev/dri/card0 -> qxl
[2025-08-16 22:24:46.636]: Warning: No render device name for: /dev/dri/card0
[2025-08-16 22:24:46.636]: Info: Found monitor for DRM screencasting
[2025-08-16 22:24:46.636]: Error: Failed to determine panel orientation, defaulting to landscape.
[2025-08-16 22:24:46.637]: Info: Found connector ID [42]
[2025-08-16 22:24:46.637]: Warning: No KMS cursor plane found. Cursor may not be displayed while streaming!
[2025-08-16 22:24:46.648]: Info:
[2025-08-16 22:24:46.648]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-08-16 22:24:46.648]: Info:
[2025-08-16 22:24:46.648]: Info: Found H.264 encoder: libx264 [software]
[2025-08-16 22:24:46.648]: Info: Executing [Desktop]
[2025-08-16 22:24:46.784]: Info: New streaming session started [active sessions: 1]
[2025-08-16 22:24:46.784]: Warning: Unable to create virtual touch screen: Permission denied
[2025-08-16 22:24:46.784]: Warning: Unable to create virtual pen tablet: Permission denied
[2025-08-16 22:24:46.816]: Info: CLIENT CONNECTED
[2025-08-16 22:24:46.817]: Info: /dev/dri/card0 -> qxl
[2025-08-16 22:24:46.817]: Warning: No render device name for: /dev/dri/card0
[2025-08-16 22:24:46.817]: Info: Screencasting with KMS
[2025-08-16 22:24:46.817]: Info: /dev/dri/card0 -> qxl
[2025-08-16 22:24:46.817]: Warning: No render device name for: /dev/dri/card0
[2025-08-16 22:24:46.817]: Info: Found monitor for DRM screencasting
[2025-08-16 22:24:46.817]: Error: Failed to determine panel orientation, defaulting to landscape.
[2025-08-16 22:24:46.817]: Info: Found connector ID [42]
[2025-08-16 22:24:46.817]: Warning: No KMS cursor plane found. Cursor may not be displayed while streaming!
[2025-08-16 22:24:46.831]: Info: Creating encoder [libx264]
[2025-08-16 22:24:46.831]: Info: Color coding: SDR (Rec. 601)
[2025-08-16 22:24:46.832]: Info: Color depth: 8-bit
[2025-08-16 22:24:46.832]: Info: Color range: MPEG
[2025-08-16 22:24:46.832]: Info: Streaming bitrate is 17388000
[2025-08-16 22:24:46.832]: Info: [libx264 @ 0x7f45600025c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2025-08-16 22:24:46.833]: Info: [libx264 @ 0x7f45600025c0] profile High, level 5.0, 4:2:0, 8-bit
[2025-08-16 22:24:46.836]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2025-08-16 22:24:47.262]: Info: Found default monitor by name: alsa_output.pci-0000_02_0c.0.analog-stereo.monitor
[2025-08-16 22:24:47.281]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2025-08-16 22:25:19.592]: Info: CLIENT DISCONNECTED
[2025-08-16 22:25:19.602]: Info: [libx264 @ 0x7f45600025c0] frame I:4 Avg QP: 5.55 size: 25362
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] frame P:1743 Avg QP: 1.22 size: 5881
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] mb I I16..4: 92.2% 5.8% 2.1%
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] mb P I16..4: 0.2% 0.0% 0.0% P16..4: 12.1% 0.0% 0.0% 0.0% 0.0% skip:87.7%
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] 8x8 transform intra:3.5% inter:1.7%
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] coded y,uvDC,uvAC intra: 21.1% 37.0% 36.5% inter: 4.8% 1.2% 1.2%
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] i16 v,h,dc,p: 91% 7% 2% 0%
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 5% 22% 35% 8% 7% 1% 14% 1% 8%
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 25% 28% 5% 4% 3% 4% 3% 6%
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] i8c dc,h,v,p: 86% 7% 6% 1%
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] Weighted P-Frames: Y:0.0% UV:0.0%
[2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] kb/s:2844.50
I'm trying this to access a Debian 13 Proxmox VM and it doesn't seem to work.
First, I notice the service doesn't seem to be created after install.
sudo dpkg -i sunshine-debian-trixie-amd64.deb Selecting previously unselected package sunshine. (Reading database ... 154669 files and directories currently installed.) Preparing to unpack sunshine-debian-trixie-amd64.deb ... Unpacking sunshine (2025.814.234924) ... Setting up sunshine (2025.814.234924) ... Not in an rpm-ostree environment, proceeding with post install steps. Setting CAP_SYS_ADMIN capability on Sunshine binary. /usr/sbin/setcap cap_sys_admin+p /usr/bin/sunshine-2025.814.234924 CAP_SYS_ADMIN capability set on Sunshine binary. Reloading udev rules. Udev rules reloaded successfully. Processing triggers for mate-menus (1.26.1-1) ... Processing triggers for mailcap (3.74) ... Processing triggers for desktop-file-utils (0.28-1) ... Processing triggers for hicolor-icon-theme (0.18-2) ...
systemctl --user start sunshine Failed to start sunshine.service: Unit sunshine.service not found. systemctl --user enable sunshine Failed to enable unit: Unit sunshine.service does not exist
I started Sunshine manually and tried connecting. However, keyboard or mouse input doesn't work at all. I've added the user to the input group and have also restarted. Here's the log.
[2025-08-16 22:24:46.169]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. // [2025-08-16 22:24:46.169]: Info: Trying encoder [nvenc] [2025-08-16 22:24:46.169]: Info: Screencasting with KMS [2025-08-16 22:24:46.169]: Info: /dev/dri/card0 -> qxl [2025-08-16 22:24:46.169]: Warning: No render device name for: /dev/dri/card0 [2025-08-16 22:24:46.169]: Error: Couldn't find monitor [0] [2025-08-16 22:24:46.169]: Info: /dev/dri/card0 -> qxl [2025-08-16 22:24:46.169]: Warning: No render device name for: /dev/dri/card0 [2025-08-16 22:24:46.169]: Error: Couldn't find monitor [0] [2025-08-16 22:24:46.370]: Info: Screencasting with KMS [2025-08-16 22:24:46.370]: Info: /dev/dri/card0 -> qxl [2025-08-16 22:24:46.370]: Warning: No render device name for: /dev/dri/card0 [2025-08-16 22:24:46.370]: Error: Couldn't find monitor [0] [2025-08-16 22:24:46.370]: Info: /dev/dri/card0 -> qxl [2025-08-16 22:24:46.370]: Warning: No render device name for: /dev/dri/card0 [2025-08-16 22:24:46.370]: Error: Couldn't find monitor [0] [2025-08-16 22:24:46.570]: Info: Encoder [nvenc] failed [2025-08-16 22:24:46.570]: Info: Trying encoder [vaapi] [2025-08-16 22:24:46.570]: Info: Screencasting with KMS [2025-08-16 22:24:46.570]: Info: /dev/dri/card0 -> qxl [2025-08-16 22:24:46.570]: Warning: No render device name for: /dev/dri/card0 [2025-08-16 22:24:46.571]: Info: Found monitor for DRM screencasting [2025-08-16 22:24:46.571]: Error: Failed to determine panel orientation, defaulting to landscape. [2025-08-16 22:24:46.571]: Info: Found connector ID [42] [2025-08-16 22:24:46.571]: Warning: No KMS cursor plane found. Cursor may not be displayed while streaming! [2025-08-16 22:24:46.571]: Error: Couldn't initialize va display: operation failed [2025-08-16 22:24:46.571]: Warning: Monitor doesn't support hardware encoding. Reverting back to GPU -> RAM -> GPU [2025-08-16 22:24:46.571]: Info: /dev/dri/card0 -> qxl [2025-08-16 22:24:46.571]: Warning: No render device name for: /dev/dri/card0 [2025-08-16 22:24:46.571]: Info: Found monitor for DRM screencasting [2025-08-16 22:24:46.571]: Error: Failed to determine panel orientation, defaulting to landscape. [2025-08-16 22:24:46.571]: Info: Found connector ID [42] [2025-08-16 22:24:46.572]: Warning: No KMS cursor plane found. Cursor may not be displayed while streaming! [2025-08-16 22:24:46.586]: Info: Creating encoder [h264_vaapi] [2025-08-16 22:24:46.587]: Info: Color coding: SDR (Rec. 601) [2025-08-16 22:24:46.587]: Info: Color depth: 8-bit [2025-08-16 22:24:46.587]: Info: Color range: JPEG [2025-08-16 22:24:46.587]: Error: Couldn't open /dev/dri/renderD128: No such file or directory [2025-08-16 22:24:46.587]: Info: Encoder [vaapi] failed [2025-08-16 22:24:46.588]: Info: Trying encoder [software] [2025-08-16 22:24:46.588]: Info: Screencasting with KMS [2025-08-16 22:24:46.588]: Info: /dev/dri/card0 -> qxl [2025-08-16 22:24:46.588]: Warning: No render device name for: /dev/dri/card0 [2025-08-16 22:24:46.588]: Info: Found monitor for DRM screencasting [2025-08-16 22:24:46.588]: Error: Failed to determine panel orientation, defaulting to landscape. [2025-08-16 22:24:46.588]: Info: Found connector ID [42] [2025-08-16 22:24:46.588]: Warning: No KMS cursor plane found. Cursor may not be displayed while streaming! [2025-08-16 22:24:46.599]: Info: Creating encoder [libx264] [2025-08-16 22:24:46.599]: Info: Color coding: SDR (Rec. 601) [2025-08-16 22:24:46.599]: Info: Color depth: 8-bit [2025-08-16 22:24:46.599]: Info: Color range: JPEG [2025-08-16 22:24:46.599]: Info: Streaming bitrate is 1000000 [2025-08-16 22:24:46.599]: Info: [libx264 @ 0x7f4574047c80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [2025-08-16 22:24:46.601]: Info: [libx264 @ 0x7f4574047c80] profile High, level 4.2, 4:2:0, 8-bit [2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] frame I:1 Avg QP:31.00 size: 1203 [2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] mb I I16..4: 99.9% 0.0% 0.0% [2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] 8x8 transform intra:0.0% [2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% [2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] i16 v,h,dc,p: 97% 0% 3% 0% [2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12% [2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0% [2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] i8c dc,h,v,p: 100% 0% 0% 0% [2025-08-16 22:24:46.614]: Info: [libx264 @ 0x7f4574047c80] kb/s:577.44 [2025-08-16 22:24:46.614]: Info: Creating encoder [libx264] [2025-08-16 22:24:46.615]: Info: Color coding: SDR (Rec. 601) [2025-08-16 22:24:46.615]: Info: Color depth: 8-bit [2025-08-16 22:24:46.615]: Info: Color range: JPEG [2025-08-16 22:24:46.615]: Info: Streaming bitrate is 1000000 [2025-08-16 22:24:46.615]: Info: [libx264 @ 0x7f4574047c80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [2025-08-16 22:24:46.616]: Info: [libx264 @ 0x7f4574047c80] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit [2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] frame I:1 Avg QP:31.00 size: 1335 [2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] mb I I16..4: 99.9% 0.0% 0.0% [2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] 8x8 transform intra:0.0% [2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] coded y,u,v intra: 0.0% 0.0% 0.0% [2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] i16 v,h,dc,p: 97% 0% 3% 0% [2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 62% 31% 0% 0% 0% 0% 6% [2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0% [2025-08-16 22:24:46.634]: Info: [libx264 @ 0x7f4574047c80] kb/s:640.80 [2025-08-16 22:24:46.636]: Info: Screencasting with KMS [2025-08-16 22:24:46.636]: Info: /dev/dri/card0 -> qxl [2025-08-16 22:24:46.636]: Warning: No render device name for: /dev/dri/card0 [2025-08-16 22:24:46.636]: Info: Found monitor for DRM screencasting [2025-08-16 22:24:46.636]: Error: Failed to determine panel orientation, defaulting to landscape. [2025-08-16 22:24:46.637]: Info: Found connector ID [42] [2025-08-16 22:24:46.637]: Warning: No KMS cursor plane found. Cursor may not be displayed while streaming! [2025-08-16 22:24:46.648]: Info: [2025-08-16 22:24:46.648]: Info: // Ignore any errors mentioned above, they are not relevant. // [2025-08-16 22:24:46.648]: Info: [2025-08-16 22:24:46.648]: Info: Found H.264 encoder: libx264 [software] [2025-08-16 22:24:46.648]: Info: Executing [Desktop] [2025-08-16 22:24:46.784]: Info: New streaming session started [active sessions: 1] [2025-08-16 22:24:46.784]: Warning: Unable to create virtual touch screen: Permission denied [2025-08-16 22:24:46.784]: Warning: Unable to create virtual pen tablet: Permission denied [2025-08-16 22:24:46.816]: Info: CLIENT CONNECTED [2025-08-16 22:24:46.817]: Info: /dev/dri/card0 -> qxl [2025-08-16 22:24:46.817]: Warning: No render device name for: /dev/dri/card0 [2025-08-16 22:24:46.817]: Info: Screencasting with KMS [2025-08-16 22:24:46.817]: Info: /dev/dri/card0 -> qxl [2025-08-16 22:24:46.817]: Warning: No render device name for: /dev/dri/card0 [2025-08-16 22:24:46.817]: Info: Found monitor for DRM screencasting [2025-08-16 22:24:46.817]: Error: Failed to determine panel orientation, defaulting to landscape. [2025-08-16 22:24:46.817]: Info: Found connector ID [42] [2025-08-16 22:24:46.817]: Warning: No KMS cursor plane found. Cursor may not be displayed while streaming! [2025-08-16 22:24:46.831]: Info: Creating encoder [libx264] [2025-08-16 22:24:46.831]: Info: Color coding: SDR (Rec. 601) [2025-08-16 22:24:46.832]: Info: Color depth: 8-bit [2025-08-16 22:24:46.832]: Info: Color range: MPEG [2025-08-16 22:24:46.832]: Info: Streaming bitrate is 17388000 [2025-08-16 22:24:46.832]: Info: [libx264 @ 0x7f45600025c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [2025-08-16 22:24:46.833]: Info: [libx264 @ 0x7f45600025c0] profile High, level 5.0, 4:2:0, 8-bit [2025-08-16 22:24:46.836]: Info: Minimum FPS target set to ~30fps (33.3333ms) [2025-08-16 22:24:47.262]: Info: Found default monitor by name: alsa_output.pci-0000_02_0c.0.analog-stereo.monitor [2025-08-16 22:24:47.281]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY [2025-08-16 22:25:19.592]: Info: CLIENT DISCONNECTED [2025-08-16 22:25:19.602]: Info: [libx264 @ 0x7f45600025c0] frame I:4 Avg QP: 5.55 size: 25362 [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] frame P:1743 Avg QP: 1.22 size: 5881 [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] mb I I16..4: 92.2% 5.8% 2.1% [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] mb P I16..4: 0.2% 0.0% 0.0% P16..4: 12.1% 0.0% 0.0% 0.0% 0.0% skip:87.7% [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] 8x8 transform intra:3.5% inter:1.7% [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] coded y,uvDC,uvAC intra: 21.1% 37.0% 36.5% inter: 4.8% 1.2% 1.2% [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] i16 v,h,dc,p: 91% 7% 2% 0% [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 5% 22% 35% 8% 7% 1% 14% 1% 8% [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 25% 28% 5% 4% 3% 4% 3% 6% [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] i8c dc,h,v,p: 86% 7% 6% 1% [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] Weighted P-Frames: Y:0.0% UV:0.0% [2025-08-16 22:25:19.603]: Info: [libx264 @ 0x7f45600025c0] kb/s:2844.50
+1 Getting the same issue
+1, I'm having the same issue on a completely fresh debian (Trixie) install.
Service is not created; starting sunshine manually will make it run, but no keyboard or mouse input works when connecting.
I have followed all of the steps from the guide, I am in the input group, I have all the needed dependencies installed, I did "sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))" and so on, nothing.
The issue persists on both Wayland and X11 KDE Plasma. I haven't tried other DEs as I highly doubt it's an issue with Plasma specifically, judging by the other debian posts I've found that are having the same issue, but even if it is, shouldn't the 2 most used DEs be supported and work?
Hope this issue will get solved soon, as I've come to really depend on Sunshine for remote connecting to my systems, and I would hate to switch to something else, as I really love the way Sunshine works and the philosophy behind the simple setup 👍
Different issue... https://github.com/LizardByte/Sunshine/issues/4243