Skip to content

[Astroneer Dedicated Server] Crash on startup: System.PlatformNotSupportedException & DXVK Initialization Failure #500

@MRsuffixx

Description

@MRsuffixx

Egg: Astroneer Dedicated Server
File: astroneer/egg-astroneer-dedicated-server.json

Issue Description:
The Astroneer dedicated server is crashing immediately upon startup in the Pterodactyl environment. The server attempts to initialize a video driver and UI components (via Xalia and DXVK) in a headless container, which leads to a System.PlatformNotSupportedException and fails to start.

Even when attempting to run with xvfb-run or setting SDL_VIDEODRIVER=dummy, the server still throws errors regarding OpenVR, Vulkan, and DXVK initialization. It seems the current environment or Wine/Proton configuration in the egg is not properly suppressing the graphical/UI requirements of the Windows executable.

Steps to Reproduce:

  1. Install the Astroneer Dedicated Server using the provided egg-astroneer-dedicated-server.json.
  2. Start the server via the Pterodactyl Panel.
  3. Observe the console output. The server crashes immediately during the Proton/Wine initialization phase.

Expected Behavior:
The server should start successfully in a headless Linux Docker environment without attempting to hook into a physical display, video driver, or VR environment.

Server Logs / Error Output:

Starting server...
:/home/container$ proton run ./Astro/Binaries/Win64/AstroServer-Win64-Shipping.exe
ProtonFixes[109] WARN: Skipping fix execution. We are probably running a unit test.
fsync: up and running.
info:  Game: xalia.exe
info:  DXVK: v2.7.1-509-g1676dcaf342a9b1
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6ffff660fbf0
warn:  OpenVR: Failed to initialize OpenVR
err:   DxvkInstance::createInstance: Failed to create Vulkan instance
err:   Failed to initialize DXVK.
[0000000000000118:] EXCEPTION handling: System.PlatformNotSupportedException: Video driver  not supported
System.PlatformNotSupportedException: Video driver  not supported
  at Xalia.Sdl.WindowingSystem.Create ()
  at Xalia.Sdl.WindowingSystem.get_Instance ()
  at Xalia.Ui.UiMain..ctor ()

Environment Details:

  • Panel Version: [Panel sürümünü buraya yazabilirsin, örn: 1.11.x]
  • Daemon Version (Wings): [Wings sürümünü buraya yazabilirsin, örn: 1.11.x]
  • Docker Image: ghcr.io/parkervcp/steamcmd:proton (or the specific image used by the egg)

Additional Context:
I have tried overriding the DLLs (WINEDLLOVERRIDES="xalia=d") and using virtual framebuffers (xvfb-run --auto-servernum --server-args='-screen 0 800x600x24'), but the process still fails at the Vulkan/DXVK level. Any help in updating the egg's startup script or dependencies to properly handle this headless state would be greatly appreciated.

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