Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

(x86) Libretro Dolphin doesnt load games after update



  • So lr-dolphin is just kicking me back to the ui after updating via retropie setup.
    I've updated the script, removed the emu, re-installed it and still nothing.

    I ran it command line and got this:

    '/opt/retropie/emulators/retroarch/bin/retroarch' -L '/opt/retropie/libretrocores/lr-dolphin/dolphin_libretro.so' '/mnt/04BA9770238CCD9E/roms/gc/Bloody Roar - Primal Fury (USA).iso' 
    malloc_consolidate(): invalid chunk size
    Aborted (core dumped)
    
    

    I also noticed its not creating a "dolphin-emu" folder in configs/all/retroarch/config
    Any idea what's going on?



  • Can someone upload their working x86 dolphin_libretro.so for me?


  • Global Moderator

    Can you add more details about your system, per https://retropie.org.uk/forum/topic/3/read-this-first ?

    Also, please post a complete /dev/shm/runcommand.log log file, with verbose logging enabled, on pastebin.com.



  • @mitu

    x86 Ubuntu
    Retropie 4.5.13

    link text

    I periodically update retroarch myself through script edit and never had any problems running emus before.

    I tried retropie update with the recent setup script, libretro nightly buildbot and even built it from the libretro git.

    I think it just broke on the libretro side since it hasn't been updated in a while.

    Hopefully someone can send me an older working dolphin_libretro.so in the meantime.


  • Global Moderator

    x86 Ubuntu

    Which version ?

    I periodically update retroarch myself through script edit and never had any problems running emus before.
    I tried retropie update with the recent setup script, libretro nightly buildbot and even built it from the libretro git.
    I think it just broke on the libretro side since it hasn't been updated in a while.

    Your error is:

    [INFO] [Font]: Using font rendering backend: bitmap.
    [ERROR] GL: Invalid enum.
    [ERROR] [Video]: Cannot open video driver ... Exiting ...
    [ERROR] Fatal error received in: "init_video()"
    malloc_consolidate(): invalid chunk size

    You're running a pre-release version (?) of RetroArch (1.8.5) and a bleeding-edge Mesa version (20.0). I don't think that the core is at stake here - it hasn't been updated since Oct 2019; RetroPie doesn't package 1.8.5, latest version of RetroArch in RetroPie's repository is 1.8.4.

    I'd try rolling back to that version (1.8.4) and also running the distribution provided Mesa packages, instead of the PPA with the Mesa development/latest version.



  • @mitu

    Ubuntu 18.04.4

    I reverted retroarch and purged the mesa ppa and it's still not working.

    It's weird that it's the only core not working even with the updates I did have. Flycast, mame, etc. All work fine. Even stand alone dolphin works. It makes no sense other than something went wrong on Libretro's end.

    That's why I would like someone to link me to their working dolphin_libretro.so to rule out my setup.



  • Okay so after building multiple git checkouts. The one working on my x86 setup is the last August commit. All the commits in October are borked or something changed.. Either way, I'll just keep the August commit backed up until I know what's going on.



  • @HoJo215

    Curiously, I was playing around with a new installation of 18.04.4 when making additions to an install script, and I experienced exactly the same error on this core. As I was just testing I haven't kept the install - it still works ok on my other machine which runs 18.04.4, but I haven't updated the core packages for a few months possibly (I have updated OS packages and retropie-setup though).

    Strange one!



  • @movisman

    I managed to get the last October commit working now. I switched the video render to vulkan in the Doplhin.cfgs and the dolphin retroarch.cfg

    The only game not working is Baten Kaitos: Eternal Wings.

    @mitu

    On another note.. There are 3 different dolphin "User / sys" folders. Is that supposed to be like that?


  • Global Moderator

    @HoJo215 said in (x86) Libretro Dolphin doesnt load games after update:

    There are 3 different dolphin "User / sys" folders. Is that supposed to be like that?

    I'm not sure - haven't used Dolphin so far.



  • @HoJo215 said in (x86) Libretro Dolphin doesnt load games after update:

    On another note.. There are 3 different dolphin "User / sys" folders. Is that supposed to be like that?

    I would say not, if using the Libretro Dolphin emulator it's advised to get the latest 'sys' folder from the Dolphin GitHub and copy the 'sys' folder to: /home/pi/RetroPie/BIOS/dolphin-emu/

    Can't say i've noticed any other sys folders appearing elsewhere?

    If using Dolphin standalone installed by RetroPie, there is only one 'sys' folder under /opt/retropie/emulators/dolphin/share/dolphin-emu

    Cheers



Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.