I have installed the latest version of love from the source. I downloaded some games from the wiki page, but running all of them makes a very high CPU usage of over 350%!! So my question is that the normal CPU usage of running Love-games? Why do they need so much of CPU?
Any help is appreciated.
Very high CPU usage on Debian 8
Re: Very high CPU usage on Debian 8
Any one having the same problem on a linux machine?
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Very high CPU usage on Debian 8
Apparently not; löve should not use that much CPU at all... (Also, it's weird how CPU usage could go over 100%... maybe it counts cores separately and adds the percentages together?)
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Very high CPU usage on Debian 8
Can i ask what your Operating System is and what your average CPU usage on it when you run a ready Love game?
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Very high CPU usage on Debian 8
0.55% CPU usage for me running the (0.10.2) no-game screen; Win7 x64.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Very high CPU usage on Debian 8
My badly optimized game with game with lots of animations,canvases,tweens averages at 4% CPU and 50MB ram.
I'm using Arch.
Just get the deb file from the frontpage.
I'm using Arch.
Just get the deb file from the frontpage.
Re: Very high CPU usage on Debian 8
WOW! This is a nice CPU number! I also installed love from the synaptic, the result was the same. It is strange
Re: Very high CPU usage on Debian 8
Do you have similar problems with other applications and games?
Re: Very high CPU usage on Debian 8
ArchLinux , kernel 4.10.11
Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
8 Gb ram.
Running love 0.10.2 (title screen):
I've included Xorg too, because the % of total load must consider this too (Xorg is doig display tasks too, and is below 1% when love is not running).
With love-hg (aka love 0.11), results are worse: 18% (love-hg) + 4% (Xorg) just for title screen.
I even restarted Xorg, suspecting some problems with it, but results are the same.
Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
8 Gb ram.
Running love 0.10.2 (title screen):
Code: Select all
%CPU VIRT RES COMMAND
13,9 204,6m 32,6m love
5,3 310,2m 64,9m Xorg
With love-hg (aka love 0.11), results are worse: 18% (love-hg) + 4% (Xorg) just for title screen.
I even restarted Xorg, suspecting some problems with it, but results are the same.
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Very high CPU usage on Debian 8
The only idea i have remaining is this, try testing with -two- empty projects; one with a conf.lua file off of the wiki, and set vsync to false in that (since it's enabled by default).
If the one without vsync takes up way less CPU than the other, then my best guess is that vsync is achieved with a busy-loop, so it actually consumes at least one CPU core... so the easy solution would be to just not use vsync...
If the one without vsync takes up way less CPU than the other, then my best guess is that vsync is achieved with a busy-loop, so it actually consumes at least one CPU core... so the easy solution would be to just not use vsync...
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests