raydac/zxpoly

Too many resources.

Silveriomrs opened this issue · 9 comments

Hi,
Issue enviroment:

  • OS: Linux Mint 20.2
  • Graphic Card: Intel embedded & Nvidia GForce GTX
  • CPU: Intel i7 10Th Gen.
  • RAM: 16GiB
  • Game of Test: Game Over 1. (No idea if it happens with others).

The system become crazy about resources and the fan stars to spin too much due to high temperature.
12481 userA 20 0 5482600 525676 66460 S 119,9 3,3 3:41.96 java

It takes a lot of CPU resources, even more than VirtualBox Machine + Firefox together. 119'9% of CPU use.

Thanks for your creation.

I have made some refactoring, could you try 2.2.2-SNAPSHOT version?

Good afternoon,
I have took a screenshot to show you the log and the consume. It keeps high. The fun speed really fast, I got the feeling that not so bad as before but still strange consume needs.
Here is the screenshot:

consumos 2

Hi @Silveriomrs, yesterday I run ZxPoly on a LinuxMint Intel and there are not any problems. Can you try again, please ?
This issue is quite old now.

Sure, ASAP I come back to Spain I will do it and tell you.

I'm sorry for being so late!
Tomorrow I will check the last version out and how many resources it takes.

At any case, it maybe be caused by the own Linux Mint distrubution and not a coding bug. Sadly I have only Linux Mint OS in my computers.

Edit: Upgrading to last version before to check the issue again.

raydac commented

I have added option flag into Preferences, called "Try use less resources", it should decrease CPU consuming in non-turbo mode, you can try snapshot

I have added option flag into Preferences, called "Try use less resources", it should decrease CPU consuming in non-turbo mode, you can try snapshot

Hi again!
Sorry for being late.

Found the flag! And it seems that now works better...
I need to do some tests more before tell if it works fine...

After a while, it is not so noisy as before, but... as you can see in the screenshot the issue continue. Probably it happens only into my system.
Must be said, it run it under Intel graphic (I7) not under Geforce GTX.

zxpoly recursos

Also, detected 2 strange behaviors... screen border flashes, and I couldn't activate the sound.

raydac commented

and what is the game? I see the snapshot starts in zxpoly mode

and what is the game? I see the snapshot starts in zxpoly mode

The game is GameOver. Dinamic.
Now also I notice it has clash color, maybe I did something wrong.
I have taped a video and uploading to Y2B to show you more details...
https://youtu.be/wsb6BKujfi0

Edit: Reloading again... but not sound. Testing CPU usage.
If you need we could do a remote screen and you are free to test directly in my environment

Edit: Loading properly the usage of CPU is right... pretty good indeed, but... once I do a pause of the machine... it becomes again too high.
ZX Poly recursos

Edit 2: After some more games... the CPU usage become normal (<75%) ... so I guess it was solved. Don't know why happen when it get triggered to higher use than 100%. But now... it seems OK.
Fan keep noisy. Should it requires more power than a web browser? cause fan only start to go crazy when I play it or I play games with Wine (for example) with graphics requirements.