-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux/Proton/Wine Troubleshooting Thread #557
Comments
This might be related to this issue here. I am hoping we can get to the bottom of this one.
These two issues are related to how front buffer data is collected. If you change the game to using DirextX for this it should solve the issue. I am not sure if there is much we can do about this. Linux users will just need to use DriectX for this option. It is mentioned in the notes for this feature that Linux users may need to use DirectX here. |
Awesome! I'll try the frame buffer suggestion soon here. Any ideas regarding the lack of audio entirely? |
Try downloading D3DX9.zip and extracting these files into the Silent Hill 2 folder and see if that makes any difference.
|
Ok, can you try once more with this build? I think this might eliminate the need to disable the "Run game in DirectX9" option or download the D3DX9.zip file. New testing build: d3d8.zip |
Will do in just a bit! (Just got off of work) I'll also be trying the audio options you suggested above! Thank you for helping us Linux Users 😊. |
Just tried the new d3d8.dll and yes! it does fix the visual errors in the beginning! However, similarly to another user's comment in the Steam Deck thread, I have the shadow alphas doing funky things: I have no Nvidia card on hand to try and see if it's still happening within that driverspace, but I'm assuming it's something to do with the open-source MESA drivers for AMD cards. Furthermore, regarding the audio issues, I'm still stumped. I checked that stereo was set within my sound settings, disabled the custom audio engine, and completely disabled the 'dsound.dll' to no avail. Oddly, I've tried running the game through 'Bottles', an app that creates Wine/DXVK sandboxed 'bottles' for running windows games and apps; I've gotten the enhancements to be not working at all within bottles, however, when enabling the 'use Steam Runtime' option, the audio is fixed. I'm not attributing this to the enhancement packages not being picked up, seeing as if I disable the Steam Runtime, the audio disappears and the game still launches without the visual enhancements and fixes. (Probably because I haven't set the native, builtin option for d3d8 within Bottles.) This isn't a huge deal, I'm not planning on running the game this way, just thought it was weird... I'm trying to figure out what exactly the steam runtime is doing that is fixing the audio issue. |
So... after setting the appropriate DLL override within Bottles, the Enhancement Packages work great and the audio is present as well! It's still doing that weird shadow alpha issue, but hey; we got sound lol. I'm going to try and add the game to Steam and run it through proton. This is my 'bottles' setup that got the game working (almost) flawlessly. (What is in that Steam Runtime making it work so well?) |
Quick update; adding the game and the Config Tool to Steam gave me mixed results... running the game with Proton caused the enhanced edition mods and fixes to not load, but the sound worked. (Similarly to Bottles before setting the Steam Runtime and the d3d8 override.) Similarly, this happened as well when loading the config tool using Proton; the config window opens, I can change options, but the game still launches vanilla but with sound. However, if I disable proton on both the game and config tool, and instead use the launch option of '--wine', the enhanced edition files load but... no sound again... I wonder if there's a proton launch option for setting the d3d8 override within Steam itself... |
I've tried forcing proton but the game launches without audio of any kind when I do that. |
@HexagonSun2077, Here is the latest build with the code cleaned up and fixed. This should fix the alpha shadow issue. d3d8.zip |
@elishacloud Yep! That fixed it right up! and it's running with SMAA as well! Big thanks! |
@HexagonSun2077 Have you tried with Proton Experimental or perhaps GE-Proton7-24? |
I've tried every available proton version and even some Glorious Eggroll ones as well. No matter what, if I run the game with Proton, the EE mods work but with no audio; alternatively if I run with just the --wine launch option, the game runs vanilla BUT with audio. There must be a protontricks command that sets the d3d8 override, but I can't find it 😂🤦♂️ |
@HexagonSun2077, ok, try this update. I hacked the game binary so that it will load the enhancement module as Note: Keep in mind that this update no longer works with the SH2EEconfig.exe tool, since the config file has also been renamed. So you will need to change the settings directly from the ini, Here is the update: sh2pc.zip (removed) Edit: removed the download... |
@HexagonSun2077, Ok, disregard that last one. For this update I hacked the sh2pc.exe file to load Just unzip these files to the Silent Hill 2 folder, overwriting any files that are there. Here is the updated: sh2pc-Linux.zip |
Ah, I mentioned this as a potential solution here. Didn't think you'd do it though, since it requires editing the .exe, even though it shouldn't produce any side-effects (Hopefully? I do remember you guys were having issues after editing the .exe resources to add an icon). |
No, this should not produce any side-effects since I just used a hex editor to modify the single byte in the string "d3d8.dll" to "d3dx.dll". |
After unzipping and replacing the files, I've gotten an error saying to insert CD 1: That was with launching the EXE from Steam; launching the config tool from Steam (also using Proton Experimental) it crashes: Launching the EXEs from my file manager work fine; there's still no audio but if I launch it through Bottles it works. |
Ok, I guess you can try to use the same update I gave you here and then delete the |
Ok, here is another update. For this update I modified the sh2pc.exe to load Here is the update: sh2pc.zip |
@HexagonSun2077 Is this working for you now? I recently bought an AMD GPU and I have really been wanting to move to Linux more and more |
Hi, I'm having the same audio issue as previously reported. I'm on Arch Linux and using Lutris to run Silent Hill 2 Enhanced Edition. The installation was complete, without any problems and the game runs, but without audio. I tested the following suggestions: sh2pc-Linux.zip, change-sh2pc-Linux.zip and sh2pc.zip Unfortunately, none resolved it for me. Still the last one, the following error occurs to me when I try to run the game option 1) Play Silent Hill 2 Enhanced Edition: Any possible suggestions? Maybe there was something missing here on my side? |
Problem solved, it was something on my side. Installing lib32-libpulse (aur lib32-libpulse ) solved it, and now the audio works perfectly. Sorry for the inconvenience. |
Seeing as the new SH2 remake dropped this week, I decided it was time to play SH2 (the original) using the PC version with the Enhanced Edition mod. Despite installing the mod successfully, the problem is that the game refuses to boot up no matter what I do. I can manage to go to the settings and make changes to it, but booting up the game leads to a window appearing and briefly after disappearing, and disabling DirectX 9 leads to a full screen going to black for a few seconds only to close again. I've tried this both via running on Lutris with Wine GE from ProtonUp, and when added to Steam via Proton. But even without the mod,the best I get is a tiny white square residing on the upper left corner on a black screen. I've tried reinstalling the mod a couple times and also tried one install without checking Linux/Wine on the installer. None of these options succeeded. I can't find any other guides that go in-depth on what exactly I need (with the newest release at least) or other people that have similar problems as me. I've been using the pre-configured Silent Hill 2 Director's Cut install that can be found as the top choice on MyAbandonware, and I'm running on EndeavourOS on a Ryzen 7950X3D with an RX 7900 XTX graphics card. |
so i install the mod through proton ge latest, installs successfully, and i can actually launch it successfully, but when i attempt to just launch the actual exe through same proton ge version in steam, it loads up the insert disc screen. not sure what the issue could be but i could really use some help |
Hello fellow SH2 fans! As the title suggests, I'm currently running the game and project under Linux and Wine 7.x. I was successfully able to install the base game and then the Enhanced Edition packages using the new setup tool. (Little aside here; whoever coded the wine auto-detection in the new setup tool... thank you! You're a god and it's greatly appreciated to have a team spend this much time to try and make this work on an alternative OS. The real test will be getting this to run on BSD, lol) However, I've come across several issues and fixes; I'll be attaching plenty of the d3d8 logs and video footage of the errors and fixes. This IS my first GitHub post, so If I make any mistakes or errors in appropriately writing out this issue request, just let me know!
First and foremost, after doing the fresh install, I left the Shader options and DirectX9 enabled; this causes the game to crash:
sh2_directx9_enabled.mov
Upon fiddling around with the display settings, I discovered that by setting the display mode to windowed with a border, the game did not crash, but instead, loaded an entirely gray screen with the noise effect:
sh2_directx9_enabled_WindowBorder.1.webm
Here is the d3d8 log for that scenario:
d3d8.log
The next thing I tried to do was to disable the shaders, IE the Color Temp and Brightness ones; the result was a slightly faster load time, but still, I received the same gray canvas like screen with the noise effect. So I bit the bullet... and disabled DirectX9 entirely. This resulted in being able to play the game, however, it featured a weird glitch with 'windowed mode with border' enabled. The game would cache frames and display them at random times, especially when entering the pause menu, where it would display an image from your gameplay several seconds before; I even had the Konami logo, Team Silent and Creature Labs logo appear... weird I know:
sh2_directx9_disabled_WindowedBorder_CacheGlitch (1).webm
(pardon the low resolution... GitHub caps file size at 10mb...)
Here is the d3d8 log for that scenario:
d3d8.log
Lastly, I ran the game with the following parameters with great results! With DirectX9 disabled, shaders disabled, Fullscreen mode enabled and windows borders disabled, the game loaded correctly, it didn't crash and didn't go directly to a grey screen, and the odd frame caching issue from above was non-present!
DirectX8_Fullscreen_NoShaders.webm
(Again, sorry for having to crop and downgrade the video... darn file sizes...)
Here is the d3d8 log for that scenario:
d3d8.log
All in all, I hope this issue thread helps to some degree. I still have no audio what-so-ever, with no clue really as to how to fix it...
My system specs are listed below; if anyone has any questions regarding this issue thread, feel free to let me know! Keep up the amazing work you guys! I am in no way trying to drag you through the mud for this being a hassle on Linux; its impressive enough that you've modified a game from 2001 and it works at all.
System Specs:
CPU: i5-10400
GPU: RX 6600 (non-xt)
RAM: 32gb DDR4
DISK: 500gb m.2 ssd
Linux Distro: EndeavourOS
Linux Kernel: 5.18.9-arch1-1
The text was updated successfully, but these errors were encountered: