Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proton 5.13 has borked NVIDIA prime offloading #377

Closed
Alex-Bujorianu opened this issue Mar 8, 2021 · 7 comments
Closed

Proton 5.13 has borked NVIDIA prime offloading #377

Alex-Bujorianu opened this issue Mar 8, 2021 · 7 comments

Comments

@Alex-Bujorianu
Copy link

Dear Valve developers,

The latest version of Proton (5.13-6) does not work with NVIDIA prime offloading using driver version 460.39 and kernel 5.8.0-44-generic on an up-to-date install of Ubuntu 20.04 LTS. I tested Swords & Souls and had to revert to Proton 5.0 to get it to run smoothly. Is this possibly related to Soldier?

Additionally, you might want to test the game itself as it seems to have trouble running on Intel graphics under Proton. It’s not a very demanding game, so there might be some problems with the Intel graphics driver or Proton itself. (I will ask the developer about this.)

@kisak-valve kisak-valve transferred this issue from ValveSoftware/Proton Mar 8, 2021
@kisak-valve
Copy link
Member

kisak-valve commented Mar 8, 2021

Hello @Alex-Bujorianu, let's treat this as a Steam Linux Runtime - Soldier issue until there's a stronger indication the issue is elsewhere. Please give https://github.com/ValveSoftware/steam-runtime/blob/master/doc/reporting-steamlinuxruntime-bugs.md#essential-information a read and attach a Steam Linux Runtime log along with your system information from Steam as a file or in a gist.

Also, it may be worthwhile to take a look at #312 and see if you have the same behavior as discussed in that issue report.

@Alex-Bujorianu
Copy link
Author

Hello @Alex-Bujorianu, let's treat this as a Steam Linux Runtime - Soldier issue until there's a stronger indication the issue is elsewhere. Please give https://github.com/ValveSoftware/steam-runtime/blob/master/doc/reporting-steamlinuxruntime-bugs.md#essential-information a read and attach a Steam Linux Runtime log along with your system information from Steam as a file or in a gist.

Also, it may be worthwhile to take a look at #312 and see if you have the same behavior as discussed in that issue report.

Here is a copy of the log file:
slr-app679900-saaec894d29f782d6.log

Gist of system info: https://gist.github.com/Alex-Bujorianu/d02392a5378dbe057b2a4df8dbce9630

@kisak-valve
Copy link
Member

kisak-valve commented Mar 8, 2021

I suspect that your system would be affected by #303. Can you opt into Steam's client beta and the beta branch of Steam Linux Runtime - Soldier (Steam library -> search for Steam Linux Runtime - Soldier -> right click on it in the sidebar (or click the gear icon on the right side) -> Properties -> Betas -> pick client_beta from the dropdown).

If that doesn't help, then please check if the system information from Steam gathered more information to ponder instead of ending in CClientJobGatherRuntimeInformation: container read output failed and share an updated gist.

@Alex-Bujorianu
Copy link
Author

Alex-Bujorianu commented Mar 8, 2021

I suspect that your system would be affected by #303. Can you opt into Steam's client beta and the beta branch of Steam Linux Runtime - Soldier (Steam library -> search for Steam Linux Runtime - Soldier -> right click on it in the sidebar (or click the gear icon on the right side) -> Properties -> Betas -> pick client_beta from the dropdown).

I will opt in to the beta and see if that fixes the issue. EDIT: The issue persists with the beta version of the Steam Linux Runtime – Soldier.

You referenced #303 but that seems to be a MangoHud specific issue (I am not using MangoHud). Issue #312 seems more related to my problem—my game does work, but with Proton 5.13 I can’t get it to run on the NVIDIA card even with __NV_PRIME_RENDER_OFFLOAD=1 %command% (it offloads fine with Proton 5.0)

Some more logs:

slr-non-steam-game-t20210308T210025.log
slr-app679900-s1e8337cc9344144.log

@kisak-valve
Copy link
Member

You can give __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only %command% a try in the game's launch options, or failing that the workaround at #312 (comment) might be worth a try.

@Alex-Bujorianu
Copy link
Author

You can give __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only %command% a try in the game's launch options, or failing that the workaround at #312 (comment) might be worth a try.

Bingo! __VK_LAYER_NV_optimus=NVIDIA_only does the trick. The game now offloads to the NVIDIA card using Proton 5.13

@kisak-valve
Copy link
Member

Thanks, I think that #312 covers this topic fairly thoroughly. Closing as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants