goatcorp / Dalamud

FFXIV plugin framework and API
GNU Affero General Public License v3.0
1.17k stars 273 forks source link

Dalamud fails to launch, hangs around after game terminates #990

Closed YenTheFirst closed 2 years ago

YenTheFirst commented 2 years ago

Since the 6.2 update, I've been unable to launch Dalamud.

Environment: Debian 11 Lutris 0.5.11 Wine lutris-7.1-x86_64 XIVLauncher 6.2.44-0-g9fob8dd installedPlugins/ empty Freshly created wine prefix.

not using gshade, logitech hub, or any other tools.

Symptoms: In launcher, config is set to enable Dalamud. On launching the game, no meteor icon appears. When logging in, no config options are added to the system menu.

The game otherwise launches and plays fine, but Dalamud never loads.

After exiting the game, Dalamud Injector process does not terminate, causing Lutris to continue to display a 'stop' button rather than 'play', until those processes are terminated.

If instead Dalamud is disabled in XIVLauncher, this hang-on-exit does not seem to occur.

Logs: output.log:

2022-08-28 16:26:26.814 -07:00 [INF] XivGame::Login(steamServiceAccount:false, cache:false)
2022-08-28 16:26:27.636 -07:00 [INF] OAuth login successful - playable:True terms:True region:2 expack:4
2022-08-28 16:26:28.841 -07:00 [INF] [HOOKS] DalamudLauncher::HoldForUpdate(gp:C:\Program Files (x86)\SquareEnix\FINAL FANTASY XIV Online)
2022-08-28 16:26:28.845 -07:00 [INF] XivGame::LaunchGame(steamServiceAccount:False, args:)
2022-08-28 16:26:28.846 -07:00 [INF] ArgumentBuilder::DeriveKey() rawTickCount:104297604 ticks:104297604 key:104267776
2022-08-28 16:26:28.851 -07:00 [INF] ArgumentBuilder::BuildEncrypted() checksum:"S"
2022-08-28 16:26:28.852 -07:00 [INF] [HOOKS] DalamudLauncher::Run(gp:C:\Program Files (x86)\SquareEnix\FINAL FANTASY XIV Online, cl:"English")
2022-08-28 16:26:28.853 -07:00 [INF] [HOOKS] DelayInitializeMs: 0

dalamud.injector.log

2022-08-28 16:26:30.058 -07:00 [INF] Using start info: {"WorkingDirectory":"C:\\users\\username\\AppData\\Roaming\\XIVLauncher\\addon\\Hooks\\7.0.0.1","ConfigurationPath":"C:\\users\\username\\AppData\\Roaming\\XIVLauncher\\dalamudConfig.json","PluginDirectory":"C:\\users\\username\\AppData\\Roaming\\XIVLauncher\\installedPlugins","DefaultPluginDirectory":"C:\\users\\username\\AppData\\Roaming\\XIVLauncher\\devPlugins","AssetDirectory":"C:\\users\\username\\AppData\\Roaming\\XIVLauncher\\dalamudAssets\\117","Language":1,"GameVersion":"2022.08.17.0000.0000","DelayInitializeMs":0,"NoLoadPlugins":false,"NoLoadThirdPartyPlugins":false,"BootLogPath":"C:\\users\\username\\AppData\\Roaming\\XIVLauncher\\addon\\Hooks\\7.0.0.1\\..\\..\\..\\dalamud.boot.log","BootShowConsole":false,"BootDisableFallbackConsole":false,"BootWaitMessageBox":0,"BootWaitDebugger":false,"BootVehEnabled":true,"BootVehFull":false,"BootEnableEtw":false,"BootDotnetOpenProcessHookMode":0,"BootEnabledGameFixes":["prevent_devicechange_crashes","disable_game_openprocess_access_check","redirect_openprocess","backup_userdata_save","clr_failfast_hijack"],"BootUnhookDlls":null}

no other log files are created - in particular, I don't see a dalamud.boot.log.

reiichi001 commented 2 years ago

Wine 7.1 and 7.2 are not compatible with Net 6, which Dalamud 7.0.0.0 requires.

Please switch to a newer build of Wine for Lutris, or switch to our new native launcher for Linux, available as a flatpak, AUR package, and others. Additional details can be found in our Discord server's Linux channel.

YenTheFirst commented 2 years ago

Thanks, that resolved the issue. Sorry about the bug report, there was just no other error messages to go on.

For others hitting this issue, switching to https://github.com/goatcorp/wine-xiv-git/releases/download/7.15.r4.gfa8d0abc/wine-xiv-staging-fsync-git-ubuntu-7.15.r4.gfa8d0abc.tar.xz as the wine runner seemed to resolve the issue.