Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Hitman 2 (863550)

Open sergio91pt opened this issue 7 years ago • 105 comments

Compatibility Report

  • Name of the game with compatibility issues: Hitman 2
  • Steam AppID of the game: 863550

System Information

  • GPU: GTX 1050
  • Driver/LLVM version: 4.6.0 NVIDIA 415.23
  • Kernel version: 4.15.0-42-generic
  • Link to full system information report as Gist: https://gist.github.com/sergio91pt/306e805f428092cca14e8fbd0c5f2a1e
  • Proton version: 3.16-6 Beta (also happens in 3.7-8 and 3.16-4)

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

Symptoms

The launcher works but the game crashes a couple seconds after the game launches in fullscreen. The screen is always black when it crashes.

Reproduction

Always reproducible.

Solution

The problem seems to be caused by this bug, related to Nvidia prime/optimus and gdm3 on Ubuntu.

The solution is to run sudo vulkaninfo. It fails without sudo and the command needs to be run again after rebooting.

sergio91pt avatar Dec 22 '18 20:12 sergio91pt

@sergio91pt is your Steam library located on NTFS partition by any chance "Z:\media\sergio\ldata\LinSteam2" ?

nsivov avatar Dec 23 '18 11:12 nsivov

@nsivov No, ext4

/dev/mapper/luks-43b62179-8920-4f09-bbdb-2c7ed7ea4c7f on /media/sergio/ldata type ext4 (rw,nosuid,nodev,relatime,data=ordered,x-gvfs-show)

sergio91pt avatar Dec 23 '18 16:12 sergio91pt

I have a similar issue except no game window appears after clicking the play button on the launcher. steam-863550.log

Edit: I was able to get it running by rolling my RX 580 driver back to Mesa 18.2.2. Seems there was a botched Vulkan extension in Mesa 18.3.0.

nded03 avatar Dec 29 '18 05:12 nded03

Vendor: Intel Open Source Technology Center (0x8086) Device: Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2) (0x3e92) Version: 18.2.2

Works fine for me. Could be a driver issue.

zzhiyi avatar Jan 02 '19 15:01 zzhiyi

System Information

  • GPU: RX 570
  • Driver/LLVM version: Mesa 18.3.2 & LLVM 7.0.1
  • Distro version: Sabayon
  • Link to full system information report as Gist
  • Proton version: 3.16-6

Notes:

  • Runs fine out of the box

ghost avatar Feb 08 '19 22:02 ghost

HITMAN 2 launcher crash with Proton 3.16-6

Issue transferred from https://github.com/ValveSoftware/Proton/issues/2328. @hardware posted on 2019-02-10T14:26:30:

Compatibility Report

  • Name of the game with compatibility issues: HITMAN 2
  • Steam AppID of the game: 863550

System Information

  • GPU: RTX2080
  • Driver/LLVM version: 415.27
  • Kernel version: 4.20.7
  • Link to full system information report : Gist
  • Proton version: 3.16-6

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.

Symptoms

With Proton 3.16-6 beta, the game launcher does not launch at all.

No log files are generated under $HOME/steam-$APPID.log in that case.

If I use Proton 3.16-4, I can launch the game but online mode does not work. If I use Proton 3.7-8, I can launch the game and online connectivity work out of the box.

Reproduction

  1. Switch Proton to 3.16-6
  2. Launch the game
  3. Game Launcher crash

Do you have an idea to find some logs about this issue ?

user_settings.py :


user_settings = { 
    # logs are saved to $HOME/steam-$STEAM_APP_ID.log, overwriting any previous log with that name
    "WINEDEBUG": "+timestamp,+pid,+tid,+seh,+debugstr,+module",

    "DXVK_LOG_LEVEL": "info",

    # Enable DXVK's HUD
    "DXVK_HUD": "fps,devinfo,frametimes,memory,version"

    # Use gl-based wined3d for d3d11 and d3d10 instead of vulkan-based dxvk
    # "PROTON_USE_WINED3D": "1",

    # Disable d3d11 entirely
    # "PROTON_NO_D3D11": "1",

    # Disable in-process synchronization primitives
    # "PROTON_NO_ESYNC": "1",
}

Game's launch options :

PROTON_LOG=1 %command%

kisak-valve avatar Feb 10 '19 14:02 kisak-valve

I found some logs in /tmp/dumps.

So with Proton 3.16-6 beta :

Loaded Config for Local Override Path for App ID 863550: /home/hardware/.local/share/Steam//controller_base/empty.vdf
[863550]Non-Steam Controller Configs Enabled: 1
GameAction [AppID 863550, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
Cannot open assembly '/home/hardware/.local/share/Steam/legacycompat/iscriptevaluator.exe': File does not contain a valid CIL image.
sh: /data/steam/steamapps/common/HITMAN2: Is a directory
sh: /home/hardware/.local/share/Steam/steamapps/common/Steamworks Shared: Is a directory
[2019-02-10 16:43:50] Startup - updater built Feb  2 2019 17:21:33
[2019-02-10 16:43:50] Vérification de l'installation...
[2019-02-10 16:43:50] 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_20190210164419_25.dmp[10401]: Uploading dump (out-of-process)
/tmp/dumps/assert_20190210164419_25.dmp
Cannot open assembly '/home/hardware/.local/share/Steam/legacycompat/iscriptevaluator.exe': File does not contain a valid CIL image.
installscript_posix.cpp (418) : Assertion Failed: Standalone evaluator returned error code for app 863550
installscript_posix.cpp (418) : Assertion Failed: Standalone evaluator returned error code for app 863550
GameAction [AppID 863550, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 863550, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 863550, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 863550, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 863550, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
Game update: AppID 863550 "", ProcID 10405, IP 0.0.0.0:0
Loaded Config for Local Override Path for App ID 863550: /home/hardware/.local/share/Steam//controller_base/empty.vdf
>>> Adding process 10405 for game ID 863550
GameAction [AppID 863550, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/hardware/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/hardware/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Cannot open assembly '/data/steam/steamapps/common/HITMAN2/Launcher.exe': File does not contain a valid CIL image.
GameAction [AppID 863550, ActionID 1] : LaunchApp changed task to Completed with ""
Game removed: AppID 863550 "", ProcID 10405 
>>> Adding process 10406 for game ID 863550
assert_20190210164419_25.dmp[10401]: Finished uploading minidump (out-of-process): success = yes
assert_20190210164419_25.dmp[10401]: response: CrashID=bp-6af94246-d0ba-4293-89e6-44f152190210
assert_20190210164419_25.dmp[10401]: file ''/tmp/dumps/assert_20190210164419_25.dmp'', upload yes: ''CrashID=bp-6af94246-d0ba-4293-89e6-44f152190210''

Issue seems to be here :

GameAction [AppID 863550, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
Cannot open assembly '/home/hardware/.local/share/Steam/legacycompat/iscriptevaluator.exe': File does not contain a valid CIL image.

Similar issue : https://github.com/ValveSoftware/Proton/issues/2295 @ProtonIssuesTempAcct

Dump : assert_20190210164419_25.zip

hardware avatar Feb 10 '19 15:02 hardware

Proton 3.16-6 Beta : "File does not contain a valid CIL image" error. Proton 3.16-4 : No error Proton 3.7-8 Beta : "File does not contain a valid CIL image" error. Proton 3.7-8 : No error

This issue seems related to the beta versions of Proton with my computer.

hardware avatar Feb 10 '19 16:02 hardware

@hardware have you tried re-downloading the versions that are failing? You can delete the folder at .steam/steam/steamapps/common/Proton 3.16 Beta and then verify the integrity of any game while the Beta version is selected to trigger it to re-download.

alasky17 avatar Feb 21 '19 16:02 alasky17

Hitman 2 crashes unless i add that lauch option:

LANG=C %command%

After that it boots but starts as a minimized window ; out of focus. A simple alt tabbing is necessary to see game window.

3.16-7 Beta

Leopard1907 avatar Mar 01 '19 15:03 Leopard1907

which version of Hitman you have installed? try to download the patch in it's local folder, and check your GPU settings and lower the resolution.

peterson432 avatar Mar 30 '19 08:03 peterson432

The problem with the mouse in Hitman 2

Issue transferred from https://github.com/ValveSoftware/SteamOS/issues/680. @vladislavyuzbekov posted on 2019-06-18T16:20:22:

Your system information

  • Steam client version: 1560817063
  • SteamOS version: 2.0:1:2.190
  • Opted into Steam client beta?: [Yes/No] Yes
  • Opted into SteamOS beta?: [Yes/No] Yes
  • Have you checked for updates in Settings > System?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen.

The wireless mouse does not work in the game, but it works if you hold the mouse button down.


@kisak-valve commented on 2019-06-18T16:47:02:

~Hello @vladislavyuzbekov, this issue should also be mentioned to the game's dev(s).~


@dubigrasu commented on 2019-06-18T17:56:48:

@vladislavyuzbekov That's something that unfortunately happens frequently with Proton titles played through "steamcompmgr", which is SteamOS's window manager.

kisak-valve avatar Jun 18 '19 18:06 kisak-valve

  • OS: Arch Linux
  • GPU: NVIDIA GeForce RTX 2080
  • Driver/LLVM version: Nvidia 430.26
  • Kernel version: 4.19.57
  • Proton version: 4.2-9

I don't know where to report this since I am not sure if it's a Proton issue. I bought the game and played for over 15 hours. I am not getting any card drops. I am stuck at "4 card drops remaining".

Played the game using these two ways:

  1. No launch option
  2. Launch option set to -skip_launcher

kuroko143 avatar Jul 06 '19 15:07 kuroko143

Hitman 2: PS4 controller doesn't work with Proton 4.11

Issue transferred from https://github.com/ValveSoftware/Proton/issues/2963. @skeevy420 posted on 2019-08-07T21:05:51:

Compatibility Report

  • Hitman 2
  • 863550

System Information

  • GPU: MSI RX 580 4GB Armor
  • Driver/LLVM version: Mesa 19.1.99 (mesa-aco)/LLVM 9
  • Kernel version: 5.2.4 to 5.2.6; 4.19.61, 4.19.62; 5.2.5 & .6 are fsync enabled.
  • My system information report
  • Proton version: 4.11

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.

Including the log from 4.11 where it doesn't work and the log from 4.2 where it does work.

4.11 -- steam-863550-4.11.log

4.2 -- steam-863550-4.2.log

Symptoms

PS4 controller doesn't work with Hitman 2. Wireless or wired makes no difference and both have the same results.

Reproduction

Turn on a PS4 controller and try to play the game. Controller doesn't work. Controller settings in menu are inaccessible. Revert to Proton 4.2 and it works perfectly.

Enabling PS4 controller configuration in Steam's controller settings leaves the PS4 controller in desktop mode when in-game. Allows accessing controller settings in-game but nothing there is helpful to this issue. Enabling that option in Steam was not necessary for 4.2 nor is it necessary for other games I've played with Proton 4.11.

Additional Notes

Have tried: Mesa 19.1.3 stable with llvm 8 mesa-git & mesa-aco both with llvm 9 & llvm 10 five different kernel versions; two with fsync (listed above) Proton builds with different patches from Tk-Glitch unplugging my keyboard since I saw that in another controller issue using xinput with Proton 4.11

All have the same results.

I also deleted compatdata/863550 when changing Proton versions and when trying different things to try to figure this out.


@TacoDeBoss commented on 2019-08-08T21:16:29:

I can replicate with my Xbox One S pad - simply go to any game's Properties and enable Steam Input Per Game Setting to "Forced On" and watch as your controller completely ceases to work.


@skeevy420 commented on 2019-08-08T21:53:45:

Just tested with Proton 4.11-2 and it has the same results.

kisak-valve avatar Aug 12 '19 18:08 kisak-valve

Thanks for reporting the controller regression. I can reproduce this and it should be fixed in an upcoming release.

aeikum avatar Aug 13 '19 19:08 aeikum

Proton 4.11-3 contains a major change to how we report controllers to games. This should fix HITMAN 2's PS4 controller regression. Please retest.

aeikum avatar Aug 27 '19 12:08 aeikum

Well, after testing, I can say that it's partially resolved. It only works after enabling both Steam Overlay and Playstation Configuration Support. Once those are enabled, it works great and I had a great time playing it with FSync and ACO last night. Thanks.

I say partially because with the Proton 4.2 series neither of those options were a hard requirement to get my DS4 to work. It just worked regardless of what options I set within Steam.

skeevy420 avatar Aug 28 '19 12:08 skeevy420

Unrelated to the above, there's an issue when VSync is enabled in-game. Both mouse and controller input for looking around have issues and this effects every Proton release from 4.2-1 until now. I've never tried Hitman 2 with earlier than 4.2-1.

When VSync is enabled in-game, it's almost impossible to look around with a mouse because it goes wild and tries to look in 32 directions when moving. With a controller, it gives the appearance of choppy/laggy FPS and that the game may be running slow as well as the stick "gets stuck" in one direction and will keep trying to look in that direction until I jiggle the right stick. Setting the in-game FPS/Vsync method from 60FPS to 30FPS has no effect on that nor does enabling/disabling vsync in xorg.conf, KWin, or via libstrangle have any effect there.

It runs perfectly with the above settings to get my DS4 working and the in-game VSync disabled.

This may be related to #2895

skeevy420 avatar Aug 28 '19 13:08 skeevy420

HITMAN 2 is now broken as of the latest update, fails to detect the GPU properly and claims it doesn't support DX11.

Proton Log: https://gist.github.com/LiamDawe/e619b8fb30ed8c41c3248063fa44cc5e System info: https://gist.github.com/LiamDawe/1c47d164934d9d87508cde18f60da66c

sirsquidfly avatar Sep 24 '19 18:09 sirsquidfly

Hello @LiamDawe, what is the last known working Proton version for you and this game?

kisak-valve avatar Sep 24 '19 18:09 kisak-valve