Still occurring. Steam crashes (Dumps core) and then restarts. Here's log from starting Steam client on the command line until the crash occurs: https://gist.github.com/rifftual/085ccd21974fe3c0c8b57b3f5670f719
Hello @rifftual, steam: i965_encoder.c:1692: intel_enc_hw_context_init: Assertion `encoder_context->mfc_context' failed. is the line of interest from your log. This is coming from your Intel vaapi driver. It is most like incomplete or broken.
Please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.
Disabling hardware accelerated video encode should workaround this issue. (Steam -> Settings -> Remote Play -> Advanced Host Options -> uncheck Enable hardware encoding on Intel iGPU)
Disabling HW encoding doesn't work.
Here's the log when starting Steam without HW encoding in Remote Play: https://gist.github.com/rifftual/61e907d29e767363710b4ab6ca71b986
And here's the system information: https://gist.github.com/rifftual/9ef631fabf9105d64fe749ca3356232b
Also please note that Steam remote play used to work on Ubuntu 20.04.
Looks like hardware encoding didn't get disabled for the software encode workaround experiment.
Your system information confirms that Intel vaapi is broken (https://gist.github.com/rifftual/9ef631fabf9105d64fe749ca3356232b#file-steam-system-information-txt-L217-L230 https://gist.github.com/rifftual/9ef631fabf9105d64fe749ca3356232b#file-steam-system-information-txt-L394-L413). That should be reported to your distro's package maintainer(s) for their Intel vaapi packages.
Blind guess, can you check if i965-va-driver-shaders and i965-va-driver-shaders:i386 are installed with something like apt policy i965-va-driver-shaders i965-va-driver-shaders:i386?
Thank you! Installing the shader packages made Remote play work!
Couple of issues persist still (Of which the latter also occurred on Ubuntu 20.04):
Here's the log when I try to play a Proton game on Wayland with HW encoding and decoding disabled: https://gist.github.com/rifftual/e78a008009c5095f5e4610eed1718405
There's at least these errors:
Steam: An X Error occurred
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 20 (X_GetProperty)
Resource id in failed request: 0x0
Serial number of failed request: 9
xerror_handler: X failed, continuing
ERROR: ld.so: object '/home/foo/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/foo/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Glad to hear it started working for you. This issue needs be evaluated on the distro side.
For the follow up issues; the first bullet point is #6148; the second might be similar to https://github.com/ValveSoftware/steam-for-linux/issues/6716#issuecomment-617037116, but regardless, follow up issues should be evaluated separately.
The X error is #9164 and the LD_PRELOAD lines are harmless (#6718)
Closing because this was a system config issue.
Hi,
Steam Link stopped working for me when I upgraded to Ubuntu 22.04.01 LTS. Steam on my desktop restart when I establish a connection via Steam Link.
The results is the same whether I run my desktop session on X11 or Wayland.