Skip to content

Fatal: Unable to find display or encoder during startup. Fatal: Please check that a display is connected and powered on. #3393

Description

@Contopaxi

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?

I didn't read the issue template

Describe the Bug

On first start sunshine does not work and I am forced to force close and restart from within sunshine's browser UI

Expected Behavior

I am hopeful that when I power on my pc and then open moonlight on my laptop / phone I can stream games without having to force restart sunshine on the host PC

Additional Context

No response

Host Operating System

Windows

Operating System Version

22631.4391

Architecture

amd64/x86_64

Sunshine commit or version

Version v0.23.1

Package

Windows - installer (recommended)

GPU Type

Nvidia

GPU Model

EVGA 3090

GPU Driver/Mesa Version

Game Ready Driver 566.14

Capture Method

None

Config

upnp = enabled

Apps

{
    "env": "",
    "apps": [
        {
            "name": "Desktop",
            "image-path": "desktop.png"
        },
        {
            "name": "Steam Big Picture",
            "cmd": "steam:\/\/open\/bigpicture",
            "auto-detach": "true",
            "wait-all": "true",
            "image-path": "steam.png"
        },
        {
            "name": "Epic",
            "output": "",
            "cmd": "",
            "exclude-global-prep-cmd": "false",
            "elevated": "false",
            "auto-detach": "true",
            "wait-all": "true",
            "exit-timeout": "5",
            "detached": [
                "\"D:\\Program Files (x86)\\Epic Games\\Launcher\\Portal\\Binaries\\Win32\\EpicGamesLauncher.exe\"",
                ""
            ],
            "image-path": ""
        }
    ]
}

Relevant log output

[2024:11:12:15:53:48]: Info: Sunshine version: v0.23.1
[2024:11:12:15:53:49]: Info: nvprefs: Opened undo file from previous improper termination
[2024:11:12:15:53:49]: Info: nvprefs: Restored OGL_CPL_PREFER_DXPRESENT for base profile
[2024:11:12:15:53:49]: Info: nvprefs: Restored global profile settings from undo file - deleting the file
[2024:11:12:15:53:49]: Info: nvprefs: No need to modify application profile settings
[2024:11:12:15:53:49]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2024:11:12:15:53:49]: Info: Compiling shaders...
[2024:11:12:15:53:49]: Info: Compiled shaders
[2024:11:12:15:53:49]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:11:12:15:53:49]: Info: Trying encoder [nvenc]
[2024:11:12:15:53:49]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2024:11:12:15:53:49]: Info: Set GPU preference: 1
[2024:11:12:15:53:49]: Error: Failed to locate an output device
[2024:11:12:15:53:50]: Error: Failed to locate an output device
[2024:11:12:15:53:50]: Info: Encoder [nvenc] failed
[2024:11:12:15:53:50]: Info: Trying encoder [quicksync]
[2024:11:12:15:53:51]: Error: Failed to locate an output device
[2024:11:12:15:53:52]: Error: Failed to locate an output device
[2024:11:12:15:53:52]: Info: Encoder [quicksync] failed
[2024:11:12:15:53:52]: Info: Trying encoder [amdvce]
[2024:11:12:15:53:52]: Error: Failed to locate an output device
[2024:11:12:15:53:53]: Error: Failed to locate an output device
[2024:11:12:15:53:53]: Info: Encoder [amdvce] failed
[2024:11:12:15:53:53]: Info: Trying encoder [software]
[2024:11:12:15:53:54]: Error: Failed to locate an output device
[2024:11:12:15:53:54]: Error: Failed to locate an output device
[2024:11:12:15:53:55]: Info: Encoder [software] failed
[2024:11:12:15:53:55]: Fatal: Unable to find display or encoder during startup.
[2024:11:12:15:53:55]: Fatal: Please check that a display is connected and powered on.
[2024:11:12:15:53:55]: Error: Video failed to find working encoder
[2024:11:12:15:53:55]: Info: Configuration UI available at [https://localhost:47990]
[2024:11:12:15:53:56]: Info: Registered Sunshine mDNS service
[2024:11:13:13:02:03]: Warning: Couldn't discover any IPv4 UPNP devices
[2024:11:13:13:02:10]: Info: System tray created
[2024:11:13:13:06:04]: Info: Completed UPnP port mappings to 192.168.68.116 via http://192.168.68.1:1900/rootDesc.xml
[2024:11:13:13:12:29]: Info: Web UI: [127.0.0.1] -- not authorized
[2024:11:13:13:41:53]: Info: Opening UI from system tray
[2024:11:13:13:41:53]: Info: Resolved user-provided command 'https://localhost:47990' to '"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" --single-argument https://localhost:47990'
[2024:11:13:13:41:53]: Info: https://localhost:47990 running with PID 13624
[2024:11:13:13:41:53]: Info: Opened url [https://localhost:47990]
[2024:11:13:13:41:54]: Info: Web UI: [127.0.0.1] -- not authorized

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions