Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autostart not working Ubuntu 23.04 Cinnamon #2016

Closed
3 tasks done
ajb3932 opened this issue Jan 12, 2024 · 2 comments
Closed
3 tasks done

Autostart not working Ubuntu 23.04 Cinnamon #2016

ajb3932 opened this issue Jan 12, 2024 · 2 comments
Labels
invalid:duplicate This appears to be a duplicate of a pre-existing issue.

Comments

@ajb3932
Copy link

ajb3932 commented Jan 12, 2024

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 nightly release?

  • This issue is present in the nightly release

Describe the Bug

Sunshine does not autostart, the service unit works fine when ran manually but when rebooted shows as

 Active: inactive (dead)

Expected Behavior

Sunshine auto starts

Additional Context

No response

Host Operating System

Linux

Operating System Version

Ubuntu 23.04 Cinnamon

Architecture

64 bit

Sunshine commit or version

v0.21.0

Package

Linux - deb

GPU Type

Intel

GPU Model

GTX 1080ti

GPU Driver/Mesa Version

535

Capture Method (Linux Only)

X11

Config

[Unit]
Description=Sunshine is a self-hosted game stream host for Moonlight.
StartLimitIntervalSec=500
StartLimitBurst=5
# delay initialization to after graphical-session.target has been started
After=graphical-session.target

[Service]
ExecStart=/usr/bin/sunshine
# uncomment the line below if your system is reporting session initialization prematurely
# ExecStartPre=/usr/bin/sleep 30 # wait  30s before starting sunshine
Restart=on-failure
RestartSec=5s

[Install]
# activate this unit alongside graphical-session.target
WantedBy=graphical-session.target

Apps

No response

Relevant log output

Jan 12 16:16:39 SteamPC sunshine[4859]: terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
Jan 12 16:16:39 SteamPC sunshine[4859]:   what():  filesystem error: cannot create symlink: File exists [/dev/input/event13] [/home/alex/.config/sunshine/sunshine_mouse]
Jan 12 16:16:40 SteamPC systemd[1102]: sunshine.service: Main process exited, code=dumped, status=6/ABRT
Jan 12 16:16:40 SteamPC systemd[1102]: sunshine.service: Failed with result 'core-dump'.
Jan 12 16:16:40 SteamPC systemd[1102]: sunshine.service: Consumed 2.331s CPU time.
Jan 12 16:16:46 SteamPC systemd[1102]: sunshine.service: Scheduled restart job, restart counter is at 1.
Jan 12 16:16:46 SteamPC systemd[1102]: Stopped sunshine.service - Sunshine is a self-hosted game stream host for Moonlight..
Jan 12 16:16:46 SteamPC systemd[1102]: sunshine.service: Consumed 2.331s CPU time.
Jan 12 16:16:46 SteamPC systemd[1102]: Started sunshine.service - Sunshine is a self-hosted game stream host for Moonlight..
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Sunshine version: v0.21.0
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: System tray created
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Error: Failed to create session: This hardware does not support NvFBC
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Error: Environment variable WAYLAND_DISPLAY has not been defined
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Detecting monitors
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Detected monitor 0: HDMI-0, connected: true
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Detected monitor 1: DP-0, connected: false
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Detected monitor 2: DP-1, connected: false
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Detected monitor 3: DP-2, connected: false
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Detected monitor 4: DP-3, connected: false
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Detected monitor 5: DP-4, connected: false
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Detected monitor 6: DP-5, connected: false
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Trying encoder [nvenc]
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Screencasting with X11
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Screencasting with X11
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: SDR color coding [Rec. 601]
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Color depth: 8-bit
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Color range: [JPEG]
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Warning: [h264_nvenc @ 0x55feef38ea40] Multiple reference frames are not supported by the device
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Fatal: [h264_nvenc @ 0x55feef38ea40] Provided device doesn't support required NVENC features
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Error: Could not open codec [h264_nvenc]: Function not implemented
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Screencasting with X11
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: SDR color coding [Rec. 601]
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Color depth: 8-bit
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Color range: [JPEG]
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Error: [AVHWDeviceContext @ 0x55feef27de40] Primary context already active with incompatible flags.
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Error: Failed to create a CUDA device: Operation not supported
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Screencasting with X11
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: SDR color coding [Rec. 601]
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Color depth: 8-bit
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Info: Color range: [JPEG]
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Error: [AVHWDeviceContext @ 0x55feef325440] Primary context already active with incompatible flags.
Jan 12 16:16:46 SteamPC sunshine[4953]: [2024:01:12:16:16:46]: Error: Failed to create a CUDA device: Operation not supported
@ReenigneArcher
Copy link
Member

Duplicate of #1533

@ReenigneArcher ReenigneArcher marked this as a duplicate of #1533 Jan 12, 2024
@ReenigneArcher ReenigneArcher added the invalid:duplicate This appears to be a duplicate of a pre-existing issue. label Jan 12, 2024
@LizardByte-bot
Copy link
Member

👋 @ajb3932, this appears to be a duplicate of a pre-existing issue.

@LizardByte LizardByte locked and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid:duplicate This appears to be a duplicate of a pre-existing issue.
Projects
None yet
Development

No branches or pull requests

3 participants