ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

Game Recording at 5120x1440 breaks "Save in Steam" and "Export Video File" #11494

Open Critical-Impact opened 2 days ago

Critical-Impact commented 2 days ago

Your system information

Please describe your issue in as much detail as possible:

If a video is recorded at this resolution it appears to break the ability to make clips then "Save in Steam" or "Export Video File". Setting the maximum vertical resolution to lower when recording appears to work.

Steps for reproducing this issue:

  1. Record at 5120x1440
  2. Attempt to make a clip
  3. Get a "Unable to retrieve clip information (2)" error when trying to export a clip

Below is the exact error that occurs when attempting to make a clip taken from steam's output(I ran steam via bash)

Attempting to save a clip to clip_220_20241119_084754 from background, timeline_22020241119_064933[743790] to timeline_22020241119_064933[755789]: 1 timelines, NOT including current, BACKGROUND recording
libav: Hardware does not support image size 5120x1440 (constraints: width 64-4096 height 64-4096).

libav: Hardware does not support image size 5120x1440 (constraints: width 64-4096 height 64-4096).
libav: Failed setup for format vaapi: hwaccel initialisation returned error.

libav: Failed setup for format vaapi: hwaccel initialisation returned error.
Failed to get HW surface format
libav: decode_slice_header error

libav: decode_slice_header error
libav: no frame!

libav: no frame!
libav: Hardware does not support image size 5120x1440 (constraints: width 64-4096 height 64-4096).

libav: Hardware does not support image size 5120x1440 (constraints: width 64-4096 height 64-4096).
libav: Failed setup for format vaapi: hwaccel initialisation returned error.

libav: Failed setup for format vaapi: hwaccel initialisation returned error.
Failed to get HW surface format
libav: decode_slice_header error

libav: decode_slice_header error
libav: no frame!

libav: no frame!
Failed to get thumbnail frame from MPD /var/home/blair/.local/share/Steam/userdata/7128421/gamerecordings/clips/clip_220_20241119_084754/video/bg_220_20241119_064944/session.mpd
Clip save failed with Failure

While I'm aware this is a fairly uncommon resolution, it'd be nice if the recorder either told you what was wrong or it attempted to limit the maximum resolution recorded automatically

mikela-valve commented 1 day ago

Hi @Critical-Impact, could you please post your full set of logs using the instructions from the issue template? Thanks!

Steam Logs: [generate by running this command in a terminal `tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs`]