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
Age of Empires II: Definitive Edition (813780) #3189
Comments
Possibly due to missing SpVoice object. From your log:
|
How can I solve this? |
If you want to get into Wine development, implement the SpVoice class and whatever interfaces the app requests (probably ISpeechVoice, possibly more) in |
I have tried installing several versions of VC Runtime, both using Winetricks and with normal prefix installation and none of them worked. I also tried using DotNet but I haven't got past that same error you're telling us @ThaChillera I tried installing SpVoice dll with winetricks today but still nothing. @aeikum I tried sweeping all the error's on Chillera's log and on mine but still nothing. In case it helps in any way: https://gist.github.com/Marroja/2c9b6a118c7d6b19359839b92a3fd7c3 |
At the moment I understand the main problem is regarding an unwinding problem. I'm not sure how to deal with it. |
Seeing this issue on a new install of the officially released game. |
I think that the problem is related also to #2995 so probably in this other ticket there are info to fix this one. |
AFAIK this is actually a problem related to |
As a workaround, how hard would it be to kill the speech recognition functionality? I don't think sapi would be needed for anything other than speech recognition, right? |
Has anyone tried this yet? https://www.reddit.com/r/aoe2/comments/dwuplr/how_to_run_age_of_empires_2_definitive_edition_on/ |
I am trying this but with the last proton (waiting to download the game). So the big difference with proton is wine staging that they are at wine 4.20 (https://dl.winehq.org/wine/source/4.x/) and to execute the 2 commands of the tutorial to set win10 and reinstall vcrun2017. So my doubt are more about proton that is using an old version of wine compared to this tutorial. |
Following the instructions from reddit: |
I installed the game in steam with proton 4.11-8 and get the already known error. |
After
|
Last insights about sapi.dll I don't think that is the problem because is a common issue in wine and everything worked (I searched on mailing lists and so on). So I think that is a fake positive, looking at my debug:
The real error is at MSVCRT_raise but doesn't include any hints about the error. I am not an expert of wine/proton but I finished all my ideas. |
Uhm I said to quickly, enabling D9VK (PROTON_USE_D9VK=1) I got an error finally:
|
Hello there, I am the creator of the tutorial and looking at your and mine output I discovered something which might be helpful for you. The error Message where you can click on ignore appears right now, when clicked on ignore it goes on like this: So with wine-staging 4.19 I don't get the MSVCRT_raise error. In mozo78s output (wine-staging 4.20) this error is also missing there just isn't an ignore option for him (for some reason). DXVK is needed to display buildings and units otherwise they are invisible it shouldn't have to do with this bug. |
Here's the log with Wine-Staging 4.19: |
Have you tried to run |
Yes I did. It doesn't change nothing :( |
I was actually asking Georg, but nevermind, |
Great that it also worked on pure (wanted to test this in the next few days, but other people aren't as lazy as me ;)) The missing buildings are fixed with DXVK. Interesting that the ignore button is missing in 4.20 |
:) So where did you manage to run it before? or how did you know that DXVK is needed for buildings and units? |
I saw the game needed DirectX11 (looked at Systemrequirements) and I knew that it isn't yet fully implemented in wine, so I tried DXVK, which just worked. I reinstalled vcrun, because I thought that a reinstalled vcrun would help. I hadn't the idea to click on ignore before I did that so I was unsure if it really runs on pure. Have you also changed the Windowsversion or does it also run with "Windows 7" ? |
I am not sure we mean the same thing by "pure" .. I still ment the staging version, just not proton.. And yes, it runs with Windows 7 as well.. But now I have installed the DXVK and it doesn't run anymore.. The game just doesn't pop up, only cursor changes and then nothing is rendered and mouse is not moving (looks like the screen is controllerd by the app but nothing is rendered) and I can get out of it only after I press alt+tab .. I am probably still missing some DX dependencies ? EDIT: OK, now it runs, and buildings and units are rendered properly.. I just wasn't patient enough :) |
Has anybody tried online functionality? |
What do you mean by pure? Without vcrun2017? It doesn't run both with or without vcrun 2017 installed and I have no "Ignore" button with Wine-Staging 4.19... |
Spectating works flawlessly. Haven't tried out a real match yet, but I am expecting it to work. We mean by pure that no changes were made to the prefix. Maybe the missing button is distribution related, I use ubuntu 19.10, which one do you use? |
The reason people aren't getting the "Ignore" button on the assertion error is that when vcrun2017 is being installed, for some reason ucrtbase.dll isn't being installed properly. Copying over a 64-bit ucrtbase.dll to c:\windows\system32 is sufficient to get the "Ignore" button to work, after which the game works fine in Proton. Ideally, of course, either wine would support the SpApi speech API stuff properly, or the game would handle it not loading better, but this works for now. |
Hey, I have a request since you seem to be somewhat of an expert on this particular issue with online multiplayer. In AoE3:DE my friends all seem to be having "lag spikes" when playing with me (they're on Windows, I'm on Linux). This reminds me of the desync problem that you made that website about for AoE2:DE. I can't seem to find anything specifically for AoE3:DE, only references to something similar for AoE4. Would you be able to look into that on AoE3:DE? I would appreciate it VERY much. |
Hi @SeanRamey
Desync issues in AoE2:DE cause the game to end almost immediately (“almost” because when you replay a saved game, it does not always end exactly at the same time — but it always end); it does not cause “lag spikes” as you experience in AoE3:DE. In other words, you're describing different symptoms in a different game, so I'm not sure the same workaround can help… but it's definitely worth trying as desync issues in other games can be fixed with the same workaround (I at least know of MK11): just follow the instructions for AoE2:DE, but replace I suggest you report the results on #3712 where other people could be interested as well. I don't play AoE3:DE myself, so I don't follow that other issue, but you can @ me there too if you want. That would be great if everybody could have the same great experience on Linux we have with AoE2:DE. |
@Arkanosis Thanks a lot! I did what you said, and I think that might have actually fixed it. My friends don't seem to be complaining of lag spikes anymore. I will definitely mention this in the AoEIII:DE issue page. |
after all these time still i can't play aoe de on my two screen laptop witn prime... |
I may have found a possible fix for the LAN multiplayer issues, thanks to the 'Why It looks like the issue is that the UDP socket being used (which, at least on my version, isn't a dup() of the TCP one) is failing to In any case, a hack to make all UDP sockets
|
Wow, that's great! Thanks @sulix ! I've tested it on my side and I indeed get the “Use Local Lan Server” option which was missing before. Looking at the network traffic using wireshark shows that Now, if I click the “Create Lobby” button after choosing “Use Local Lan Server” however, I get the “Creating Lan Server” waiting dialog and it keeps spinning indefinitely. A quick look at the logs didn't reveal anything obvious, but I certainly haven't spent enough time on that. The output of I'd have expected Note: the loopback network interface does not receive broadcast packets, so one should probably allow incoming connections on UDP port |
I can get a little further than that: the game lobby starts, though I get a "You have been disconnected from the game server" message after a few seconds. I haven't tested much further yet, though. I did get the same "spinning indefinitely" issue at first, and the issue was that my hostname was resolving to a different IP — once I fixed it to make sure the IPv4 address on my local machine matched what its hostname resolved to, the game lobby was created successfully. It looks like the game is calling Also, FYI, the MS version of ucrtbase.dll seems to cause |
Good catch! I had After that, it disconnects after a few seconds as you said, and an exception is visible in the logs, but the reason is not clear. I'm not using the MS version of Interestingly, |
So, I get a connection on TCP port 8888 (TCP listen()s seem to happen in wineserver, and the socket is passed through to In AOE1DE, this then seems to work — there's data passed in both directions over that socket, and the lobby doesn't disconnect. (I haven't been able to try actually starting a game, but the lobby seems to work fine.) For AOE2, it seems more complicated. The socket seems to connect on 8888, but data only passes from I've had no luck debugging the TLS handshake failure (or even confirming that it's the cause of the disconnection). It looks like Packet logs
|
I have an annoying problem on Arch with XFCE. There is a bug happening where when I alt-tab, when I return to the game, the ALT key no longer works. I almost always use it to click, and it stops working after an alt-tab. Any ideas on how to resolve it? |
@procobain I don't have this problem, but once in a rare while, alt-tab causes my game to switch resolution to maximum and/or keep the bottom desktop panel permanently visible and blocking the bottom of the game even on fullscreen. On previous laptops (arch+xfce and ubuntu+gnome/cinnamon, now I'm on arch+cinnamon) I also had the ancient bug where game gets stuck always scrolling to a corner after alt-tab. My solution? Rebind alt+tab to ctrl+alt+tab so that I wouldn't mash it by accident so easily 🤣 |
I just installed the game and had an out of sync issue playing multiplayer. It was fixed by using protontricks and installing ucrtbase2019:
|
I'm having some freezes after finishing a game and returning to the ranked screen, when I click on "Find Match", the colors become slightly darker and the game freezes, I have to force it to close. Somebody else? I use Arch Linux with xfce and Proton GE always on the latest version, currently 8.30. |
I've found a regression for Proton 9.0 (Beta 11). The intro videos are not displayed (there is only sound): Specs
|
I can also reproduce the missing intro videos on Proton 9.0, on different hardware. There are a few suspicious messages in the logs:
…
But most particularly, a lot of spam of:
That looks to be the result of wine's EVR implementation not supporting the NV12 format. Wine recently added support for YUY2, which is similar, though that's not been backported into Proton. If the rest of the stack supports it, something similar for NV12 should be possible. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This patch seems to fix the missing intro video in Proton 9.0 for me:
It's based on top of the YUY2 patch upstream, though, to be honest, I suspect it'd work with just the one I'm still not 100% sure why this works — I spent quite a while trying to work out where the conversion from NV12 → RGB32 was happening, and calculating the right sizes and strides, but it all seems to work behind the scenes somewhere. |
Hello @sulix, this looks like something to be sent upstream first. Can you make a pull request upstream? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@RokeJulianLockhart I just ran into the same issue that you had and might have found one potential root cause. Do you also have any internal GPU enabled? I had the issue that it runs flawlessly with all Proton versions on my Thinkpad with AMD Ryzen and AMD GPU but starting with Proton 6 the performance on my Desktop system with Ryzen 7950X3D and AMD Radeon 7900 XT was near a frozen screen. I couldn't find any diff between the two systems, same kernel, driver version etc. So the slower GPU had no issues but the big 7900 XT had, but only on AoE2 (Other games run perfect with Proton Experimental) and Proton after 6, since Proton 5.13 was also fine. Maybe you can try this as well (I know it has been some time), so we could report this to the developers, that this could be a potential issue. |
@norg, I'm also using solely AMD hardware — a 12-thread Ryzen 5 7600X 6-Core CPU and Radeon RX 5700, but on a self-built desktop system, rather than a laptop. I'm not sure that my ASRock X670E Taichi MB even allows its iGPU to operate simultaneously, but I'll try to verify that it's disabled. Do you have Resizable BAR enabled? Considering we're both using AMD stuff, could you verify whether your Thinkpad has that enabled? It might be worth checking, since NVIDIA & Intel systems won't be able to use that. I also recall Ao2DE working on an older Proton version, so thanks for verifying that I'm not going insane — that it is v6. Many thanks. I'll corroborate any report you file. |
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
The text was updated successfully, but these errors were encountered: