Hello @matte-schwartz, kernel: xe 0000:00:02.0: [drm] GT1: Engine reset: engine_class=vecs, logical_mask: 0x1, guc_id=1 looks like a kernel or hardware issue that should be reported to and evaluated by your video driver vendor.
reported upstream: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/4291
it seems like the Engine reset was from a lack of https://aur.archlinux.org/packages/lib32-intel-media-driver, as I no longer get DRM errors when attempting to record. With that package installed, the Steam client still is unable to save a video successfully. My Steam logs show
==> /home/deck/.steam/steam/logs/console-linux.txt <==
CGameStreamVideoStageVAAPI: Reinitializing 1920x1200 at 12000 Kbit/s and 60.00 FPS with quality 1
[2025-02-25 14:48:47] libav: libva: /usr/lib32/dri/iHD_drv_video.so init failed
[2025-02-25 14:48:47]
[2025-02-25 14:48:47] libav: libva: /usr/lib32/dri/iHD_drv_video.so init failed
[2025-02-25 14:48:47] libav: Failed to initialise VAAPI connection: 1 (operation failed).
[2025-02-25 14:48:47]
[2025-02-25 14:48:47] libav: Failed to initialise VAAPI connection: 1 (operation failed).
==> /home/deck/.steam/steam/logs/streaming_log.txt <==
[2025-02-25 14:48:47][22.484818] libav: libva: /usr/lib32/dri/iHD_drv_video.so init failed
[2025-02-25 14:48:47][22.484856] libav: Failed to initialise VAAPI connection: 1 (operation failed).
[2025-02-25 14:48:47][22.485089] CGameStreamVideoStageVAAPI: Failed to create device context: Input/output error
[2025-02-25 14:48:47][22.485099] Failed to pre-process frame
==> /home/deck/.steam/steam/logs/console-linux.txt <==
[2025-02-25 14:48:47] CGameStreamVideoStageVAAPI: Failed to create device context: Input/output error
[2025-02-25 14:48:47] Failed to pre-process frame
[2025-02-25 14:48:47] Encoder stage failed [type=5, codec=4]
when I create recordings from desktop mode, even with those errors I do get a video file, but they are full of corruption:
https://github.com/user-attachments/assets/02311cc8-8a47-4d15-9c60-04daab6514fc
full steam logs here:
steam-logs.tar.gz
noticed some activity on https://gitlab.freedesktop.org/mesa/mesa/-/issues/13221 and the issue seems to be resolved on my end now. I still can't save videos in gamescope-session but that's looking more like a gamescope issue, so will file a fresh report there.
Nothing extracted yet.
Your system information
vainfo:
Please describe your issue in as much detail as possible:
Attempting to create a game recording clip fails in both the desktop Steam client and in gamescope-session on the Steam Deck client. It seems like I'm still messing some sort of package to give Steam access to encoding but I've not yet been able to narrow down what said package could possible be. Looking at my Steam logs with libva debugging verbosity and
-debug_steamapishows:Steps for reproducing this issue: