etterna icon indicating copy to clipboard operation
etterna copied to clipboard

Constant Desync/Stuttering Issues During Gameplay

Open ghost opened this issue 6 years ago • 27 comments

Video constantly desyncs from song audio during low impact play on sub-10 difficulty charts. Not to mention it also stutters more than an autistic child with a lisp.

Also multiple game crashes caused by sound reader when using OGG files. mp3 just floats away as i play.

ghost avatar Feb 10 '19 21:02 ghost

Can I have some good examples of files with this issue?

poco0317 avatar Feb 10 '19 21:02 poco0317

Literally anything from SMO that isnt pre-parsed by your environment.

ghost avatar Feb 10 '19 21:02 ghost

Gonna need some specific examples.

TheROPFather avatar Feb 10 '19 22:02 TheROPFather

I'm not sure what you mean by pre-parsed. The most we've done is delete bloated stuff from packs, and that concerns EO itself, not Etterna. This is a game issue. I need specific examples.

poco0317 avatar Feb 10 '19 22:02 poco0317

ECS7 Qualifiers pack, Propane Nightmares [15], after the first run, the game stutters, then desyncs by 30ms. It happens any time there is a VPF spike in engine.

ghost avatar Feb 10 '19 22:02 ghost

There is no 7 on SMO?

TheROPFather avatar Feb 10 '19 22:02 TheROPFather

http://groovestats.com/ECS7/download/ECS7.zip

ghost avatar Feb 10 '19 22:02 ghost

That file isn't under 10....

Also I don't want to play 10 minutes of something, do you have an example from a relevant pack?

TheROPFather avatar Feb 10 '19 22:02 TheROPFather

Relevant to spread players? Nope. But this issue exists for anyone trying to run etterna on a pad level use. And dont give me shit about "but we don't advertise for pad play", thanks TriHex.

ghost avatar Feb 10 '19 22:02 ghost

Nobody was giving you shit, but uh. A file from another pack would be useful, basically one that isn't going to require me to play for 10 minutes to test.

Also you stated it was files under 10, but provided a 16 - I don't mind that level, but yea.

TheROPFather avatar Feb 10 '19 22:02 TheROPFather

The issue also occurs in Jayce's "Feel The Notes" pack. I've had the same issue with every chart in that pack.

ghost avatar Feb 10 '19 22:02 ghost

OK, I've managed to reproduce this. I don't know how, but we can look into this - thanks for bringing it to our attention.

TheROPFather avatar Feb 10 '19 22:02 TheROPFather

It's a legitimate issue. I didn't manage to reproduce, but I'll look into it.

poco0317 avatar Feb 10 '19 22:02 poco0317

Alright. Good luck fam. Closing issue now that it's known.

ghost avatar Feb 10 '19 22:02 ghost

did you expect us to intentionally not fix something despite being provided the issue, source and examples?

we'd have to be stepmania to do that

opening until a commit solves it

MinaciousGrace avatar Feb 10 '19 23:02 MinaciousGrace

Yeah, I gotta agree with you there. Neither of us are Stepmania. You guys are Project Etterna, we're Team Rizu. So that I can agree on :P

ghost avatar Feb 10 '19 23:02 ghost

If you have any other input on this issue, I'd apprecciate it. Thanks for the report.

nico-abram avatar Feb 10 '19 23:02 nico-abram

If I find anything, I'll let you guys know. Our code differences are pretty wide now, so pinpointing the issue in the code here might take longer than expected.

ghost avatar Feb 10 '19 23:02 ghost

ok im having trouble reproducing this so can i get some info

any hardware info you think is relevant? os? vsync? if not whats your general gameplay fps? release build or develop? ssd or hdd for songs folder? any gameplay/gfx settings you think are relevant? is smoothlines on? does the stuttering get logged as frameskips?

i've been trying to overload vpf by autoplaying 20 min marathons in ecs7 on low cmods at 3x speed and then going to feel the notes and playing them on 1.0 but the worst i get is small jitter which is not consistent with the significant jumps rop was getting

MinaciousGrace avatar Feb 11 '19 00:02 MinaciousGrace

It might be useful to know if the stutter also happens on previews, or just gameplay

nico-abram avatar Feb 11 '19 00:02 nico-abram

The stutter happens with vsync off, release install client, SSD install, all settings default except visual delay at +25ms. Running in OpenGL mode. My SSD is a RAID0 array of 2 Samsung 850 EVO drives.

Drive load spikes are noticed when in song wheel. Same behavior causing the issue in gameplay, resulting in desync.

ghost avatar Feb 11 '19 01:02 ghost

Are you on linux?

nico-abram avatar Feb 11 '19 01:02 nico-abram

Win10 x64

ghost avatar Feb 11 '19 01:02 ghost

100% have this issue watch any YT recording of the game you will see the stutter prefs watch etiennes channel and it should become obvious

ael224 avatar May 22 '19 13:05 ael224

Uh, that's a different issue from the one brought up here. Etienne and others suffer from the microstutters that most players get, we're also looking into that however this issue was for a very specific stutter bug.

TheROPFather avatar May 22 '19 16:05 TheROPFather

Did some forensic work here and found something kind of interesting.

The .sms of the Feel The Notes pack have the line #TICKCOUNT:0.000=2; present in nearly all of the charts.

Since I haven't ever seen that property before, I looked through my entire song library (which is decently large; 5731 songs), and only found 3 other instances of that field in any of them outside of that pack.

Given how rare this attribute is, and the fact that every chart in Feel The Notes had it, I have to wonder if it's potentially related. It's also entirely possible that this is a red herring and has absolutely nothing to do with the issue.

However, Propane Nightmares from ECS Qualifiers does not have this attribute set, so that can't solely be the cause of this issue, if it is the cause for Feel The Notes.

The other three songs from my collection that contain this attribute are below, in case we want to do further investigation as to whether they do or don't also have the aforementioned stutters.

/Songs/midare megapack 4/(HST) HST's OP -penance-/hst.sm:#TICKCOUNT:0.000=2; /Songs/the Leftovers 3/minefield surfing (Windoze)/[Speed Changes] - minefield surfing.sm:#TICKCOUNT:0.000=2; /Songs/FFR Community Pack Novice Files Compilation/Poseidon (Kors K Mix) (Gameoson)/poseidon.sm:#TICKCOUNTS:0.000=2

bluebandit21 avatar Apr 01 '21 18:04 bluebandit21

In Gameplay, tickcount is fully irrelevant in the current game and the issue persists. Tickcount code still exists in gameplay but is never executed because we hardcoded it to be disabled for every style and every game.

poco0317 avatar Apr 01 '21 18:04 poco0317

the issue being described has been unable to be replicated by anyone looking at the issue or any general player in the last 4.5 years so

user error is going to be assumed

MinaciousGrace avatar Jul 12 '23 00:07 MinaciousGrace