Git Product home page Git Product logo

dependencies's People

Contributors

endrift avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dependencies's Issues

50% performance loss with SDL 2.0.8

After updating my MSYS2/Mingw-w64 environment to SDL 2.0.8, I noticed a performance loss of about 50% when audio synchronization is enabled compared to previous versions of the SDL2 library.

I compared it with my own compilation of the current master code with SDL 2.0.7 and a current nightly compiled by the buildbot. It doesn't matter if I try with a GB, GBC or GBA game as I always get the same results.

SDL 2.0.7 and 2.0.5:
Audio buffer size of 1024 samples: stable 60 FPS.
Audio buffer size of 786 samples: stable 60 FPS.
Audio buffer size of 512 samples: stable 60 FPS.
Audio buffer size of 384 samples: around 52 FPS.

SDL 2.0.8:
Audio buffer size of 1024 samples: stable 60 FPS.
Audio buffer size of 786 samples: around 48 FPS.
Audio buffer size of 512 samples: around 32.5 FPS.
Audio buffer size of 384 samples: around 23.5 FPS.

It is noteworthy that the performance drop clearly has something to do with the audio synchronization. If I untick audio sync in the settings, FPS for both versions get up into several thousand FPS.

OS: Windows 10, 1709, build 16299.309
Graphics hardware: AMD Radeon RX 560D
CPU: AMD Ryzen 5 1600
Onboard audio chip.
Latest drivers for everything.

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.