Git Product home page Git Product logo

Comments (17)

sersorrel avatar sersorrel commented on July 29, 2024

1.0.2.1 fixes the crash :) unfortunately we're now back to hanging on startup (before the game window appears) instead

from penumbra.

Ottermandias avatar Ottermandias commented on July 29, 2024

Do you have a log for that too?

from penumbra.

sersorrel avatar sersorrel commented on July 29, 2024

Sure: dalamud.log

Last couple of lines:

2024-03-21 19:20:15.270 +00:00 [VRB] [Penumbra] [BNpcNameDict] Created v3 for English in 427 ms.
2024-03-21 19:20:15.452 +00:00 [VRB] [Penumbra] [Emotes] Created v8 for English in 608 ms.

from penumbra.

randomei avatar randomei commented on July 29, 2024

For me with version 1.0.2.1 the game loads almost every time. With 1.0.2.5 game successfully loads like 1 of 3 times.. Processes not responding, I must kill them to try again.

from penumbra.

randomei avatar randomei commented on July 29, 2024

Version 1.0.2.6 still hanging on startup

from penumbra.

Ottermandias avatar Ottermandias commented on July 29, 2024

Try disabling the crash handler in the config json (if you can't get ingame to do it via settings) and tell me if it hangs due to that.

from penumbra.

randomei avatar randomei commented on July 29, 2024

Crash handler disabled, still the same.
dalamud.old.log
Penumbra.json

When I'm returning version 1.0.2.1, the game starts normally:
dalamud.log

P.S. If I disable "Waitng for plugins", the game starts with version 1.0.2.6
dalamud.log

from penumbra.

randomei avatar randomei commented on July 29, 2024

I've tested on another computer, the game starting with version 1.0.2.6. So it seems that the issue is not with penumbra...

from penumbra.

Ottermandias avatar Ottermandias commented on July 29, 2024

2024-03-30 17:45:14.815 +03:00 [INF] [Penumbra] Set new mod base directory from to .
this happening sounds kinda weird possibly, in your logs? Can you try on your main PC after setting a root directory maybe?

from penumbra.

randomei avatar randomei commented on July 29, 2024

That was some problem with xlcore configuration on main PC, so I've cleaned configuration. Now game starts every time w/o Penumbra and with entrypoint enabled. With Penumbra still hangs about 2 of 3 times even w/o mods.
dalamud.log

About 1 of 3 times game starting normally.
dalamud.log

Same problem with version 1.0.2.6
dalamud.log

It seems, that with the latest version it hangs on start even more often.

from penumbra.

bayta-88 avatar bayta-88 commented on July 29, 2024

Hello I'm on NixOS and I am also experiencing this issue:
Using "DLL injection" method with or without Penumbra: Game always loads correctly
Using "Entrypoint" method without Penumbra: Game always loads correctly
Using "Entrypoint" method with Penumbra: Game loads correctly like 10-20% of the time. Most of the time the XIVLauncher window disappears, the process continues running in the background but the game window never loads and one of the last lines in dalamud.log is "[LOCALPLUGIN] Loading Penumbra.dll".

from penumbra.

Ottermandias avatar Ottermandias commented on July 29, 2024

Well, I can't test anything outside of windows, so I'm not sure how to help you. If any of you is able to self-compile or attach debuggers, you can do the latter to try to figure out where it deadlocks.
It might also change to remove the TaskScheduler.Default I recently added to most ContinueWith calls when Dalamud fucked up the task context in some cases.

from penumbra.

bayta-88 avatar bayta-88 commented on July 29, 2024

I have done some minor modifications of other plugins using Visual Studio on Windows before so I wouldn't mind trying to help with debugging if that helps. Issue is that from what I'm reading in the Dalamud guide plugin development/debugging has to be done with Visual Studio which doesn't seem to be supported on Linux... do you know if it works decently with Wine? Or is there any other way of debugging plugins running on a Linux system?

from penumbra.

Ottermandias avatar Ottermandias commented on July 29, 2024

Sorry, but I have no clue.

from penumbra.

bayta-88 avatar bayta-88 commented on July 29, 2024

Just in case it helps, after some fiddling around I've found that disabling the "Wait for plugins on startup" option under "Advanced" makes Penumbra be loaded correctly every time even when the "Entrypoint" method is chosen but from what I've been told this basically negates the benefits of choosing "Entrypoint" in the first place.
For me everything seems to be loading correctly tho.

from penumbra.

bayta-88 avatar bayta-88 commented on July 29, 2024

From what I've been told it appears that the issue is that the Entrypoint method (with the "Wait for plugins on startup" option enabled) stalls the game process while every plugin is being loaded. Apparently stalling the process on Windows is not an issue but when running the game on Wine this causes DXVK to timeout and the game to just not-start. With most plugins the amount of stalling required is not enough to cause problems but with Penumbra if people have enough mods (I have 65GB) this stalling can be long enough to make DXVK timeout causing the problem... if this assessment is correct I think unless some major redesign is done to make Penumbra capable of loading everything much faster (which is likely not possible) or the loading of some mods is delayed the issue is not really solvable... maybe a warning could be added somewhere to let Linux users know that if they have too many mods they may need to disable the "Wait for plugins on startup" option and/or pick the "DLLInject" method to make the game start.

Edit: Typo.

from penumbra.

randomei avatar randomei commented on July 29, 2024

@bayta-88 You may be right. I've tested it on a newer and more performant hardware and the game starts every time with stable version. Not tested this with unstable tho.

from penumbra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.