ValveSoftware / steam-for-linux

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

Steam Recording won't save clips #11433

Open gg537 opened 2 weeks ago

gg537 commented 2 weeks ago

Your system information

Please describe your issue in as much detail as possible:

When trying to save a clip using "Save in Steam" nothing happens, when trying "Export Video File" I get this UI error "Unable to retrieve clip information(2)". Both give the following error in the terminal:

libav: No support for codec h264 profile 100.

libav: No support for codec h264 profile 100.
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: No support for codec h264 profile 100.

libav: No support for codec h264 profile 100.
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/gh/.var/app/com.valvesoftware.Steam/.local/share/Steam/userdata/10041264/gamerecordings/clips/clip_405820_20241107_202752/video/bg_405820_20241107_191428/session.mpd
Clip save failed with Failure

I only get these errors when trying to "Save in Steam" or "Export Video File" If using "Create a Share Link" it exports the clip fine.

Back when the recording feature was release I was able to save clips fine, I'm not sure when it stopped working.

Steps for reproducing this issue:

  1. Open View > Recordings & Screenshots > Select a recording
  2. Clip > Save / Share > click "Save in Steam" or "Export Video File"
  3. Fails to create clip
gg537 commented 2 weeks ago

I'm not sure if the overlay label is correct for this issue as I can record video fine, the problem is when trying to clip the video, and I'm doing that in desktop mode with the game closed.

ullll commented 1 week ago

This seem to be a problem specific to flatpak steam. Flatpak steam recently updated to branch 24.08 and something related to hardware acceleration havent been updated or broken.

gg537 commented 1 week ago

Should I close this issue and make a report on the Steam Flatpak tracker?

Edit: someone just made a report here https://github.com/flathub/com.valvesoftware.Steam/issues/1366