-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
RetroArch hangs when closing content #134
Comments
I'll address these one at a time:
That's not random; certain settings are only visible when an appropriate screen layout is selected. For example, the settings that affect hybrid mode are not shown if no hybrid layout is selected. Having said that, the fact that you reported this suggests that there's room for improvement. I have an idea here.
Could you please try to reproduce this issue and post the resulting log file? You'll need to enable debug logging and verbosity in the Logging section of the settings menu. |
Well, of course some Menu Items are visible and dissapear when you change some options, but it wasnt just that they appear, sometimes the cursor twitched to the first menu option, or the second, or third, it was completely randomly twitching around with no real reason why, I would expect the extra option to just appear while my cursor stays on the same option |
retroarch__2023_12_29__14_09_10.log This is the log for the issue, I dont know if its helpful or not, but I am always forced to close RetroArch. I might not have to close RetroArch, but after pressing "Closing Content" RetroArch gets stuck for at least 30 seconds - every other Core might need like, 3 seconds at max to close content. |
I can reproduce the hang that occurs when closing the core in the Flatpak release on the Steam Deck. Let me see if it occurs on other platforms, too. |
Interestingly, this doesn't occur with my development build. It also doesn't occur when quitting RetroArch entirely (as opposed to just closing the content). |
I noticed from the video you posted in #133 that this occurs in the Steam release as well. I wonder if this occurs in nightly builds...in the video you posted, are you using the stable Steam release or the nightly build? |
Actually thats the Flatpak version added as a Non-Steam Game. I do not use the Steam version. |
Also here is the video of what I mean with "random up and down jumping". It is actually not random, as you said its settings appearing and dissapearing, but it is very jarring when your cursor suddenly jumps all over the place. Im not sure if you can do much, but my suggestion is that, even if new options appear, the cursor should not jump to a different setting - it should stay stable on the setting you selected |
Ah, I see what you mean. I think I know what's up. RetroArch is keeping the cursor on the same index, not the same option; so if the third core option is selected and changing the value shows another option before it, then the third option will be pushed down to the fourth. That's what's happening here. I would open a bug report for this in RetroArch (and please cite this ticket if you do), but there is something I can do. I'll reorder these options so that the jumping is less of an issue. |
Fixed the issue with the core options. The other issue reported in this ticket is up next. |
@DarkSide1305 I'm narrowing down the cause and I'd like to be sure that my observations can be reproduced. What happens if you close the core (but not RetroArch itself) when not in full-screen mode? |
Additionally, could you please post your |
Will test both tomorrow as its Midnight for me |
Exact same behaviour, was in Desktop Mode of my Steam Deck, turned off Fullscreen mode and it gets stuck upon pressing "Close Content" |
|
Thank you, I'll take a look. |
Hm...even after duplicating your I have a few questions:
|
|
|
Which plugins? I'm trying to think of a reason that one of them could cause something like this. |
I uninstalled Decky just to check if its somehow Decky related, and its not, still freezes. |
Unfortunately, I still can't reproduce this. I can't fix the issue until I know what's causing it. It's possible there's some subtle difference in your system (RetroArch config or otherwise) that's making a difference, but if neither of us know what to look for then that doesn't help. If you know of someone else who's faced the same issue, consider asking them to post what they know in this ticket. Maybe there would be some common factor between their Steam Deck and yours. Until I have a new lead, my only option here is to move on to other issues I can fix. Sorry. I will leave this ticket open until I can confirm that it's resolved. The best thing I can suggest right now is to keep your copy of melonDS DS up to date, in case this problem happens to be fixed by coincidence. |
I'm also getting a hang when closing content on my Steam Deck with the Flatpak version of RetroArch, but only when the "Microphone Input Mode" is set to "Microphone". |
Interesting... I basically havent used DSDS so far so I would be using Default Options, maybe the Default Option is Microphone? Thats why my RetroArch.cfg did nothing for Jesse? |
I'll try it again to see if the mic is involved at all, thanks for the tip! |
After a bit more testing, the hang only seems to happen when the microphone driver is set to "Alsathread" (which is the default for the Flatpak at least). |
I can verify that that is exactly the case, exact same behaviour, "alsathread" hangs, "alsa" and "sdl2" dont. |
Interesting. Could you open a ticket in RetroArch itself about this, and cite this ticket too? I don't know if any other core uses the microphone API right now, but if any do I'd test them to see if the behavior persists. I haven't gotten a chance to look into this yet, but I still intend to; once I reproduce this issue, I'll figure out what to do about the ticket. It's possible I may not be able to fix this issue within the core itself. |
Since you discovered it @ds22x do you want to report it? I could too and link to this Issue, but id rather ask first |
Went ahead and created a ticket: |
Seconded. There is just an all-around sense of instability in Retroarch that isn't there when using other cores. Lots of hanging and crashes when using menu functions. It's understandable since it's a very new core but just wanted to chime in to say I've noticed this as well (especially when using "Close Content" or changing some Core Options). |
I'm working on a new testing tool and accompanying suite that'll help mitigate this instability. Other cores will benefit from this work too, should their authors choose to use it. I appreciate your patience as I get this all under control. |
I'm sure you know this but I just wanna say I've only been raising these issues so the core can improve, not to criticize your work. You don't owe us anything, as I know this is totally a volunteer dev effort on your part, and I really appreciate all the time and effort you're putting in for the emulation community. Thank you! |
I never got the impression that you were offering unwarranted criticism, but I appreciate the clarification. I'm glad you all are largely having a good time! I'm doing what I can to keep it that way. |
Oh, thank you very much. I appreciate having read the whole thread. Thanks to this change I was able to avoid this bug. In short, I was able to replicate this problem using Retroarch 1.19.1 in Flatpak format (flathub) on Fedora Workstation 40 and Fedora Workstation 41 beta (Gnome). What strikes me is that I have been using the same configuration and had not had any problems with MelonDS DS, but with an update of the KDE Platform runtime this issue started. However, when changing the microphone configuration to Alsa or SDL2 on some occasions, I can close core content and then close RetroArch (apparently), but the microphone indicator remains active in the system tray and Retroarch appears as background apps. Unfortunately I cannot always replicate this to open a new ticket, and it is something that is apparently specific to RetroArch in flatpak format. Anyway, RetroArch no longer freezes when closing content using MelonDS DS and that's already very good for me. Cheers |
What version of melonDS DS are you using?
0.7.27
Does the problem happen in standalone melonDS?
I don't know.
What happened?
RetroArch generally has some instability I never before experienced, only mith MelonDS DS. When changing the Screen Layout option, while only pressing left and right it constantly jumped up and down to random items in the same menu. I have also noticed "close content" is INCREDIBLY unreliable, maybe even "restart RetroArch". It gets RetroArch stuck almost every singled time I tried, maybe like 1/10 tries was able to close the content properly.
What should've happened instead?
RetroArch should close content and close itself without issues, Pointer shouldnt randomly jump around when going left and right
Which platforms do you see the problem on?
Which versions of the OS?
SteamOS 3.5 (or the newest version currently available)
Which libretro frontend are you using?
RetroArch 1.16.0 (newest Flatpak)
Terms
The text was updated successfully, but these errors were encountered: