ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.9k stars 1.04k forks source link

Star Wars Battlefront II - 2017 (1237950) #3971

Open kedodrill opened 4 years ago

kedodrill commented 4 years ago

Compatibility Report

System Information

I confirm:

steam-1237950-singleplayer.log steam-1237950-multiplayer.log

Symptoms

The game will crash upon trying to load into some kind of gamemode. I've attached separate logs for single and multi player if that helps.

Reproduction

kedodrill commented 4 years ago

@kisak-valve Sorry, I uploaded the wrong logs. I just updated them above. Interestingly, somehow I was able to partially load into a multiplayer match this last time, but the game crashed before I could choose a character.

ipkpjersi commented 4 years ago

I am also crashing to desktop when trying to load into a multiplayer or singleplayer match, even with DX12 turned off and all low settings.

Here are my system specs, I am using an NVIDIA GPU: https://gist.github.com/ipkpjersi/8f3de38b976e513026622957a08d2300

NTMan commented 4 years ago

I confirm that the game crashes when I try some kind of gamemode.

steam-1237950.log steam-1237950-crash.log

Lepidos commented 4 years ago

Gamepad is also not working. Some inputs are swapped, others aren't there.

ptkato commented 4 years ago

This might be a Proton exclusive issue, because I play the Origin version just fine through Lutris.

kedodrill commented 4 years ago

@ptkato What version of Wine are you using with the Origin version through Lutris? I'll test tonight with older versions of Proton to see if maybe that's the issue...

ptkato commented 4 years ago

I had flawless performance using Staging 4.14. I wish I could test with a more recent version, but I'm having problems to download the game; which is kinda ironic, the game works fine but Origin messes up everything.

kedodrill commented 4 years ago

4.11-13 won't even install origin, so I'm guessing 5.0.9+ is required.

gardotd426 commented 4 years ago

I can confirm that the Origin version works. AMD users usually have to edit the dxvk.conf file to spoof an Nvidia GPU, but that's it, and either way that's not the issue here, because the game won't launch at all without doing that on the Origin version, so this is a separate issue.

ipkpjersi commented 4 years ago

I tried running Proton and Battlefront II manually with: STAGING_SHARED_MEMORY=0 WINEPREFIX=/media/user/SSD/SteamLibrary/steamapps/compatdata/1237950/pfx /media/user/SSD/SteamLibrary/steamapps/common/Proton\ 5.0/dist/bin/wine /media/user/SSD/SteamLibrary/steamapps/compatdata/1237950/pfx/drive_c/Program\ Files\ \(x86\)/Origin/Origin.exe and it did not work. I also disabled Steam in-game and Origin in-game which also did not help. I think this is an issue with Proton itself, hopefully it can get patched some day to fix this.

gardotd426 commented 4 years ago

Battlefront II requires a lot more than just that. Look at everything Lutris does to run it, and even then sometimes it still takes manual intervention.

On Mon, Jun 22, 2020 at 9:49 PM ipkpjersi notifications@github.com wrote:

I tried running Proton and Battlefront II manually with: STAGING_SHARED_MEMORY=0 WINEPREFIX=/media/user/SSD/SteamLibrary/steamapps/compatdata/1237950/pfx /media/user/SSD/SteamLibrary/steamapps/common/Proton\ 5.0/dist/bin/wine /media/user/SSD/SteamLibrary/steamapps/compatdata/1237950/pfx/drive_c/Program\ Files\ (x86)/Origin/Origin.exe and it did not work. I also disabled Steam in-game and Origin in-game which also did not help. I think this is an issue with Proton itself, hopefully it can get patched some day to fix this.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/Proton/issues/3971#issuecomment-647857712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5Y333KF5SWJFC7YYH4IYLRYAC2NANCNFSM4N34XG3Q .

tryton-vanmeer commented 4 years ago

Using the latest GloriousEggroll release, I was able to start a couple SP games with no game crash.

ipkpjersi commented 4 years ago

I get stuck on updating origin (literally, it loops until it errors, I close out, same thing) using the latest GloriousEggroll release, that's a shame.

Edit: I relaunched Steam and tried again with the latest GloriousEggroll release, I was able to get in-game and get into an arcade match without crashing. I was also able to play Heroes vs Villains online multiplayer as well. Awesome!

EyesWithoutFace commented 4 years ago

Using the latest GloriousEggroll release, I was able to start a couple SP games with no game crash.

Were you having micro stutters as well? In Glorious Eggroll I can play but micro stutter constantly.

tryton-vanmeer commented 4 years ago

Were you having micro stutters as well? In Glorious Eggroll I can play but micro stutter constantly.

I don't think I noticed any, I'll have to see as I play more. This fix mentioned here, making the Origin folder read-only, might eliminate the stutters.

The command for reference: chmod -R 555 your/path/to/steam/steamapps/compatdata/appid/pfx/drive_c/users/steamuser/Application\ Data/Origin

EyesWithoutFace commented 4 years ago

Were you having micro stutters as well? In Glorious Eggroll I can play but micro stutter constantly.

I don't think I noticed any, I'll have to see as I play more. This fix mentioned here, making the Origin folder read-only, might eliminate the stutters.

The command for reference: chmod -R 555 your/path/to/steam/steamapps/compatdata/appid/pfx/drive_c/users/steamuser/Application\ Data/Origin

I don't seem to have an application folder? I have Appdata or ApplicationData do you happen to know the appid? The appids I have in the compatdata folder don't match the steamdb id for the game...

EyesWithoutFace commented 4 years ago

Were you having micro stutters as well? In Glorious Eggroll I can play but micro stutter constantly.

I don't think I noticed any, I'll have to see as I play more. This fix mentioned here, making the Origin folder read-only, might eliminate the stutters. The command for reference: chmod -R 555 your/path/to/steam/steamapps/compatdata/appid/pfx/drive_c/users/steamuser/Application\ Data/Origin

I don't seem to have an application folder? I have Appdata or ApplicationData do you happen to know the appid? The appids I have in the compatdata folder don't match the steamdb id for the game... I found the origin folder, forgot it was on another drive still didn't have an application folder I will try that command see if it fixes

gardotd426 commented 4 years ago

@yurgburg then you're looking in the wrong place. It's possible you installed the game somewhere else.

Open Steam, go to the game properties, and look at the local files. You can click to view the local files and it'll open your file manager so you can see where the game is installed. That'll be where you can find the compatdata/appid directory.

You definitely have one matching SWBF2, there's no way you don't (unless you have the origin version, of course).

Run ls /path/to/library/steamapps/compatdata/1237950/pfx/ and paste the output

EyesWithoutFace commented 4 years ago

@yurgburg then you're looking in the wrong place. It's possible you installed the game somewhere else.

Open Steam, go to the game properties, and look at the local files. You can click to view the local files and it'll open your file manager so you can see where the game is installed. That'll be where you can find the compatdata/appid directory.

You definitely have one matching SWBF2, there's no way you don't (unless you have the origin version, of course).

Run ls /path/to/library/steamapps/compatdata/1237950/pfx/ and paste the output

Yeah I found it in my other drive (how silly of me to forget). is there a way for me to copy the path?

gardotd426 commented 4 years ago

What do you mean copy the path? Where is it located?

EyesWithoutFace commented 4 years ago

What do you mean copy the path? Where is it located?

Yeah copy the folder path so I can just paste it into the command ( I am new to ubuntu sorry)

gardotd426 commented 4 years ago

I'm not sure what you're asking...

What are you wanting to copy? What terminal are you using? If you're using regular Ubuntu, it's probably gnome-terminal. You can highlight and right-click and you'll see the menu and you can copy and paste that way in gnome-terminal.

Otherwise, most terminals (also including gnome-terminal) use CTRL+SHIFT+C and CTRL+SHIFT+V for copy and paste, respectively.

EyesWithoutFace commented 4 years ago

I'm not sure what you're asking...

What are you wanting to copy? What terminal are you using? If you're using regular Ubuntu, it's probably gnome-terminal. You can highlight and right-click and you'll see the menu and you can copy and paste that way in gnome-terminal.

Otherwise, most terminals (also including gnome-terminal) use CTRL+SHIFT+C and CTRL+SHIFT+V for copy and paste, respectively.

I want to copy the location of the folder So I don't have to manually type it out in the command prompt. In windows I could just click the path and CTRL + C but it doesn't seem I can do that here. Does that make sense?

kedodrill commented 4 years ago

@yurgburg You can copy the path to the directory you're in by using pwd.

gardotd426 commented 4 years ago

@kedodrill I don't think that's what they're asking. They're asking how to physically copy (I think?)

@yurgburg In Linux, terminals use CTRL+SHIFT+V for paste (and CTRL+SHIFT+C for copy). But gnome-terminal, the default Ubuntu terminal, you can just right-click and then click paste.

Or you can just open your file browser, go to the folder, and right click on it and hit "Copy." Then go to the terminal and hit CTRL+SHIFT+V, that'll also paste the path.

gardotd426 commented 4 years ago

Look: gnometerm

gardotd426 commented 4 years ago

Otherwise, like I said, CTRL+SHIFT+C is copy, CTRL+SHIFT+V is paste.

EyesWithoutFace commented 4 years ago

I'm not sure what you're asking...

What are you wanting to copy? What terminal are you using? If you're using regular Ubuntu, it's probably gnome-terminal. You can highlight and right-click and you'll see the menu and you can copy and paste that way in gnome-terminal.

Otherwise, most terminals (also including gnome-terminal) use CTRL+SHIFT+C and CTRL+SHIFT+V for copy and paste, respectively.

I tried copying the path from an open in terminal window and then tried the command and I got this output https://imgur.com/a/k3S8Pjf. Any suggestions?

ipkpjersi commented 4 years ago

I did have not great performance and I believe even some microstuttering when I first ran the game, but after I went through a few matches, performance was great and I did not have any other issues when using the latest GloriousEggroll release.

EyesWithoutFace commented 4 years ago

@yurgburg You can copy the path to the directory you're in by using pwd.

Yes that is exactly what I meant! I used the path given and I got no file or directory found. I posted the error in terminal above.

gardotd426 commented 4 years ago

@yurgburg, that's because you can't use spaces in path names.

Put quotations around the path.

gardotd426 commented 4 years ago

so chmod -R -555 "/mnt/New Volume/steamapps/compatdata/1237950/pfx/drive_c/users/steamuser/Application Data/Origin"

gardotd426 commented 4 years ago

For future reference, you can't type spaces with no quotes or escape characters, because that's viewed as a new command/input.

For spaces, either put quotations around the entire path, or use an escape character. Like this: chmod -R 555 /mnt/New\ Volume/steamapps/compatdata/1237950/pfx/drive_c/users/steamuser/Application\ Data/Origin.

Notice how before the space, I put a \. Use either that, or quotations around the full path.

EyesWithoutFace commented 4 years ago

@yurgburg, that's because you can't use spaces in path names.

Put quotations around the path.

Ah okay thank you, that makes sense. I cannot get the game to launch now. Origin will launch and say cant install to this folder, choose new folder or cancel. (usually the game will start by now) and then origin will close and I can hit play again.

kedodrill commented 4 years ago

@yurgburg It's possible that the game requires more than read-only access to Origin files. Do you know what the permissions were before you changed them? I returned the game, otherwise I'd look for you.

If you aren't sure what the permissions were and the game is still broken after you play with permissions, you can try deleting that folder and re-validating the files on Steam.

gardotd426 commented 4 years ago

@kedodrill every other Origin game runs fine by disabling write permissions to that folder.

EyesWithoutFace commented 4 years ago

@yurgburg It's possible that the game requires more than read-only access to Origin files. Do you know what the permissions were before you changed them? I returned the game, otherwise I'd look for you.

I do not know I tried again and got it to launch but its not responding and looks like this https://imgur.com/a/7Esflaz

kedodrill commented 4 years ago

@kedodrill every other Origin game runs fine by disabling write permissions to that folder.

I wasn't aware of this, so I guess it's unlikely if that is true, but it's still possible that the permission changes are introducing breakage.

@yurgburg It's possible that the game requires more than read-only access to Origin files. Do you know what the permissions were before you changed them? I returned the game, otherwise I'd look for you.

I do not know I tried again and got it to launch but its not responding and looks like this https://imgur.com/a/7Esflaz

I would try deleting that folder and re-validating the files for the game. If that doesn't work, I'm not really sure. You could try a reinstall as a last option.

kedodrill commented 4 years ago

I did have not great performance and I believe even some microstuttering when I first ran the game, but after I went through a few matches, performance was great and I did not have any other issues when using the latest GloriousEggroll release.

This is great news! Did you need to restart the game a few times, or was it a single launch with multiple play sessions?

gardotd426 commented 4 years ago

@yurgburg you can just run chmod -R +w /path/to/Origin to undo what you did, that should work until we can figure out why it won't launch after the other command.

EyesWithoutFace commented 4 years ago

@kedodrill every other Origin game runs fine by disabling write permissions to that folder.

I wasn't aware of this, so I guess it's unlikely if that is true, but it's still possible that the permission changes are introducing breakage.

@yurgburg It's possible that the game requires more than read-only access to Origin files. Do you know what the permissions were before you changed them? I returned the game, otherwise I'd look for you.

I do not know I tried again and got it to launch but its not responding and looks like this https://imgur.com/a/7Esflaz

I would try deleting that folder and re-validating the files for the game. If that doesn't work, I'm not really sure. You could try a reinstall as a last option.

Third attempt got it to launch but stuttering is still there. Also strange issue where game will minimize itself unless I double click fast enough inside the window.

ipkpjersi commented 4 years ago

This is great news! Did you need to restart the game a few times, or was it a single launch with multiple play sessions?

It was just a single launch, it was much like any other game I've run through Wine - slow at first but as you keep playing, more assets get cached and then the performance is good.

gardotd426 commented 4 years ago

@yurgburg what's your hardware? AMD or Nvidia?

Also, the minimizing should be able to be solved by just alt-tabbing back into the game, right?

EyesWithoutFace commented 4 years ago

@yurgburg what's your hardware? AMD or Nvidia?

Also, the minimizing should be able to be solved by just alt-tabbing back into the game, right?

I have an Nvidia RTX 2080Ti with amd 2700x 32gb ram The minimizing is NOT fixed by alt tabbing because it minimizes again. I can only get it to stop minimizing if I spam click in the window until it stops. Usually takes about 5 attempts. Multiplayer stuttering isn't too bad just sometimes gets me killed.

ptkato commented 4 years ago

Try enabling a virtual desktop, I had troubles with the game window also (Origin version), until I enabled the virtual desktop. You can do so with proton by running winecfg on the game's prefix and setting it from there.

EyesWithoutFace commented 4 years ago

Try enabling a virtual desktop, I had troubles with the game window also (Origin version), until I enabled the virtual desktop. You can do so with proton by running winecfg on the game's prefix and setting it from there.

Am I doing this in default proton cfg or Eggrolls?

ptkato commented 4 years ago

There's no such thing as proton's cfg, or Eggroll's, for that matter; you need to use the system wine.

ipkpjersi commented 4 years ago

I have the minimizing issue too, I find it's not too bad and other Origin games do it, and it was already happening before these games came to Steam and Proton. Try using Borderless Windowed mode and see if that helps at all, it helped a bit for me.

EyesWithoutFace commented 4 years ago

I have the minimizing issue too, I find it's not too bad and other Origin games do it, and it was already happening before these games came to Steam and Proton. Try using Borderless Windowed mode and see if that helps at all, it helped a bit for me.

I cant actually alt tab in borderless it seems. Instead I have to move the borderless to a secondary desktop

EyesWithoutFace commented 4 years ago

There's no such thing as proton's cfg, or Eggroll's, for that matter; you need to use the system wine.

Not quite sure how to do that then