ValveSoftware / Proton

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

Age of Empires 2 (2013) (221380) #72

Open sandsmark opened 6 years ago

sandsmark commented 6 years ago

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.

legluondunet commented 5 years ago

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.

nsivov commented 5 years ago

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

legluondunet commented 5 years ago

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

felisucoibi commented 5 years ago

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

loligans commented 5 years ago

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.

Flaburgan commented 5 years ago

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

hogar1977 commented 5 years ago

@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...

Flaburgan commented 5 years ago

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.

hogar1977 commented 5 years ago

@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.

Flaburgan commented 5 years ago

I use Linux Mint 19 with cinnamon.

hogar1977 commented 5 years ago

@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...

zzeiSt commented 5 years ago

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?

OMTDesign commented 5 years ago

Compatibility Report

System Information

I confirm:

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

kisak-valve commented 5 years ago

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

Flaburgan commented 5 years ago

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.

felisucoibi commented 5 years ago

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

DerSaidin commented 5 years ago

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).

Flaburgan commented 5 years ago

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

DerSaidin commented 5 years ago
$ 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!

Flaburgan commented 5 years ago

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

DerSaidin commented 5 years ago

Proton is 3.16-6 Beta

niteya-shah commented 5 years ago

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

Flaburgan commented 5 years ago

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.

felisucoibi commented 5 years ago

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....

niteya-shah commented 5 years ago

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

puzzlepaint commented 5 years ago

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.

puzzlepaint commented 5 years ago

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.

niteya-shah commented 5 years ago

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

puzzlepaint commented 5 years ago

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

niteya-shah commented 5 years ago

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

legluondunet commented 5 years ago

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

felisucoibi commented 5 years ago

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

felisucoibi commented 5 years ago

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

zzeiSt commented 5 years ago

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

hogar1977 commented 5 years ago

@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...

felisucoibi commented 5 years ago

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...

hogar1977 commented 5 years ago

@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?

hogar1977 commented 5 years ago

@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 :(

felisucoibi commented 5 years ago

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.

JMoerman commented 5 years ago

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

felisucoibi commented 5 years ago

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.

hogar1977 commented 5 years ago

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 😆

zzeiSt commented 5 years ago

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.

JMoerman commented 5 years ago

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.

hogar1977 commented 5 years ago

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

SpartanJ commented 5 years ago

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?

avindra commented 5 years ago

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.

Flaburgan commented 5 years ago

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

hogar1977 commented 5 years ago

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.

basxto commented 5 years ago

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.