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

Issues with lr-atari800 setup on new build... worked on previous build.



  • Hello... yet another post about lr-atari800 not working... sorry. I've tried everything from a new build... read everything possible... and still nothing.

    Here's my specs...
    RPi3b
    New image on latest build of Retropie: retropie-buster-4.6-rpi2_rpi3
    RetroPie-Setup script 4.6.7
    lr-Atari800 updated to latest binary build via set-p script.

    My issue. I have another Retropie build that I finished using a previous version...everything worked great. I even have 5200 and 800/400 working side-by-side. I figured because of the Buster update, I need to move up and started a new build. I moved everything over and started new. Same BIOS roms and Game roms... nothing works.

    The only games that work on the 5200 side are Ballblazer, Baroom Baseball and Bounty Bob strikes back,,, as bin or .a52 files. Nothing else. Nothing works for the Atari800 side at all. All my games worked fine on the previous build.

    I did notice that in order for the 3 games that do work, I have to press a button first, then the title screen displays.

    Here is the runcommand.log for a5200 Decathalon:
    Parameters:
    Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-atari800/atari800_libretro.so --config /opt/retropie/configs/atari5200/retroarch.cfg "/home/pi/RetroPie/roms/atari5200/Activision Decathlon, The (1984) (Activision).a52" --appendconfig /dev/shm/retroarch.cfg
    [libretro-atari800]: Got size: 336 x 240.
    [libretro-atari800]: Got size: 336 x 240.
    [libretro-atari800]: Got size: 336 x 240.
    Using Atari800 config file: /home/pi/.lr-atari800.cfg
    Created by Atari 800 Emulator, Version 3.1.0

    Error inserting cartridge "/tmp/retroarch/Barroom Baseball (USA) (Proto).a52": Can't open file
    Core init
    Hack Libretro:crc A5200 ON sz:16 crc:f43e7cd0
    Hack Libretro:A5200 cart->type:16 f43e7cd0
    First retrun to main thread!
    [CDROM] No sg devices found and sg kernel module is not loaded.
    [libretro-atari800]: Got size: 336 x 240.
    /opt/retropie/supplementary/runcommand/runcommand.sh: line 1264: 9337 Segmentation fault /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-atari800/atari800_libretro.so --config /opt/retropie/configs/atari5200/retroarch.cfg "/home/pi/RetroPie/roms/atari5200/Activision Decathlon, The (1984) (Activision).a52" --appendconfig /dev/shm/retroarch.cfg

    Here is the runcommand.log for atari800 Bruce Lee:
    Parameters:
    Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-atari800/atari800_libretro.so --config /opt/retropie/configs/atari800/retroarch.cfg "/home/pi/RetroPie/roms/atari800/Bruce Lee (1984)(Datasoft).zip" --appendconfig /dev/shm/retroarch.cfg
    [libretro-atari800]: Got size: 336 x 240.
    [libretro-atari800]: Got size: 336 x 240.
    [libretro-atari800]: Got size: 336 x 240.
    Using Atari800 config file: /home/pi/.lr-atari800.cfg
    Created by Atari 800 Emulator, Version 3.1.0

    Error inserting cartridge "/tmp/retroarch/Barroom Baseball (USA) (Proto).a52": Can't open file
    Core init
    First retrun to main thread!
    [CDROM] No sg devices found and sg kernel module is not loaded.
    [libretro-atari800]: Got size: 336 x 240.
    /opt/retropie/supplementary/runcommand/runcommand.sh: line 1264: 9678 Segmentation fault /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-atari800/atari800_libretro.so --config /opt/retropie/configs/atari800/retroarch.cfg "/home/pi/RetroPie/roms/atari800/Bruce Lee (1984)(Datasoft).zip" --appendconfig /dev/shm/retroarch.cfg

    What am I doing wrong that I did right in my other build?? I don't think setting up lr-atari800 is at all difficult, I checked everything I followed on multiple videos and also some posts on this forum... I'm at a loss on this one.

    Tried multiple BIOS and ROMs files from other sources... atr... a52... bin... nothing works that worked before. All I get is a CTD to the menu without the emulator even coming on other than the three 5200 games mentioned already.

    Thanks in advance...


  • Global Moderator

    There's something weird in the log file - for each game you start, the error is

    Error inserting cartridge "/tmp/retroarch/Barroom Baseball (USA) (Proto).a52": Can't open file
    

    It's like the emulator tries to load the same .a52 file, no matter which ROM/zip you start (Decathlon, Bruce Lee, etc.). Can you try clearing the /home/pi/.lr-atari800.cfg file (rename/delete) and try again ?



  • I dumped it out in the emulator. Seems like it's holding the cart rom for whatever reason.

    But I found the actual problem has something to do with a USB controller being plugged in when you start the emulator. I think this is a core issue. I tried unplugging my controller, and everything came right up.


  • Global Moderator

    Can you get a verbose log and post the output on pastebin.com ? It might help the other topic, which seems to have a similar issue.



  • @mitu I'll have to post it tomorrow... my unit is on my bench at work (shhhh! LOL!) and I won't be there till the afternoon.

    But I will once I get there.


  • Global Moderator

    @jamrom2 There's no rush. You can also post in the other topic, if you decided to continue there.



  • @mitu Yes, I am going to stick with that thread... I am also opening an issue with the atari800 thread... not sure its the right place, but maybe they can help.

    https://github.com/atari800/atari800/issues/120


  • Global Moderator

    @jamrom2 That is not the Libretro core project repository - it's https://github.com/libretro/libretro-atari800. I would prefer to try and diagnose the issue here first, before deciding it's an upstream issue and not something that's specific to RetroPie.

    EDIT: it seems there's already an issue opened there, probably by @gpmcty.



  • @mitu

    ok... posted it. Trying to run Action Biker with Atari800. It would have failed in the emulator as it's set to 5200...but it just dumps back to ES anyway.

    https://pastebin.com/Lp5NChU4



  • @mitu

    This is Decathlon trying to run with a5200 selected. USB controller plugged in for both.

    https://pastebin.com/UcrELE0X


  • Global Moderator

    Can you update both your RetroArch and lr-atari packages and re-try ?



  • @mitu I'll give it a shot tomorrow, but I thought I was updated. I'm at 4.6.7 Setup Script, and have the most recent image on my machine (4.6) .

    So just update Retroarch? I haven't done that yet.... but ss for lr-atari800, I did that already... I even tried installing from Source and updating... but I still got the same results... which is why I threw in the towel and came here.


  • Global Moderator

    @jamrom2 said in Issues with lr-atari800 setup on new build... worked on previous build.:

    I'm at 4.6.7 Setup Script, and have the most recent image on my machine (4.6) .

    Your RetroArch version is not the latest (1.8.8 vs 1.8.5).

    EDIT: One other thing you can try - even without updating - is disabling the menu widgets by adding to \\retropie\configs\atari800\retroarch.cfg:

    menu_enable_widgets = "false"
    


  • @mitu aaahhhh... ok. I think we're on to something. BTW.. I really appreciate all your help... as always.



  • @mitu said in Issues with lr-atari800 setup on new build... worked on previous build.:

    @jamrom2 said in Issues with lr-atari800 setup on new build... worked on previous build.:

    I'm at 4.6.7 Setup Script, and have the most recent image on my machine (4.6) .

    Your RetroArch version is not the latest (1.8.8 vs 1.8.5).

    EDIT: One other thing you can try - even without updating - is disabling the menu widgets by adding to \\retropie\configs\atari800\retroarch.cfg:

    menu_enable_widgets = "false"
    

    I wanted to mention this as well. I noticed that when I make changes to this version of Retroach config files, it seems whatever I do, is dumped when I leave the core, regardless if I save or not. Meaning... if I add an overlay. I save it, exit, go back in and the overlay is not displayed until I select it again, and save again. Very odd behavior I've never seen in the past.



  • @mitu
    Update:
    I updated lr-atari800 to 1.8.8 - no change.

    Adding that statement did the trick. Atari 800 comes right up, and works great. A5200 I still have to press a button for the emulator to start. It loads, but sits at a black screen waiting for input.

    I added that statement to the a5200 retroarch.cfg file as well. No change.



  • Nevermind... I forgot to turn on the auto-detect a5200 cart. It's working now. Comes right up.

    So that statement you posted was the fix for me... and I'm guessing for anyone having this issue.

    Thanks for the mega fast response with a great fix included!


  • Global Moderator

    @jamrom2 said in Issues with lr-atari800 setup on new build... worked on previous build.:

    I updated lr-atari800 to 1.8.8 - no change.

    Hm, RetroArch's version is 1.8.8, not lr-atari. Did you update both ?



  • @mitu yes. I went back in to the lr-atari800 core and all it gives me is a re-install option. So I'm guessing I'm at the most recent binary build


  • Global Moderator

    I'm not asking about lr-atari, I'm asking about the retroarch package - did you update it ?



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.