protonscr

CVAAPIAccelX11: vaPutSurface() failed: invalid parameter (VAAPI Black screen)

steamopen Intel driversStreamingDistro Family: Debian
ValveSoftware/steam-for-linux#10291 · opened 2023-12-13 by some-git-user · updated 2024-01-31 · 7 comments · github
Ssome-git-user 2023-12-13 github

Your system information

Please describe your issue in as much detail as possible:

Unable to use Steam Remote Play with Hardware Decoding enabled.
The screen is some kind of black and glitching.
VAAPI Decoding is working fine with e.g. ffmpeg -y -vaapi_device /dev/dri/rende...
intel_gpu_top is also showing usage an the video engine while streaming.

The only "error" i could find is in the streaming_client.log file posting:
CVAAPIAccelX11: vaPutSurface() failed: invalid parameter repeating over and over again (complete file is linked above).
image

Steps for reproducing this issue:

  1. Start Steam
  2. Start the game to be streamed from the client
  3. See the screen like in the screenshot above (the glitched parts are not on the screenshot, for some reasons)
Mmicksam7 2023-12-23 github

I'm seeing this exact same behavior on a fresh install of Kubuntu 23.10 on a i5-1240p iGPU [Xe/12th gen].

intel_gpu_top shows video decoder use but the displayed image is static or strobes between the launch preview image and black.

streaming_client.log.last is filled with the same CVAAPIAccelX11: vaPutSurface() failed: invalid parameter repeating

This problem does not occur when Hardware Decoding in Remote Play client options is set to off

Ppwilkutowski 2023-12-27 github

Same situation on intel HD620

  • Ubuntu 22.04 LST
  • VA-API version 1.18.0
  • VA-API version: 1.18 (libva 2.18.0)
  • Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.2.1 ()

Ill try to maybe generate some logs from client libva

Uurbenlegend 2024-01-08 github

Exact same issue on Arch running on a Surface Pro 7, so this isn't only limited to Debian or Ubuntu.

Operating System: Arch Linux
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12
Kernel Version: 6.6.6-arch1-1-surface (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-1035G4 CPU @ 1.10GHz
Memory: 7.4 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Plus Graphics
Manufacturer: Microsoft Corporation
Product Name: Surface Pro 7

The streaming logs show the same invalid parameter errors:
streaming_client.log

Ssmcv 2024-01-22 github

If you swap the client side (the one with the Intel GPU) to use https://flathub.org/apps/com.valvesoftware.SteamLink instead of the streaming client built into Steam, while leaving the server side (the one actually running the game) the same, does that work?

Ppwilkutowski 2024-01-22 github

In my case it works on an Android device, but does not work on ubuntu /
Intel device (there are no changes in the host).
I will try above swap on the intel device and let you know

pon., 22 sty 2024 o 16:10 Simon McVittie @.***>
napisał(a):

If you swap the client side (the one with the Intel GPU) to use
https://flathub.org/apps/com.valvesoftware.SteamLink instead of the
streaming client built into Steam, while leaving the server side (the one
actually running the game) the same, does that work?


Reply to this email directly, view it on GitHub
https://github.com/ValveSoftware/steam-for-linux/issues/10291#issuecomment-1904207098,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQ2QL42CB5MQGZHNHDIRXTYPZ6OLAVCNFSM6AAAAABATERCZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBUGIYDOMBZHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Wilkutowski Przemysław

Ppwilkutowski 2024-01-31 github

If you swap the client side (the one with the Intel GPU) to use https://flathub.org/apps/com.valvesoftware.SteamLink instead of the streaming client built into Steam, while leaving the server side (the one actually running the game) the same, does that work?

Tested this just now, i used SAME host device with NO hardware / software changes. Using steam link app from flatpack VAAPI hardware acceleration works with no issues.

Im surprised how well it works with hardware accell to be honest. At the same time remote play form steam (linux) client fails with vaPutSurface error

Uurbenlegend 2024-01-31 github

The Steam beta seems to have fixed the VAAPI issues for me. Works quite smoothly now, but it does seem to have broken controller input for Big Picture.