this post was submitted on 06 Mar 2025
22 points (92.3% liked)

Linux Gaming

16699 readers
637 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

2nd UPDATE: To anyone confused by this issue like I've become, there's a difference between EmulationStation and ES-DE,

https://www.reddit.com/r/emulationstation/comments/1ax92io/what_is_emulation_station_de/

EmulationStation (not DE) is an old frontend that got footing when it was used as the primary interface for RetroPie, a retro gaming operating system for Raspberry Pis. It hasn't been updated in a very long time; the last commit to main happened 6 years ago and the last release was in 2014.

EmulationStation got forked by a few different developers for their own projects; batocera-emulationstation is the fork used in Batocera OS, for example.

ES-DE is a fork of EmulationStation started by an independent developer (Leon Styhre) to be used as a general-purpose frontend. It brought a lot of quality of life features including automatic emulator scanning (which is what makes the front-end work out-of-the-box on your machine) and a pretty excellent themes engine. It's not affiliated with the original EmulationStation project, and it's actively maintained by Leon (he seems to be the only developer working on the project from what I can tell).

File locations:

  • gamelists: ~/ES-DE/gamelists//gamelist.xml
  • downloaded_media: ~/ES-DE/downloaded_media/
  • systems: ~/ES-DE/custom_systems/es_systems.xml

Individual ROM paths can be set on a per system basis by changing


UPDATE: Good call, I forgot to cover the basics. After a bit more testing, it appears I don't have the issue when using the AppImage downloaded from their site, https://www.es-de.org/

Thankfully the AppImage uses most of the configurations and files I already have set in home, however the one issue I have with accepting this as a replacement is that it doesn't respect the system locations I have specified in /usr/share/es-de/resources/systems/linux/es_systems.xml. Does anyone know where/how I would modify individual system paths in the AppImage? The reason this is important to me is because I'm working with a years old ROM collection on my network drive that I need to set individual paths for each system collection (or re-sort years of ROMs into the default EmulationStation directories ..... please no ...)

Alternatively, can someone help me continue to chase down this problem? It looks like I've been able to replicate it on all 3 of my varied systems now (gaming rig, media center, laptop) so either there's something particular failing on my systems during the build process or there's an issue with the AUR package. How can I track this down and file an appropriate bug report with them, I'd like to learn how to do this proper so I can get this documented for others that may encounter the issue and contribute back.


Problem statement:

When running EmulationStation Desktop Edition (ES-DE) 3.1.1 (installed from AUR), I'm able to browse through games and watch the video previews after hovering over a game for a second but the audio is noticeably stuttering and crunchy. Audio quality in video previews continues to degrade over time until EmulationStation eventually freezes after only 5-10 minutes of use.

EDIT: Further clarification, crashes only happen while video previews are actively playing which is why I feel the issue is so heavily correlated. ES-DE can continue to be used if video previews are disabled, not shown in theme, or it sits resting on a menu item that does not play a video preview.

Navigation audio is crisp, as is the input and feeling of navigating menus, it doesn't seem to be straining any system resources I can see in System Monitor. Audio in emulators launched through ES-DE is perfectly fine. All videos are stored in appropriate directories in ~/ES-DE/downloaded_media/ and play without issue when opened through VLC. They were downloaded through the built-in connection to https://www.screenscraper.fr/ using the personal account I set up, so I don't feel there are any issues with the source files.

I've also increased the VRAM limit from the default(?) value of 512MiB to 672MiB but haven't noticed any difference, I don't feel like it should need that much to begin with.

~/ES-DE/logs/es_log.txt contains no additional information after the crash. When exiting cleanly I see "ES-DE cleanly shutting down" but when frozen this line is omitted. This is probably due to me having to force quit it, if there are any ways to collect better logs or error info, please let me know.

Hardware and other info:

This is happening on two completely different systems, my gaming desktop with an AMD 5900x and 3080 RTX (proprietary drivers) as well as an old Lenovo something with Intel and something integrated. Both are running Arch with KDE Plasma on Wayland (though X11 also seems to have the issue for whatever that's worth). Let me know what other details may be helpful to provide. Audio is pipewire.


I documented my whole setup process for this so I could replicate it on any system I installed and given how dissimilar the systems are otherwise, I feel like this must be a case of some easy misconfiguration I'm missing or weird dependency I don't have installed? I've tried searching, but internet search is worthless these days. I appreciate any thoughts anyone might have on the issue, any threads I can pull would be helpful. Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] audaxdreik@pawb.social 1 points 1 day ago (1 children)

Not quite, but this did lead me to my answer, thank you.

Very confusingly, EmulationStation and ES-DE are more distinct now than you might suspect, this is a problem I keep running up against. I found my answer in the ES-DE documentation for Steam Deck/SteamOS, https://emudeck.github.io/tools/steamos/es-de/#es-de-folder-locations (note that EmulationStation uses .cfg in the format of XML I guess whereas ES-DE uses .xml files directly)

The solution was to take my currently working /usr/share/es-de/resources/systems/linux/es_systems.xml file and copy it to ~/ES-DE/custom_systems and now it looks like the AppImage has fully picked up all my systems and configurations from the AUR install so I can safely switch over. I'd still like to resolve the AUR issues, but we'll treat that separately, I'm just happy to have a working solution right now 😊

Okay, well in the future, let me offer some helpful tips on how to get better information:

  1. Describe the device or hardware you're working on clearly
  2. Explain your debugging steps clearly, and your logic behind them
  3. Learn the difference between the software you're running, and the environment it is running in. This is where most of the confusion in this post came from.
  4. If you're going to edit your post to give extra information, please make it very clear what the delta of that information is. Example: "It works in this environment, but not this other environment" or "I have this working one way under these constraints, but this other way is breaking in the following ways"

All of that to say you could have made this a more collaborative thread by giving more specific details and not omitting certain things.