ValveSoftware / Proton

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

A Hat In Time (253230) #173

Open NanoSector opened 6 years ago

NanoSector commented 6 years ago

When installing this game via Steam it seems to work nearly perfectly apart from a few occasional graphical and sound glitches (most notably the sound effects in Mafia Town are broken). Controller support is better than in vanilla/staging Wine, using an Xbox 360 controller works. No additional tweaks were needed, framerate in the Hub is 120+ FPS, in in game areas it drops to around 60/70 FPS.

EDIT: The audio issues might be caused by https://github.com/ValveSoftware/Proton/issues/54.

leosilvapb commented 6 years ago

How did you install Fedora 28? for me the following error appears: Traceback (most recent call last):    File "./build-runtime.py", line 13, in      from debian import deb822 ImportError: No module named debian

NanoSector commented 6 years ago

I installed the Steam package from rpmfusion and switched it to the Beta. That's pretty much all, it instantly worked for me.

leosilvapb commented 6 years ago

thanks, it worked here after reinstalling steam

E100Beta commented 6 years ago

Installing xact didn't fix sound for me for some reason. On the contrary, the game started crashing on launch. Couldn't figure out why. Aside from sound - yeah, game works pretty well. OS is Archlinux.

NanoSector commented 6 years ago

Do you perhaps have any logs from Wine/Proton?

ghost commented 6 years ago

@E100Beta Are you using steam-native or steam-runtime? Whichever it is, try the other one. Things were crashing for me a lot with steam-runtime but they run great with steam-native.

NanoSector commented 6 years ago

I believe I was using the Steam runtime as well in my tests. Will double check when I get home later.

siramok commented 6 years ago

Game installs and runs in a playable but imperfect state, IMO it's not yet ready to be whitelisted.

In the hub I sometimes get crackling audio that quickly goes away on it's own. In a stage, the music volume is either really loud or dialogue is very quiet, but either way, dialogue can barely be made out over the music. Adjusting the volume per the in-game sliders seems to have no effect.

Act 1 and 2 of Chapter 1 has minor graphical glitches, but nothing too distracting. In Act 3 of Chapter 1 however, the whole screen becomes white when the camera is moved in and out of certain positions (I'm thinking it has to do with light sources?). As you traverse the level, your screen will constantly flash white and it's very annoying.

Overall performance is pretty good while using the "standard" graphics preset.

NanoSector commented 6 years ago

I do not share that same experience. The minor graphical glitches I experience are almost negligible (in the scale of a texture sometimes being a bit fuzzy) and the sound issues you describe can be fixed by installing xact, although I haven't had the crackling audio issue (yet).

siramok commented 6 years ago

I installed xact per your recommendation: crackling only happens for a brief moment during the chiming sound effect that plays when entering the hub. Sound sliders in the settings menu are still broken, but I concede that dialogue sounds more balanced with music/effects.

Having playing for two hours, it seems that Mafia Town is the only area to be plagued with any graphical glitches (negligible for the most part, yes). The later stages don't seem to have any graphical glitches at all.

ghost commented 6 years ago

A Hat in Time isn't centered; it's screen is moved slightly offscreen to the bottom right. Also stuttering when you go to the hub but that goes away quickly.

Distro: Ubuntu 18.04.1 GPU: Intel Iris Pro 580 Resolution: 1280x720 RAM: 32GB Proton 3.7-5 Beta

https://gist.github.com/daasuharo/cb605b8cd50227982a9bfa4dfcb1f635

NanoSector commented 6 years ago

Can you share a screenshot describing what you mean, because I don't think I suffer from that problem but I would like to double check.

ghost commented 6 years ago

screenshot from 2018-08-30 17-18-36

OrdinaryMagician commented 6 years ago

Performance is pretty bad on my end, getting around 20 FPS with the same settings as on Windows (1920x1080, everything maxed out), where I would maintain a constant 60. Even on lowest possible settings it still has some slowdowns. I don't understand how it can run this badly.

Some of the graphical glitches mentioned in here seem to have gone away with 3.7-5 Beta (I'd see them with earlier versions).

PS: Enabling developer console causes the game to crash on launch.

Distro: Arch Linux GPU: GTX 1060 6GB RAM: 16GB Proton 3.7-5 Beta

Ghabry commented 6 years ago

I also have sound issues (sliders not working and almost silent) and very low FPS, unplayable.

CPU: Core2Duo Distro: Arch Linux GPU: GTX 1050 RAM: 4GB Proton 3.7-5 Beta

My PC has bad specs but the game it playable under Windows.

NanoSector commented 6 years ago

I have no sound issues in mafia town, but after revisiting it I do see the graphical glitches talked about.

As a side note, I've successfully completed the main quest on Linux now so at least the game is fully playable.

tyisafk commented 6 years ago

I'd also like to report that installing xact causes the game to crash at launch for me. Used ProtonTricks. Deleting the prefix fixes the issue since it rebuilds itself. Shame, at least on my end, xact is the only thing that will make the game work 100%, but the game is totally playable with glitched sound. For me, the music is way too loud and adjusting it in-game does nothing. Framerate is pretty good as well. Not as good as Windows, but as a 144hz display user, I just set the FPS cap in-game to 48 (1/3 of 144hz), then enable VSync. (Still looking forward to the day FreeSync comes around for good) The only thing that performs less than optimal is the pause menu. The game runs under DX9 so it's using Wine's built-in translator.

Specs:

NanoSector commented 5 years ago

Seems like the latest update broke controller support, at least for me.

Jibodeah commented 5 years ago

Controller support still seems fine for me (Steam Controller, Proton 3.7-6).

Additionally I found a workaround for the audio bugs. I had tried installing xact via winetricks like is suggested in this thread but that caused the game to crash on launch. Instead you can just set a library override for xaudio_2_7 to native, builtin and that fixed it for me. (It's good to hear the adaptive music in the Spaceship again!) Credit to lavadrop on this other issue.

OrdinaryMagician commented 5 years ago

Huh, setting just that instead of installing xact fixed the crash on launch with developer console enabled.

lucifertdark commented 5 years ago

I've got another strange bug 20180919085630_1 This happens when the camera is moved around, Chapter 1 Act 3, I've adjusted the graphics settings from high performance right through to very high quality & the results are the same, at certain angles the screen goes totally white. any ideas?

https://gist.github.com/lucifertdark/584c14275612e8e3c4a8070d428d8a02

Nvidia drivers 396.54.05

Everything else is working just as it should after the xaudio2_7 tweak.

OrdinaryMagician commented 5 years ago

I've seen this graphics glitch too on some time rifts.

rcgamer29 commented 5 years ago

There are graphic glitches and sound issues that need a workaround.

flibitijibibo commented 5 years ago

Compatibility should improve with FAudio, here’s a demo with the COM wrapper:

https://youtu.be/I9NEkqfhWDw

This still needs to be integrated into the official XAudio2 DLLs but we know the implementation works as of now.

DragonFire168 commented 5 years ago

I've got the white artifacts in Ch1 when ever its raining and also in Ch2 Act 1 I've occasionally got white textures instead of what's supposed to be there. Also on nVidia [390.87] (using reverse PRIME). Sound works for me using protontricks xact.

good-praxis commented 5 years ago

There seem to be further regressions here.

Tried with both nVidia[396.54] as well as [410.66] On Proton [3.16-3 Beta]

on (abridged:)

Processor Information:
    CPU Vendor:  AuthenticAMD
    CPU Brand:  AMD FX(tm)-8350 Eight-Core Processor           

Operating System Version:
    elementary OS 0.4.1 Loki (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.15.0-36-generic
    Steam Runtime Version:  steam-runtime-beta-release_2018-09-03

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 1070/PCIe/SSE2
    Driver Version:  4.6.0 NVIDIA 396.54
    OpenGL Version: 4.6
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 3840 x 1080
    Primary Bus: PCI Express 16x
    Primary VRAM: 8192 MB

Sound card:
    Audio device: Realtek ALC887-VD

Memory:
    RAM:  16063 Mb

Audio slows down and crackles with xact and xaudio2_7, this doesn't happen without xact and xaudio2_7, however then the sound settings again have no effect.

This worked fine at 3.7-6.

ryao commented 5 years ago

@kisak-valve This should be closed/renamed. This game is definitely not ready for the white list due to xaudio2 issues and visual corruption in act 3 of chapter 1.

flibitijibibo commented 5 years ago

@kisak-valve Requesting an XAudio2 label for this game...

aljelly commented 5 years ago

Game runs quite slow for me. The strange thing is that I'm using the same GPU as the OP, an AMD RX 580.

Ghabry commented 5 years ago

Since the latest Proton update which improved Audio everything works fine for me

lucifertdark commented 5 years ago

Since the latest Proton update which improved Audio everything works fine for me

How about the graphical glitches on Act3 of Chapter1? I'm still seeing the white screen here.

nonamethanks commented 5 years ago

How about the graphical glitches on Act3 of Chapter1? I'm still seeing the white screen here.

Can confirm. And it's not just that, but also the rock textures in Alpine Skyline (Chapter 4) which are completely missing.

chewi commented 5 years ago

I heard that the white screen issue goes away with Gallium Nine and I verified this myself by using the new Gallium Nine Standalone against Proton. The performance is much better now.

Unfortunately, even before trying Gallium Nine, I have found the game to be much more unstable recently, possibly since a Proton update or adding Seal the Deal. I had just more or less finished the game without much trouble but it's now crashed 4 times in the last 24 hours. Unfortunately Gallium Nine doesn't seem to help here.

UPDATE: Okay, the combination of Gallium Nine and switching down to Very High seems to help but hard to say, it's quite random. Managed to do Act 1 of the cruise at least.

Lightsockie commented 5 years ago

Just finished full clearing the game on max settings. Only issue I had was the already mentioned problem with Chapter 1 Act 3's rain, which would sometimes make the level hard to navigate. Seems like the rain is causing massive white cylinders to appear (potentially the rain object is a cylinder and it's boundaries are erroneously showing up?).

I made no changes, just installed and ran.

Edit: If you go into HatinTime/HatinTimeGame/Config/HatinTimeSystemSettings.ini and set FogVolumes=False, the above mentioned graphical issues are fixed. Making the game 100% working flawlessly

Francesco149 commented 5 years ago

EDIT: fixed by using proton 3.7-8 and installing protontricks 253230 -q d3dx9_43 d3dcompiler_43

EDIT2: also works on latest proton by installing the same protontricks verbs

EDIT3: add protontricks 253230 galliumnine for near native performance on AMD, getting 60-150fps maxed out on a r9 270x

could anyone re-test this? I just tried with both proton 4.2-3 and 3.16-9 Beta and it crashes after the splashscreen. overriding xaudio2_7 or xaudio_2_7 doesn't help either. installing xact or faudio didn't help.

according to the log it's complaining about D3DXDisassembleShader not being implemented, but I'm not sure that's the cause of the crash, so I'd like to hear from people who got it running and see if they also get these errors or not

"CriticalError: 3D9Shader.cpp,D3D9CompileShader:293  Assertion failed: SUCCEEDED(D3D9SafeDisassembleShader((const DWORD*)ShaderByteCode->GetBufferPointer(),FALSE,NULL,&DisassemblyBuffer)) 'Failed to disassembly shader bytecode.'"

full log: https://gist.githubusercontent.com/Francesco149/724f86f70195eac00632e4ea8f2599cd/raw/523c8d90ee780a7fd3ce1000fcc3636d54e58105/steam-253230.log

system info: https://gist.github.com/082d7fb766ec4d346df20bad7b56851f

btw, in that log i had copied d3dcompiler_47.dll from another game into the game's directory (which silenced more errors about shader compilation), but the result was the same even before doing so

Francesco149 commented 5 years ago

no graphical glitches as far as I can tell with gallium nine. I have played for over 100 hours on very high settings except for ambient occlusion which i lowered to get 120+fps

also, with faudio installed through protontricks I don't hear any audio glitches either.

only issue is that the steam overlay doesn't work with gallium nine, but that's normal. I don't even know if it's possible to hook gallium nine for the overlay

hexadecatrienoic commented 5 years ago

The game will not launch with the Nyakuza Metro DLC installed on Proton 4.2-3.

kisak-valve commented 5 years ago

Hello @hexadecatrienoic, with the DLC installed, 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.

Francesco149 commented 5 years ago

can confirm, in the proton log i can see the following:

23392.542:0028:0029:err:steamclient:create_win_interface Don't recognize interface name: SteamNetworkingSockets002
23392.542:0028:0029:err:steamclient:create_win_interface Don't recognize interface name: SteamNetworkingUtils001

will investigate later

Francesco149 commented 5 years ago

here is the full log, don't mind the "translating..." messages as it's hooks for nfs compatibility I injected https://gist.github.com/fcddbdac95a79e9c854da1bce43628f8

Francesco149 commented 5 years ago

I'm guessing we're gonna have to wait for a proton/steam update that adds support for the new steam networking api

EDIT: yeah it's in the steam works sdk 1.44 which is missing from lsteamclient. gonna see if i can add it myself

serebit commented 5 years ago

@Francesco149 I'm also having this issue, let me know if you've figured out a solution.

SergioGlorias commented 5 years ago

@kisak-valve my log the proton 4.2-3 ativate new dlc https://gist.github.com/smglinuxl2g/115bd6989fc9545b89a53037cd5e56c0

Francesco149 commented 5 years ago

turns out this is tricky to implement with the current wrapper generator used by proton because there's a lot more c++ isms in the networking headers like reference params.

hopefully valve will start working on this, ill still mess around with it to see if i can hack together a temporary solution

Askannz commented 5 years ago

Yeah, same here. Goddamit, I was really looking forward to this DLC. Here's the log : https://gist.github.com/Askannz/447e2f8247c6422198004e087a9edd0c

Askannz commented 5 years ago

Good news : the game at least launches with the Windows version of Steam running through Wine (haven't started playing yet, though).

Screenshot_20190511_163800

EDIT : needs some audio overrides though. At least xaudio2_7, maybe xact too.

SergioGlorias commented 5 years ago

I can play! I just have to disable DLC in the DLC installed area. I wanted to play the DLC but it does not give because it activates things that the proton there is not

Em sáb, 11 de mai de 2019 07:40, Robin Lange notifications@github.com escreveu:

Good news : the game at least launches with the Windows version of Steam running through Wine (haven't started playing yet, though).

[image: Screenshot_20190511_163800] https://user-images.githubusercontent.com/9202863/57566048-3b4ee800-740b-11e9-9ef8-c066daa24fc1.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/Proton/issues/173#issuecomment-491484851, or mute the thread https://github.com/notifications/unsubscribe-auth/ACKJ5COUUFOEJL4SXNONGD3PUZS6XANCNFSM4FRB5B4Q .

Francesco149 commented 5 years ago

yeah you can definitely use the "steam (windows)" installers from lutris to make it work for the time being https://lutris.net/games/a-hat-in-time/

Johndeep commented 5 years ago

Debian Unstable, Intel graphics, modesetting and proton 4.2-3 here.

After the update yesterday, I have noticed more crashes than before unfortunately. But they happened randomly, after seemingly starting to load something while being frozen. But one crash (among some maybe) I can not outrun is to load Chapter 3, Subact 2 The Subcon Well. I simply can not enter that level anymore, even after several tries. It always crashes while loading something or waiting for something.

The procedure from starting the game until the loading of the mentioned chapter is logged here: steam-253230.log

serebit commented 5 years ago

I can't load Chapter 3 Act 2 either. That said, the game does manage to run an online party in the new DLC if I run the game via Steam in Wine, even outside of Lutris.