ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

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

Open some-git-user opened 9 months ago

some-git-user commented 9 months ago

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)
micksam7 commented 8 months ago

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

pwilkutowski commented 8 months ago

Same situation on intel HD620

Ill try to maybe generate some logs from client libva

urbenlegend commented 8 months ago

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

smcv commented 7 months ago

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?

pwilkutowski commented 7 months ago

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

pwilkutowski commented 7 months ago

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

urbenlegend commented 7 months ago

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.