ValveSoftware / steam-for-linux

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

Far Cry 5 streaming on Linux does not work with Assertion Failed errors #7501

Open Alexithymia2014 opened 3 years ago

Alexithymia2014 commented 3 years ago

Your system information

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist Streaming Far Cry 5 using Steam Play (Proton) does not stream the game, streaming stops working correctly. In the steam logs I get "src/steamUI/gamestream/gamestreamsystem.cpp (867) : Assertion Failed: pState-m_nProcess == nProcess I'm assuming it's because it's through uPlay Connect

Steps for reproducing this issue:

  1. Install Far Cry 5 using Proton 5.13-2 on Linux host
  2. On the client start the game to stream.
  3. Watch as uPlay connect launches the game.
  4. After the Far Cry 5 splash screen, the stream stops and the logs on the host get spammed with Assertion Failures.

The workaround for this is to configure wine to have a virtual desktop for the prefix but then if you're using a controller it will not get connected to the game correctly.

Plagman commented 3 years ago

Is this specific to Proton 5.13?

Alexithymia2014 commented 3 years ago

Hi @Plagman,

This occurs with proton 5.0 as well and proton ge 5.9. I don't believe it is specific to the containerization of 5.13. I believe you saw my message in Discord as well with GloriousEggroll that it occurred with a few other games as well. I will note that streaming a native Linux game works OK but any Proton games it doesn't stream correctly. This has worked before though!

On Thu, Dec 3, 2020, 4:40 PM Pierre-Loup A. Griffais < notifications@github.com> wrote:

Is this specific to Proton 5.13?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/steam-for-linux/issues/7501#issuecomment-738335835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH52BU7ZUX3UAWFHQI2NEQ3STAAUTANCNFSM4UK2ITKQ .

yunesj commented 3 years ago

I'm having the same symptoms streaming Proton games from Ubuntu 20.04.1 LTS.

Proton + streaming does not seem to work for Skyrim. It freezes after a few frames with red connection icon, and there are assertion failures in the logs. Enabling a virtual desktop seemed to work (although it crashed later).

In comparison, streaming without Proton seems to work (Portal 2), and Proton without streaming seems to work (Skyrim).

I haven't played games in a long time, so I can't say if it's a regression or not.

I'm happy to provide logs if it would help.

Alexithymia2014 commented 3 years ago

Just to update this, I believe this issue only occurs on GNOME. I switched to KDE recently as I was having similar issues with the Mass Effect Legendary Edition trilogy (additionally the game would minimize when launched!) and I no longer have issues streaming even with other launchers. A bonus is that hooking into the game to use my PS4 controller over Remote Play works way better. I'm not sure what GNOME is doing, but it breaks things!

kai4785 commented 3 years ago

I can confirm the same thing. Streaming was fine on Ubuntu 18.04. After an upgrade to 20.04, I run into this issue streaming Skyrim SE. Switching to plasma by kde fixes the issue, and I can stream again. I'd really like to uninstall KDE (kububtu-desktop) asap. Please.