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

Too many resources. #35

Open
Silveriomrs opened this issue Sep 11, 2021 · 9 comments
Open

Too many resources. #35

Silveriomrs opened this issue Sep 11, 2021 · 9 comments
Assignees
Labels

Comments

@Silveriomrs
Copy link

Silveriomrs commented Sep 11, 2021

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.

@Silveriomrs Silveriomrs changed the title Too much resources. Too many resources. Sep 11, 2021
@raydac
Copy link
Owner

raydac commented Sep 12, 2021

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

@raydac raydac self-assigned this Sep 14, 2021
@raydac raydac added the bug label Sep 14, 2021
@Silveriomrs
Copy link
Author

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

@Haroldo64
Copy link

Haroldo64 commented Jun 6, 2022

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.

@Silveriomrs
Copy link
Author

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

@Silveriomrs
Copy link
Author

Silveriomrs commented Dec 19, 2022

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 added a commit that referenced this issue Feb 25, 2023
raydac added a commit that referenced this issue Feb 25, 2023
@raydac
Copy link
Owner

raydac commented Feb 25, 2023

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

@Silveriomrs
Copy link
Author

Silveriomrs commented Apr 7, 2023

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
Copy link
Owner

raydac commented Apr 7, 2023

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

@Silveriomrs
Copy link
Author

Silveriomrs commented Apr 7, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants