Code Monkey home page Code Monkey logo

Comments (12)

Arignir avatar Arignir commented on August 24, 2024

Hello!

First of all, thank you so much for spending time playing with my emulator! It's the very first time I hear about someone using my project that isn't one of my IRL friend so it means a lot to me :D

I can confirm your issue if vsync is disabled (Video -> Enable VSync). If this option isn't enabled, the FPS of the frontend (not the ones of the game being emulated) aren't capped, which can result in a large CPU/GPU consumption.

With the latest release, those are now capped to 60fps if vsync is disabled. Can you confirm that the CPU/GPU consumption is lower now?

from hades.

IPeluchito avatar IPeluchito commented on August 24, 2024

Thanks to you for taking the time to work on the emulator...well here are some screenshots of how the emulator looks now:

VSync=OFF (Default)
VsyncOFF

Vsync=ON
VsyncON

from hades.

Arignir avatar Arignir commented on August 24, 2024

May I ask how much hertz is the display rate of your screen?

Also, those screenshot were taken with the latest changes that I made a couple of hours ago?

from hades.

IPeluchito avatar IPeluchito commented on August 24, 2024

3840x2160 / 60Hz / HDMI (video & sound) and yes, I've tested it again with today's latest modification....same results...

from hades.

Arignir avatar Arignir commented on August 24, 2024

Okay, I'll look into it again! Thanks for your feedback.

from hades.

Arignir avatar Arignir commented on August 24, 2024

Hello! Could you try again with the latest build on master? You should see major improvements :D

from hades.

IPeluchito avatar IPeluchito commented on August 24, 2024

Much better... although when you pause a game (Vsync=ON) the CPU consumption stays around 20% and when you remove the pause, the fps goes up to around 300 fps until after a few seconds it stabilizes at 60fps...

from hades.

Arignir avatar Arignir commented on August 24, 2024

For the CPU consumption part you're right, my condition to enable "power save mode" is that the emulation isn't started, I've pushed a fix that switches the condition to "emulation isn't started or emulation is paused", thanks! Let me know if everything is good for you so I can close the issue :D

For the FPS counter part, yeah that's normal: FPS needs a bit of time to stabilize. The actual FPS should be stable tho, it's only the number printed that's a bit off for the first second or two.

from hades.

IPeluchito avatar IPeluchito commented on August 24, 2024

Now the CPU / GPU consumption are where they should be...however the emulator GUI has become slow and when removing the pause when a game is loaded the emulator takes between 12-22 seconds to stabilize its fps at 60fps... :S

from hades.

Arignir avatar Arignir commented on August 24, 2024

Bwahaha we will never see the end of this :')

On a more serious note, I think I fixed both bugs. Can you please try with the new version? Hopefully everything will be in order this time 🙏

from hades.

IPeluchito avatar IPeluchito commented on August 24, 2024

It's fixed.... :) just one last question, is it normal that when Vsync is enabled the CPU consumption is around 25% while with Vsync disabled that same consumption is around 7% ?

If it is normal, please close the issue and......Congratulations!!! xD

from hades.

Arignir avatar Arignir commented on August 24, 2024

I've seen the opposite effect (with vsync CPU is lower, and without vsync it is higher) and so far I believe it's normal and depends on your displays' refresh rate.

Thanks for your patience while resolving this issue, and thank you again for using Hades! If you find any other bug, please feel free to fill another issue 😄

from hades.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.