High CPU load

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
Senphys :3
Posts: 131
Joined: Fri Jun 05, 2015 9:23 am
Player profile: https://ddnet.tw/players/Senphys-32--58-3/

High CPU load

Post by Senphys :3 »

Hello! Bothers me one problem. It lies in the fact that the client loads the CPU to 70% or more which should not be. In this regard, appear to be freezes for a few seconds. What is the reason and how to fix it?
CPU
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: High CPU load

Post by deen »

Update to the most recent DDNet client version. Set a lower value for cl_refresh_rate
Senphys :3
Posts: 131
Joined: Fri Jun 05, 2015 9:23 am
Player profile: https://ddnet.tw/players/Senphys-32--58-3/

Re: High CPU load

Post by Senphys :3 »

Value cl_refresh_rate 0. Updated to the latest version of the client. The latest version of Windows. Video card driver are updated to the latest version.
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: High CPU load

Post by deen »

cl_refresh_rate 200, gfx_vsync 1
Senphys :3
Posts: 131
Joined: Fri Jun 05, 2015 9:23 am
Player profile: https://ddnet.tw/players/Senphys-32--58-3/

Re: High CPU load

Post by Senphys :3 »

I would not want to enable vertical sync it is very hard to play. When you include all that you suggested nothing changed. What else can you do?
ᴷᵉᵏᶳ
Posts: 32
Joined: Fri Oct 20, 2017 4:33 pm
Player profile: https://ddnet.tw/players/ᴷᵉᵏᶳ
Mapper profile: https://ddnet.tw/mappers/ᴷᵉᵏᶳ
Clan: ΛLIVΣ

Re: High CPU load

Post by ᴷᵉᵏᶳ »

Yes, never enable VSync, it creates ugly lags, and anybody that plays on high level notices it.. it's the worst thing invented, and Nvidia and AMD try hard to replace it(Fast Sync, Enchanced Sync).

use gfx_refresh_rate if you want to limit your GPU usage.
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: High CPU load

Post by deen »

ᴷᵉᵏᶳ wrote: Thu Apr 12, 2018 4:13 pm Yes, never enable VSync, it creates ugly lags, and anybody that plays on high level notices it.. it's the worst thing invented, and Nvidia and AMD try hard to replace it(Fast Sync, Enchanced Sync).
On Windows I notice vsync delay, not on Linux btw.
Senphys :3
Posts: 131
Joined: Fri Jun 05, 2015 9:23 am
Player profile: https://ddnet.tw/players/Senphys-32--58-3/

Re: High CPU load

Post by Senphys :3 »

This is just what you need thanks. I just don't know what to set.
ᴷᵉᵏᶳ
Posts: 32
Joined: Fri Oct 20, 2017 4:33 pm
Player profile: https://ddnet.tw/players/ᴷᵉᵏᶳ
Mapper profile: https://ddnet.tw/mappers/ᴷᵉᵏᶳ
Clan: ΛLIVΣ

Re: High CPU load

Post by ᴷᵉᵏᶳ »

deen wrote: Thu Apr 12, 2018 4:18 pm On Windows I notice vsync delay, not on Linux btw.
And are you sure Vsync actually works with your linux setup? it's not a secret that most linux drivers don't really implement vsync.
Else you might have a modern driver doing exactly that, trying to not create any lag by waiting for the GPU to finish
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests