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

Having mixer enabled causes PPSSPP to crash RA when entering/exiting menu #9773

Open
klepp0906 opened this issue Nov 22, 2019 · 9 comments
Open

Comments

@klepp0906
Copy link

First and foremost consider this:

  • Only RetroArch bugs should be filed here. Not core bugs or game bugs
  • This is not a forum or a help section, this is strictly developer oriented

Description

So every time i loaded a psp game, if i pressed start+select to enter the RA menu, RA would just crash/close.

Once in a blue moon at what seemed like random luck I could get to the menu, but then RA would just crash/close when I tried to resume the game.

After a half a day worth of troubleshooting, it turned out to be having the Mixer enabled. Wild right?

Expected behavior

The ability to enter and exit retroarchs menu to function the same as it does with all other cores (with mixer enabled!)

Actual behavior

Having mixer enabled crashes RA to desktop when entering the menu (sometimes when returning to game on the rare occasion it gets that far)

Steps to reproduce the bug

  1. Audio > Menu Sounds > Mixer ON
  2. Load a PPSSPP game.
  3. Enter and exit the quick menu via F1 or start+select or w/e your combo is a few times. 90% of the time it simply crashes the first time.

I did try with d3d/vulkan/ogl. I dumped my cfg and started blank which is what it took to narrow it down to the mixer.

Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

You can find this information under Information/System Information

Environment information

  • OS: Windows 10
  • Compiler: [In case you are running local builds]
@andres-asm
Copy link
Contributor

You should provide a stack trace if you expect people to fix a crash

@andres-asm
Copy link
Contributor

I just tried this on the latest PPSSPP commit and the latest RA commit and I can't reproduce at all

@klepp0906
Copy link
Author

yea it could be something related to hw i use or a config i use in my build. I wouldnt have the slightest. I just know i can reproduce it every time. I'm getting around it by using an override to disable the mixer at the moment.

Are you using xaudio as your sound driver? Doenst happen with wasapi but wasapi causes all kinds of audio issues for me so thats not an option. Tested that as well after the fact.

as for a stack trace, im just a user. If you care to fill me in on how to accomplish that and its within bounds of my "expertise" ill gladly help out as much as i can.

@klepp0906
Copy link
Author

i think i found the guide to do so. you guys actually have that documented as well :)

Im sick as balls with a sinus infection and have to do the wonderful fall leaf cleanup thing today, but at some point asap ill give it a go and try to get it up here for you guys. Should be useful to know how to do going forward and if it makes your guys jobs that much easier - seems a win/win.

@klepp0906
Copy link
Author

image

or if thats too hard to see https://pastebin.com/X3tAk1yV

no idea whats up with the redacted portions, or if thats even right. Heres to hoping.

@andres-asm
Copy link
Contributor

Might be related
#9787

@klepp0906
Copy link
Author

sounds exactly alike. i do have the pause feature enabled as well. Odd it only affects that core. Should be easy enough to test. Will report back asap for the confirm.

@klepp0906
Copy link
Author

thats a confirm. if i disable "pause when menu activated" i can enter/exit the menu problem free.

@klepp0906
Copy link
Author

klepp0906 commented May 4, 2020

doesnt happen using WASAPI, only xaudio. Unfortunately WASAPI does other madness like play crazy high pitched audio when jumping into the menu with bgm/mixer on : P

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

No branches or pull requests

2 participants