OpenJK icon indicating copy to clipboard operation
OpenJK copied to clipboard

Weird SP campaign glitch

Open petarpodbreznicki opened this issue 6 years ago • 5 comments

Windows 10 Education, 1703, 15063.786 i5 8600k @ stock

This is a base game bug, happens in OJK too. It happens in the campaign, after finishing 2 tier 1 levels. After that, a cutscene-only level is supposed to play (t1_inter). The cutscene doesn't play however, I spawn inside the level and the game softlocks and will not proceed.

If you don't know what I mean by spawning inside the level, it is a glitch that can be reproduced by using vid_restart during a cutscene in SP.

I'm not sure how to reproduce this specific bug on other machines though. It happens consistently on higher fps (maxfps 125, 85). Locking my fps to 30 seemed to fix the issue most of the time. Another way of resolving the issue was downclocking my CPU (it ran at stock settings before, I downclocked it to 2.0 GHz and the cutscene would play as expected.

petarpodbreznicki avatar Jan 27 '18 13:01 petarpodbreznicki

I run at maxfps 125 all the time though, and don't usually experience the fps/speed related issue. Have not tested vid_restart issue. The latter likely happens because it tries to spawn and can't resume the cutscene.

ensiform avatar Jan 27 '18 15:01 ensiform

I just experienced the same thing on Linux. Turning on vsync seems to work, so together with @petarpodbreznicki's report I guess it indeed has something to do with a race condition on frame rate? Or maybe logic is coupled to the framerate?

In any case, vsync seems to be a workaround.

steef435 avatar Mar 27 '20 23:03 steef435

In case anyone else ends up in this thread, another workaround on Windows machines is to run the .exe in a compatibility mode (Windows XP SP2 for example).

petarpodbreznicki avatar Apr 01 '20 14:04 petarpodbreznicki

@petarpodbreznicki that's not really a good fix or workaround.

ensiform avatar Apr 01 '20 19:04 ensiform

Can confirm that without vsync, the cutscene t1_inter does not trigger. Also can confirm that with vsync, the cutscene triggers as expected. Maybe this should be mentioned in the documentation somewhere, if this problem isn't going to be worked on? At least a mention in the FAQ? : )

Shamus397 avatar Aug 05 '20 13:08 Shamus397