Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.37 engine is incredibly laggy for some reason #707

Closed
Niko-The-Fluffy opened this issue Nov 1, 2024 · 79 comments
Closed

1.37 engine is incredibly laggy for some reason #707

Niko-The-Fluffy opened this issue Nov 1, 2024 · 79 comments
Assignees
Labels
bug Something isn't working inactive same as the other label, but just inactive in general

Comments

@Niko-The-Fluffy
Copy link

Describe your bug here. If you are modding, try testing your bug in a clean version of the engine instead. Also, if you're using an older version of JSE, please try the latest version/action build. Also, be sure to check the pinned 'JS Engine: Known Issues' issue, to check if your issue hasn't already been found!

So we ported Polyverse from 1.33 to 1.37, and it worked fine until the opponent started hitting notes. It caused the engine to start lagging a lot, and it stayed like that even after leaving the song.

Screen.Recording.2024-11-01.090410.mp4

It doesn't cause any crashes, but it makes the engine run at under 30 fps which isn't optimal for the mod at all.

Command Prompt/Terminal/Crash logs (if existing)

No response

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.

Simply going into a song and hitting any notes causes the lag to start.

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

Ported Polyverse from 1.33 to 1.37

If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?

None

Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.

Yes

@Niko-The-Fluffy Niko-The-Fluffy added the bug Something isn't working label Nov 1, 2024
@StinkTheStinker
Copy link

  1. check the fps limit in options
  2. what ram do you have

@Niko-The-Fluffy
Copy link
Author

  1. check the fps limit in options
  2. what ram do you have
  1. 60 fps
  2. about 32 iirc

@StinkTheStinker
Copy link

StinkTheStinker commented Nov 2, 2024

  1. about 32 iirc

what the fuck is iirc

@moxie-coder
Copy link
Collaborator

  1. about 32 iirc

what the fuck is iirc

if I recall correctly

@nate902011
Copy link

nate902011 commented Nov 2, 2024

have the same issue except it started before it even loaded. 1.36 was not like this.

@nate902011
Copy link

nate902011 commented Nov 2, 2024

and then the longer you play the more it lags until it crashes (no log)/never responds or until it becomes unplayable.

@JordanSantiagoYT
Copy link
Owner

JordanSantiagoYT commented Nov 2, 2024

This is due to memory usage, and is not something I can fix or control.

The closest thing is the "Enable GC" option (in the Optimizations options menu)

@nate902011
Copy link

nate902011 commented Nov 2, 2024

This is due to memory usage, and is not something I can fix or control.

The closest thing is the "Enable GC" option (in the Optimizations options menu)

memory usage? back in 1.36 with the same memory usage i have now, it was working fine, and reducing it doesn't help (trust me, i've tried).

and disabling "Enable GC" doesn't help either.

the same things as described before still occur.

@StinkTheStinker
Copy link

...back in 1.36 with the same memory usage i have now, it was working fine, and reducing it doesn't hep (trust me, i've tried).

theres no other way of trying to fix this then, how much ram do you have anyway

@StinkTheStinker
Copy link

theres no other way of trying to fix this then, how much ram do you have anyway

another thing, in the gameplay options, turn on low quality, and turn off anti-aliasing. if you have not done that at least

@nate902011
Copy link

theres no other way of trying to fix this then, how much ram do you have anyway

another thing, in the gameplay options, turn on low quality, and turn off anti-aliasing. if you have not done that at least

i have 8 gb of ram

enabling low quality and disabling anti-aliasing doesn't help

@StinkTheStinker
Copy link

StinkTheStinker commented Nov 8, 2024

open task manager and go to the performace tab of it and look at your cpu, gpu (graphics card), and ram. look at it with the game open, i think cpu gives fps or some shit

if its not the reason, then i have no clue. js will probably close it if theres 3-5 days of inactivity on this issue

@Niko-The-Fluffy
Copy link
Author

open task manager and go to the performace tab of it and look at your cpu, gpu (graphics card), and ram. look at it with the game open, i think cpu gives fps or some shit

if its not the reason, then i have no clue. js will probably close it if theres 3-5 days of inactivity on this issue

I could show mine but it'd have to wait for Monday when I can get my computer that has the build on it

@nate902011
Copy link

i have v1.37.1 and 1.36 downloaded at the same time and it isn't me or my setup, it's 1.37. when playing js 1.36, only a few, very minor lag spikes occur. but with 1.37.1, it lags a lot more and more aggressively. and this is also something that happens on 1.37, if you tab out for a minute or two, you'll find it's fps at an unplayable 13-20. and the more you tab out, the worse it gets, until boom, it freezes up and never loads.

@nate902011
Copy link

maybe they might've just messed up the code somehow and we might have to wait for 1.38 for this to get fixed.

@moxie-coder
Copy link
Collaborator

moxie-coder commented Nov 9, 2024 via email

@nate902011
Copy link

still not fixed in 1.38

@nate902011
Copy link

hopefully a patch comes out soon or else i'll still be playing 1.36 when 2.0 comes out

@moxie-coder
Copy link
Collaborator

I’ve not been having lag issues, so I’m going to ask, what are your specs? @Niko-The-Fluffy @nate902011

@nate902011
Copy link

nate902011 commented Nov 16, 2024

11 gen 6 core i5
8GB ram
6GB vram rtx 3050

@nate902011
Copy link

nate902011 commented Nov 16, 2024

im not running songs like floccinaucinihilipilificatiophobia with like 300 million notes so i should be fine running the freaking main menu or preload without lag (like shown above, that is not the case)

@nate902011
Copy link

nate902011 commented Nov 16, 2024

and like i've said before, 1.36 works fine, its just something with 1.37+ that's causing the lag.

@StinkTheStinker
Copy link

try turning on GPU Caching in the graphics options

@nate902011
Copy link

i have

@StinkTheStinker
Copy link

was it already on?

@nate902011
Copy link

yeah

@StinkTheStinker
Copy link

turn it off then

@StinkTheStinker
Copy link

i also am, its not

@nate902011
Copy link

then i've got nothing, stickin' with 1.36 then

@StinkTheStinker
Copy link

close as not planned maybe?

@moxie-coder
Copy link
Collaborator

well, @Niko-The-Fluffy are you still having this issue as of the latest version?

@moxie-coder
Copy link
Collaborator

btw if you wanna, you mind sending me the mod in private? I wanna test it myself to see if it lags then, because I'm not having lag troubles

@ARandomGuylol

This comment has been minimized.

@StinkTheStinker

This comment has been minimized.

@ARandomGuylol

This comment has been minimized.

@StinkTheStinker

This comment has been minimized.

@moxie-coder
Copy link
Collaborator

moxie-coder commented Nov 19, 2024

@ARandomGuylol continue to be disrespectful you're being banned from this repo, you have no right to be disrespectful here for no reason, this is GitHub, not Reddit

@Niko-The-Fluffy
Copy link
Author

btw if you wanna, you mind sending me the mod in private? I wanna test it myself to see if it lags then, because I'm not having lag troubles

Yeah sure, I'll send it in like an hour tops

@moxie-coder
Copy link
Collaborator

btw if you wanna, you mind sending me the mod in private? I wanna test it myself to see if it lags then, because I'm not having lag troubles

Yeah sure, I'll send it in like an hour tops

got it

@Niko-The-Fluffy
Copy link
Author

Niko-The-Fluffy commented Nov 19, 2024

btw if you wanna, you mind sending me the mod in private? I wanna test it myself to see if it lags then, because I'm not having lag troubles

Yeah sure, I'll send it in like an hour tops

got it

is there a way you want me to send it to you? like through google drive or whatever

@ARandomGuylol

This comment was marked as off-topic.

@StinkTheStinker
Copy link

I don't know If that is disrespect or not

@moxie-coder
Copy link
Collaborator

btw if you wanna, you mind sending me the mod in private? I wanna test it myself to see if it lags then, because I'm not having lag troubles

Yeah sure, I'll send it in like an hour tops

got it

is there a way you want me to send it to you? like through google drive or whatever

anyway is fine

@samikhuska57
Copy link

when then idk

man i had that issue too my pc is 4th gen i7 and 16 gb ram ddr3 and raedon rx 580 8 gb and i was lagging + gc enable didnt work still lag spike and crash or slow clean garbage usage ram

@StinkTheStinker
Copy link

wait
how old is your computer if you know

@nate902011
Copy link

js v1.39 is still laggy

@moxie-coder
Copy link
Collaborator

js v1.39 is still laggy

okay I've got another idea, which is to just use a performance profiler to monitor what's causing the lag to happen

@moxie-coder moxie-coder added the status: awaiting response Awaiting further response from the bug or PR author. label Jan 1, 2025
@moxie-coder
Copy link
Collaborator

I've not gotten an response from you @Niko-The-Fluffy yet, I'll wait a little bit more, but if I don't get a response soon this issue is getting closed

@SyncGit12
Copy link
Collaborator

I've not gotten an response from you @Niko-The-Fluffy yet, I'll wait a little bit more, but if I don't get a response soon this issue is getting closed

gta 6 will come out before niko the fluffy responds💀

@SyncGit12
Copy link
Collaborator

update: tried out the mod, (ITS PEAK) on latest version and no lag for me!

maybe bc i have a overkill pc

@SyncGit12
Copy link
Collaborator

have the same issue except it started before it even loaded. 1.36 was not like this.

thats just microstutters

@SyncGit12
Copy link
Collaborator

moxie said its going to be closed if niko doesnt respond, soooo-

@SyncGit12 SyncGit12 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2025
@moxie-coder moxie-coder added inactive same as the other label, but just inactive in general and removed status: awaiting response Awaiting further response from the bug or PR author. labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working inactive same as the other label, but just inactive in general
Projects
None yet
Development

No branches or pull requests

8 participants