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.
Launcher.exe requires mfc140u.dll to run. Dropping it in game directory fixes the issue.
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:
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.
Works fine for me, only thing I did was renaming the "AoK HD.exe" to "Launcher.exe".
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.
Another bug for this game: cinematics do not play, could be related to issue #1464.
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.
@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?
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.
@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...
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...).
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.
After swapping out Launcher.exe and replacing it with AoK HD.exe, the game runs perfectly on my system with the following issues:
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.
@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).
@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.
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
(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)
@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...
@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?
@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.
@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 :)
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.
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.
@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...
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
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.
Unfortunately, Valve has no control over that. That's an option that would have to be added by the developer...
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.
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.
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.
the wine log, I posted only the launcher log:
https://pastebin.com/nP7eZyjS
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.
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.
@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.
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.
@legluondunet I think I was using a 32bits prefix, but I'm sure it worked well with wine staging 3.13 and probably before.
as I said, I'm fairly certain the missing text is very probably because you're missing a font. Flaburgan probably has that font.
@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
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):
cabextract
from your package manager (e.g. sudo apt install cabextract
).bash
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
Solution is : https://github.com/simons-public/protonfixes/
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.
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.
Fix is included in 3.16-4, mfc140u.dll should now be installed correctly.
Fonts in launcher fixed too with 3.15-4!!!!
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.
@felisucoibi could you report this as a new issue? (assuming it works correctly on Windows)
@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...
My point was that it's not about launcher anymore. Thanks for the new report. Can we close this one as resolved?
yes, in my tests
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.
@legluondunet oh, I didn't know about that. @kisak-valve sorry for the noise.
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
True, cinematics never worked so i got used to it, so cinematics, and the font flickering, are the last two bugs missing for aeo2
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.
I forget to mention that clicking "Invite" in the multiplayer game screen doesn't work.
@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...
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.
@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.
I use Linux Mint 19 with cinnamon.
@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...
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?
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.
Play a game and then alt-tab out of it.
Example video:
https://mega.nz/#!wZBl1YbB!ZpIREQJGMiB2L6rGGWvcJc6VcHjpwewRAgYkfBxWwpo
Alt-tab scrolling issue is possibly related to https://bugs.winehq.org/show_bug.cgi?id=30814.
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.
the bug of alt tab and infinite scrolling happens to me sometimes, don't know if is a windows bug too.
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:
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).
I have the same graphic card than you and have no problem. Can you please try to update Mesa to 18.2?
$ 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!
@DerSaidin also, bump the proton version used in steam to at least 3.16. You should not need to manually switch the files.
Proton is 3.16-6 Beta
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
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.
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....
I just updated the kernel to 4.19 , and still it doesnt work . Any ideas as to why ?
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.
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.
any update on this error? I still cant launch the game. I feel like asking for a refund.
Have you tried re-installing the game? I think that this eventually fixed it for me on both affected systems.
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
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
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.ziphttps://gist.github.com/legluondunet/8570a65372c3f7b9fea9c365c449cc59
Working with proton 4.2 perfect. (with the 2 problems of not video loading and blinking text area.
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
@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:
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...
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...
@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?
@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 :(
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.
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).
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 tosteamapps/common/Proton 4.2/
and extract proton_dist.tar.g toProton 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.
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 😆
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.
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.
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
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?
The launcher seems to render incorrectly using two windows (using Proton 4.2)
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.
I don't have that bug, what's your config?
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.
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.
@basxto yes this happens using the i3 tiling WM (i3-gaps specifically)
@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.
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).
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
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.
@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...
@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.
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?
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
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....
Hello, tested with proton 5.0.
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.
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.
My AMD RX5700 also seems to need PROTON_USE_WINED3D=1
. Thanks for the hint.
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.
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:
It just shows the launcher, I click play and the game stops.
Open the game, click the start button.
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.
Thanks! Installing vulkan-intel
and lib-vulkan-intel
solved the issue.
any news with the font issue?
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.
Personally the game doesn't launch at all with last proton, I use proton 4.11 without problems.
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.
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.
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.
@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
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.
@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.
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
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.
Hi, @kisak-valve!
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!
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.
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.
@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).
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:
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).
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
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.
I launched AOE II HD this morning with last proton version 5.13 and this is the result:
I can only obtain this on screen and I can hear audio, but nothing more.
I believe this is doitsujin/dxvk#1726.
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.
I have no problems with latest proton but porbably because i deleted video files so no video playback bug possible.
Seems like the same regression as with some other titles: https://github.com/ValveSoftware/Proton/issues/291#issuecomment-711092689
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.
@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 :)
@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.
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?
@sulix I'm seeing the same crashes. Looks like this is a regression. Thanks for reporting and doing some digging!
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.
@sulix Btw, does it crash if you Alt+Tab when using WineD3D?
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_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_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).
For me it crashed when I tried to Alt+Tab on DXVK/5.13. Seems a different case though, you're right.
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:
In HCKU:
[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…
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.)
Most helpful comment
Launcher.exe requires mfc140u.dll to run. Dropping it in game directory fixes the issue.