Closed danigtrz closed 3 months ago
I have noticed that you are using wayland and it seems for me that you are enforcing wayland renderer in your home variables by setting SDL_VIDEODRIVER to wayland. For me i need to either set SDL_VIDEODRIVER to x11 for linux natives and SDL_VIDEODRIVER to windib in case proton is using SDL. If i am not doing that and letting it pick wayland it also just crashes the game for me. You could check if that fixes your game also.
this is most likely the case, that env var breaks many games, one of them being PD2
Unfortunately this did not work.
I removed any variable that mentioned wayland, and tried various combinations of games, proton versions, and both 'x11' and 'windib'. Nothing worked. I also downloaded and tried using Proton GE but that did not work either.
I've been trying to run Steam outside of flatpak, and I also am unable to run games using Proton 5.0+. For me, Proton doesn't even seem to work at all with later versions though.
Logs from different devices are here: https://gist.github.com/necrophcodr/b8cf45b64cbc9494ec49e9cd66b3beef
If it'd be preferable that I create a different issue, please let me know, I do not mean to hijack it.
I have found that doing the following makes my games work under Proton again. For reference, I have tested with Hogwarts Legacy and Red Dead Redemption 2.
This is the same workaround as listed in this closed issue #130699. I wonder if something has regressed?
Every Windows game I have tried does not launch with any version of Proton past version 5.0-10.
I am using Flatpak Steam and am on the unstable branch of NixOS.
My system: https://github.com/danigtrz/nixos
I used
sudo flatpak override --env=__NV_PRIME_RENDER_OFFLOAD=1 --env=__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 --env=__GLX_VENDOR_LIBRARY_NAME=nvidia --env=__VK_LAYER_NV_optimus=NVIDIA_only com.valvesoftware.Steam
to use my laptop's discrete GPU. The problem still ocurred before using this command.Here, I run Steam and try to launch game using Proton 7.0.