ValveSoftware / Proton

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

EVE Online (8500) #1223

Open sdack opened 6 years ago

sdack commented 6 years ago

EVE Online

The game EVE Online doesn't run out-of-the-box with Steam Play / Proton 3.7. However, this is an issue specific to WINE and the game itself. When WINE is manually set to run in "Windows XP"-mode, using winecfg, then Steam Play will start the game and the game will run normally. It then starts the EVE launcher, allows to login, starts the client and runs in DX11 with all graphics options set to high at ~90fps on an Nvidia GTX960.

To switch Proton into "Windows XP"-mode does one need to enter into the shell the following command:

$ cd "/home/user/.local/share/Steam/steamapps/common/Proton 3.7/dist/bin"
$ export WINEPREFIX="/home/user/.local/share/Steam/steamapps/compatdata/8500/pfx/"
$ ./wine winecfg

After which one can select "Windows XP" at the bottom of the WINE configuration tool.

Note: The paths need to be adjusted to the current user and the exact directories for Proton and the game. Make sure you're typing it in as shown above so it picks up the right winecfg. Don't use the winecfg that comes with your distribution. The path ~/.steam/steam/ may also be used and can be a symbolic link to ~/.local/share/Steam/ depending on the type of distro you're using. I.e.: ~/.steam/steam/steamapps/compatdata/8500/pfx/ for the WINEPREFIX and ~/.steam/steam/steamapps/common/Proton\ 3.16/dist/bin/ for the binaries.

The OS used for this was GNU/Debian 10 "Buster", Nvidia driver 396.54.02 (Vulkan beta).

Other reports on EVE Online suggest a variety of winetricks in addition to the above. However, none of these are in fact required for Debian and may only be required for other distributions.

Additional information:

More information regarding EVE Online on Proton can be found in the Linux section of the game's forum. https://forums.eveonline.com/t/steam-play-beta-all-games-are-available-for-download-to-linux-steam-client/99843

One minor issue remains, which is crackling sound. As this has been observed with quite a few oth`er games and not just EVE Online does this seem to have a different cause. So I'm mentioning it here, but the game works otherwise fine. Using a locally installed version of WINE 3.15/DXVK 0.71 does the game play without crackling sound. So this will possibly fix itself in the future with a newer Proton version I hope.

Update: Audio issues was fixed with https://github.com/ValveSoftware/Proton/issues/1223#issuecomment-418521585

sdack commented 6 years ago

I've found a fix to my audio problem. Adding tsched=0 in /etc/pulse/default.pa fixed it for me.

...
### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect tsched=0
...

I didn't need the fix for WINE 3.0 to WINE 3.15 and the sound issue appears to be something specific to Proton.

Ristovski commented 6 years ago

@sdack You mentioned that locally there is no crackling sound.

Apart from the standard setup procedure (installing necessary wine modules like corefonts etc) have you done anything else to your local wine environment?

smirgol commented 6 years ago

I can confirm that all it needs to make the game work is to set the windows version to WinXP. Noticed no sound issues on my end so far. I did not install anything with winetricks, btw.

sdack commented 6 years ago

@Ristovski No. For me does EVE not need any winetricks, which means no core fonts or other stuff. Apart from the "Windows XP"-mode does EVE Online run out-of-the-box for me. On my local WINE installation for EVE did I only have to follow the steps that are required for DXVK to run. This is for Debian 10 "Buster" aka testing. Other distros may need dotnet40, corefonts and possibly other winetricks applied before it runs. Also note that I don't use the outdated Linux-native launcher by CCP, but only the Windows-native launcher, which comes with the Windows installer for EVE.

Ristovski commented 6 years ago

What is interesting is that (at least with wine 3.13), the game works on any Windows version in Wine. The only issue I ran into is random crashes in the _trinity_dx11 dll which I think is caused by not having the whole games content pre-downloaded, as it only happens when you warp out on new systems. The audio crackling seems to go away after some time as well.

I will do some further testing today with multiple wine prefixes.

ghost commented 5 years ago

Or one line and less to change per game: $ WINEPREFIX=$HOME/.steam/steam/SteamApps/compatdata/8500/pfx winecfg

sdack commented 5 years ago

@byte1024 No, don't do this. It has the chance to pick up the wrong winecfg and screw it up for you.

Ristovski commented 5 years ago

Update: No crackling audio on Wine 3.15 for me, running Eve in it's own prefix with no additional winetricks installed. Do note I am running Eve with DXVK_LOG_LEVEL=none which seems to make it more stable and stop Eve from uploading the DXVK logs to the CCP servers.

Update: Crash resolved, apparently the version of glibc I had had a bug where calling sin() with certain values caused a page fault. I'm guessing due to my performance flags Wine did not reveal the full backtrace. Resolved by upgrading glibc.

sdack commented 5 years ago

DXVK 0.80 now features a state cache, which is kept in the same directory as the log files. The state cache can currently not distinguish between multiple instances of the game, which makes the state cache currently unusable with multiple clients. The consequence is a crash in dxgi.

To disable the state cache does one need to set the environment variable DXVK_STATE_CACHE=0.

Peter-Nijenhuis commented 5 years ago

The path is quite different for me. But when I go to the desired folder, there's no wineprefix to export.

here's what's in my folder:

pjotr@pop-os:~/.steam/steam/steamapps/common/Proton 3.7/dist/bin$ dir wine wine64 wine64-preloader wine-preloader wineserver

sdack commented 5 years ago

@Peter-Nijenhuis It's probably because ~/.steam/steam/ is a symbolic link to ~/.local/share/Steam/.

Peter-Nijenhuis commented 5 years ago

@sdack yeah, that was also my thought. However, there's no wineprefix to export, since the only files which are present in that particular folder, are: wine wine64 wine64-preloader wine-preloader wineserver

sdack commented 5 years ago

@Peter-Nijenhuis Try ~/.steam/steam/steamapps/compatdata/8500/pfx/ and see if it exists and what's in there.

Peter-Nijenhuis commented 5 years ago

@sdack those folders exists. In ~/.steam/steam/steamapps/compatdata/8500/pfx/ I see the following: Folder: dosdevices Folder: drive_c File: system.reg File: user.reg File: userdef.reg File: .update-timestamp

That's all in the pfx folder.

sdack commented 5 years ago

@Peter-Nijenhuis This is your WINEPREFIX directory. So you have to set the variable to this directory before you run winecfg. And don't use the winecfg, which comes with your distro's WINE installation, but do use ./wine winecfg within the Proton bin-directory, or else will it pick up the wrong WINE version.

Peter-Nijenhuis commented 5 years ago

@sdack perfect :) I just got one step further.

So I did this: $ cd "/home/pjotr/.steam/steam/steamapps/common/Proton 3.7/dist/bin" $ export WINEPREFIX="/home/pjotr/.steam/steam/steamapps/compatdata/8500/pfx/" $ ./wine winecfg

A Wine window pops up, and I could change it from "windows 7" to " windows XP"

However, I also see this in terminal:

$ ./wine winecfg001f:err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: cannot open shared object file: No such file or directory
001f:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\WineBus": c0000142
001f:err:winedevice:create_driver failed to create driver L"WineBus": c0000142
0013:err:service:process_send_command service protocol error - failed to write pipe!
000d:fixme:service:scmdatabase_autostart_services Auto-start service L"WineBus" failed to start: 1114

Furthermore, the launcher doesn't start.

sdack commented 5 years ago

@Peter-Nijenhuis Try a clean install and do it over. Maybe your repeated attempts have messed it up. You really should only need to set it to "Windows XP"-mode. If it then still won't work then you'll have to dig deeper. Maybe try to get it running just with a standard WINE installation and using only DirectX9 over OpenGL to see if this works at all before you go start with Steam Play / Proton and with DirectX11 over Vulkan.

sdack commented 5 years ago

WINE 3.20 has fixed the issue around the "Windows XP"-mode and there it is no longer required to set it.

As soon as Proton gets updated to WINE 3.20+ should EVE Online run out-of-the-box and without requiring the "Windows XP"-mode fix any longer.

matty-r commented 5 years ago

I'm having a number of issues with this.

The first error is show as soon as I launch it: A certificate error has occurred: Server's certificate is not trusted https://hello.myfonts.net/count/2d83e2.

If I click ignore it's not shown again, if I click cancel that same error is shown multiple times.

The next error is the same, however the URL is https://az416426.vo.msecnd.net/scripts/a/ai.0.js.

The last issue, probably the worst part: The game will launch then after the loading bar that says "Authorizing" it will crash and report in the launcher that the client closed unexpectedly.

sdack commented 5 years ago

@matty-r: CCP has made changes to their login service recently. See here:

https://www.eveonline.com/article/pi6klt/security-changes-to-the-eve-sso

This will likely be the source of your problems. If the problems don't resolve themselves then wipe the game and reinstall it. See if it helps. Others have had issues since the SSO changes under Windows and Linux, all outside of Steam. So unless you've made sure this is a problem with Steam Proton itself should you just stick to the game's forum for help.

matty-r commented 5 years ago

@sdack none of these issues are preset on Windows. However i'm able to play on linux if I just double click on the eve.exe, however trying to play through steam will continue to close unexpectedly.

sdack commented 5 years ago

@matty-r: I cannot tell you what your problem is. It is working just fine for me. Only to be sure did I wipe it all and did a full reinstall of Steam and the game (including the "Windows XP"-mode fix). It continues to work. I suggest you remove all characters from the EVE launcher (see "forget accounts" in the launcher settings to EVE) and try again. This could be anything from a simple network glitch to a broken installation or a Steam-incompatible distro.

Blacksmoke16 commented 5 years ago

Can confirm changing to windows xp fixed a clipboard copy/paste issue i was having. Also fixed (so far, about an hour in) freeze issue i was having that just started today...

Xandaros commented 5 years ago

Changing the wineprefix to Windows XP was also required for me. Game does not start otherwise.

There are major performance issues with the latest Proton 4.11. Disabling FSYNC fixes those.

kisak-valve commented 4 years ago

EVE Online

Issue transferred from https://github.com/ValveSoftware/Proton/issues/3202. @aravoth posted on 2019-11-10T16:40:30:

Compatibility Report

System Information

I confirm:

Proton log is too large to post link to gist here : https://gist.github.com/aravoth/45d32fc84bf326f067b7c7f5afaa6f85

Symptoms

Game crashes at start. Worked flawlessly under proton 4.11.7. Cannot get past the launcher.

Reproduction

Running EVE with proton 4.11.8 reproduces crash every time

kisak-valve commented 4 years ago

Hello @aravoth, your system is well below the minimum requirements for support with Proton in general and it's not clear how the game was running before. That set aside, you might get lucky if you add PROTON_USE_WINED3D=1 %command% to the game's launch options.

aravoth commented 4 years ago

I wanted to let you know that your solution worked, and EVE is now running under proton 4.11.8 flawlessly again.

kisak-valve commented 4 years ago

Eve Online Crash on Proton 4.11-11

Issue transferred from https://github.com/ValveSoftware/steam-for-linux/issues/6813. @z5d69 posted on 2020-01-06T15:46:52:

Your system information

Please describe your issue in as much detail as possible:

When I try to run Eve Online, it won't start the game. Typically it abends with a C++ error in wine (window opens with that). Startup takes several minutes (which I thought was the way the game worked as I have ONLY steam on linux) even before the crashing started. Either way, I'm unable to exit the game without completely shutting down display-manager and killing all processes for steam / proton.
HOWEVER, when I run on 4.2-9 it all runs fine without any of the problems I see in 4.11-11.
I'm fine with running on 4.2-9 for now but concerned that, after 4.2 is deprecated, I won't have any ability to run the game. I have run into similar problems with Proton versions so I thought it was a good idea to submit an issue before 4.2 was retired.

Steps for reproducing this issue:

With ONLY ONE character created (no idea if that matters for this as I'm new to the game).

  1. Select Proton 4.11-11 for running Eve Online.
  2. Hit Play
  3. Hit Play on Eve startup window.
  4. experience C++ wine crash.
kisak-valve commented 4 years ago

Hello @z5d69, please add PROTON_LOG=1 %command% to the game's launch options, reproduce the crash, and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

z5d69 commented 4 years ago

@kisak-valve I appreciate the assistance! Okay, NOW, when I go back to 4.11-11, it works fine. I removed the logging and did this again. Still no problems. The only thing I noticed is that right-clicking on Eve doesn't allow me to go to properties unless I exit Steam and go back in. I don't think that has anything to do with my original problem, however. I guess I'll continue to monitor it!

z5d69 commented 4 years ago

@kisak-valve Okay, it DID eventually error out. Checked the logs. # of files open exceeded limit. Upped it to 200k (which seems pretty high but I figured it would let me check this out further). I notice that it's at 13490 files open right now (just sitting there at the beginning of the actual game with the spaceship sitting there). They are all from this game (or the game and wine, running this game). This is on 4.11-11. It might do the same thing on the older Proton release.

z5d69 commented 4 years ago

@kisak-valve 14665 now. I hope it has plateaued.

z5d69 commented 4 years ago

@kisak-valve I started taking counts of open files every 10 minutes. I upped the limits to 1024000 so I guess that buys me some time but I'm also worried about other problems kicking in before I hit that limit. Maybe I just need to exit the game every few days. That's not so unreasonable but I can't help but feel that something is wrong with a game using this number of files.

Mon Jan 6 15:46:02 CST 2020 count=15125 Mon Jan 6 15:50:02 CST 2020 count=15219 Mon Jan 6 16:00:02 CST 2020 count=15927 Mon Jan 6 16:10:02 CST 2020 count=16472 Mon Jan 6 16:20:02 CST 2020 count=17074 Mon Jan 6 16:30:02 CST 2020 count=17557

z5d69 commented 4 years ago

I was using lsof for this.

z5d69 commented 4 years ago

steam-8500.log.gz

Again, no crash since upping the ulimit but maybe the log will help with troubleshooting the # of files open.

z5d69 commented 4 years ago

That's the log that is currently open for a game that has been running for about an hour.

z5d69 commented 4 years ago

@kisak-valve In the startup screen but NOT playing the game after 12 hours:

Wed Jan 8 06:10:03 CST 2020 count=78336 Wed Jan 8 06:20:03 CST 2020 count=78371 Wed Jan 8 06:30:03 CST 2020 count=78365 Wed Jan 8 06:40:03 CST 2020 count=78387

Is this a problem? Is there a setting that will keep these open files lower? My setting is a lot higher but I just think that's a pretty high number.

kisak-valve commented 4 years ago

Hello @z5d69, without looking too closely, high open file counts are expected when esync is active and we've see much higher counts with some other games. This isn't an indicator of a problem by itself and listed on the requirements page for Proton.

z5d69 commented 4 years ago

@kisak-valve Thank you! I appreciate it! This was the first time I ran into that for Proton!

soredake commented 4 years ago

Game works fine with proton 5.0-2.

seanamosw commented 4 years ago

Using Proton 5.0-7, the only thing that doesn't seem to work for me is some of the audio. Weapons firing, explosions, afterburner/micro warpdrive etc. These sounds are completely absent for me.

All UI related sounds work just fine and music works fine.

enricotagliavini commented 3 years ago

Sound didn't work for me the first time the game started, but it worked from the second time on. Maybe it's an issue with the download of the content and once it's downloaded and cached locally it works fine.

The only issue I found in the game so far is that it freezes every few hours of gameplay and need to be terminated forcefully and restarted. This both with proton 5.13-1 and 5.0-10 with the former feeling slightly worst and having the freeze a tad more frequently.

enricotagliavini commented 3 years ago

Uh I think I found something

eventfd: Too many open files
eventfd: Too many open files
10882.797:00f0:0730:err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased

I have 500k at the moment, will try to increase to 1 million.

enricotagliavini commented 3 years ago

Uh I think I found something

eventfd: Too many open files
eventfd: Too many open files
10882.797:00f0:0730:err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased

I have 500k at the moment, will try to increase to 1 million.

this did the trick. No more crashes. So this is something to take into consideration as quite a few Linux distro don't allow such an high number of open files by default. I'll open a bug to the Fedora steam package, there is a quick solution, which would be dropping a file in /etc/security/limits.d/. A bit controverse, not everybody will like this I suppose... we'll see and maybe there are better solutions to this.

SimplyCorbett commented 3 years ago

This game does not work with proton experimental or the 5.13 series. It does however (fully) work on 5.0. No issues whatsoever on 5.0.

kisak-valve commented 3 years ago

Hello @SimplyCorbett, please add PROTON_LOG=1 %command% to the game's launch options and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, 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.

SimplyCorbett commented 3 years ago

Sure, here you go. I can't upload .log to github so here is a .zip.

log.zip

gist - https://gist.github.com/SimplyCorbett/541d51b4b8a04b46263449733885931a

kisak-valve commented 3 years ago

Thanks, wine: Call from 7B00FC38 to unimplemented function msvcp140_1.dll._Aligned_get_default_resource, aborting looks like a line of interest from the log.

Upstream bug report: https://bugs.winehq.org/show_bug.cgi?id=49954

kisak-valve commented 3 years ago

Eve Online Launcher Stopped Working After Update

Issue transferred from https://github.com/ValveSoftware/Proton/issues/4645. @odhinnsrunes posted on 2021-02-22T13:32:26:

Compatibility Report

System Information

I confirm:

The proton logging seems to have triggered a race condition causing a thread deadlock in the Eve Launcher preventing it from starting. I've attached it anyway.

Symptoms

Try to start the Launcher from inside Steam. The CCP logo appears, then a black box where the launcher should load. Then it turns white and crashes. The "Stop" button in steam goes back to "Play". It worked perfectly until CCP pushed a new version of the Launcher on the 8th. I've also tried in Wine and it has stopped working there as well. My understanding from Wine is, that it has something to do with an incompatibility in the built-in MSVC 140 runtimes. In wine, if you override them to use the native runtimes, specifically msvcp140_1, the launcher will run, but can't contact the server to set up the HTML-based UI in the launcher. Running the network diagnostics in the launcher shows that it can not do any network functions in that configuration. steam-8500.log

The crash in Wine is here: Unhandled exception: unimplemented function msvcp140_1.dll._Aligned_get_default_resource called in 32-bit code

Reproduction

Download, install and Run Eve Online in any version of Proton from steam.

alentoghostflame commented 3 years ago

New EVE Launcher update just hit, and new issue.

The launcher no longer loads properly, and instead loads a gray screen with the settings, minimize, and close buttons in the corner. It also loads a second window titled "Server list - EVE Launcher" with text bottom left saying "An exception occurred while creating web GUI - falling back to server list view"

While the server list will let you get in-game, logging in via the in-game screen has been disabled in favor of the launcher, which you currently cannot log in from, at least from what I can tell.

I've tried Proton Experimental, 5.13-6, and 3.16-9, to no avail.