I've tested VAAPI hardware decode on another machine. The specs are:
Relevant installed packages:
Using both the Steam client beta and stable, I have no VAAPI video freezes. Still freezes on original machine even after testing switching to Steam stable. I suspect this is an issue with VAAPI decoding on AMD hardware. Continuing to investigate...
I'm including some more logs here in case it helps with anything. I've noticed that I'm getting
Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory ffmpeg error: VDPAU device creation on X11 display :0 failed.
now in the console output. I've tried deleting the steam libraries to fallback on system libs, and I've tried symlinking all the libvdpau libraries to ~/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/vdpau no to avail. Worth noting that I know the packages work as moonlight can use VDPAU fine.
vdpauinfoOutput.txt
vainfoOutput.txt
I get the same output when running in a regular shell vs running with ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh, so I'm just including the two files from the regular shell.
I switched my bandwidth limit from unlimited to 50Mbps and it seemed to delay the crash. Not sure if this is a one off or not, but I will investigate this tomorrow morning.
Can confirm after extensive testing that the lower you set the bandwidth limit, the longer it takes to crash. I find that unlimited/50mbps usually crashes around the 5 minute mark, 25mbps takes about 12 minutes, and <=10mbps lasts around 25 minutes.
Just found case #6765 and I'm 100% certain this is the same issue. I monitored with htop and there is a memory leak somewhere.
Hello @TomokoK, let's track this issue on the older issue report. Feel free to add your findings to it.
Nothing extracted yet.
Your system information
Please describe your issue in as much detail as possible:
When using VAAPI hardware decoding with Steam in home streaming, I get video freezes every few minutes. I still get audio, just not video. Switching to software decoding gives me no freezes.
Relevant installed packages:
Steam settings (client):
Steam settings (host):
Client specs:
Host specs:
Here's a log file that details the crash. Looks like something wrong with ffmpeg? steamLog.txt
Sometimes the stream will stay on the black screen and needs to be pkilled, but sometimes it will crash with
terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc AbortedI don't think it's anything host side either, I've tried using different encoders and different rendering engines and I still get a freeze client side.
Steps for reproducing this issue: