Open ThaChillera opened 5 years ago
I can confirm @busyboredom, however, performance good. Did exactly the same in and worked no problem at 110FPS on lowest settings. Perfectly playable.
Mods installed in Windows work fine, it's the mod installation window the one that fails. Not sure if there's another workaround.
I was able to run also with @sulix 's guide above. That did it for me.
I noticed the game ran much smoother in Proton-4.11 than on Wine 4.20 using DXVK. In both cases the game crashed during some loadscreens and Mod download screen but other than that it was perfectly playable.
On Pop_OS 19.10, Ryzen 2600, 8GB RAM and GTX 970.
I also followed @sulix 's guide, and it worked like a charm. No performance issues, except a bit of a stutter in the loading screen when launching a game.
I'm Using Proton-4.11 on Arch Linux, on a low-medium range laptop (Lenovo Legion y520).
Thanks to the @sulix 's guide steps I could run it using Proton-4.11-8.
Although it works pretty fine, with graphics maxed out and the Enhanced Graphics DLC on it just closes (in windows 10 it worked ok).
My PC specs are: Kubuntu 19.04 (64 bits) Intel i5 8600k@4.6Ghz 16GB RAM@3200MHZ Nvidia GTX1080ti Game installed on SSD
I can also confirm @sulix 'x guide. I tried it using Proton-4.11. No performance issues, although my test run was pretty short.
On Ubuntu 18.04 LTS using i3wm, with intel i7, 32 GB Ram, GTX 970M
By using the @sulix guide I manage to run the game but I don't see the units and buildings on the map. I am using "PROTON_NO_ESYNC=1 PROTON_USE_WINED3D=1 %command%" as launch option. I guess using the wined3d makes the issue with buildings? But if I don't use it my game crashes even before getting the assertion error... Any advice? Maybe some other flag I could use? Seems that if I resolve this issue I will be able to play without issues so any help on the topic is appreciated 😄
My system is on fully up-to-date Arch, Proton 4.11-8, and i7 with integrated AMD Vega M graphics - latest Mesa drivers.
Hello @hogar1977, please verify you have the vulkan-radeon
and lib32-vulkan-radeon
packages installed.
@kisak-valve May all the internet gods grant you a 2020 year of good google search fortune and prosperity!!! It works!!!! With no performance issues that I can see. Will test multiplayer later this evening and report back :D
Can confirm game is launching with the infos provided here by @sulix Copying over the ucrtbase.dll info ~/.steam/steam/steamapps/compatdata/813780/pfx/drive_c/windows/system32/ lets the game run after clicking the ignore button on the "Assertion failed!" popup. However, after running the benchmark test and changing some hotkeys in the options menu, on clicking the apply button the main menu froze completely. Mouse stuttered and music was still playing, but besides the background image, no buttons where visible and nothing was clickable. Tabbing out of the game wasn't possible anymore so the hard reset was the only option for me.
The benchmark worked and revealed a result of 1172 points for me. System is a DELL XPS 15 with i9-8950HK, 64Gig of RAM and an NVIDIA GTX 1050TI on Ubuntu 19.10 using proprietary nvidia driver 435.21 for anyone interested.
EDIT: Still testing and the main menu freeze is probably linked to my multi-monitor setup. After disabling 2 of the 3 monitors, the crashing seems to have disappeared. Changing the language in the options menu worked and I could start a campaign after applying the changes. Also steam achievements work.
EDIT2: Streaming the game via Steam Connect is possible, but the cursor randomly vanishes into oblivion and playing without mouse cursor is kinda impossible. Resetting the cursor via the options menu is possible by changing its bigness, but it will vanish shortly after again.
EDIT3: Seems that the menu freezes aren't related to the multimontor setup. It froze again using just 1 monitor after returning from the william wallace campaign window. Also some ingame sounds seem to be missing for me. I can not hear the units dying for some reason.
@the-coding-owl I have experienced the freezing that you are talking about also in Windows, so I think it might be simply a game bug that they need to iron out...
Other than that for me game works, but when number of units on map get higher (>200 per player in 3 v 3 match) it starts to lag a bit. That might be due to game itself or due to my computer not being top notch...
Did somebody find a workaround to the Mods section crashing when clicking on some item? I thought subscribing to them in windows would do the trick (as it was in the HD version), but it did not, my mods just weren't there. I'd really like to have some mods active (e.g I'd really appreciate to have the tech tree mod enabled, so I can have a quick look at civ units without having to go to the tech tree full screen).
Any ideas on how to workaround this problem?
I have tried running AoE2:DE on the LTSC version (no Xbox network here) and I've been able to download the mods no problem, so at least I can confirm it's not a problem coming from not having Xbox Network thing at Linux.
Update on my situation: I also had the problem of missing HUD and and units, but it happened just once, and I don't know how to reproduce it. If you are having this problem, don't give up and try to restart the gamea few times, it might just work.
The infinite scrolling bug is still present (wine bug #30814)
Hmmm I don't get that Bug anymore with proton, can anyone confirm that? Also ESYNC doesn't give me any performance increase, is that also the case for other people ?
EDIT: We also had a lot of discussions here about how to run the game but the issue is that ucrtbase.dll isn't installed by vcrun, so maybe we should investigate why this is the case to fix this bug
Using Esync did seem to improve performance for me, however the game still suffers from major performance issues, and not just on Linux. I've seen (admittedly inconsistent) reports of Windows users with high-end rigs that still have crashing and low FPS on reddit. There is a more official forum thread about it here, so the devs are at least aware of the problems.
I haven't tested with proton yet, but I am not getting the ~120fps some people are reporting, with or without the HD pack enabled.
I tested the Enhanced Graphics DLC and I can get into games with it, however loading Screens are longer and the Benchmark crashes. My guess would be that AOE2 consumes too much memory, I've logged the usage with a script and it goes close to using all my swap and 16 gb RAM. I will try it again with a bigger swap tomorrow
I tested the Enhanced Graphics DLC and I can get into games with it, however loading Screens are longer and the Benchmark crashes. My guess would be that AOE2 consumes too much memory, I've logged the usage with a script and it goes close to using all my swap and 16 gb RAM. I will try it again with a bigger swap tomorrow
Please let us know if you are successful with that. I have 16gb ram too and have the same issue. I tried with a 11gb swap partition and the game still crashes due to heavy swapping.
So for now the it looks like the only way to run it with the enhanced graphics pack dlc is either to get a bigger amount of ram or wait for optimizations to the game. It would be really nice if we could find some workaround though
Using @sulix method to get proton to work. The game itself works fine despite the high ram use.
However I am unable to play any challenges (art of war), it shows the scene of Sun Tzu but freezes when these are done. Anyone else got this?
Note: I already deleted the videos as recommended by Sulix.
Did somebody find a workaround to the Mods section crashing when clicking on some item? I thought subscribing to them in windows would do the trick (as it was in the HD version), but it did not, my mods just weren't there. I'd really like to have some mods active (e.g I'd really appreciate to have the tech tree mod enabled, so I can have a quick look at civ units without having to go to the tech tree full screen).
Any ideas on how to workaround this problem?
@EnriqueWood I first installed the game on Windows and I was able to subscribe to the small trees mod. After that I installed the game on Linux and the mod was preselected already, I did not have to do it again... However, when I try to select any mod the game crashes instantly. Did not test again if that is the case in Windows too. Maybe it started happening after some of their updates?
I tested the Enhanced Graphics DLC and I can get into games with it, however loading Screens are longer and the Benchmark crashes. My guess would be that AOE2 consumes too much memory, I've logged the usage with a script and it goes close to using all my swap and 16 gb RAM. I will try it again with a bigger swap tomorrow
@GeorgScheumann My computer is fairly decent and able to run AoE2HD in 4k without issues. But with this game, when I play on 4k it really struggles. When I reduce the resolution to 1080p and disable the Enhanced Graphics pack and put all settings on low, it runs smoothly but looks like crap :D will try with 2k resolution today I think and see how it goes :/ For the record, I am able to run War Thunder (a fully 3D game) on low to medium settings smoothly on my machine. I have really no idea on what kind of computers they were 'testing' this game because they were hyping it for a long time and upon release it is really crappy in many ways. A shame really. I hope they will fix the issues fast or people will not really be motivated to switch :/
Okay, I was able to run a Benchmark, with the enhanced Graphics DLC enabled. Resolutions was set to 2560x1440. I increased the size of the swap file to 14gb, but only 5gb of swap were ever used + ~15gb ram by system and game. My Score was 1069, with everything set to ultra, VSYNC disabled and average about 20FPS. My hardware is 16gb RAM, Ryzen 7 3700X and a Vega 56.
Using @sulix method to get proton to work. The game itself works fine despite the high ram use.
However I am unable to play any challenges (art of war), it shows the scene of Sun Tzu but freezes when these are done. Anyone else got this?
Note: I already deleted the videos as recommended by Sulix.
I can start the Scenearios, there are also Videos in
$gamepath/resources/en/campaign/movies
, try to delete these too.
Windows Users also do get performance issues, some tests reported that GTA V has more FPS in Ultra Settings than this game on the same hardware.
Also I was able to install a Mod "(ANDI) China Diplomacy", because that one is selected by default and I can click on subscribe, and it installs. When I select another one the game crashes, I ve tried to select another one with the search function, sorting by category's, with the keyboard and clicking on it.
Tested this with another System of mine. On a Thinkpad E470 with 16Gig of RAM and an NVIDIA the game is unplayable in fullscreen mode, because it stutters like hell. However in windowed mode it runs just fine. Played roughly 15 Mins of campaign until a full crash ended the experience.
@EnriqueWood
@hogar1977 I tried again leaving the game open like 15 minutes after subscribing to some mods, rebooted the pc on Linux and the mods were there. So that confirms your theory, thanks for that :)
copy ucrtbase.dll
did the work, I can launch the game but having texture issues, and the initial UI is invisible, aside that it is playable
You have to use DXVK, the game runs pretty well without any graphical glitches: https://youtu.be/NNFcSKum7CQ
Anyone experienced the missing Unit dying sounds? Beside that, I get all the sounds. Even Buildings collapsing. Can not figure out where to look for that.
I am trying with my optimus laptop and vulkan, so I changed the command to PROTON_NO_ESYNC=1 pvkrun %command%
but I had issues like @individuo7.
I started the game like 3 times and crashed in three different ways, menu unloaded, menu loaded and starting the tutorial black screen and no sound but cpu very high and the last one menu unloaded but with buttons possible to click it.
@mte90 doesn't primus_vk use bumblebee? I always thought that it had lots of performance issues.
Nvidia prime also has the abilliity to offload games on the discrete nvidia GPU, with: __NV_PRIME_RENDER_OFFLOAD=1 %command%
.
Or you could use nvidia-xrun which is mentioned in the link above.
Right now on Debian nvidia-prime is not avalaible and also nvidia-xrun. So I can use only bumblebee...
Can I ask you where did you get ucrtbase.dll to replace the original with?
Edit: nvm, extracted from vc redist.
I managed getting past the "assertion failed" issue by following the instructions in this thread. I get a dialog saying that the minimum specification for AoE2DE of at least 2GB of dedicated VRAM has not been met. That is not correct and does not happen in the Windows installation. Is anyone else having this issue?
@jblumtritt
You can increase your VRAM with winetricks,
winetricks videomemorysize=NumberInMb
The reason that ucrtbase.dll isn't extracted is because, the vcrun installer doesn't touch the wine ucrtbase.dll, but if you remove/rename the default one and then run protontricks 813780 vcrun2017
, the real ucrtbase.dll gets installed and AOE2:DE starts with it.
I got this information from here and tested it.
Anyone experienced the missing Unit dying sounds? Beside that, I get all the sounds. Even Buildings collapsing. Can not figure out where to look for that.
The missing dying sounds was a problem with Windows too. I think one of the recent game updates solved that issue.
I have played several mulitplayer games on 2880p resolution and I have an issue that health bars over units and the unit selection rectangle that gets drawn while selecting units are all shown with an offset - to the upper left of units. Its not unplayable but it makes it harder and weird. Anyone else experiencing this?
I will try playing on 4k and 1080p and see if I get the same issue. Maybe its not related to linux but its a game bug...
@GeorgScheumann
You can increase your VRAM with winetricks,
winetricks videomemorysize=NumberInMb
Thanks! I used protontricks to increase VRAM. The error message "minimum specification for AoE2DE of at least 2GB of dedicated VRAM has not been met" doesn't show anymore. But unfortunately now i get another one:
"Could not initialize graphics system. Make sure that your graphics card meets the minimum system requirements.: CreateSwapChain() failed! HRESULT=0x80070057. : e:_phoneix\2\s\phoenix\aoc\engine\osservices.h(114)"
I am still confused because there is no such error message when I start the game on a parallel Windows on the same system.
Have you guys found a way to make V-Sync (or even betterframe time capping) at driver level using Nvidia gpus? I see that the in-game's V-Sync is completely broken for this game (even in the native windows version, however in windows you have Riva to cap frametime)
You can try libstrangle :)
@mozo78 I just tried with libstrangle using the following LAUNCH OPTIONS for the game in Steam :
strangle 144 %command%
VSYNC=2 strangle %command%
VSYNC=1 strangle 144 %command%
None of them worked for me.
Do you see anything that could be wrong in there? I'd really like to get this to work
You can try with strangle 144 /path/to/game or export FPS=60 LD_PRELOAD="libstrangle.so:${LD_PRELOAD}" /path/to/game
@mozo78 I don't really know how to do that since I'm running the game through steam client
I tried running those two commands replacing /path/to/game with /home/ewood/.steam/ubuntu12_32/steam steam://rungameid/813780 and it did not work
You just have to find the game's directory :)
@mozo78 I tried running the game using this
STEAM_COMPAT_DATA_PATH=$HOME/.steam/steam/steamapps/compatdata/813780 strangle 144 ./.steam/steam/steamapps/common/Proton\ 4.11/proton run .steam/steam/steamapps/common/AoE2DE/AoE2DE_s.exe
and can't even get in game. I get this screen
It's normal, you have to install Windows Steam client if you want to use the game like this.
I got libstrangle to work using linux steam and proton setting PROTON_USE_WINED3D in LAUNCH_OPTION
The comman used was:
PROTON_USE_WINED3D=1 strangle 15 %command%
It runs at pretty low fps though (that's why I did the tests limiting to 15FPS instead of 144), and it does not show unit/building textures though, I'll try to make them work
The missing textures and low perf are from not using DXVK.
I finally got frame limiting working on linux' steam client for this game, proton and vulkan!
After many tests It worked using VkGHL (alternative to libstrangle)
The process is the following:
Follow the instructions in VkGHL project's repo readme, then add the compiled layer into Vulkan's Application side layers (using vkconfig) and finally choose the options in the game in Steam (using SET LAUNCH OPTIONS...).
For me they were FPS=144.0 VSYNC=1 %command%
That's great news :)
How difficult would it be to make a pull request to Proton so these issues are fixed for everyone?
@AlexLeung please click on the fork button, dig into the code, debug and fix it. :)
How difficult would it be to make a pull request to Proton so these issues are fixed for everyone?
Well the problem here is that the ucrtbase.dll isn't installed because there is already one there.
There is a bug report in wine Bugzilla here, which also contains a patch, however it is marked as not a bug, since it is intended behavior that ucrtbase.dll isn't extracted when it is there.
A nother work around would be for proton to check if vcrun is listed as dependency and then remove ucrtbase.dll, so the real one can be installed.
One major misconception I'm seeing in this thread is that the problem is somehow related to ucrtbase.dll
. That is not the case. the ucrtbase.dll
that is preinstalled into the wine/proton prefix is the one supplied by wine/proton and contains a more or less complete implementation of the relevant functions, with one major exception: You can't ignore errors. I believe this is intended behavior, since when applications misbehave in wine/proton, you want to know the source of the problem. Ignoring problems would be bad all around, since it can lead to other, stranger behaviour further down the line, hence using the "real" ucrtbase.dll
isn't an optimal solution that should really be recommended.
If you want to file a bug report, it should be targetting the missing SpVoice implementation in dlls/sapi
as suggested by @aeikum near the start of this thread.
I imagine a proper fix for this, short of fully implementing SpVoice in wine/proton, would involve stubbing out the necessary functions up to the point where the game will accept the object we give it, even if it's completely nonfunctional beyond that.
Compatibility Report
System Information
I confirm:
Proton Log
Symptoms
When it starts, I get a splash screen and a popup: Title: "Wine C++ Runtime Library". Text: "A Program: Z F Press OK to exit program, or Cancel to start the Wine debugger."
Reproduction
Just boot the game normally