ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

Steam crashes after starting Steam Remote Play with GPU acceleration enabled #11466

Open Davidekiller1999 opened 1 week ago

Davidekiller1999 commented 1 week ago

Your system information

Please describe your issue in as much detail as possible:

After activating hardware acceleration for Steam Remote Play, Steam crashes and restarts, thus preventing you from playing. Hardware acceleration is essential in games that use Vulkan (Steam Play/Proton) for performance reasons. without hardware acceleration the streaming happens, however, the fps are very low (20-25). I tried both with the previous nvidia drivers and with the recent ones. nothing helped.

I analyzed the logs and report what happens before the crash: ``` CLIENT: Got control packet k_EStreamControlSetCursor CLIENT: Got control packet k_EStreamControlSetActivity CLIENT: Got control packet k_EStreamControlSetCursorImage CLIENT: Queued 114 ms, clearing audio stream CLIENT: Got control packet k_EStreamControlControllerConfigMsg CLIENT: Got control packet k_EStreamControlControllerConfigMsg CLIENT: Got control packet k_EStreamControlControllerConfigMsg CLIENT: Got control packet k_EStreamControlControllerConfigMsg CLIENT: Got control packet k_EStreamControlControllerPersonalizationUpdate CLIENT: Got control packet k_EStreamControlTouchConfigActive CLIENT: Got control packet k_EStreamControlTouchConfigActive CLIENT: Got control packet k_EStreamControlTouchActionSetActive CLIENT: Got control packet k_EStreamControlControllerConfigMsg Created encoder NVENC for codec 4 Video Encoder Changed >>> Capture method set to Desktop OpenGL NV12 + NVENC H264 >>> Capture resolution set to 1920x1080 >>> Capture colorspace set to BT.601 limited range NVENC - Submitting frame for encoding failed: 20 Encoder stage failed [type=2, codec=4] CLIENT: Texture rect: 2400x1080 at 0,0 CLIENT: Video rect: 2400x1080 at 0,0 CLIENT: Warning: Couldn't find actionset 0 in config for app 769, defaulting to the first one CLIENT: Got control packet k_EStreamControlSetTouchConfigData CLIENT: Ignoring duplicate controller configuration for 769, revision 22 CLIENT: Got control packet k_EStreamControlSetTouchConfigData >>> Client video decoder set to Android texture hardware decoding CLIENT: Android texture hardware decoding CLIENT: Got control packet k_EStreamControlStartVideoData CLIENT: Got control packet k_EStreamControlVideoEncoderInfo CLIENT: Got control packet k_EStreamControlSetCursorScale CLIENT: Got control packet k_EStreamControlTouchConfigActive Building new pipeline Trying to create an encoder for streaming: [hardware_enabled=true][hardware_suppressed=false] Failed encoders: 2/4 Created encoder VAAPI for codec 4 CGameStreamVideoStageVAAPI: Reinitializing 1920x1080 at 15000 Kbit/s and 60.00 FPS with quality 0 ffmpeg verbose: libva: VA-API version 1.22.0 ffmpeg verbose: libva: Trying to open /usr/lib32/dri/nvidia_drv_video.so ffmpeg verbose: libva: Found init function __vaDriverInit_1_22 crash_20241114184219_39.dmp[14864]: Uploading dump (out-of-process) /tmp/dumps/crash_20241114184219_39.dmp /home/davide/.local/share/Steam/steam.sh: riga 906: 14309 Errore di segmentazione (core dump creato) "$STEAMROOT/$STEAMEXEPATH" "$@" ```

in the last line, it is written in Italian: Segmentation fault (core dump created).

Steps for reproducing this issue:

  1. start streaming from a device with hardware acceleration enabled
  2. Steam crashes
  3. Steam restarts