Steam crashes in remote play when hardware acceleration is enabled

For a few days Steam has started crashing when I start a session with Steam Link. I looked through the logs and maybe found something relevant.
I’m using the official nvidia drivers.
thanks for the help.

Game: UNKNOWN (0)
Setting target bitrate to 15000 Kbit/s, burst bitrate is 75000 Kbit/s
Creating new encoder for codec 3
Encoder init succeeded, now have 1 encoder(s)
Caching cursor image for , size 24x24, serial 1075, cache size = 1
GameScope focus changed to appID 0
Changing record window: 0x460004e (73400398)
>>> Starting desktop stream
SynchronizeClientState(): setting capture size 1920x1080
SynchronizeClientState(): setting cursor to 1075
SynchronizeClientState(): setting activity to k_EStreamActivityDesktop: Steam Controller Configs - Desktop
Recording system audio
PulseAudio: Sink bluez_output.41_42_7B_D6_DC_E4.1 is default
PulseAudio: Adding sink[57] alsa_output.pci-0000_01_00.1.hdmi-stereo with priority 1, monitor is alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
PulseAudio: Adding sink[61] alsa_output.pci-0000_00_1f.3.iec958-stereo with priority 1, monitor is alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor
PulseAudio: Adding sink[69] alsa_output.usb-Sony_Interactive_Entertainment_Wireless_Controller-00.analog-stereo with priority 1, monitor is alsa_output.usb-Sony_Interactive_Entertainment_Wireless_Controller-00.analog-stereo.monitor
PulseAudio: Adding sink[293] bluez_output.41_42_7B_D6_DC_E4.1 with priority 7, monitor is bluez_output.41_42_7B_D6_DC_E4.1.monitor
PulseAudio: Recording on device bluez_output.41_42_7B_D6_DC_E4.1.monitor
PulseAudio: Connected to device bluez_output.41_42_7B_D6_DC_E4.1.monitor (293, not suspended).
PulseAudio: Using sample spec 's16le 2ch 48000Hz', channel map 'front-left,front-right'.
>>> Switching video stream from NONE to Desktop_MovieStream
BuildCompleteAppOverviewChange: 459 apps
Building new pipeline
Trying to create an encoder for streaming: [hardware_enabled=true][hardware_suppressed=false]
CLIENT: Got control packet k_EStreamControlSetQoS
CLIENT: Got control packet k_EStreamControlSetTargetBitrate
CLIENT: Starting audio stream: frequency=48000, channels=2
CLIENT: Low latency audio enabled
CLIENT: Opened audio device: format=2, channels=2, frequency=48000
CLIENT: Initialized audio decoder: codec=3, sample rate=48000, channels=2
CLIENT: Got control packet k_EStreamControlStartAudioData
CLIENT: Got control packet k_EStreamControlSetSpectatorMode
CLIENT: Got control packet k_EStreamControlSetCaptureSize
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)