Replies: 5 comments 6 replies
-
This would be great; took me a while to figure out what was happening and also how to recover. In my case at least (i915), I have to both |
Beta Was this translation helpful? Give feedback.
-
What's even worse, I can't seem to bind waking up the display to a global_prep_cmd or an app one, because it errors out before triggering the command =( |
Beta Was this translation helpful? Give feedback.
-
Is there a way to kick display on with on Plasma Wayland? |
Beta Was this translation helpful? Give feedback.
-
Just wiggle the mouse already. Sunshine creates the device anyway, how hard would it be?
|
Beta Was this translation helpful? Give feedback.
-
I just wrote a tiny Python uinput script that monitors logs and wiggles when it sees errors: https://github.com/t184256/nix-configs/blob/58c4fd303a12a69f33f99f72f7263e1b2b5b8e92/nixos/services/sunshine.nix#L29
But I was addressing sunshine developers, really. Sunshine has all it needs (virtual mouse device included), but the will to do the wiggle.
|
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the Bug
Sunshine currently fails to initialize a session when host display is turned off. This is easy to solve for a great majority of cases by issuing a DPMS turn on command such as
xset dpms force on
. This could and should be automatic and built-in, possibly configurable (if there are use cases) in Sunshine and/or Moonlight.Expected Behavior
Sunshine should know the simple operation of turning on display instead of relying on the user to manually ensure for the display to be turned on when a remote session is wanted. Especially since Moonlight also supports Wake-on-LAN and turning on display seems an even more frequent case
Additional Context
No response
Host Operating System
Linux
Operating System Version
Debian 12
Architecture
64 bit
Sunshine commit or version
0.23.1
Package
Linux - deb
GPU Type
none (software encoding)
GPU Model
Intel
GPU Driver/Mesa Version
i915
Capture Method (Linux Only)
No response
Config
Apps
No response
Relevant log output
Moonlight reports the following error on connection try:
Host returned error. Failed to initialize video capture/encoding. Is a display connected and turned on? (Error 503)
Beta Was this translation helpful? Give feedback.
All reactions