-
Notifications
You must be signed in to change notification settings - Fork 0
(Steam Deck) Injection crashes the game at startup with the current build #24
Comments
Oh no... I think I understand what is going on....... |
Sorry for the delay in replying - been quite busy before stuff finished up at work for Christmas! I had tested this on my own Steam Deck and was confused what the issue was, as the crash dump that you sent in That would make sense though, it does confuse me why Alien Isolation isn't 64-bit for PC - the native Linux port and the Windows Store release are 64-bit I believe. |
unfortunately it has to be more complicated than this, because it still doesn't work... can you link the dll that you use for the ASI loading? maybe something changed since last time. Because for example I can't even boot the game with my current d3d11.dll asi loader, even without .asi files in the same root level. It's... a bit of a mess to be honest, sorry. Very black box-y (at least on the asi loading part). |
Let me send you my No problem, sorry you're having issues with it, never had this problem before but hopefully we can fix it! |
Current combo with V7.1.0 ASI Loader seems to be unable to actually inject to the lib, and the game gets stuck trying to load content. Obtaining an older version of ASI Loader to test is not possible now, because ThirteenAG only links to latest build and the release files don't contain any actual releases. |
Hence why the working dll should be directly hosted by Ryan :) |
I'd rather not have to host the injector DLL in the project unless it's absolutely necessary, but if it keeps causing problems I'll host an older version in the release zips, no problem. I tested v1.1.3 of Alias with EndeavourOS (via Steam / Proton), and the latest d3d11-Win32 release from ThirteenAG, and it all seems to be working okay, I'll test this on my Steam Deck now. |
It seems to work with Alias v1.1.3 and Ultimate ASI Loader 7.1.0 and looks perfect now. Thanks for all the effort in making this possible. (Valve Proton 8.0-5) I agree on the not hosting DLLs from other projects, that can get very messy. But finding a version that is actually working on multiple systems would add in the search for the code change in the original project. I had a try compiling a previous version and got stuck and demotivated. |
No worries, happy to help! :P I tested Alias v1.1.3 on my Steam Deck (Valve Proton 8.0-5), and it got a solid 60FPS even in large areas (with stock Deck performance settings), with no visual artifacts that I could notice. Yeah... I'm not exactly sure what ThirteenAG changes in their newer versions, I doubt being very up to date with their injector would have a performance improvement or any noticeable benefit when there aren't any bugs that I know of. I'll add ASI Loader 7.1.0 into the release zips from now on. The only downside is the in-game Alias GUI isn't usable on the Deck or on controller, I'll see about fixing that. (: |
I don't get it, i have acces to Dec 6, 2021 to Feb 2, 2024 build: https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases?page=1 |
I missed the "Usually it works as dinput8.dll, but if it's not, there is a possibility to rename it(see the list of supported names above)." and assumed the linked files would be the same version as in the release. |
To get back to the original bug report, I think the reason AliasIsolation crashed is because i used a custom settings xml as a base for my settings (https://www.nexusmods.com/alienisolation/mods/34). I think I forgot to test with a clean installation folder, so that might have interfered with a proper search for the culprit. |
Try the tool to manage your settings, it backups original btw 👍 https://www.nexusmods.com/alienisolation/mods/19?tab=files |
Huh, that's weird. I can't imagine using the enhanced engine settings XML would cause Alias to crash, but I'll do some testing. In any case, glad it seems to be working now! |
Mine is done by GPUnity,, i know about his Arkham City Redux MOD... edit: |
Im encountering the same problem (crash) with your latest version. |
Found and fixed the problem: |
That was it?! Fk me.... Can't believe I didn't just try that. |
Would be nice if you also can test and verify this... |
Interesting... good find! I guess Valve have broken or changed something in 9. I normally play with Proton Experimental, but 8 has been working for me as well, I'll have to test Proton 9 with this mod. |
It's odd because it works with Proton 9.0-2 on my laptop (with an NVIDIA GPU), latest ASI loader and Alias mod release... Any chance when the game crashes you get a popup saying Alias Isolation crashed? That popup mentions a crash dump which would help me a ton in trying to work out what's causing this. If it gets generated it'll be in your I'll need to test the game on my Deck again when I get home this evening |
That was my bad, I forgot to add it in, sorry! I don't see that you're doing anything wrong, if you're using the ASI loader as a file named I'll be adding the latest ASI loader into the release versions from now on, I'm working on a big refactor of the mod behind the scenes, but it'll be in the next update (which will be released at https://github.com/aliasIsolation/aliasIsolation instead of here for the first time) |
aliasIsolationCrashDump2.dmp
Here you go...Those crashdumps are generated with Proton 9.0-2 on a SteamDeck. |
Thanks so much for those, I'll take a look at them in Visual Studio now and see if I can work out what's crashing... |
Interesting, the crash seems to be happening in the game's code, it's intentionally crashing itself because it's out of memory (crash in |
@nabel0 I can't seem to reproduce the crashes you're having on Proton 9 on the Deck, I'm running the latest Stable firmware on my Deck, and the game only seems to use about 4GiB of RAM at any given time from what the performance overlay says... hmm. Any chance you could share some more details about how your Deck is set up? Are you running the game via Desktop mode with other apps open in the background (such as Discord)? Any more details would help massively so that I can try and reproduce it! The only lead I have at the minute is that it seems like your Deck is running out of RAM with Proton 9 for some reason. The crashes you got are occurring in engine code due to the game running out of memory, unless the crashes tend to happen after some time playing the game instead of an immediate crash? |
Thats strange. My deck also is on the latest stable firmware. Im running the game in gamemode. No other stuff is running. Game is crashing immediately if i launch it with anythig then proton 8. If I disable your mod I can launch the game with proton 9 without a problem. |
That is bizarre... could you run the game with It'll make a log file in your home folder on the Deck, if you could attach that here I can see if anything sticks out. At a bit of a loss so far as to what in Alias would be leaking memory, let me get you a beta version of the update that I'm working on and we can see if it helps, I guess? |
Sure thing. I'm happy to help to debug this. I'll upload the logs later. And I'm happy to help you with the beta version for sure. |
Here you go @RyanJGray |
Thanks a million! I'll take a look and see if anything sticks out |
@nabel0 did you by any chance extract the The crash is happening in Wine, it's trying to load Alias Isolation's debugging symbols file (not sure why, Windows never does that) and it's hitting a memory leak and eventually crashing your game due to it eating up all the memory on the Deck |
BINGO. P.S: |
Congrats! Glad to help. What a bizarre issue in any case, why Wine even tries to load that file I have no clue. I may try and report that to the Wine or Proton devs. I will definitely keep that in mind. Thanks! Keep an eye on the upstream aliasIsolation repository for a pre-release build in the next week or two. Mainly minor UI tweaks, code tidying and optimisations, and much smaller binary sizes (about 700KB instead of 2MB for the ASI). Very much behind the scenes stuff for the most part. Possibly some shader improvements if I can work those out! :D |
I think that's a good idea. I think I would do it too.
You mean this one, right?
Do you think there is a way to make ‘aliasIsolation’ compatible with this mod here? --> https://github.com/Nibre/MotherVR |
Will look into reporting it as a bug! Yep, that repository is the right one. I managed to get in touch with the original author a year or so ago, and they granted me maintainer/collaborator permissions on the original repository. Moving releases and my changes there would make the updated version get more visibility, I feel. I actually picked up a used Valve Index recently to experiment with VR, I can certainly try to get Alias working with MotherVR! I understand Alias may have issues with the rendering in VR mode, but I have never confirmed it myself. Is the aliasing particularly bad in VR mode? |
MotherVR not being open-source doesn't help things, which is a real shame, but I will try to figure out what the issues are. Not ideal having to essentially reverse-engineer another mod to figure out how to make Alias compatible, but it's their mod and code. One thing I can do is remove the piece of code in Alias, which forcefully disables the ancient Oculus VR code in the game's engine, which would at least let us see what the MotherVR experience is like? I can send you a beta build if you'd like to try it out |
It could certainly be better. In 2D it also makes a big difference whether I play Alien Isolation without ‘aliasIsolation’ or not.
I think the ‘MotherVR’ mod patches a lot more than just the ‘old’ Oculus VR code. I'm definitely up for any outrage :) |
Please do yourself a favour and try the game with the ‘MotherVR’ mod if you haven't already. |
That's a great idea, always up for a spooky time! That's my Sunday night planning sorted. Always wanted to try the game in VR. I've played Isolation so much that the game rarely spooks me. Also a good idea to play with the mod and have some fun, before then spending hours upon hours trying to pick it apart and understand how it works! |
Also if you use Discord or some other comms platform other than GitHub issues, could I add you on there? Bit faster than filling up this issue with messages lol |
That's a very good idea :) |
Me too! Hmm, if you're in the OpenCAGE Discord I'm in there under my GitHub username |
Your link to thirteenAG's asi loader doesn't work, so I got the latest d3d11.dll from his github, hopefully that isn't the issue.
loading with the following command:
WINEDLLOVERRIDES="d3d11.dll=n,b" %command%
which does load alias, but crashes.
This is a follow up to this thread: aliasIsolation#40 (comment)
The text was updated successfully, but these errors were encountered: