steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Trying to export video clip results in an error

Open lsahnicne opened this issue 9 months ago • 6 comments

Your system information

  • Steam client version (build number or date): 1741737356
  • Distribution (e.g. Ubuntu): Pop_OS! 22.04 LTS
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] No
  • Steam Logs: steam-logs.tar.gz
  • GPU: AMD Radeon rx 6900 xt

Please describe your issue in as much detail as possible:

I'm trying to export a video clip made with Steam Recording as a video file, but it returns an error "Failed to export, try again (2)"

Image

Steam Runtime Diagnostics https://gist.github.com/lsahnicne/ea1640010006d165ad70d5a8890e8e3c

Steps for reproducing this issue:

  1. Have Steam Game recording record a game in a background
  2. Try to export a clip from a recording as a video file

lsahnicne avatar Mar 27 '25 20:03 lsahnicne

Hello @lsahnicne, please copy the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put it in a gist, then include a link to the gist in this issue report. In particular, we want to check if the 32 bit VA-API render path is healthy.

kisak-valve avatar Mar 27 '25 20:03 kisak-valve

Added Steam Runtime Diagnostics to the report. It might be a duplicate of #11603 but that is on NVIDIA GPU while I have AMD.

lsahnicne avatar Mar 27 '25 20:03 lsahnicne

Same here on Debian.

https://gist.github.com/megatog615/62cab98ac7605f997016cf38dcbe8750

megatog615 avatar Apr 29 '25 01:04 megatog615

+1 also on AMD GPU

jlrpalomar avatar May 11 '25 13:05 jlrpalomar

Same here: Linux Mint 22.1 deb Package AMD Ryzen 5 2600 AMD Vega56 https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu noble main is used

Starting export preview of clip clip_1537830_20250602_070951
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250602_070951/video/fg_1537830_20250602_070740/session.mpd
[preview] Starting for export
[preview] Completed for file (23ms)
Preview finished
Starting export preview of clip clip_1537830_20250602_070951
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250602_070951/video/fg_1537830_20250602_070740/session.mpd
[preview] Starting for export
[preview] Completed for file (8ms)
Preview finished
Starting export of clip clip_1537830_20250602_070951
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250602_070951/video/fg_1537830_20250602_070740/session.mpd
[export] Starting for file: /media/HDD/steamexport/clip_1.750.102.512.771.mp4
libav: Cannot load libcuda.so.1

libav: Cannot load libcuda.so.1
libav: Could not dynamically load CUDA

libav: Could not dynamically load CUDA
[export] Failed to make initial encoder
Export failed with error code Failure

It don't matter if enable hardware decoding is on or off. Last sucessfull export was 2025-06-13 since then this error.

Steam Beta Branch: Stable Client Steam Version: 1747701111

Looks like the flatpak has the same problem: https://github.com/flathub/com.valvesoftware.Steam/issues/1421

JokerGermany avatar Jun 16 '25 19:06 JokerGermany

€dit: Some newer clips can be exported 🤔 (same Game)

Starting export preview of clip clip_1537830_20250615_172722
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250615_172722/video/fg_1537830_20250615_172205/session.mpd
[preview] Starting for export
[preview] Completed for file (51ms)
Preview finished
Starting export preview of clip clip_1537830_20250615_172722
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250615_172722/video/fg_1537830_20250615_172205/session.mpd
[preview] Starting for export
[preview] Completed for file (72ms)
Preview finished
Starting export of clip clip_1537830_20250615_172722
Exporting/previewing from MPD files /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250615_172722/video/fg_1537830_20250615_172205/session.mpd
[export] Starting for file: /media/HDD/steamexport/clip_1.750.103.881.457.mp4
libav: Cannot load libcuda.so.1

libav: Cannot load libcuda.so.1
libav: Could not dynamically load CUDA

libav: Could not dynamically load CUDA
[export] [try_hardware=true][codec=1][bitrate=7500][framerate=60][width=1920][height=804][encoder_hardware=3]
[export] Processing file: /home/jokergermany/.steam/debian-installation/userdata/xxx/gamerecordings/clips/clip_1537830_20250615_172722/video/fg_1537830_20250615_172205/session.mpd
BCreateHwDeviceContext AMD Hardware VAAPI ...
... success.
[export] - Decoder: Hardware VAAPI - Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 1920x804, 70243 kb/s
[export] - Encoder: Hardware VAAPI - Video: h264 (h264_vaapi) (High), vaapi(pc, bt709), 1920x804 [SAR 1:1 DAR 160:67], q=-1--1, 7500 kb/s

Interesting Side-Fact: It doesn't matter if hardware decoding is on or off, it uses hardware decoding anyway XD And it doesn't matter if h265 is activated or not, it's using h264 anyway XD (perhaps because my hardware don't support 265 decoding?)

JokerGermany avatar Jun 16 '25 19:06 JokerGermany

+1 for AMD GPU on PopOs 22,04 same error as op

Mihitoko avatar Jul 06 '25 10:07 Mihitoko

+1 Getting the same errors when exporting video on current Arch Linux + Radeon 9800 XT

BCreateHwDeviceContext Nvidia Hardware CUDA ...
BCreateHwDeviceContext Nvidia Hardware CUDA ...
libav: Cannot load libcuda.so.1

libav: Cannot load libcuda.so.1
libav: Could not dynamically load CUDA

libav: Could not dynamically load CUDA
... failed.
libav: Cannot load libcuda.so.1

libav: Cannot load libcuda.so.1
libav: Could not dynamically load CUDA

libav: Could not dynamically load CUDA
... failed

zachcheatham avatar Jul 08 '25 02:07 zachcheatham

+1, getting same error as above with 6750XT.

Astrocule avatar Jul 09 '25 02:07 Astrocule

+1, same on ryzen 5 7530U integrated graphics

Attempting to save a clip to clip_739630_20250729_100221 from background, timeline_73963020250729_001129[5050428] to timeline_73963020250729_001129[5062427]: 1 timelines, NOT including current, BACKGROUND recording ...save successful Starting export of clip clip_739630_20250729_100221 Exporting/previewing from MPD files /mnt/ata-ST500LM030/obs shit/stem/clips/clip_739630_20250729_100221/video/bg_739630_20250729_001211/session.mpd [export] Starting for file: /tmp/steam/34B60FB3DE79F5.mp4 libav: Cannot load libcuda.so.1

libav: Cannot load libcuda.so.1 libav: Could not dynamically load CUDA

libav: Could not dynamically load CUDA

tupo-not avatar Jul 29 '25 10:07 tupo-not

Same issue as well! I'm using the HEVC codec and hardware encoding.

Ubuntu 25.04 Ryzen 5 5600 Radeon 6700 XT

Floflo35 avatar Aug 12 '25 18:08 Floflo35

Same issue.

Windows 11 pro 5080 7800x3d

trollollol123 avatar Aug 17 '25 09:08 trollollol123