Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upEmulator completely locks up when clicking menus in GB/GBC #67
Labels
Comments
This comment has been minimized.
This comment has been minimized.
Have you tested a release tarball yet? |
This comment has been minimized.
This comment has been minimized.
I ask because master is a moving target at the moment. |
This comment has been minimized.
This comment has been minimized.
I've tried the latest releases in the Arch Linux repos (2.0.0b2) as well. |
This comment has been minimized.
This comment has been minimized.
Do you have a commit ref? |
This comment has been minimized.
This comment has been minimized.
The Arch repos have commit 1eb7685 |
This comment has been minimized.
This comment has been minimized.
@rastephens426 is this only an issue for GB/GBC? When you use a GBA ROM this does not happen? |
This comment has been minimized.
This comment has been minimized.
It is indeed only happening with GB/GBC |
This comment has been minimized.
This comment has been minimized.
Thanks, will try to take a look sometime soon. |
This comment has been minimized.
This comment has been minimized.
I can reproduce the issue on a desktop machine with NVIDIA graphics. It also happens when closing the window or pressing Escape. |
rkitover
added a commit
that referenced
this issue
Aug 17, 2017
Rewrite SoundSDL (the SDL sound driver). Clean up the code and eliminate all deadlocks/hangs/crashes (hopefully.) Many of the deadlocks were caused by initialize() not de-initializing properly and causing the audio callback thread to deadlock, fix this. Also use better logic for the semaphore controls, which will also hopefully increase audio quality. Use better logic for the throttle control, with throttle == 0 being the same as throttle == 100 and implement setThrottle(). Also increase the buffer size to 300ms and the number of samples to 2048, for hopefully less choppiness in audio overall.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please fill out this form:
Expected behavior
It doesn't freeze
Actual behavior
The emulator freezes and I am unable to click on anything on my computer. Must enter tty and use kill -9 (SIGINT doesn't work)
Steps to reproduce the behavior
Open a GB/GBC game and click menus
Build details
Operating System (Windows, Mac, Linux, etc.): Linux (Arch Linux)
Interface (wx, SDL, default is wx): wx
Version of code (pre-built binary version, or commit ref, or just "master"): master
Any other relevant build information: laptop with AMD Radeon graphics
If this is e.g. a joystick or video issue, then the relevant hardware information: