Skip to content

Stream Freezes with high VRAM utilization (and does not recover) #1031

@Nonary

Description

@Nonary

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

If the host happens to use around 90% VRAM utilization, the stream will run into performance problems. At first it will drop framerate down, but if VRAM is exceeded it will break the stream entirely by causing it to freeze. Users will have to restart sunshine entirely in order to recover the stream, even if host has VRAM available.

This impacts games that use DLSS3 more than any other games because people bought the 12GB VRAM cards and try to push the limits of their card by turning everything up (which DLSS3 can do at reasonable framerates) so it throws them off guard.

Most common offenders are Diablo IV, Hogwarts Legacy and Spiderman.
Basically any game that uses a lot of VRAM.

Expected Behavior

If VRAM is exceeded, Sunshine should be able to recover without requiring users to restart it.

Additional Context

No response

Host Operating System

Windows

Operating System Version

11

Architecture

64 bit

Sunshine commit or version

0.18.4

Package

Windows - installer

GPU Type

Nvidia

GPU Model

N/A

GPU Driver/Mesa Version

N/A

Capture Method (Linux Only)

No response

Config

N/A

Apps

No response

Relevant log output

N/A

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