DarkestHour icon indicating copy to clipboard operation
DarkestHour copied to clipboard

Some players report the game "freezing" upon death

Open cmbasnett opened this issue 6 years ago • 17 comments

Not sure what the deal is here. Doesn't seem to be dependent on OS. A very small contingent of players experienced this. It could quite possibly be related to the spectator mode changes I did, since the player reporting it say it started happening when we did the the October 15th test, which was the first time the spectator mode changes were implemented. I will investigate!

cmbasnett avatar Oct 22 '17 23:10 cmbasnett

We have some video evidence of the problem:

https://www.youtube.com/watch?v=WR7GEGh6Ndk

At the 24:00 mark, he soon gets into a "gray screen" and the frame-rate starts to tank until he eventually spawns and it fixes it.

cmbasnett avatar Oct 24 '17 20:10 cmbasnett

This bug is likely a result of one of the changes made regarding #803.

cmbasnett avatar Oct 25 '17 23:10 cmbasnett

We need as much feedback as possible and as often as possible.

AndrewTheel avatar Mar 21 '18 09:03 AndrewTheel

I will have to go over the spectator changes made during the 8.0 alpha and see if there are any places where there is potential for unending loops, which may be the cause of this crash. If it is it's fairly easy fix, but determining if it's actually going to work is impossible without reliable reproduction steps.

On Wed, Mar 21, 2018 at 2:36 AM, Andrew Lett [email protected] wrote:

We need as much feedback as possible and as often as possible.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/DarklightGames/DarkestHour/issues/880#issuecomment-374879275, or mute the thread https://github.com/notifications/unsubscribe-auth/AEzWjEYJiy5_aERvAu9OTT21cqCE6V4-ks5tgh85gaJpZM4QCJfF .

cmbasnett avatar Mar 21 '18 18:03 cmbasnett

Apparently a workaround players are using is running windowed mode.

AndrewTheel avatar Mar 21 '18 18:03 AndrewTheel

I'm not sure how that would affect things, but if it's true and it actually helps then it potentially points to a lower level problem, or at least a manifestation of it brought on by the changes to spectator mode.

On Wed, Mar 21, 2018 at 11:07 AM, Andrew Lett [email protected] wrote:

Apparently a workaround players are using is running windowed mode.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/DarklightGames/DarkestHour/issues/880#issuecomment-375042419, or mute the thread https://github.com/notifications/unsubscribe-auth/AEzWjOQ9CkwNBF2W4hu0FJIy6DaJidZwks5tgpbsgaJpZM4QCJfF .

cmbasnett avatar Mar 21 '18 18:03 cmbasnett

To get to the bottom of this issue, we should collect multiple user's INIs to determine if there are any common settings among them which create this problem for them and them alone. Also, might be wise to get their GPU, as I have a feeling this is a GPU / graphic issue.

AndrewTheel avatar Mar 21 '18 18:03 AndrewTheel

I tried enabling and disabling several graphical options including blur made no difference.

AndrewTheel avatar Mar 28 '18 23:03 AndrewTheel

I just bought the game through Steam. I'm enjoying it greatly except the fact that the game and my system freeze upon player death. This makes it completely unplayable. I have tried windowed mode and no motion blur. Please let me know if there is a workaround or how I can help contribute info for a fix Thanks

Oakbough avatar Aug 08 '18 17:08 Oakbough

@Oakbough Yes, you can be helpful. We need someone with the problem to help us debug it. Could start out with getting a reliable way to replicate the result. We want to know if it can happen in singleplayer with bots. We want a log from a client which experienced the freeze. I'm guessing the log file isn't being created because of the freeze however, so perhaps you might need to play with showlog and once the .exe freezes to switch to the log and copy-paste.

Another thing that might be helpful is determining if some types of death don't cause the issue, for instance if you are completely obliterated by tank HE, if it does or does not occur.

We are pretty sure it is something to do with the spectate changes we made a while back, but how it is only affecting a random few players is very strange. Perhaps we should sit down with you a few times on discord and do some testing with you.

AndrewTheel avatar Aug 08 '18 17:08 AndrewTheel

Thank you for the prompt response. It appears as though I did indeed have motion blur activated when experiencing the critical crashes.

I have played a few times since turning motion blue off and it has been more stable. I haven't tried using full screen with motion blur off to see what happens. I was happy to see it at least running and wanted to try the game some more. I am not sure if I can be helpful considering the fix is something you are aware of but if I can be of help I can gladly talk to you about my system and experience with the game.

Thanks Jean-Paul


From: Andrew Lett [email protected] Sent: Wednesday, August 8, 2018 10:57 AM To: DarklightGames/DarkestHour Cc: Oakbough; Mention Subject: Re: [DarklightGames/DarkestHour] Some players report the game "freezing" upon death (#880)

@Oakboughhttps://github.com/Oakbough Yes, you can be helpful. We need someone with the problem to help us debug it. Could start out with getting a reliable way to replicate the result. We want to know if it can happen in singleplayer with bots. We want a log from a client which experienced the freeze. I'm guessing the log file isn't being created because of the freeze however, so perhaps you might need to play with showlog and once the .exe freezes to switch to the log and copy-paste.

Another thing that might be helpful is determining if some types of death don't cause the issue, for instance if you are completely obliterated by tank HE, if it does or does not occur.

We are pretty sure it is something to do with the spectate changes we made a while back, but how it is only affecting a random few players is very strange. Perhaps we should sit down with you a few times on discord and do some testing with you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/DarklightGames/DarkestHour/issues/880#issuecomment-411496457, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AoQscaLCX5hEK9fIKY0mieWD1vRkFT56ks5uOyaRgaJpZM4QCJfF.

Oakbough avatar Aug 10 '18 15:08 Oakbough

This seems to be universally a problem with clients using integrated GPU cards. (basically dells, cheap PCs, laptops).

AndrewTheel avatar Aug 15 '18 09:08 AndrewTheel

I tested my laptop's integrated GPU and did not have an issue. Still not sure what this problem is, I think we may just have to blind debug it.

AndrewTheel avatar Sep 07 '18 21:09 AndrewTheel

Basnett and I decided to have this after v8.2, we will gut it entirely and see if the crash on death issue goes away, if it does then we will consider re-implementing the spectator changes one by one slowly so we can determine where the issue is.

AndrewTheel avatar Sep 12 '18 00:09 AndrewTheel

Okay so update here. We instead decided to change 1 thing first before we gut all the spectator changes. I've re-implemented self-spectate mode (aka made it always valid even when the player has no pawn). I have multiple reports that the crash very often happens when the player dies on a gun or when they are gibbed. So by turning on this self-spectate mode we hope the issue goes away. Because otherwise we don't see how any other changes could have changed anything for those players. However, we want DH to be stable for as much hardware as possible and are willing to revert all the spectator changes to see if the crashes go away. If the crashes go away we can pretty much leave it how it currently is, but if they don't we have to go further down the rabbit hole.

AndrewTheel avatar Sep 29 '18 06:09 AndrewTheel

Update: The first hopeful fix did not work. Players still crash constantly when they did. Next up is to revert the HUD changes from the spectator update.

AndrewTheel avatar Nov 02 '18 03:11 AndrewTheel

Hmm just thought of something, we should find out if those with issues are running an Anti-Virus and if so, which one.

AndrewTheel avatar Nov 19 '18 16:11 AndrewTheel