Laggs
-
- Posts: 856
- Joined: 22 Dec 2011, 00:24
- Location: Wrocław, Poland
Re: Laggs
I'm using Windows 10 and i have the same problem too. Also, I have similar situation in DSJ3 when i turn on some stream on Twitch, open a new tab and then go to the game. The weird thing is, that when i turn on DSJ4 after that, the problem disappears. It's not a big problem, but that means there is something wrong in the game
Bartek Winczaszek:
DSJ3 TL - 7850.57m #1
DSJ4 TL - 3543.26m #6
DSJ4 Online Peak: 1959 #1
TDD 2013-2020: #2 - #3 - #2 - #2 - #1 - #2 - #1 - #1
My YT and Twitch channels: youtube.com/user/BartiSkiJumper - twitch.tv/BartiDSJ
DSJ3 TL - 7850.57m #1
DSJ4 TL - 3543.26m #6
DSJ4 Online Peak: 1959 #1
TDD 2013-2020: #2 - #3 - #2 - #2 - #1 - #2 - #1 - #1
My YT and Twitch channels: youtube.com/user/BartiSkiJumper - twitch.tv/BartiDSJ
-
- Site Admin
- Posts: 3657
- Joined: 22 Jan 2007, 14:42
- Location: Finland
- Contact:
Re: Laggs
I built a test version which disables the frame rate cap and tries to utilize all the CPU power it can get. Normally DSJ4 caps the frame rate to ~200 FPS, which could cause the CPU to throttle down too much. I haven't been able to reproduce the problem, so this is mostly guessing. Please report if this version works better.
Edit: no need for testing any more.
Edit: no need for testing any more.
-
- Posts: 901
- Joined: 10 Apr 2011, 21:28
-
- Site Admin
- Posts: 3657
- Joined: 22 Jan 2007, 14:42
- Location: Finland
- Contact:
Re: Laggs
Strange indeed. What's the framerate in the intro or when selecting suit colors?lenc wrote:The weird thing is that in the menus you can see the change. Framerate is over 3000 with 99% utilisation of the GPU. But when you load the hill and start jumping, it is exactly like before
-
- Site Admin
- Posts: 3657
- Joined: 22 Jan 2007, 14:42
- Location: Finland
- Contact:
Re: Laggs
And what's the frame rate when watching a paused replay?
-
- Site Admin
- Posts: 3657
- Joined: 22 Jan 2007, 14:42
- Location: Finland
- Contact:
Re: Laggs
Is there a difference in frame rate if you select "No sounds" in DSJ4 Setup?
Re: Laggs
About 140 during the intro: DSJ4_intro.png and 150 during the color selection: DSJ4_suit.pngJussi Koskela wrote:Strange indeed. What's the framerate in the intro or when selecting suit colors?lenc wrote:The weird thing is that in the menus you can see the change. Framerate is over 3000 with 99% utilisation of the GPU. But when you load the hill and start jumping, it is exactly like before
About 55: DSJ4_replay.pngJussi Koskela wrote:And what's the frame rate when watching a paused replay?
No difference.Jussi Koskela wrote:Is there a difference in frame rate if you select "No sounds" in DSJ4 Setup?
-
- Site Admin
- Posts: 3657
- Joined: 22 Jan 2007, 14:42
- Location: Finland
- Contact:
Re: Laggs
Further investigation showed that the problem is actually reproducible on my computer, too. I get about 60 fps, which is as fluent as it gets, but much less than expected.
The root of the problem seems to be extremely slow rendering of primitives which require software vertex processing (i.e. ski jumper, shadows, flags). Why this is happening is still unknown to me. It could be graphics driver, DirectX or Windows 10 related issue, or all combined. I'll try to find a solution.
The root of the problem seems to be extremely slow rendering of primitives which require software vertex processing (i.e. ski jumper, shadows, flags). Why this is happening is still unknown to me. It could be graphics driver, DirectX or Windows 10 related issue, or all combined. I'll try to find a solution.
-
- Site Admin
- Posts: 3657
- Joined: 22 Jan 2007, 14:42
- Location: Finland
- Contact:
Re: Laggs
Here's my second try to fix the lags:
http://mediamond.fi/dev/DSJ4v161-T2.zip
As a workaround I made my own version of indexed vertex blending. In the uncapped mode the frame rate is about 4 times higher than with the original DirectX implementation.
This change should also fix the graphics problems, which were present in Wine, though I didn't try it yet.
I also included an option to DSJ4 Setup to enable/disable Vertical Sync.
Please tell me if this version runs flawlessly and I will soon release official "bug fix" as v1.6.2.
http://mediamond.fi/dev/DSJ4v161-T2.zip
As a workaround I made my own version of indexed vertex blending. In the uncapped mode the frame rate is about 4 times higher than with the original DirectX implementation.
This change should also fix the graphics problems, which were present in Wine, though I didn't try it yet.
I also included an option to DSJ4 Setup to enable/disable Vertical Sync.
Please tell me if this version runs flawlessly and I will soon release official "bug fix" as v1.6.2.
-
- Posts: 901
- Joined: 10 Apr 2011, 21:28
Re: Laggs
Works perfect!
Maybe a little new things in 1.6.2? :v
Maybe a little new things in 1.6.2? :v
-
- Posts: 856
- Joined: 22 Dec 2011, 00:24
- Location: Wrocław, Poland
Re: Laggs
Yeah it's great now! Do you know what was the reason of it?
Bartek Winczaszek:
DSJ3 TL - 7850.57m #1
DSJ4 TL - 3543.26m #6
DSJ4 Online Peak: 1959 #1
TDD 2013-2020: #2 - #3 - #2 - #2 - #1 - #2 - #1 - #1
My YT and Twitch channels: youtube.com/user/BartiSkiJumper - twitch.tv/BartiDSJ
DSJ3 TL - 7850.57m #1
DSJ4 TL - 3543.26m #6
DSJ4 Online Peak: 1959 #1
TDD 2013-2020: #2 - #3 - #2 - #2 - #1 - #2 - #1 - #1
My YT and Twitch channels: youtube.com/user/BartiSkiJumper - twitch.tv/BartiDSJ
-
- Site Admin
- Posts: 3657
- Joined: 22 Jan 2007, 14:42
- Location: Finland
- Contact:
Re: Laggs
I'm not sure about the exact reason. DSJ4 uses DirectX 9 API, which is already 14 years old, and obviously keeping good backwards compatibility was not on somebody's priority.BartiSkiJumper wrote:Yeah it's great now! Do you know what was the reason of it?