Skip to content

Error When Launching Some Games From Sunshine #764

@Silas888

Description

@Silas888

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

There is a when attempting to launch some games within Moonlight from Sunshine. The majority of the time I'll get the following error: "Connection Error Server Error." I'll take for example God of War. I have it configured in Sunshine the same way I have it in GeForce Experience. In the command section of Sunshine I have listed: "D:\Games\God of War\GoW.exe". If I move the same line to Detached Commands the desktop will show but the game won't be launched. Funny thing is that I also have Playnight configured and all games work when I launch them through Playnight . I'm thinking that this must then be related to how Sunshine launches the exe. Below is what I see if I look in the log file. The same log entry occurs for every game that fails to launch.

[2023:01:11:17:27:14]: Info: Executing: ["D:\Games\God of War\GoW.exe"] in ["D:\Games\God of War"]
[2023:01:11:17:27:14]: Error: Failed to launch process: 740
[2023:01:11:17:27:14]: Warning: Couldn't run ["D:\Games\God of War\GoW.exe"]: System: Invalid argument

Expected Behavior

The expected behaviors for the game to launch

Additional Context

No response

Host Operating System

Windows

Operating System Version

Windows 10 version 22H2

Architecture

64 bit

Sunshine commit or version

v0.17.0

Package

Windows - installer

GPU Type

Nvidia

GPU Model

GTX 1080 Ti

GPU Driver/Mesa Version

Driver Version: 528.02

Capture Method (Linux Only)

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions