STEAM GROUP
Steam Client Beta SteamBeta
STEAM GROUP
Steam Client Beta SteamBeta
9,703
IN-GAME
60,165
ONLINE
Founded
January 8, 2013
kkk Jun 27, 2024 @ 3:19am
VAAPI doesn't work on Linux
With enabled hardware acceleration Steam failed to use VAAPI. vainfo and other tools using it just fine.

Specs: 7600 + 6650 XT on Mesa 24.1.2 (freeworld to enable h265/h265) , Fedora 40

GameOverlay: started '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 567170) for game process 567132 06/27 14:13:23 minidumps folder is set to /tmp/dumps 06/27 14:13:23 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240627013513)/tid(567170) 06/27 14:13:23 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(567170) wine: using kernel write watches, use_kernel_writewatch 1. Changing record window: 0x8800003 Video capture state changed Video capture state changed >>> Switching video stream from NONE to GameOverlay_MovieStream_567132 More than 2 seconds between reading frames: 4119ms CGameStreamVideoStageVAAPI: Reinitializing 800x450 at 7500 Kbit/s and 60.00 FPS with quality 1 video libav error: Failed to initialise VAAPI connection: -1 (unknown libva error). libav: Failed to initialise VAAPI connection: -1 (unknown libva error). CGameStreamVideoStageVAAPI: Failed to create device context: Input/output error CGameStreamVideoStageVAAPI: Reinitializing 800x450 at 7500 Kbit/s and 60.00 FPS with quality 1 video libav error: Failed to initialise VAAPI connection: -1 (unknown libva error). libav: Failed to initialise VAAPI connection: -1 (unknown libva error). CGameStreamVideoStageVAAPI: Failed to create device context: Input/output error Detected 12 logical processors, using 4 threads Detected 12 logical processors, using 4 threads Configuring encoder: [threads=4][width=800][height=450][preset=veryfast][tune=film] Video Encoder Changed >>> Saw first frame, starting a session Game Recording - Recording Started [recording=bg_1245620_20240627_101326]

Don't work for proton and native games. OBS with vkcapture works just fine.
< >
Showing 1-4 of 4 comments
Vamist Jun 27, 2024 @ 4:17am 
I think it's an issue with splash screens (?) in games. I was able to get it to work in a game like binding of isaac, but with anything that has splash screens (elden ring, cruelty squad) it either spits out that error or it ends up recording the splash screen the entire time.
Salooki Jun 27, 2024 @ 4:32am 
I can clip games like CS2 fine, albeit with a slight performance hit. Using Fedora 40 with a 6600 XT.

Elden Ring does not work correctly, recording the EAC splash screen for the whole duration of the game clip.
kkk Jun 27, 2024 @ 4:47am 
I figure that out. I have only x64 mesa-va-drivers, so I installed mesa-va-drivers-freeworld:i686 and VAAPI now works.

Issue with splash screen is separate issue. I guess it is not issue for steamdeck, because it using gamescope
Last edited by kkk; Jun 27, 2024 @ 4:47am
LZZ Mar 7 @ 8:29am 
Originally posted by kkk:
I figure that out. I have only x64 mesa-va-drivers, so I installed mesa-va-drivers-freeworld:i686 and VAAPI now works.

Issue with splash screen is separate issue. I guess it is not issue for steamdeck, because it using gamescope

Worked like a charm.
sudo apt install mesa-va-drivers:i386

Should be a steam package dependency.
< >
Showing 1-4 of 4 comments
Per page: 1530 50