protonscr

Age of Empires 2 (2013)

protonopen appid 221380Game compatibility - UnofficialoverlayRegression
ValveSoftware/Proton#72 · opened 2018-08-22 by sandsmark · updated 2023-05-07 · 196 comments · github · game page · search this game
15 matching comments, n / p to jump
Ssandsmark 2018-08-22 github

same issue as when people earlier tried to run aoe2hd with wine.

if you replace Launcher.exe with «AoK HD.exe» the game seems to launch and work perfectly.

KKapiX 2018-08-22 github

Launcher.exe requires mfc140u.dll to run. Dropping it in game directory fixes the issue.

Ddfduarte 2018-08-23 github

Confirmed the "partial" solution using the mfc140u.dll. However, the following problem happens:

1- When running without the dll file, the games freezes (then closes afterwards) with no message
2- After copying the dll to the Age 2 dir, the whole install process starts, but the install crashes right after installing the DirectX seven, closing the "load screen" again.
3- When putting the AoK HD.exe in place of Launcher, I get a error regarding a image failing to load in the textures folder. The game crashes after that

My machine is:

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Desktop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  AuthenticAMD
    CPU Brand:  AMD Athlon(tm) II X2 270 Processor
    CPU Family:  0x10
    CPU Model:  0x6
    CPU Stepping:  0x3
    CPU Type:  0x0
    Speed:  3400 Mhz
    2 logical processors
    2 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Unsupported
    SSE4a:  Supported
    SSE41:  Unsupported
    SSE42:  Unsupported
    AES:  Unsupported
    AVX:  Unsupported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    Ubuntu 16.04.5 LTS (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.15.0-32-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11906000
    X Window Manager:  Compiz
    Steam Runtime Version:  steam-runtime-beta-release_2018-06-14

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 750 Ti/PCIe/SSE2
    Driver Version:  4.5.0 NVIDIA 384.130
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x1380
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1366 x 768
    Desktop Resolution: 1366 x 768
    Primary Display Size: 16.14" x 9.06" (18.50" diag)
                                            41.0cm x 23.0cm (47.0cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 2048 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC887-VD

Memory:
    RAM:  7975 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Total Hard Disk Space Available:  250461 Mb
    Largest Free Hard Disk Block:  40602 Mb
    VR Headset: None detected

Recent Failure Reports:
Rryao 2018-08-23 github

env WINEPREFIX=$HOME/.local/share/Steam/SteamApps/compatdata/221380/pfx/ WINEPATH=$HOME/.local/share/Steam/SteamApps/common/Proton\ 3.7/dist/bin/wine winetricks vcrun2015

Running this winetricks command enabled things to work, although it seems hackish. The launcher buttons are also missing text.

DDrCox1911 2018-08-23 github

Works fine for me, only thing I did was renaming the "AoK HD.exe" to "Launcher.exe".

Ffelisucoibi 2018-08-24 github

This is a old knowm bug of aoe2 in wine (i was one of the bug trackers of this game in winehq.com) and yes just reanimg works.
Go to the folder of the game and rename Launcer.exe to Launcher2.exe and Aoe 2.exe to Launcher.exe

BUT

There is also a bug with hdmi screen in laptop if using nvidia output, it just works perfect with intel card enabled using nvidia config, but if you run it in a laptop via hdmi with nvidia enabled it stucks.

And also there is a font flickering and a black background in writing areas problem easy to fix too.

In total are 4 BUGS, but you can play this game with the workarrounds.

Llegluondunet 2018-08-26 github

Another bug for this game: cinematics do not play, could be related to issue #1464.

Nnwildner 2018-08-27 github

Don't know if this adds more info to this issue but i had to replace Launcher.exe with AoK HD.exe and add the NoStartup launch parameter for the game to launch.

Didn't tested online gameplay but as far as i could get Single player modes are running great. yay!
Edit: Ok, online game is working :)

Running on: Arch Linux(k4.18) + AMD FX9370 + Nvidia GTX 6050ti + Nvidia 396.54-2 driver version.

Hhogar1977 2018-09-01 github

@felisucoibi I also played this game via Crossover before and it worked really well, but after trying out this steam version (after renaming AoK HD.exe into Launcher.exe) I have a problem with elo - it reports that elo is out of bounds and it resets to 1600 after every game (regardless of winning or losing). Did you experience the same problem?

Also what is the workaround for black text on black background in writing areas so they become effectively invisible?

Ffelisucoibi 2018-09-01 github

Yes, same problem here... the elo reset to 1600, i didnt say anything because i dont use it and i forgot to report....

There is not workarround for the black background when writing... never has been by now.

Hhogar1977 2018-09-01 github

@felisucoibi

This is why I asked for workaround, I thought u were talking about that:

And also there is a font flickering and a black background in writing areas problem easy to fix too.

Cheers anyway, I hope someone will figure out the elo problem because now even my windows and Crossover installation is affected :-) Maybe I just have to reinstall everything there and it will go away, but I'm too lazy to do that...

Kkisak-valve maintainer 2018-09-06 github

Age of Empires II: HD Edition - game works with issues

Issue transferred from https://github.com/ValveSoftware/Proton/issues/1285.
@hogar1977 posted on 2018-09-06T18:27:58:

Hi there,
the game works if 'AoK HD.exe' is renamed into 'Launcher.exe' and nostartup is added into launch options.
Issue 1: ELO system is not behaving properly - the game 'thinks' that elo is 0:0 and reports it as out of bounds at selecting multiplayer and after every played multiplayer game it tries to add/subtract elo points to/from 0:0 values which still makes them out of bounds and elo finally gets reset to 1600 every time. The game is completely playable except for the ELO bug in multiplayer.
I play this game regularly via Crossover and the elo bug is not present there - I presume because the Steam client itself is part of the wine 'bottle' and it is the windows version of Steam client that is also emulated. Since elo system is tightly interwoven with the Steam client, I guess that's where the problem lies...

Issue 2: In-game chat windows - text is black on black background, so during typing of a message it's not possible to see it. This particular bug is wine related I guess... It exists in my Crossover installation and now it's also present in the Steam for Linux via Proton variant. Haven't found any solution for it until now.

Other than this, the game runs smoothly with no crashes... For me it actually performs better than on my Windows 10 machine (there I experience at least one crash per session of gaming and is somehow slower...).

KKapiX 2018-09-09 github

I have also noticed that for some reason my achievements got reset. Only one awarded for finishing the tutorial is left, all I got in multiplayer are gone.

Kkforney 2018-09-09 github

After swapping out Launcher.exe and replacing it with AoK HD.exe, the game runs perfectly on my system with the following issues:

  • My ELO also resets itself to 1600:1600, claiming to be out of bounds at 0:0 each time I start the game.
  • I receive the achievement "Dark Ages Rush or Early Adopter" each time I finish a game. This indicates that my achievement progress has been reset, and occurs every time I finish a game, making any progress difficult.
Rryad-lindner 2018-09-09 github

Replacing Launcher.exe with AoK HD.exe works for me.

I've played the first few tutorial games and it works like charm.

However, I noticed a problem when tabbing out of the game and back, the game keeps scrolling in one direction. Could only reverse this by restarting the game. It doesn't matter, whether I've set the game to window or full screen mode.

Tested on: Arch x64, GTX 765M @ 396.51, Proton 3.7-6 Beta.

Hhogar1977 2018-09-10 github

@kforney
I think the ELO problem comes from the fact that game is installed in wine environment and steam client is not. Therefore the game cannot access Steam API in a proper way - the elo cannot be read nor written properly after the multiplayer match is done (game tries to assign elo to 0:0 values and it ends up being out of bounds again and reset to 1600:1600). I think the achievements issue is the same thing...
I play this game over Crossover (commercial version of wine) and I never had this issue. But in Crossover, both the Steam client and the game are windows emulated versions and part of the same wine bottle, so I guess the game has no issues in accessing the Steam API properly.

@ryad-eldajani
Can you try to play a few online multiplayer matches, just to confirm the ELO 1600:1600 issue?
Also, regarding the tabbing issue... I had that happen to me from time to time when I played over Crossover, but rarely (as far as I know this happens in Windows too). Does it happen to you every time? Also I am not able to Alt TAB at all when playing via Steam for Linux + Proton, but I am using Gnome DE. What DE are you using on your Linux machine?

Other than these issues, the game is more stable for me in Linux then it is in Windows - almost never crashes, while in Windows 10 I experience game crash almost every time I play (1 time per session of gaming).

Rryad-lindner 2018-09-10 github

@hogar1977 I noticed the tabbing issue appears, when scrolling the map using the arrow keys and afterwards tabbing out. If I scroll the map using the right click, cursor to window edge or click on mini map, it does not appear happen. I can confirm that I also have an ELO of 1600. I cannot say however whether this is correct or not since I've never played a ranked match before. I'm using Xfce 4.12.

FFlaburgan 2018-09-10 github

Hi everyone. Linux fan and AoE fan here. I play this game with Wine for years, first the original version, then the steam version installing steam with Wine. Everything works fine except for the black background of text.

So, I just installed AoE with Proton, I had to rename AoK to Launcher.exe (something I never did when installing the game AND steam under wine) and... BAM, all my achievements and my ELO score are lost :(
I played a multiplayer game, and the error (score is 0:0) is still there. Now, I accessed steam from the website and can see my achievements definitely are lost. It's not that bad honestly but I mainly play online and see my ELO score to 1600 is very sad knowing how many games I won :p

FFlaburgan 2018-09-10 github

(Also, I found the trick of renaming AoK to Launcher on this video: https://www.youtube.com/watch?v=TF1wPFRF_FI if someone with a Google Account can comment there to warn everyone about loosing all progress and ELO score in the game, that would be nice. I would definitely not have done that if I knew)

Hhogar1977 2018-09-10 github

@Flaburgan
I hope more linux aoe2 fans will decide to comment here, maybe we actually get someone assigned to deal with the issue. Because, the Steam client behaves better and more stable in this way then when it's emulated with wine... I also played this game via Crossover for a relatively long time, but if it would work with Steam for Linux it would be perfect. Before installing I read only about losing achievements, not elo. I guess if I knew about ELO loss as a certainty I would not have installed the game like this either. Other than the achievement and ELO loss the game could essentially be whitelisted...

Hhogar1977 2018-09-10 github

@kisak-valve
hi there, I noticed you moved my discussion into this thread... Do you have any relation to the valve proton dev team? Or just trying to moderate the Issues forum? This game has basically only one minor issue that needs resolving before it can be whitelisted... Any hope someone gets assigned to look into it?

FFlaburgan 2018-09-10 github

@hogar1977 well in the last 24h AoE is the 49th game the most played over thousands of steam games. So it definitely is popular. I don't know how we can point that to valve's devs though.

Hhogar1977 2018-09-10 github

@Flaburgan as usual the devil lies in the details... It might be 49th most played game, but how many of those are Linux users :/ ? I'm afraid not that many :( I just hope someone sees my rant and decides to do something about it tho :)

Kkisak-valve maintainer 2018-09-10 github

Hello @hogar1977,
hi there, I noticed you moved my discussion into this thread... Do you have any relation to the valve proton dev team?
No, I am not a Valve dev.

Or just trying to moderate the Issues forum?
Yes, I am a moderator for Valve's Github issue trackers.

This game has basically only one minor issue that needs resolving before it can be whitelisted... Any hope someone gets assigned to look into it?
The proton devs are actively listening to feedback and prioritizing what they consider most important, however, I will not single out any individual Proton dev or impose a priority system.

Kkforney 2018-09-10 github

I went to collect a log file to try to see what was really happening, and noticed that my version of Proton was one too far back for the PROTON_LOG option to work. Updating Proton to the 3.7-6 Beta through Steam's options so I could get the log file had the side effect of resolving the issue. My achievements and ELO no longer reset every time I click "Multiplayer" in 3.7-6 Beta.

Hhogar1977 2018-09-10 github

@kforney
@Flaburgan
@kisak-valve
@ryad-eldajani

I can confirm that using Proton beta version fixes the ELO and achievement issue!!!
Oh man I'm so happy with this.
Now, if someone only was able to figure out the black text on black background (and I believe this is strictly wine issue that exists since forever) that would be perfect :) But this thing alone makes this game able to be whitelisted in my opinion. I don't know their criteria, but this game is perfectly playable right now. Crossover wine AoE2 HD bottle bye bye...

FFlaburgan 2018-09-11 github

I can confirm after playing an online game that with proton 3.7.6beta the elo bug is gone. However, I still had to do the hack of renaming AoK to launcher

Rryao 2018-09-21 github

There is an option to bypass the launcher when starting Age of Mythology: Extended Edition. It would be nice if Valve added an option to bypass the launcher on Age of Empires II: HD Edition. The two are related.

Kkforney 2018-09-22 github

Unfortunately, Valve has no control over that. That's an option that would have to be added by the developer...

Ssandsmark 2018-09-23 github

so the problems with the launcher is that some functions from mfc140u.dll are not (fully) implemented in wine/proton? does anyone have a log indicating what is missing?

and the issue with input fields sounds like aoe2 is doing something weird with IME.

Ssandsmark 2018-09-23 github

ok, never mind me, wine doesn't have any MFC implementation, so it will have to be shipped with the game.

edit; .. and it already installs the necessary runtime (so the dll is available in ~/.local/share/Steam/steamapps/compatdata/221380/pfx/drive_c/windows/system32/mfc140u.dll), but I guess wine needs to be told to look for the native version.

Llegluondunet 2018-09-23 github

I just tested, if I install vcrun2015 (thanks to @KapiX ) and some msxml, the launcher "launched" normally, you can see the web page but not the different menu buttons at the left. The buttons are active, the first on the left starts the game.

capture d ecran de 2018-09-23 11-51-31

Llegluondunet 2018-09-23 github

the wine log, I posted only the launcher log:
https://pastebin.com/nP7eZyjS

Ssandsmark 2018-09-23 github

the issue with the next in the launcher is maybe just a missing font? I've seen that before with wine, at least, missing fonts leads to text completely missing.

what I mean with IME stuff was in-game (you can see in your log that a lot of the imm stuff is stubs only). but that's just a guess.

as for the mfc140u.dll; the game ships with the runtime installer, but maybe it fails to run? https://bugs.winehq.org/show_bug.cgi?id=37781

just running ps while the runtime is installing seems to indicate it is running the x86_64 msvc runtime installer, though, so maybe the problem is that it should run the x86 one.

edit: tried running Age2HD/_CommonRedist/vcredist/2015/vc_redist.x86.exe with proton manually, and it fails with the «service not running» error. but the options I got when starting it was also repair or uninstall, so I'm a bit confused.

FFlaburgan 2018-09-23 github

FYI I play AoE with Windows steam installed with wine-staging for a while now and the launcher works with font correctly displayed in the left menu. So wine-staging should have the patches needed for it to work correctly.

Llegluondunet 2018-09-23 github

@Flaburgan I just tested with wine-staging, it simply doesn't show the different buttons menu, you should try again from a new and clean wine prefix.

Ffelisucoibi 2018-09-24 github

Before proton, i played steam windows binary and then aoe launcher out of the box, and I had the same result as @legluondunet , so is more than probably that is just some missing libraries that can be aded with winetricks. or 32 bits libs... the bug of text missing was also there before proton in the menu, and as they say just click on first option.
imagen

FFlaburgan 2018-09-25 github

@legluondunet I think I was using a 32bits prefix, but I'm sure it worked well with wine staging 3.13 and probably before.

Ssandsmark 2018-09-29 github

as I said, I'm fairly certain the missing text is very probably because you're missing a font. Flaburgan probably has that font.

Rryao 2018-09-29 github

@Flaburgan Would you find out which fonts are being used with opensnoop for the rest of us?

https://github.com/brendangregg/perf-tools/blob/master/opensnoop

Aaljelly 2018-10-18 github

If anyone wants a quick way of getting mfc140u.dll without trying to run the installer through Proton's Wine (this one will only work for Aoe2HD, the file version at the end of this post will work for other games):

  1. Open the terminal and install cabextract from your package manager (e.g. sudo apt install cabextract).
  2. Install the game if you haven't already.
  3. Copy paste and run the following in the terminal:
    cd "/home/$USER/.local/share/Steam/steamapps/common/Age2HD/_CommonRedist/vcredist/2015" &&
    cabextract vc_redist.x86.exe --filter a11 &&
    cabextract a11 --filter mfc140u.dll &&
    mv mfc140u.dll "../../../" &&
    rm a11
    

Run the game, it should now work.


Here's the file version if anyone wants to automate this, put in the game's folder (for other games this script assumes the binary that needs mfc140u.dll is in the game's root folder):

#!/usr/bin/env bash

pwd=$PWD

redist_dir="_CommonRedist/vcredist/2015"
shared_dir="../Steamworks Shared/"

if [ -d "$redist_dir" ]; then
    mfcdir=$redist_dir
elif [ -d "$shared_dir/$redist_dir" ]; then
    mfcdir="$shared_dir/$redist_dir"
else
    echo "Couldn't find Redist dir"
    exit 1
fi

cd "$mfcdir" &&
cabextract vc_redist.x86.exe --filter a11 &&
cabextract a11 --filter mfc140u.dll &&
mv mfc140u.dll $pwd &&
rm a11
Lliberodark 2018-10-23 github
Ffelisucoibi 2018-10-25 github

For me i had to modify the script in ubuntu 18.10 @aljelly

cd "/home/$USER/.steam/steam/steamapps/common/Age2HD/_CommonRedist/vcredist/2015" &&
cabextract vc_redist.x86.exe --filter a11 &&
cabextract a11 --filter mfc140u.dll &&
mv mfc140u.dll "../../../" &&
rm a11

So the launcher works, but the font are mising, is the first option of the menu.

Aaljelly 2018-10-29 github

The problem that was causing the VC2015 installer to not launch was fixed in Wine 3.19 (thanks to @nsivov)! Once Proton's version of Wine is updated to 3.19, VC2015 will install and this game probably won't need any more workarounds to launch it.

Nnsivov 2018-10-31 github

Fix is included in 3.16-4, mfc140u.dll should now be installed correctly.

Ffelisucoibi 2018-11-01 github

Fonts in launcher fixed too with 3.15-4!!!!

Ffelisucoibi 2018-11-01 github

By now the only missing bug to be fixed, is the text input area when playing multiplayer games in the room of a created match, that writing is black so you can't see what you wrote, because the font is black, and the background is black too, but the launcher is working, and the fonts are fixed.
imagen

Nnsivov 2018-11-01 github

@felisucoibi could you report this as a new issue? (assuming it works correctly on Windows)

Ffelisucoibi 2018-11-01 github

@felisucoibi could you report this as a new issue? (assuming it works correctly on Windows)

Don't understad what do you mean as a new issue, is not only one issues page for every game? (i updted with a photo the comment)

I edit myslef, somehow this is not anymore a age of empries bug but a proton bug, seems you moved this thread... sorry i'll create a new issue...

Nnsivov 2018-11-01 github

My point was that it's not about launcher anymore. Thanks for the new report. Can we close this one as resolved?

Ffelisucoibi 2018-11-01 github

yes, in my tests

Llegluondunet 2018-11-01 github

Hello @nsivov, @kisak-valve asked us to open only one issue per non officially supported game. So normally this issue has not to be close until all issues are resolved.

Nnsivov 2018-11-01 github

@legluondunet oh, I didn't know about that. @kisak-valve sorry for the noise.

Llegluondunet 2018-11-01 github

The Launcher now launches normally with Proton 3.16-4, with text and web content, very good work! Note that I had to erase my AOE2 game folder and AOE2 compatdata folder (221380) for the game to launch, surely some rest of older tweaks.
But the cinematics still not play.
I joined you my Proton log.
steam-221380.log

Ffelisucoibi 2018-11-01 github

True, cinematics never worked so i got used to it, so cinematics, and the font flickering, are the last two bugs missing for aeo2

Kkazenshi 2018-11-21 github

Yes I'm with @felisucoibi the invisible text is annoying.

Since this thread now encompasses the entirety of AoE 2 HD and not just the launcher, I think that makes the "input area" issue become relevant now.

FFlaburgan 2018-11-21 github

I forget to mention that clicking "Invite" in the multiplayer game screen doesn't work.

Hhogar1977 2018-12-07 github

@Flaburgan
what do you mean 'Invite' doesn't work? It always worked for me... When I was playing via Crossover and now via Proton. No issues whatsoever. Click 'Invite' and a list of online friends open...

FFlaburgan 2018-12-07 github

Nope, when I click nothing happens. It looks like the steam overlay doesn't work with that game as shift tab doesn't work either.

Hhogar1977 2018-12-07 github

@Flaburgan

Interesting... For me it all works - Steam Overlay, Chat, Invite, all as advertized. Only thing bugging me is that stupid text dissapearing, but it has been present since forever so I have little hope it will be fixed :/ Regarding Steam Overlay, it might be related to the desktop environment you are using. Search for it on the net... I use Gnome and for me it works out of the box.

FFlaburgan 2018-12-07 github

I use Linux Mint 19 with cinnamon.

Hhogar1977 2018-12-07 github

@Flaburgan
I think it's related to your DE. You can test it if u install other DE - try KDE or GNOME. I think the issue of Steam Overlay is related to compositing. It has nothing to do with Proton, WIne, etc...

ZzzeiSt 2018-12-10 github

Proton 3.16-4 Beta, amdgpu

The font rendering of most texts is horrible with Proton. It's perfectly fine with normal wine (staging). I installed 'corefonts'/'allfonts' and used FREETYPE_PROPERTIES="truetype:interpreter-version=35".

Is there anything else i can try?

OOMTDesign 2019-01-23 github

Compatibility Report

  • Name of the game with compatibility issues: Age of Empires II: HD Edition
  • Steam AppID of the game:221380

System Information

I confirm:

  • [x ] that I haven't found an existing compatibility report for this game.
  • [x ] that I have checked whether there are updates for my system available.

steam-221380.log

Symptoms

When I alt-tab out of the game, and go back into it, the map view keeps travelling North-West on its own. Only way to fix is to exit game and restart.

Reproduction

Play a game and then alt-tab out of it.
Example video:
https://mega.nz/#!wZBl1YbB!ZpIREQJGMiB2L6rGGWvcJc6VcHjpwewRAgYkfBxWwpo

Kkisak-valve maintainer 2019-01-23 github

Alt-tab scrolling issue is possibly related to https://bugs.winehq.org/show_bug.cgi?id=30814.

FFlaburgan 2019-01-23 github

That was already a bug on windows in the good ol' time. I don't know when it triggers though. Sometime it happens, mostly it doesn't.

Ffelisucoibi 2019-01-24 github

the bug of alt tab and infinite scrolling happens to me sometimes, don't know if is a windows bug too.

DDerSaidin 2019-02-03 github

Proton 3.16-6 Beta

AoE2 HD Menu: Version 5.8.3062235

$ uname -a
Linux somewhere 4.19.17 #1-NixOS SMP Tue Jan 22 20:40:38 UTC 2019 x86_64 GNU/Linux
$ glxinfo | grep -A11 'renderer info'
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: Radeon RX 580 Series (POLARIS10, DRM 3.27.0, 4.19.17, LLVM 6.0.1) (0x67df)
    Version: 18.1.7
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1

Everything seems fine until about 5 to 10 seconds after starting a game (just enough time to start villagers collecting, and scout scouting)..

Then the game hangs:

  • All video frozen
  • Can move the mouse, cursor does not change
  • Music is looping
  • 99.9% CPU in Launcher.exe (some other Launcher.exe processes, grab some small amounts of CPU)

Still happens if I'm the only player in the game.

Scenario editor seems to not crash.

Here is the state of AoE2 processes (probably not that useful with no symbols).

FFlaburgan 2019-02-04 github

I have the same graphic card than you and have no problem. Can you please try to update Mesa to 18.2?

DDerSaidin 2019-02-09 github
$ uname -a
Linux dsus 4.19.20 #1-NixOS SMP Wed Feb 6 16:30:16 UTC 2019 x86_64 GNU/Linu
$ glxinfo | grep -A11 'renderer info'
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: Radeon RX 580 Series (POLARIS10, DRM 3.27.0, 4.19.20, LLVM 6.0.1) (0x67df)
    Version: 18.3.1
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2

Now the splash screen freezes... but if I copy "AoK HD.exe" on top of "Launcher.exe", it works :D
Thanks!

FFlaburgan 2019-02-09 github

@DerSaidin also, bump the proton version used in steam to at least 3.16. You should not need to manually switch the files.

DDerSaidin 2019-02-09 github

Proton is 3.16-6 Beta

Nniteya-shah 2019-02-14 github

My game used to work but suddenly It has stopped working . Whenever I click on Play , the preparing to launch dialog box appears and then nothing .
My System Information

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Laptop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Brand:  Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
    CPU Family:  0x6
    CPU Model:  0x8e
    CPU Stepping:  0xa
    CPU Type:  0x0
    Speed:  4000 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    Ubuntu 18.04.2 LTS (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.15.0-45-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11906000
    X Window Manager:  GNOME Shell
    Steam Runtime Version:  steam-runtime-beta-release_2019-01-10

Video Card:
    Driver:  Intel Open Source Technology Center Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) x86/MMX/SSE2
    Driver Version:  3.0 Mesa 18.3.3
    OpenGL Version: 3.0
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x8086
    DeviceID:  0x5917
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 11.54" x 6.38" (13.15" diag)
                                            29.3cm x 16.2cm (33.4cm diag)
    Primary VRAM Not Detected

Sound card:
    Audio device: Realtek ALC3271

Memory:
    RAM:  15757 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_IN
    Total Hard Disk Space Available:  237851 Mb
    Largest Free Hard Disk Block:  160085 Mb
    VR Headset: None detected

Recent Failure Reports:

My system OS is Ubuntu 18.04 (up to date ).
I have changed the name from AOE Hd.exe to Launcher.exe and have also added NoStartup to Launch settings . Still the game wont launch

FFlaburgan 2019-02-14 github

I see you're running the just released 18.04.02 ubuntu version, maybe the upgrade broke something? Your kernel still is 4.15 but Mesa is 18.3.3, that could be the reason of the breaking.

Ffelisucoibi 2019-02-14 github

I just installed aoe2 again in a ubuntu 18.10 just in case something changed... is working without any modification, just install and play, no rename, no cheats....

Nniteya-shah 2019-02-14 github

I just updated the kernel to 4.19 , and still it doesnt work . Any ideas as to why ?

Ppuzzlepaint 2019-02-15 github

I probably have the same problem as @niteya-shah. The game used to work fine, then recently the "Play" button in Steam disappeared. It turned out that the "Enable Steam Play for all other titles" option in Steam had turned itself off. After turning it on again, the game does not launch anymore: apparently nothing happens when clicking on Play. This happened to me both on an Ubuntu 14.04 and an Ubuntu 18.04 system, so it seems unlikely that it's related to the system.

This is the terminal output of Steam when I click on Play (for the Ubuntu 14.04 system):

GameAction [AppID 221380, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
/home/thomas/.local/share/Steam/legacycompat/iscriptevaluator.exe: 1: /home/thomas/.local/share/Steam/legacycompat/iscriptevaluator.exe: Syntax error: word unexpected (expecting ")")
sh: 1: /home/thomas/.local/share/Steam/steamapps/common/Age2HD: Permission denied
sh: 1: /home/thomas/.local/share/Steam/steamapps/common/Steamworks Shared: Permission denied
[2019-02-15 13:08:41] Startup - updater built Feb  2 2019 17:21:33
[2019-02-15 13:08:41] Verifying installation...
[2019-02-15 13:08:41] Verification complete
installscript_posix.cpp (357) : Assertion Failed: strCommonRedistForeignInstallPath != ""
installscript_posix.cpp (357) : Assertion Failed: strCommonRedistForeignInstallPath != ""
Installing breakpad exception handler for appid(steam)/version(1549129917)
assert_20190215130929_24.dmp[5199]: Uploading dump (out-of-process)
/tmp/dumps/assert_20190215130929_24.dmp
installscript_posix.cpp (357) : Assertion Failed: strCommonRedistForeignInstallPath != ""
installscript_posix.cpp (357) : Assertion Failed: strCommonRedistForeignInstallPath != ""
installscript_posix.cpp (357) : Assertion Failed: strCommonRedistForeignInstallPath != ""
installscript_posix.cpp (357) : Assertion Failed: strCommonRedistForeignInstallPath != ""
installscript_posix.cpp (357) : Assertion Failed: strCommonRedistForeignInstallPath != ""
installscript_posix.cpp (357) : Assertion Failed: strCommonRedistForeignInstallPath != ""
/home/thomas/.local/share/Steam/legacycompat/iscriptevaluator.exe: 1: /home/thomas/.local/share/Steam/legacycompat/iscriptevaluator.exe: Syntax error: word unexpected (expecting ")")
installscript_posix.cpp (418) : Assertion Failed: Standalone evaluator returned error code for app 221380
installscript_posix.cpp (418) : Assertion Failed: Standalone evaluator returned error code for app 221380
GameAction [AppID 221380, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 221380, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 221380, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 221380, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 221380, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask for AppId 221380: 0
Game update: AppID 221380 "", ProcID 5203, IP 0.0.0.0:0
>>> Adding process 5203 for game ID 221380
GameAction [AppID 221380, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/thomas/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/thomas/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/home/thomas/.local/share/Steam/steamapps/common/Age2HD/Launcher.exe: 1: /home/thomas/.local/share/Steam/steamapps/common/Age2HD/Launcher.exe: Syntax error: Unterminated quoted string
GameAction [AppID 221380, ActionID 1] : LaunchApp changed task to Completed with ""
>>> Adding process 5205 for game ID 221380
>>> Adding process 5206 for game ID 221380
Game removed: AppID 221380 "", ProcID 5203 
No cached sticky mapping in ActivateActionSet.assert_20190215130929_24.dmp[5199]: Finished uploading minidump (out-of-process): success = yes
assert_20190215130929_24.dmp[5199]: response: CrashID=bp-ab1835f5-6e25-48b0-9bd7-debd62190215
assert_20190215130929_24.dmp[5199]: file ''/tmp/dumps/assert_20190215130929_24.dmp'', upload yes: ''CrashID=bp-ab1835f5-6e25-48b0-9bd7-debd62190215''
JS method call SharedConnection.SendMsgAndAwaitResponse with 3 arguments

Some initial googling turned out that the errors related to gameoverlayrenderer.so seem to be normal and not a problem. Not sure about all the other errors.

This happens regardless of whether I choose Proton 3.16-6 Beta or Proton 3.16-4.

Ppuzzlepaint 2019-02-15 github

I tried re-installing the game, which first did not seem to change anything. However, when I re-tried running the game with Steam running in a terminal window to have a look at the terminal output again, it suddenly worked. No idea what made it work again now.

Nniteya-shah 2019-03-02 github

any update on this error? I still cant launch the game. I feel like asking for a refund.

Ppuzzlepaint 2019-03-02 github

Have you tried re-installing the game? I think that this eventually fixed it for me on both affected systems.

Nniteya-shah 2019-03-02 github

Didn't work when I tried it last time . I feel like doing it again once .
Update
I just reinstalled from scratch , didnt solve anything

Llegluondunet 2019-03-09 github

Just tested with new Proton version 3.16-8, still two bugs to resolve:

  1. cinematics don't play
  2. in multiplayer mode, I can not see what I wroted in the chat field, it's all black

I joined you the Proton log.
steam-221380.zip

https://gist.github.com/legluondunet/8570a65372c3f7b9fea9c365c449cc59

Ffelisucoibi 2019-03-09 github

Yes, these are the last two bugs to have a complete aoe2 complete "emulated". But totally playable.

Just tested with new Proton version 3.16-8, still two bugs to resolve:

1. cinematics don't play

2. in multiplayer mode, I can not see what I wroted in the chat field, it's all black

I joined you the Proton log.
steam-221380.zip

https://gist.github.com/legluondunet/8570a65372c3f7b9fea9c365c449cc59

Ffelisucoibi 2019-03-30 github

Working with proton 4.2 perfect. (with the 2 problems of not video loading and blinking text area.

ZzzeiSt 2019-03-31 github

Proton 3.16-4 Beta, amdgpu

The font rendering of most texts is horrible with Proton.

Just if anyone else had this issue, the font rendering is now fine for me with Proton 4.2-1

Hhogar1977 2019-03-31 github

@felisucoibi
@zzeiSt
@legluondunet
Hi guys, did you encounter any issues when trying to run the game with Proton 4.2-1? When I switched from 3.16-8 Beta to Proton 4.2-1 it first downloaded Wine Mono and then Gecko, but when I try to start the game it just doesn't run.

I have tried 2 options:

  1. All my game files are verified and no name modification on AoK HD.exe -> the game just silently crashes, never starts at all
  2. AoK HD.exe -> Lancher.exe name change -> A Critical Error pop-up window shows saying: "Game failed to initialize Steam. You must have Steam running."

In both cases, I was trying to start the game through Steam itself, so Steam was actually running already. If I switch back to Proton 3.16-8 Beta and perform the AoK HD.exe -> Launcher.exe, the game works again (although with blinking text issue in multiplayer chat window). Any ideas what might be going on?

Googling for the pop-up message reveals that it happens on Windows as well, although 'solutions' tend to be all over the place and I could not find a common denominator for the issue...

Ffelisucoibi 2019-04-02 github

Hi, first, proton usually i dont see the mono downloading and gecko, maybe you are using wine?? not steam?? is strage...with wine yes, after a new version it installs mono etc, but in steam with proton?? nothing is needed, just click and play.

Anyway with steam, and launching from steam it just works with 4.2, but this game is almost gold, works perfect, not workarrounds are needed...

Hhogar1977 2019-04-03 github

@felisucoibi
I definitelly use Proton :D Before, I used Crossover (lets call it commercial wine...
The Wine Mono and Gecko got downloaded only when I switched to Proton 4.2-1 for the first time. After that I can switch between Proton 4.2-1 and 3.16-8 Beta seamlessly, but I was simply not able to make the game work on 4.2 :/
On 3.16-8 Beta, I have no issues, I play the game all the time. I was just hoping the chat text issue might be resolved. Does that work for you properly now on 4.2 or it is still an issue?

Hhogar1977 2019-04-03 github

@felisucoibi
OK, did a sensible thing and reinstalled the game afresh :D now its working with Proton 4.2-2 no hacks required :D
Sorry for the noise... Still a blasted disappearing text in chat windows though :(

Ffelisucoibi 2019-04-18 github

Hello, with proton 4.2-3 another bug is fixed, no more font flickering!!!! so I think the only one bug missing is the video rendering when launching, nd this is totally unecesary to play, so is 99.9% perfect.

JJMoerman 2019-04-19 github

4.2-3 introduces tearing (so far only tested Age of Empires II HD). Disabling VSYNC in the game increases the severity so VSYNC is doing something, but it isn't working right.

Workaround: download 4.2-2 using download_depot 1054830 1054831 571309843871584593 and move its contents to steamapps/common/Proton 4.2/ and extract proton_dist.tar.g to Proton 4.2/dist

It would be nice if away existed to lock proton to a specific version (and not a series).

System Information

  • GPU: RX 570
  • Driver/LLVM version: Mesa 19.0.1, LLVM 8.0.0
  • Kernel version: 4.20.0-042000-generic
  • Proton version: 4.2-3
Ffelisucoibi 2019-04-19 github

4.2-3 introduces tearing (so far only tested Age of Empires II HD). Disabling VSYNC in the game increases the severity so VSYNC is doing something, but it isn't working right.

Workaround: download 4.2-2 using download_depot 1054830 1054831 571309843871584593 and move its contents to steamapps/common/Proton 4.2/ and extract proton_dist.tar.g to Proton 4.2/dist

It would be nice if away existed to lock proton to a specific version (and not a series).

System Information

* GPU: RX 570

* Driver/LLVM version: Mesa 19.0.1, LLVM 8.0.0

* Kernel version: 4.20.0-042000-generic

* Proton version: 4.2-3

Not hapening with my config, nvidia and intel, maybe is ati problem only? let's see if more people suffering it.

Hhogar1977 2019-04-21 github

In about a week I will be at home again and will test it on my computer, have ATI card inside. Eager to see the chat box text flicker bug resolved 😀 Hopefully no tearing

I have to hand it down to Valve and Proton guys, they do amazing stuff. Year of Linux Desktop finally on the horizon 😆

ZzzeiSt 2019-04-22 github

Can confirm that the issue with the invisible chat text is solved :)

However now the Steam Overlay disappears after the mod list right at the start of game. I'm not quite sure since when this happens, but it worked before.

Regarding the tearing:
I can not reproduce that with my AMD card, but I haven't had tearing in a long time with the TearFree driver option (radeon: https://wiki.archlinux.org/index.php/ATI#Driver_options, amdgpu: https://wiki.archlinux.org/index.php/AMDGPU#Xorg_configuration). I have vsync turned OFF in the game and the xfce compositor.

JJMoerman 2019-04-23 github

It's quite possible that the tearing issue only occurs with my specific GPU and mesa version. I have had issues with tearing before where fore example chromium would tear when scrolling on every windowmanager I tried (even with tearfree).
All I know is that the issue isn't present in 4.2-2.

Edit: still present in 4.2-4, will give an update when the new (19.1) mesa stable version rolls out.

Hhogar1977 2019-04-29 github

O boy what a day :D my fav game fully works on Linux :D
No tearing (AMD card), no annoying chat box text flickering issue, no need for stupid workarounds and who needs the bloody intro video...

30
30
30
11

SSpartanJ 2019-07-04 github

I also experience tearing issues since 4.2 (right now 4.2-9), I'm still using 3.16-9 almost no issues (except for the text flickering). My GPU is a NVIDIA GTX 970 with the proprietary drivers (430.26) and Mesa version is 19.1. I tried with and without compositor and there's no difference, the tearing persists.
Anyone have any idea what could be causing this issue?

Aavindra 2019-07-18 github

The launcher seems to render incorrectly using two windows (using Proton 4.2)

image

It seems that the right side should composite over the left.

It spawned the left one on TOP of the right one, which could be confusing to a lot of users. If you just drag the window away though, it reveals the buttons.

FFlaburgan 2019-07-18 github

I don't have that bug, what's your config?

Hhogar1977 2019-07-18 github

It will happen if you use a tiling window manager of some kind. If I use gnomesome on Gnome 3 and have tiling active it will put both windows one besides the other. It's not really a bug, its the shitty way the launcher seems to be designed in the first place, like 2 app windows one on top of each other.

Bbasxto 2019-07-18 github

Maybe a bit confusing at first, yes.
But it’s usable and does not affect the game itself.
@avindra do you also use a tiling manager, since I think those are rather used by advanced users.

Aavindra 2019-07-18 github

@basxto yes this happens using the i3 tiling WM (i3-gaps specifically)

Hhogar1977 2019-07-19 github

@avindra
i3 tiling window manager is simply tiling the 2 windows that the Launcher is comprising of. Maybe if you make this launcher specifically behave like a floating window it will behave properly? As far as I know, it is possible to define such things in i3 config file.

BBumbadawg 2019-08-03 github

Reporting for Proton 4.11 here: got the displacement bug as well on KDE with the Kwin Grid Tiling script. Seems like the launcher is a twofold overlapped windows.
Except that: D9VK patch decreased performance on this one (unlike AoEIII).

Ffelisucoibi 2019-09-24 github

I cant invite friends to a multiplayer match, it stopped working, anybody else having this issue? usually a opopup of steam appears to invite onien friends. Using proton 4.11-6

FFlaburgan 2019-09-25 github

It never worked for me with Cinnamon 4 on Linux Mint but it worked fine on Ubuntu 18.04 with Unity 7. I can try again with Ubuntu to see if there is a regression.

Hhogar1977 2019-09-25 github

@felisucoibi
For me it never worked on Proton (I am using Arch fully up-to-date with Gnome 3.34 now), but I use a workaround...
Just open your Steam friend list and right click on a friend's nick and the option to invite to game is there.
Not very straightforward, but it works well enough so I don't bother raising any issue about it...

Ffelisucoibi 2019-09-26 github

@hogar1977 it worked, i'm sure, but maybe it stopped working since 6 months ago that is the last time i played. Anyway thanks for the tip.

DDonyorM 2019-10-18 github

I have no problems launching the game, but after playing for some time (usually between 15-30 minutes) the game will freeze and the music will loop, until I kill it or the game crashes. Anyone else experiencing this?

Aattah 2019-11-11 github

Same here, multiplayer not working at all, i thought i had it working a year or so ago, but starting to second-guess that. I was going to say nothing stuck out in the log, but perhaps this can be related:

5121.405:002f:0030:fixme:wininet:query_global_option INTERNET_OPTION_PER_CONNECTION_OPTION stub
5121.405:002f:0030:fixme:wininet:get_proxy_autoconfig_url no support on this platform
5121.405:002f:0030:fixme:wininet:query_global_option Unknown dwOption 10
5121.405:002f:0030:fixme:wininet:query_global_option INTERNET_OPTION_PER_CONNECTION_OPTION stub
5121.405:002f:0030:fixme:mshtml:nsHttpChannelInternal_GetProxyURI (016830A0)->(0032DC2C)
5121.406:002f:0030:fixme:mshtml:nsHttpChannelInternal_GetProxyURI (016830A0)->(0032DA1C)
5121.416:002f:006c:fixme:wininet:query_global_option INTERNET_OPTION_PER_CONNECTION_OPTION stub
5121.416:002f:006c:fixme:wininet:query_global_option Unknown dwOption 10
5121.416:002f:006c:fixme:wininet:query_global_option INTERNET_OPTION_PER_CONNECTION_OPTION stub
5121.416:002f:006c:fixme:wininet:query_global_option INTERNET_OPTION_PER_CONNECTION_OPTION stub
5121.416:002f:006c:fixme:wininet:query_global_option Unknown dwOption 10
5121.416:002f:006c:fixme:wininet:query_global_option INTERNET_OPTION_PER_CONNECTION_OPTION stub
Ffelisucoibi 2019-11-11 github

I think the problem with alt+tab is with laptops dual graphic card, in some it owrks in some it does not work, so probably it dpends of nvidia enabled or not or internal intel....

Ffelisucoibi 2020-02-12 github

Hello, tested with proton 5.0.

  1. The blinking text in chat in multiplayer selection screen is back, it was fixed in 4.x.
  2. Still there is the alt tab problem that when you come back to screen, the top bar and bottom bar of of my gnome-panel desktop are there so some areas of the game i cant click on them because there is top and bottom bar of desktop. This problem happens in 5.x and 4.x
  3. videos still don't work.
Ffelisucoibi 2020-03-01 github

More problems with 5.0.

I have a laptop with a intel and nvidia 820m dual graphic card.

First i tried to run the game with nvidia-noveau drivers, and didn't work.

Second i tried to run the game with only nvidia official drivers of ubuntu 19.10, it didn't work.

I moved back to proton 4.x and it worked.

Kkisak-valve maintainer 2020-03-01 github

Hello @felisucoibi, your nVidia 820m is a Fermi generation video card. nVidia does not support Vulkan on that generation. By extension, DXVK will not work on that chipset as well. DXVK/D3D9 was enabled by default in Proton 5.0-1.

You can try adding PROTON_USE_WINED3D=1 %command% to the game's launch options on that system to use wine's DirectX to OpenGL render path, but that is expected to come with a significant performance penalty and is not considered supported.

Aattah 2020-03-01 github

My AMD RX5700 also seems to need PROTON_USE_WINED3D=1. Thanks for the hint.

Ffelisucoibi 2020-03-01 github

Thanks for the reply, this is not a solution, must be fixed in proton and steam, a game that works with proton 4 should work with proton 5, users don't have to care about vulkan drivers in a 1998 game.
Must be a a automatic way with proton.

Hello @felisucoibi, your nVidia 820m is a Fermi generation video card. nVidia does not support Vulkan on that generation. By extension, DXVK will not work on that chipset as well. DXVK/D3D9 was enabled by default in Proton 5.0-1.

You can try adding PROTON_USE_WINED3D=1 %command% to the game's launch options on that system to use wine's DirectX to OpenGL render path, but that is expected to come with a significant performance penalty and is not considered supported.

Kkisak-valve maintainer 2020-03-16 · hidden on GitHub github

Age Of Empires 2 Just the launcher working

Issue transferred from https://github.com/ValveSoftware/Proton/issues/3645.
@ahmedselim2017 posted on 2020-03-16T12:03:52:

Compatibility Report

  • Name of the game with compatibility issues: Age Of Empires 2 (2013)
  • Steam AppID of the game: 221380

System Information

  • GPU: Intel Corporation HD Graphics 6000 (rev 09) Subsystem: Apple Inc. HD Graphics 6000
  • Driver/LLVM version: Kernel driver in use: i915
  • Kernel version: 5.5.9-arch1-2
  • Link to full system information report as Gist
  • Proton version: 5.0.4

I confirm:

  • [ ] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

Symptoms

It just shows the launcher, I click play and the game stops.

Reproduction

Open the game, click the start button.

Kkisak-valve maintainer 2020-03-16 · hidden on GitHub github

Hello @ahmedselim2017, your system information indicates you don't have any vulkan drivers installed. Please install the vulkan-intel and lib32-vulkan-intel packages and retest.

Aahmedselim2017 2020-03-16 · hidden on GitHub github

Thanks! Installing vulkan-intel and lib-vulkan-intel solved the issue.

Ttonivj5 2020-03-17 github

any news with the font issue?

Bbemug 2020-04-17 github

I have this issue:

https://i.imgur.com/gqunP7U.png

As you can see the text is cropped on the right (look for the gold cost for example). I run the latest proton version (5.0-6) on Arch with i3. I don't have any issue on Ubuntu with Gnome.

FFlaburgan 2020-04-19 github

Personally the game doesn't launch at all with last proton, I use proton 4.11 without problems.

Kkisak-valve maintainer 2020-04-19 github

Hello @Flaburgan, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box. 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.

Ffelisucoibi 2020-04-19 github

Personally the game doesn't launch at all with last proton, I use proton 4.11 without problems.

Probably is because your graphic card is old and does not work with vulkan, so proton 5 does nothing, that can explain why work with 4.x that uss open gl layer. Proton MUST know that the graphic card does not work with vulkan and use open gl layer instead for older cards.

Bbemug 2020-04-21 github

I have this issue:

https://i.imgur.com/gqunP7U.png

As you can see the text is cropped on the right (look for the gold cost for example). I run the latest proton version (5.0-6) on Arch with i3. I don't have any issue on Ubuntu with Gnome.

If someone struggle with this I figured out you can use protontricks to install fontsmooth=rgb and it solves the issue.

Jjulianlam 2020-04-27 github

@kisak-valve, as @Flaburgan didn't seem to get back to you, here's my log when running Proton 5.0-6:

info:  Game: AoK HD.exe
info:  DXVK: v1.5.5-21-g3d52ab36a
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
111686.505:0082:0083:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\openvr_api_dxvk.dll" at 0x1940000: native
warn:  OpenVR: Failed to initialize OpenVR
info:  Required Vulkan extension VK_KHR_surface not supported
111686.514:0082:0083:trace:seh:MSVCRT_raise (22)
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Setting breakpad minidump AppID = 221380
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197970032808 [API loaded no]
terminate called after throwing an instance of 'dxvk::DxvkError'

The rest of the log is just lines of raise_exception and I imagine are of no consequence, but I can provide the full log/gist if you'd like.

OS: Ubuntu 18.04 LTS (beaver-three-eyed-raven X92)KERNEL: 4.15.0-1079-oemCPU: Intel Core i7-10710U @ 1.10GHzGPU: Intel UHD (Comet Lake 3x8 GT2)GPU DRIVER: 3.0 Mesa 19.2.8RAM: 16 GB
Kkisak-valve maintainer 2020-04-27 github

Hello @julianlam, please verify you have Vulkan drivers installed for your Intel chipset with something like apt policy mesa-vulkan-drivers mesa-vulkan-drivers:i386 and install them if they are not already.

Jjulianlam 2020-04-27 github

@kisak-valve Thank you, that got me up and running again on Proton 5.0-6. Of note is that while apt-cache policy mesa-vulkan* only showed mesa-vulkan-drivers, I needed to install it and the i386 variant for the game to successfully start.

Ssantiagofn 2020-07-21 github

Hi, @kisak-valve.
I had the same issue as @Flaburgan.

First I checked if I had the Vulkan drivers installed and yes, I had them:

mesa-vulkan-drivers:
  Installed: 20.0.8-0ubuntu1~20.04.1
  Candidate: 20.0.8-0ubuntu1~20.04.1
  Version table:
 *** 20.0.8-0ubuntu1~20.04.1 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     20.0.4-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
mesa-vulkan-drivers:i386:
  Installed: 20.0.8-0ubuntu1~20.04.1
  Candidate: 20.0.8-0ubuntu1~20.04.1
  Version table:
 *** 20.0.8-0ubuntu1~20.04.1 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
        100 /var/lib/dpkg/status
     20.0.4-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/main i386 Packages

Then I tried to run the game with Proton 5.0.9 again and it simply didn't start. Attached you can see the log of my attempt.

Thanks!
steam-221380.log

Kkisak-valve maintainer 2020-07-21 github

Hello @santiagofn, these are the lines of interest from your log:

err:vulkan:wine_vk_instance_load_physical_devices Failed to enumerate physical devices, res=-3
err:vulkan:wine_vkCreateInstance Failed to load physical devices, res=-3
[...]
terminate called after throwing an instance of 'dxvk::DxvkError'

So, Vulkan failed to initialize on your system. 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.

Ssantiagofn 2020-07-21 github

Hi, @kisak-valve!

This is my system profile.

I did a little research and I suspect that, although I have Mesa's Vulkan driver installed, my Radeon HD 6670 can't handle Vulkan: Arch Wiki says I should use a legacy Catalist driver (which I suspect doesn't support Vulkan) and the AMD Open Source Driver for Vulkan only offers support for cards newer than mine.

Assuming that what I said is correct, is it OK to have Vulkan enabled by default on all video cards? Is there a fallback to OpenGL that isn't working in my case or there isn't any fallback (as @felisucoibi implied) and I should change the configuration manually?

Thanks!

Kkisak-valve maintainer 2020-07-21 github

All Terascale generation cards including your Radeon HD 6670 do not support Vulkan. Proton should have at least tried to use the Intel Ivybridge chipset which has incomplete support for Vulkan, so there might be some other issue which prevents that, but even if it did work, it's expected to have driver issues.

AMD's Catalyst driver has been obsolete in favor of AMDGPU-PRO for many years and will definitely give you a bad experience.

You can try telling Proton to use wine's DirectX to OpenGL render path by adding PROTON_USE_WINED3D=1 %command% to the game's launch options, but this is expected to come with a significant performance penalty and is not considered supported.

Ffelisucoibi 2020-07-22 github

As i said before, proton should be able to detect your graphic card does not support vulkan and use opengl, it does not make sense at all that age of empries made in 1999 does not work in steam, a game that worked in wine since at leas 10 years ago.

To the user that wants to play aoe, by now just switching to proton 4.x should make the game work again, because 4.x does not use vulkan. If you dont know how to do it ask, is simple in the steam options, steam play.

Ssantiagofn 2020-07-23 github

@kisak-valve thanks for the explanation. I downgraded Proton to 4.x and it works. But I believe the exclusive need of having hardware compatible with Vulkan in Proton 5 could be better communicated (if no automatic fallback to OpenGL is planned for older cards... which is a shame).

Ssantiagofn 2020-07-23 github

I cant invite friends to a multiplayer match, it stopped working, anybody else having this issue? usually a opopup of steam appears to invite onien friends. Using proton 4.11-6

On another topic, I can confirm this also happens to me :grimacing:

Ssandsmark 2020-07-24 github

it does not make sense at all that age of empries made in 1999 does not work in steam, a game that worked in wine since at leas 10 years ago.

It's even in the title here, but the game you're trying to run is from 2013. :-)

And (kind of) ironically the reason the original 1999 version of the game is absurdly slow in Wine is because of the graphics API they used then (GDI with indexed colors, iirc).

Ssantiagofn 2020-07-25 github

Regarding the "Invite" button not working in a multiplayer lobby, I recorded a log of a session where I pressed "Invite" 3 times before immediately closing the game. @kisak-valve, is it possible to get something from it? Thanks!
steam-221380.log

Kkisak-valve maintainer 2020-07-25 github

Hello @santiagofn, I skimmed over the log, but my eyes didn't find an obvious hint.

Looking back a couple days, it looks like it was unclear that the baseline requirement for Proton has always been for it to be used with Vulkan-capable hardware so that we can strive for optimal performance. DXVK/D3D9 support was enabled by default with Proton 5.0, and the DirectX 9 to OpenGL render path is still in the project, it's just not considered the supported render path going forward.

An automatic fallback to OpenGL was previously discussed and the short version is that the Proton devs are not interested in supporting multiple render paths at the same time. If you have any issues with PROTON_USE_WINED3D=1 %command% in the game's launch options, you'd need to reproduce the issue with a current vanilla wine version, and report it to wine's bug tracker. After it's fixed upstream, Proton will eventually pull in those fixes when updating to a newer wine version.

Llegluondunet 2020-10-16 github

I launched AOE II HD this morning with last proton version 5.13 and this is the result:

Capture d’écran de 2020-10-16 08-15-52

I can only obtain this on screen and I can hear audio, but nothing more.

Aaeikum 2020-10-16 github

I believe this is doitsujin/dxvk#1726.

Aaeikum 2020-10-16 github

I should have said - in the meantime, you can work around it by forcing wined3d with this game. E.g. put PROTON_USE_WINED3D=1 %command% in the game's launch options. Or use an older Proton version if it was working for you.

Ffelisucoibi 2020-10-16 github

I have no problems with latest proton but porbably because i deleted video files so no video playback bug possible.

Tthaewrapt 2020-10-17 github

Seems like the same regression as with some other titles: https://github.com/ValveSoftware/Proton/issues/291#issuecomment-711092689

Vvlad88sv 2020-10-20 github

Same issue for me, works great with version 5.0-9

The workaround by @aeikum works, the SMPTE color bars as depicted by @legluondunet are shown but only for 5 seconds or less.

Aalasky17 2020-10-21 github

@thaewrapt To avoid confusion, this is not the same problem as https://github.com/ValveSoftware/Proton/issues/291#issuecomment-711092689 . I'll keep discussion about that regression on those GTA issues :)

Tthaewrapt 2020-10-21 github

@thaewrapt To avoid confusion, this is not the same problem as https://github.com/ValveSoftware/Proton/issues/291#issuecomment-711092689 . I'll keep discussion about that regression on those GTA issues :)

Yeah, I reported similar behavior, it's always possible the bug itself is different.

Ssulix 2020-10-29 github

I'm having problems under Proton 5.13 even if I use WineD3D instead of DXVK — whenever I try to host/join a multiplayer game, it crashes. 5.0-9 still works fine.

This appears to actually be due to the textbox control: Age of Empires uses a Windows "edit" control in a child window, and something here is crashing Age of Empires. It seems to be the textbox, as opening the chat window in a single-player game also crashes the game. Looking at the WINEDEBUG=+relay logs suggests that it's crashing near some CallWindowProc() calls with EM_GETSEL (which is used to read the selected text in one of these edit controls), but I haven't been able to get a clean stacktrace (though user32.dll does seem to feature pretty prominently in what I have found, which at least doesn't contradict the textbox theory).

Has anyone else seen a crash with the chat box or multiplayer lobby in 5.13?

Aalasky17 2020-10-29 github

@sulix I'm seeing the same crashes. Looks like this is a regression. Thanks for reporting and doing some digging!

Ssulix 2020-10-30 github

Hmm… I dug into this a bit further, and for whatever reason, it seems to be related to drawing the flashing cursor (caret) in the chat textbox.

If I disable (replace with return) CARET_DisplatCaret() in dlls/user32/caret.c and rebuild Proton, Age of Empires II seems to work pretty well (apart from the missing caret, and other existing bugs, of course).

As to why this is broken: there I have no clue. It seems to be something to do with the BitBlt() call, but I haven't had a chance to look further into it. There don't seem to be any recent changes in wine/Proton that obviously would affect this, and for whatever reason I can't get the debug symbols in Wine's DLLs to load.

Tthaewrapt 2020-10-30 github

@sulix Btw, does it crash if you Alt+Tab when using WineD3D?

Ssulix 2020-10-31 github

Hmm… While I hadn't noticed any issues with Alt+Tab before (under KDE/KWin 5.19.5, on a dual-monitor setup), I played around a little and was able to reproduce a crash. It doesn't happen unless the game is fullscreen, I Alt+Tab away, then I minimise and restore from the taskbar. (Just Alt+Tab by itself doesn't seem to do it, but sometimes switching between fullscreen and windowed mode does.)

It does definitely look like a wined3d issue though: the crash comes after a bunch of wined3d errors in the log (which seem to stem from a call to IDirect3DSurface9::GetDC()):

00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_VALUE error generated. Program handle does not refer to an object generated by OpenGL.".
00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_VALUE error generated. <program> handle does not refer to an object generated by OpenGL.".
00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_OPERATION error generated. Buffer name does not refer to an buffer object generated by OpenGL.".
00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_OPERATION error generated. Buffer name does not refer to an buffer object generated by OpenGL.".
00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_OPERATION error generated. Texture name does not refer to a texture object generated by OpenGL.".
00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_VALUE error generated. Program handle does not refer to an object generated by OpenGL.".
00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_VALUE error generated. <program> handle does not refer to an object generated by OpenGL.".
00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_OPERATION error generated. VAO names must be generated with glGenVertexArrays before they can be bound or used.".
00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_OPERATION error generated. Buffer name does not refer to an buffer object generated by OpenGL.".
00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_VALUE error generated. Invalid offset and/or size.".
00dc:err:d3d:wined3d_debug_callback 0x2dfe960: "GL_INVALID_OPERATION error generated. Buffer name does not refer to an buffer object generated by OpenGL.".

For the most part it's working fine for me anyway — even with Alt+Tab most of the time (which shouldn't trigger the old scrolling bug in 5.13, which is nice).

Tthaewrapt 2020-10-31 github

For me it crashed when I tried to Alt+Tab on DXVK/5.13. Seems a different case though, you're right.

Ssulix 2020-11-01 github

It's possible the game and/or something else in wine is doing something a bit weirder than usual which affects both DXVK and WineD3D. I'm definitely not confident I know what's going on with the Alt+Tab issue.

That being said, I've thus far been unable to reproduce it after setting the following registry option:

[Software\\Wine\\Direct3D]
"MaxVersionGL"=dword:00030000

This forces WineD3D to use an older version of OpenGL (3.0), and therefore use the compatibility profile (which allows all of the things which cause the errors in that debug log when run against the core profile).

I also found that I was able to move the issue from the GetDC() call to elsewhere (and reduce its prevalence somewhat) by disabling csmt (setting "csmt" to 0 in the same registry key). I think it just moves the issue around, though.

Of course, if it's an OpenGL compatibility/core profile issue, as it seems, then that definitely won't help DXVK…

Ssulix 2020-11-10 github

FYI: I tried this with the new 5.13-2 RC, and the issues dont appear to be fixed.

(And, from a quick look through the changes, this is not surprising — it doesn't look like they were trying to fix any of them. Of course, wined3d isn't really supported by Valve for Proton, so the issues with that are only to be expected, I guess.)

Ssulix 2020-11-19 github

Just as a quick note, I tried running this against plain upstream Wine 5.13 (running windows Steam in a 32-bit prefix), and wasn't able to reproduce the textbox crash. So that seems to be proton-specific, though I haven't tried to dig into it further.

Similarly, I also tried running it against Proton GE 5.21, and that worked fine in both DXVK and WineD3D modes. The intro video didn't work (though the sound did), but clicking to skip it brought me to the menu, and from there the game was running well.

I haven't tested this thoroughly yet, but thus far it seems to run okay on those two versions, so these issues seem pretty Proton 5.13-specific.

IImperatorStorm 2020-11-28 github

I have this issue:
https://i.imgur.com/gqunP7U.png
As you can see the text is cropped on the right (look for the gold cost for example). I run the latest proton version (5.0-6) on Arch with i3. I don't have any issue on Ubuntu with Gnome.

If someone struggle with this I figured out you can use protontricks to install fontsmooth=rgb and it solves the issue.

tried this on my system, does not work with proton 5.0-10 (using Arch with KDE Plasma 5)

Ssulix 2020-12-08 github

So, Proton 5.13-3 has a fix for the crash on entering multiplayer lobbies (i.e, the textbox crash). It seems like it was an XRender issue.

With 5.13-3, everything seems to run fine with both DXVK and WineD3D. The actual textbox contents are still not perfect — the width of the text seems to fluctuate a bit — and under DXVK it flickers a lot and is just a black rectangle most of the time. I'm not sure if this is something which will be fixed by some of the child window rendering under Vulkan work being looked at.

Edit: Toggling fullscreen still seems to crash the game under a clean wineprefix with WineD3D, so it's possible some of the Alt+Tab issues are still there. But the textbox stuff is definitely fixed.

Tthaewrapt 2020-12-08 github

Can confirm, video playback related bug (with DXVK) is gone also with 5.13-3 update (DXVK got updated also, I presume?). Though, I don't remember seeing any videos or placeholder (aka TV sample) videos before menu appears.

SSamsagax 2020-12-15 github

It seems to be conflicting reports regarding video playback. In my experience the only Proton that could play intro videos was GE-MF variant, current official Proton never could play the intro videos except when the TV colors screen appeared (sound only, obviously)

Is there any way to make the game completely working? I don complain too much as Multiplayer works flawlessly.

Ssulix 2020-12-22 github

Looking at this again recently: a couple of observations:

  1. Proton Experimental is causing the game to fail to start (it throws up an error "Failed to initialize draw system", which I think is d3d9 related, but haven't looked into yet)
  2. Proton 5.13-4 is working pretty well. Under wined3d, everything (including the video playback) is working perfectly (minus possibly the alt+tab crashes, which I didn't check for). Under DXVK, though, it seems to get "stuck" after the video ends: not rendering anything afterwards.

These were cursory checks (I mostly spent some time trying to get Proton Experimental working, to no avail), rather than a full attempt to debug things, but I'd be curious if anyone has Proton Experimental working. It used to work for me in its first release (if I'm remembering correctly), but a more recent update has definitely broken it here.

Aaeikum 2020-12-22 github

@sulix Thanks for pointing out the Experimental failure. I can also reproduce the same problem. We'll look into it.

Vvlad88sv 2020-12-24 github

Same issue here with experimental as @sulix

image

Can also reproduce what he describes with 5.13-4, but for me is pauses/crashes as soon as I make click on the introductory video

image

Aaeikum 2020-12-28 github

The video hang bug is tracked at https://github.com/doitsujin/dxvk/issues/1726 .

Aaeikum 2021-01-07 github

The crash problem on the experimental branch should be fixed with today's release.

Tthaewrapt 2021-01-08 github

The crash problem on the experimental branch should be fixed with today's release.

Can confirm, saw the whole video (it's somewhat laggy but I guess it's as intended? I'll check if I can play the same video with some player and compare), then the black screen instead of a game menu (the menu cursor is visible ok, though).

Ppurifyyourhome 2021-01-16 github

The crash problem on the experimental branch should be fixed with today's release.

Can confirm, saw the whole video (it's somewhat laggy but I guess it's as intended? I'll check if I can play the same video with some player and compare), then the black screen instead of a game menu (the menu cursor is visible ok, though).

Very similar problem here running Fedora 33, XFCE, kernel 5.10 and Proton Experimental. I see the video play using Proton Experimental and then the last frame holds on the screen while I hear the menu background sounds play (and see the cursor changing as I roll over where the menu items would be - though I cannot see them through the last frame.)

Kkaynav 2021-01-18 github

I have no problem getting the game running perfectly. All the protons cause the keyboard shortcuts to not work. Any Ideas? thanks.
Edit: I figuired it out. ALT tab and select the game again. Something like that and it worked! YES

Aaeikum 2021-01-18 github

The problem of the main menu not rendering is tracked at doitsujin/dxvk#1726 . You can work around it for now by using PROTON_USE_WINED3D or an older Proton version.

Ppurifyyourhome 2021-01-20 github

Thanks for the continued probing of this problem. Running Fedora 33 Workstation XFCE w/Intel iGPU. Setting "Force the use of a specific Steam Play compatibility tool" in the game Properties>Compatibility dialog as Proton 5.0-10 worked great for me. I couldn't get the ALT-TAB thing trick to work using any later version of Proton, nor did entering "PROTON_USE_WIND3D" in the game Properties > General tab > Launch Options box from @aeikum's suggestion but perhaps I put it in the wrong place.

Tthaewrapt 2021-02-21 github

Still unplayable with Experimental-5.13-20210217 and in fact became unplayable in 5.13-6 as opposed to 5.13-5 (DXVK issue linked before by @aeikum). Haven't tried WineD3D but I guess it still works.

LLevitanus 2021-03-29 github
Kkisak-valve maintainer 2021-03-29 github

Hello @Levitanus, the nVidia 390 driver series is older than the support cutoff for Proton. Additionally, your video card is part of nVidia's Fermi generation of video cards, and the 390 driver series is the last series that supported that generation, so you would be worse off trying a newer driver series. Proton uses DXVK to translate DirectX 9 / 10 / 11 to Vulkan and there is no video driver for that card that provides Vulkan support.

Unfortunately, this makes your hardware unsupported by Proton. That said, you could try adding PROTON_USE_WINED3D=1 %command% to the game's launch options to tell Proton to use wine's DirectX to OpenGL render path instead of DXVK, but this runtime option is expected to come with a significant performance penalty and is not considered supported.

LLevitanus 2021-03-29 github

@kisak-valve, thank You for complete answer! I'll try.
But for me it is still strange that I'm not able to launch the game released the same time with my graphics card)

Tthaewrapt 2021-04-06 github

Still unplayable with Experimental-5.13-20210217 and in fact became unplayable in 5.13-6 as opposed to 5.13-5 (DXVK issue linked before by @aeikum). Haven't tried WineD3D but I guess it still works.

Playable at least for me (both video and menu are working) with a current Proton Experimental (experimental-6.3-20210402).

Hh4kuna 2021-04-16 github

I confirm with experimental Proton 6.3 is playable. I updated few minutes ago.

EEndle 2021-05-13 github

I tried to run this game with Proton 6.3-3
The game quits silently a few seconds later
steam-221380.log
system_info.txt

I can play AoE2 with 5.13-6 and PROTON_USE_WINED3D=1, as kisak-valve https://github.com/ValveSoftware/Proton/issues/72#issuecomment-809349776 suggested

Hh4kuna 2021-05-16 github

For this moment after update, by experimental proton is not playable... :( I cannot play with 5.13-6 like previous post.

Tthaewrapt 2021-05-16 github

Can confirm, again became unplayable with both 6.3-4 (intro videos play, then menu music is starting to play without redraw of the screen for a menu with the last played video frame freezing on screen) and current Experimental, 6.3-20210514 (black screen during video playback with intro's sound playing, then no menu sound and the same black screen upon either video completion or keypress to skip the rest of the intro).

Ssulix 2021-05-17 github

For Proton Experimental at least, I don't get those issues if I set PROTON_USE_WINED3D=1 (though I can reproduce them with DXVK). With WineD3D, the intro movies play correctly, and the menu (and game) display and are usable.

Otherwise, the only issue I've noticed (but not investigated properly) is that sometimes the game's custom mouse cursor isn't being used, which doesn't render the game unplayable.

Hh4kuna 2021-05-17 github

I made video.
In first part is proton experimental, where you can see, the game start to black screen, processor working but nothing happen.
Second part is with proton 6, where freeze intro.
Third part is proton 6 with attribute PROTON_USE_WINED3D=1 but nothing change.

Video

Ssulix 2021-05-17 github

Hmm… I double checked with Proton 6.3, and had a similar issue with DXVK: the game doesn't render anything after the video. (Sound works, and you can navigate the menu based on the sound and changing mouse cursors, though it's not playable without graphics.) This seems to be the same as the issue with 5.13, which is to do with Vulkan not supporting multiple swapchains on the same window: https://github.com/doitsujin/dxvk/issues/1726

It does work for me with WineD3D, though. I think from your video you might not be setting PROTON_USE_WINED3D correctly: it's an environment variable, so you'll need to append %command%, so the resulting Launch Options should look something like

PROTON_USE_WINED3D=1 %command%

(I also use the OLD_SCHOOL argument — after %command% — to get the classic fonts, but I don't think that's affecting this.)

The other option is to use the SKIPINTRO argument (again, after %command% if you mix it with environment variables, though it'll work by itself as well). This skips the intro entirely, and the game works fine with both DXVK and WineD3D, on both 6.3 and Experimental.

The mouse cursor issue only seems to exist with Experimental, and is a bit bizarre. The mouse stays as the system default arrow cursor on startup, when it should change to the AoE custom one. It will become the correct cursor after Alt+Tabbing away from and back to the game. It will, interestingly, revert to the system arrow cursor if you Alt+Tab away and back again, then press Alt+F4 to close the game (which brings up an in-game "are you sure" dialog box), and then move the mouse (possibly over that dialog, maybe up-and-to-the-left more generally, or maybe after some amount of movement.) I'm guessing this is something to do with the Experimental branch's work to avoid calling on wineserver for window-management-y things, maybe something like this: https://github.com/ValveSoftware/wine/commit/ec72c4af3c7bf55d91e7483ac3792d3e8d70f345

Hh4kuna 2021-05-19 github

You have right. I used the argumet like PROTON_USE_WINED3D=1 %command% and game works. Thank you

But better solution was without arguments like before.

NNerosTie 2021-05-19 github

If there is an issue with DXVK, please report it.

https://github.com/doitsujin/dxvk/issues

Aaeikum 2021-05-19 github
BBNieuwenhuizen 2021-06-25 github

I had the additional issue (with wined3d since otherwise I run into the issue above) that when alt-tabbing and back while ingame the screen turns black as well after like half a second.

Ffelisucoibi 2021-12-07 github

100% WORKING wqith proton 6.3.8
INTRO VIDEO
MULTIPLAYER
EVERYTHING withoutmodifications, comgratulations!

YYellowOnion 2022-01-08 github

The stuck scrolling bug seems to be back.

Ssulix 2022-01-08 github

Ah, this seems to be a bug in Proton Experimental's use of shared memory for the GetKeyboardState() call: if the fast path is used, the key values are no-longer masked off:
https://github.com/ValveSoftware/wine/commit/d2cbafab08fc0d6de0faed9451309908287068eb#

It should still work in Proton 6.3.

I haven't had a chance to test it yet (and the experimental_6.3 branch isn't even building for me due to a missing field in struct input_shared_memory, so it probably wouldn't work out-of-the-box anyway), but here's a patch which should fix it:

From 38ac7aa57a0314988a85dbb42b109f1c6b7f7b95 Mon Sep 17 00:00:00 2001
From: David Gow <[email protected]>
Date: Sat, 8 Jan 2022 15:00:01 +0800
Subject: [PATCH] user32: Mask off the unspecified bits in GetKeyboardState()

When using shared memory for the keyboard state (as added in "user32: Use input shared memory in GetKeyboardState." (d2cbafab08)), we no-longer mask off the unused bits, which causes the map to scroll uncontrollably in some situations in the Age of Empires series.

This is a regression of bug:
https://bugs.winehq.org/show_bug.cgi?id=30814

An analysis of the bug can be found:
https://davidgow.net/hacks/aoescroll.html

Fixes: d2cbafab08 ("user32: Use input shared memory in GetKeyboardState.")
Signed-off-by: David Gow <[email protected]>
---
 dlls/user32/input.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dlls/user32/input.c b/dlls/user32/input.c
index cabc7f23ff0..bb80dbdf7cf 100644
--- a/dlls/user32/input.c
+++ b/dlls/user32/input.c
@@ -567,7 +567,11 @@ BOOL WINAPI DECLSPEC_HOTPATCH GetKeyboardState( LPBYTE state )
     else SHARED_READ_BEGIN( &shared->seq )
     {
         if (!shared->created) skip = FALSE; /* server needs to create the queue */
-        else memcpy( state, (const void *)shared->keystate, 256 );
+        else
+        {
+            memcpy( state, (const void *)shared->keystate, 256 );
+            for (i = 0; i < 256; i++) state[i] &= 0x81;
+        }
     }
     SHARED_READ_END( &shared->seq );
 
-- 
2.32.0

In the meantime, I've written up a more detailed analysis of this bug on my website, which has instructions for patching the game executable to work around the issue, as well as links to other workarounds.

Rrbernon 2022-01-11 github

Thanks @sulix, nice find.

Wwerdahias 2022-02-04 github

I have a 4k monitor. AoE2 runs fine with Proton. My issue is that due to the resolution the UI is too small (see here ). The fix is to set some windows compatibility settings like described in the link. How can I do this in proton? Is there any launch command I can apply?

Zzaggynl 2022-04-21 github

On Steam Deck, in both Desktop and Game Mode, if I press the File Name field to save a game the on screen keyboard briefly appears then disappears.
If I start the OSK with Steam+X, then use tab to navigate to the File Name field, the keyboard also disappears.

Wwerdahias 2022-04-26 github

I have a 4k monitor. AoE2 runs fine with Proton. My issue is that due to the resolution the UI is too small (see here ). The fix is to set some windows compatibility settings like described in the link. How can I do this in proton? Is there any launch command I can apply?

Here a screenshot to illustrate my problem.The stats on the right are also cut off.

Wwerdahias 2022-04-26 github

screenshot

Jjr1991-g 2022-10-05 github

To fix the text bug toggle vsync off and on and it just works. You can do it ingame aswell. Tested with Proton 7.0-4 and latest GE.
Short video here
Combine this with the davidgow fix and you'll have a perfect time playing this. No more launch flags.

Bbradgy 2023-05-06 github

Just reinstalled after the noclip documentary and found I wasn't able to play: Crashes after the okaying the Validating Subscription window, before the intro movie plays. Not sure if regression or issue with my setup.
Arch, i3 8100 RX580, Gnome Wayland, Proton Experimental
steam-221380.log

Ssulix 2023-05-06 github

Still seems to work here with Proton Experimental (KDE/nVidia/Wayland).

That being said, it may be worth trying out an older Proton version, the SKIPINTRO command-line argument, and/or the PROTON_USE_WINED3D=1 %command% option. All of those have helped with various issues in the past, and the intro movie in particular is a constant source of problems.

Bbradgy 2023-05-07 github

Thanks David, tried both of those already and no luck with either unfortunately. Going to chalk it up to some weirdness on my setup's end that will probably resolve itself at some point. Will update here if I manage to sort it out in the meantime.

edit: user error, of course. I had the nointro command entered incorrectly. These are the exact launch options that get it working for me with proton experimental at the moment:
PROTON_USE_WINED3D=1 %command% SKIPINTRO