-
Notifications
You must be signed in to change notification settings - Fork 72
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
Vortex hangs on prepareAllInstalledVortexGames #823
Comments
I will test when I can but it was working about a week ago on PC and Steam Deck. How long have you left it for? This process can take a long time, reportedly upwards of 10 minutes (for me it takes ~5 max). |
I've left it for over one hour, it never passes that point. |
The log you have attached is for |
My apologies, I've uploaded the correct log now. |
Just tested and it installed and ran fine for me on my Arch PC, but stupidly I forgot I had the SLR disabled for Vortex... I'll try again with it enabled but I expect the results to be the same. Vortex installed for me with GE-Proton8-4 and I installed Vortex 1.8.4. An interesting log to check might be
When using I am not sure why this would hang. Since you got as far as you did I would expect the Steam Linux Runtime option was used (an updated log would confirm), and either way, that would not impact this step (it would either fall over before that, or it would fall over when trying to launch Vortex afterwards). |
Thanks for the updated log, confirmed you're using the SLR option. I can also see that I was wrong and that I used GE-Proton8-2 to install Vortex, my bad. I will try a fresh install with the SLR and with GE-Proton8-4. I wonder if for some reason GE-Proton8-4 is incompatible... |
No idea what changed, but now the "vortex reset" finished after a couple of minutes, but Vortex never showed the interface. The same for the start. |
And here for the reset |
I recall for some odd reason Pikdum had to restart their Steam Deck: #806 (comment) Not sure if you already tried it |
First thing I did... Turn it off then turn it on. :) |
Still works for me on my PC with the Steam Linux Runtime and GE-Proton8-4. I am not sure why it isn't working on your Steam Deck. I wonder if Vortex is perhaps downloading an out-of-date version for some reason? I think it's highly unlikely but you can check Might also be worth trying a fresh prefix again, just in case, and with Steam opened if it isn't/wasn't originally = on Deck, Steam is opened automatically to load input drivers which aren't in the kernel the Deck uses, but it is possible to still close Steam to save on system resources etc so many users do. I am testing this on a lunch break, but I will look into it more this evening if I run out of time. Also, as a little aside, the step that hangs for you in |
Vortex is 1.8.4
|
A handful of users on Steam Deck in the past reported doing this I think (might be able to find it mentioned in the deck support thread, I don't exactly recall where, it was many months ago at this point :-)), it might work. The output you've shown is certainly strange, too. I am honestly not sure, I have never used Vortex to mod games and don't use mod managers on my Steam Deck (or mods in general on Deck for the most part). There could be something deeper to this. Removing SteamTinkerLaunch and trying again might help, but I am not positive. It works for me currently, previously worked for a user who tested, and on the Linux Desktop it installed successfully in a recent currently open issue for another user. It is possible there is still some Deck-specific problem, or it could be that something got messed up somewhere along the trail. It is probably not the case but there were recent changes around how STL handles Reaper. When launching, can you check to make sure there is a "reaper" process? (Unless you have intentionally disabled it, but I didn't see that in the logs and it's a very niche use-case) |
Oh also, you should be able to remove SteamTinkerLaunch both manually and from ProtonUp-Qt. And after removing, I would restart/remove |
I checked now (right now vortex is hanging again after I killed all processes) and reaper only seems to be launched when I launch a game, not with vortex. |
I should've been clearer, that's exactly expected behaviour :-) Reaper is launched by Steam with games, but STL has an option to kill it for Proton games or remove it from the incoming launch command for native games. I was worried that change may have broken something here but it appears not. Thanks for checking that though! |
One thing I noticed - the git version of steamtinkerlauncher installs vortex 1.8.4, the "stable" (v12.1 in ProtonUp-Qt) tries to install v.1.8.5 but then hangs installing dotnet in that prefix. |
Clean install, once again stuck at prepareAllInstalledVortexGames, been running for 25 minutes. |
I've tested on my MX Linux PC. First difference - I get a dialog letting me choose the proton version to use with Vortex. That dialog is never shown on the deck. And of course, vortex runs always. Seems like this is steam deck specific. |
That is odd, I don't think I've seen that - Maybe it shows up if STL can't find download the latest GE or something.
I had a feeling but I appreciate you going the extra mile to test. This was tested to work before in the linked issue, and I really don't feel like bloating my Steam Deck to check myself, but I'm not sure why it isn't working now. 20+ minutes is a bit excessive (personally 10 is about the most I would be happy with) so I think it's safe to say it's broken at this step for some reason. It might be worth trying GE-Proton8-2, as a couple of users have reported general problems/hangs with GE-Proton8-3. Unfortunately regular Valve Proton won't work because (unless they recently updated to include it) it's missing a Wine patch to allow Vortex to work ( |
You could also try disabling the SLR, just a weird idea I had... You can disable it on the Global Menu under Vortex options. |
Out of curiosity as well, which SteamOS release channel are you on? |
I'm on the SteamOS beta channel, will probably try going back to the stable to see if it makes any difference.
And trying to run NVSE shows me that steamtinkerlaunch and of course vortex is getting different environments when run from the command line or from steam. If launched from the command line with "steamtinkerlaunch vortex start", running NVSE from vortex "works", but somehow it can't find FNV install (I included the screen cap showing that). And finally, with GE-Proton8-2 vortex still hangs on the "reset", until I kill the last Vortex.exe process (80572 here):
|
This is expected, Vortex and New Vegas have independent prefixes. I don't use Vortex so maybe I'm understanding wrong, but doesn't Vortex work like this?
Not sure why the Vortex process is starting with the game. You could try disabling the Steam Linux Runtime for both New Vegas and Vortex to see if it helps but I honestly have no idea, sorry about that. |
Supposedly, you can launch FNV from vortex, launching NVSE from the tools menu. And when launching a game from steam, using steamtinkerlaunch, you're asked if you want to run vortex, and again, you can finally run the game from the vortex tools menu. So, something like this for your 4th step:
|
The autodetected VORTEXSTAGELIST, as well as the suggested, was on "Z:\run\media\mmcblk0p1\Vortex Mods", and the game is in "Z:\run\media\mmcblk0p1\steamapps\common". Apparently both are the same "drive" and both are in the same filesystem, the SD card. However, changing the VORTEXSTAGELIST to "Z:\run\media\mmcblk0p1\steamapps\common\Vortex Mods" allowed Vortex to finally mod the game FNV. SHould I open another issue on this one? No idea why Vortex fails to create links on the first structure and works on the second. |
Oh this is quite interesting! Talk about serendipity:
If I'm understanding correctly, Vortex and STL expect the path to be Just for some context for you or anyone reading in future: The So normally, STL creates the Vortex mod staging folder at However, I have never once seen Vortex do this, so it is possible that there were changes/unaccounted for cases where even though the staging folder is created here, it just doesn't work. It would be interesting if you could check So back to this:
If the paths in the stages text file say that the path should be on the root mount point, but it was actually created in the steamapps folde, try:
Vortex might complain that your install is corrupted, but things should be fine (it likes to yell sometimes for no reason...) Nice investigation! I don't think another issue is necessary, we can keep discussing here. If moving that folder works then we can take it from there :-) It is very possible that not being able to find the mod staging folder is what's causing the prepareAllInstalledVortexGames to hang. If an invalid path is passed to Vortex there could be a hang. I'll have to test this myself later too! If so there'll need to be stricter checks around whether files and folders exist! |
I think I didn't explain myself well... Drive mapping - on my case, the sdcard is mapped to |
That is quite interesting. Are there any permissions issues that you can see on the root mount point? Can you write to the Vortex Mods folder directly on the SD card (not the one in steamapps/common)? I did a quick Google search and found a couple of people complaining about It might also be worth trying the following:
Interestingly, the folder probably shouldn't be named Also, if you can, I'm very interested to see the contents of |
BTW, it still will not start under steam. Now NVSE sees all the patches, seems it installs everything, and then silently exits again. |
Starting from the last:
I see nothing particular on the root of the sdcard. Vortex could write to the folder, in fact, I moved the whole folder to steamapps/common/ with all the mods already expanded there. It was just failing to link from it. I tried moving the folder back to /run/media/mmcblk0p1 and linking it to /run/media/mmcblk0p1/steamapps/common, and vortex fails again with the same EXDEV error. It seems that proton/wine consider the root of the SD to be in a different filesystem from the steamapps/common, even as it is the same. |
This is not good, it looks like the Vortex staging folders are not being set up correctly on your Steam Deck. It hasn't seen a staging folder correctly on your microSD. Even though one does exist. However the name of the modding folder in steamapps/common does not follow the convention of how STL creates the staging folders.
It's been a while since I had a look, but I think the Steam Deck might have some specific Wine mappings? I recall something about this on I think the Resident Evil 4 HD modding guide for Steam Deck. This could be messing things up and would explain why things work as expected on your PC but not your Steam Deck - though it doesn't explain why Vortex worked for other users, but the missing staging path may be to blame.
I'll keep this in mind when searching for solutions to this link issue. |
Another issue I just noticed. If I launch vortex via steam (launch fallout NV, ignore steamtinkerlaunch popup, click to launch vortex on the next popup), then the EXDEV link error appears again, even with the mods dir in steamapps/common. Can't deploy any mod at all. Could be because of the different prefix, I don't know. |
You could try removing all your mods, removing the Vortex Mods folder, any other mod folders you can think of, and then entirely removing the Vortex installation from the STL config dir (the whole steamtinkerlaunch/vortex dir). Optional Quest: before installing Vortex again, in the Global Menu Vortex settings, there should be a checkbox for setting up the staging dirs/game detection. You can try turning this off and seeing if Vortex at least launches. This means your games won't have any setup configured as far as I know (I hate Nexusmods so I don't have much understanding of how Vortex works for setting up mods). If that isn't desirable, just try a regular install again and then if/when it hangs on the preparing step mentioned in this issue, check to see if you have a "Vortex/Mods" folder created by STL on your SD card root, or if you incorrectly have a "Vortex Mods" folder created somehow. You can once again check the STL stages file. It would be worth as well checking through the steps in the logs to see if STL complains about not being able to set up a staging folder on the SD card or something. Sorry I can't really be of more help. |
According to #828, the Steam Linux Runtime seems to cause issues when linking. This user appeared to have no issues with the step you mentioned, but I am not sure where their games are installed etc. Either way, it seems the SLR is a lead here. If a fresh Vortex install doesn't work, enable the "Disable autostages" checkbox and try again. If/when you get Vortex running successfully, try deploying mods with the Steam Linux Runtime disabled. |
A new branch has been pushed, This likely won't solve the issue of Vortex hanging, but it might solve the deployment link issue. |
To echo what I've said in #828, I am done with Vortex support for now, so if you get a chance to test that branch I will use that to either merge #829 or close the PR if it doesn't work. I am unable to give further support for a piece of software I do not use nor like, so going forward I will only accept Vortex issues if they are enhancements detailing how to fix an issue with Vortex. This is not a slight against you, I am just exhausted dealing with Vortex. Long before I even knew about SteamTinkerLaunch, I always advised people I knew to stay away from Vortex (and even back then it was Nexus Mod Manager) and just mod manually. I am not able to help users who have issues with Vortex any longer, as installation works on my Linux PC, and I am unwilling to bloat my Steam Deck with any kind of mods beyond simple game patches, so I cannot and will not test Vortex on my Steam Deck. Vortex support is better handled by someone who is interested in Vortex, and that is not me unfortunately. I appreciate all of the discussion here, but due to my lack of knowledge and interest in Vortex, I am unable to give any further help. In future, Vortex support may be removed entirely from SteamTinkerLaunch, for the reasons here. Steam Deck has continually been draining my motivation to work on SteamTinkerLaunch in general, the issues with tinkering on the platform are becoming very apparent (which is why I had the foresight to avoid jumping on the Steam Deck modding train) and generally speaking, the audience that adopted it turned out to be general gamers who are new to Linux and not Linux enthusiasts, so they don't have the experience to do any of the investigation that has been done in this issue for example. The attitudes of these kinds of users and the unhelpful issue reports (i.e. blank, abandoned, no knowledge to do further troubleshooting) has had a massive toll on me. After you have had a chance to test, I will close this issue. |
Fair enough. My interest in Vortex was only because I wanted to install a collection of patches for FNV. And since I don't use my desktop for gaming, the deck seemed like the ideal system, and SteamTinkerLaunch seemed made to order. |
No hurry to test, I appreciate it. I usually close issues after around 7-10 days of zero activity, so just chime in if you're still interested in testing but haven't gotten around to it yet - we all have personal lives, and some silly bash script is not anyone's top priority heh.
If you ever decide to take a look I can try to help where I can (feel free to open issues, like #822 - I don't use GitHub Discussions because users incorrectly use it for reporting bugs and I got tired of it). Though if you look at something and think "why the heck is this part implemented like this and not like that", it's potentially an area that can be improved. In other words, there is likely much area for improvement. Much of the Vortex code is wrapped in a
You aren't the only one, so it isn't any kind of slight against you because in general I need a way to make it clearer to users that SteamTinkerLaunch is primarily a Linux Desktop tool for configuring game launch options and for use on the commandline (I mostly use STL for One-Time Run and to get things like game paths and IDs). I have STL on my Deck and the only things I have really used it for is installing the STEINS;GATE translation patches with One-Time Run. |
Hi,
I'm doing a complete "patch from scratch" cycle now, but even if it fails, I think you can close this issue. I had issues with patches not being recognized as installed (and working on my linux desktop), but even if a complete clean start doesn't fix them, they are probably related to vortex/proton/steamOS. |
Ok, there is something fundamentally broken with regards to patching on the steam deck. |
Thanks for testing, I just noticed the following from the output you shared:
What is this EDIT: #829 has been merged :-) |
I am working on an experiment which will attempt to only use the SLR when installing Vortex and running Vortex for a regular first-run. I suspect the Steam Linux Runtime is causing issues with vortcmd, which would explain why on the branch you were able to run
In the case of a first launch, the SLR would probably be available, but since Vortex didn't install dotnet6, it wouldn't be installed and so STL would run the vortcmd in the Steam Linux Runtime. This may be resulting in errors if Vortex can't access/correctly work with the filesystem when inside of the Steam Linux Runtime (as we saw with #828). I noticed that when running
Note specifically, symlinks. Both you and the user in #828 confirmed that there are link errors from Vortex when running inside of the SLR. So my thinking is that the SLR is the culprit here. I will probably just push the changes directly to master and ask for some testing. |
Pushed the change, feel free to try a fresh install :-) |
Hi, I've done a small detour, trying other solutions to get vortex, and most importantly, patches, to work. I found out https://github.com/pikdum/steam-deck and a small adaptation of his batch (to add support to FNV) worked for me. I am thinking that most of that should be "easy" to implement, and if you want I can take a look at your vortex specific code during this week to see if I can do it? In the meantime, later today or early tomorrow I'll go ahead wiping everything and testing your new branch. |
The only part I am not very keen on implementing is mapping the drives in Wine. Apart from that, have at it with whatever improvements you can think of! If another Vortex project worked, I guess we can close this issue. |
System Information
Issue Description
Vortex isn't launching. It hangs after "prepareAllInstalledVortexGames - Applying Vortex settings for all games via autogenerated cmd '/dev/shm/steamtinkerlaunch/vortset.cmd"
I've tried deleting the prefix dir, installing again, and doing a reset with "steamtinkerlaunch vortex reset", but it still hangs. It has worked a couple of times, without changing anything, which is even more frustrating, and now it just doesn't work at all.
Logs
steamtinkerlaunch.log
installVortex_protonrun.log
The text was updated successfully, but these errors were encountered: