• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

lr-duckstation - Experimental new PlayStation 1 emulator

Scheduled Pinned Locked Moved Ideas and Development
duckstationlr-duckstationplaystationpsxps1
154 Posts 28 Posters 55.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    ecto @nemo93
    last edited by ecto 6 Nov 2021, 11:08 11 Jun 2021, 10:07

    @nemo93 Huh, interesting. Duckstation changes the input to digital for Crash Bandicoot and D for me. For Front Mission 2 it indeed stayed on Dualshock and it didn't work. So I created a rebind file for that game. Maybe because the game was patched to English? IDK. I don't own the other games you suggested, so I couldn't test them...

    But I found some more games with only digital pad support, by trying games from before 1997. But so far, every other game than FM2 I tested worked automatically.

    I think I'll leave the contoller remap for the core on dualshock, as most of my games work :)

    N 1 Reply Last reply 11 Jun 2021, 11:42 Reply Quote 2
    • N
      nemo93 @ecto
      last edited by nemo93 6 Nov 2021, 12:55 11 Jun 2021, 11:42

      @ecto said:

      @nemo93 Huh, interesting. Duckstation changes the input to digital for Crash Bandicoot and D for me. For Front Mission 2 it indeed stayed on Dualshock and it didn't work. So I created a rebind file for that game. Maybe because the game was patched to English? IDK. I don't own the other games you suggested, so I couldn't test them...

      => I've found the culprit... me :-) Duckstation does work nicely and exactly as you described to the condition to leave the Apply Compatibility Settings set to ON in RGUI > Options panel. For some reason I left it to OFF and this messes everything up. Lesson learned: leave that setting to ON :-) Thanks for testing and reporting back, much appreciated. I'm keeping Dualshock as well and it is perfect that way. Another win for Duckstation. For the record, location of the database about those compatibility settings.

      @dankcushions no problem. Happy to share. Thanks to you for the PR and for bringing Duckstation. Not sure about the process to promote emulator from "exp" to "main" but lr-Duckstation for sure is running way better than lr-PCSX-ReARMed which is in "main" IIRC. After testing roughly 300 games for now + feedback from users above I still can't find a single game which is crashing/unplayable. I keep on testing and update my first post. Thanks again.

      1 Reply Last reply Reply Quote 1
      • C
        ChaosEffect @Genos98
        last edited by 11 Jun 2021, 16:26

        @genos98 Which device are you using to run the emulator? On a Pi 3B, I get noticeably worse performance in Tekken 3 than I do in lr-PCSX-ReARMed (this is with a CHD file using software for GPU, alsathread for audio, and compatibility settings on).

        @windg Are you using an m3u playlist file for Final Fantasy VIII? I can't seem to even get an m3u to load in lr-duckstation. Is the file type supported? The same file works in lr-PCSX-ReARMed.

        I am also known as "StormedBubbles"

        W G 2 Replies Last reply 11 Jun 2021, 17:12 Reply Quote 1
        • W
          windg @ChaosEffect
          last edited by windg 6 Nov 2021, 18:24 11 Jun 2021, 17:12

          @chaoseffect
          Yes but i change the file extentions inside the m3u file from . CDx to .cue. because Duckstation cant read CDx . You have another option, to compress the cds with chdman (.chd) and create the m3u file with the them.

          Tekken 3 on a Raspberry Pi3 even with the alsathread and software renderer settings, is running better on the ir-PCSX-ReARMed emulator .

          My English isn't at a good level.

          1 Reply Last reply Reply Quote 2
          • G
            Genos98 @ChaosEffect
            last edited by 11 Jun 2021, 17:51

            @chaoseffect I'm on the pi4. Tekken 3 on rearmed with increased cpu clock is mostly fine overall but depending on the game's stage I still do experienced random fps drops and also the game slightly speeding up. It's pretty noticeable at default cpu clock.

            N 1 Reply Last reply 14 Jun 2021, 06:33 Reply Quote 2
            • B
              BuZz administrators @busywait
              last edited by 13 Jun 2021, 04:50

              @busywait Please can you update RetroPie-Setup script and try again. Hopefully will be sorted. Thanks (and thanks also to @dankcushions for the heads up).

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              B 1 Reply Last reply 13 Jun 2021, 14:58 Reply Quote 1
              • B
                busywait @BuZz
                last edited by 13 Jun 2021, 14:58

                @buzz said in lr-duckstation - Experimental new PlayStation 1 emulator:

                @busywait Please can you update RetroPie-Setup script and try again. Hopefully will be sorted. Thanks (and thanks also to @dankcushions for the heads up).

                Thanks! Done - seems to work really nicely, thank you. (Checked with Castlevania Symphony of the Night, Mickey Mania and Crash Bandicoot).

                1 Reply Last reply Reply Quote 2
                • N
                  nemo93 @Genos98
                  last edited by 14 Jun 2021, 06:33

                  @genos98 said in lr-duckstation - Experimental new PlayStation 1 emulator:

                  @chaoseffect I'm on the pi4. Tekken 3 on rearmed with increased cpu clock is mostly fine overall but depending on the game's stage I still do experienced random fps drops and also the game slightly speeding up. It's pretty noticeable at default cpu clock.

                  Tekken 3 is running fullspeed here on (a stock) Pi4 either with ir-PCSX-ReARMed or lr-duckstation. Both with default emu settings. If you're relying on .chd it might be interesting to recompress it using the latest chdman available as described in my 1st post above.

                  G 1 Reply Last reply 14 Jun 2021, 09:29 Reply Quote 1
                  • G
                    Genos98 @nemo93
                    last edited by Genos98 14 Jun 2021, 09:29

                    @nemo93 Yeah I've been redoing my games with the latest chdman which I got from the mame package. But so far so good other than some graphical glitches most of my experience with duckstation have been really positive. My issues with tekken 3 is pretty negligible at best since the game works fine most of the time, and I'm actually happier that finally I could enjoy games that had been a crashfest in pcsx rearmed like Star ocean 2nd story.

                    1 Reply Last reply Reply Quote 2
                    • S
                      stoo @nemo93
                      last edited by stoo 14 Jun 2021, 11:00

                      @nemo93 said in lr-duckstation - Experimental new PlayStation 1 emulator:

                      Feature(s) request

                      • to support different extensions for .chd (eg. .cd[1-4]) so that games won't be listed twice in frontends (note: Pegasus does support regex / I don't know about ES).

                      You might be able to put images (.chd or whatever) in a hidden subdir and have an .m3u file pointing to them for multidisc games so they only show up once in the gamelist. Depends on how duckstation handles disc switching. I haven't tested with duckstation yet.

                      See my post here about this. Post is about SegaCD but same principle applies.

                      Edit: Tested briefly. Seems to work fine but I don't have any saves at a disc-swap point to test.

                      Edit2: Seems the memory card manager feature from duckstation didn't make it to the lr- port. Have to convert .gme saves to .mcr on the PC and move them across. Not a big deal, and better with a more complex UI anyway.

                      1 Reply Last reply Reply Quote 1
                      • V
                        vic-viper-001
                        last edited by 15 Jun 2021, 03:09

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • N
                          nemo93
                          last edited by nemo93 15 Jun 2021, 06:53

                          @dankcushions so far I've tested ~550 games and it went very well as stated earlier. I've updated my first post with some findings but the emulator perfectly works (at least on pi4 - stock). I've deleted lr-PCSX-ReARMed from the system given all games play fullspeed and without glitches (except for the 1 or 2 games reported).

                          I'm taking a 2-week break now. If you're interested I leave to your hands what I reported in my 1st post, if you want to report the "issues without fix" to the author please feel free to do so. I'd prefer somebody else to confirm these issues first to be 100% sure it's not my setup.

                          Settings-wise I've used pretty much default values. As discussed the most important for now on pi4 is to be sure Renderer is "Software", "alsathread" has to be enabled (sorted as per your PR) and Apply Compatibility settings must be switched "ON". I've used mostly the Crop "All borders" which works 95% of the time. The remaining 5% are usually 2D games, FMVs or still images (loading screens) that will flicker. For these the Crop "only overscan" will do just fine. For max compatibility the Crop setting should be set on "none" so up to the users to decide what's best for their setup. I just set Log level to "none" instead of the default. Bios I've been using for the whole test session is "scph101.bin".

                          To be fair lr-PCSX-ReARMed did also a pretty good job for many years (thanks to authors/maintainers) and still does but in term of stability, compatibility, sound and image quality lr-duckstation is superior on pi4.

                          This emulator is really an amazing piece of software and I'm so glad to have a fully working PSX emu now. What's nice is there will be improvements hopefully soon when it'll be possible to fully rely on Vulkan/OpenGL backends. But even without it's so great to be able to play some old goodies exactly the way they were back in the days :-)

                          1 Reply Last reply Reply Quote 6
                          • S
                            stoo
                            last edited by 15 Jun 2021, 16:26

                            The only thing I'm really missing from lr-PCSX-ReARMed is the internal FPS counter that shows the actual FPS rate from the emulated GTE. It's good for seeing whether a CPU overclock helps stabilise the framerate in certain games. Apart from that, lr-duckstation is a clear winner. I look forward to the day the accelerated graphics options are really usable on the Pi4.

                            1 Reply Last reply Reply Quote 1
                            • C
                              Cornervizion
                              last edited by Cornervizion 15 Jun 2021, 17:53

                              @dankcushions Thank you and the RetroPie team for finally providing this build after so much waiting...

                              I'm having a great time seeing games like "Jumping Flash 2", "Tobal 2", "Airgrave" and "Tomba 2" work perfectly for the first time since I started using RetroPie back on the Pi2 in 2015.

                              Keep up the great work. 👍

                              1 Reply Last reply Reply Quote 1
                              • M
                                MrPacMan17
                                last edited by MrPacMan17 16 Jun 2021, 21:00

                                Hi all.

                                I followed all the steps but it doesn't work for me. I am just thrown back to ES. No matter what I do.

                                I run Retropie 4.7.1 on a HP laptop running Xubuntu. See pastebin for the verbose log of Run Command: https://pastebin.com/vQ5pLxqm

                                My guess is that hardware rendering is tried which doesn't work. But since no ROM is started I can't get in to the RGUI of lr-duckstation and change it. I already tried to manually edit the config file but I don't know the proper syntax nor what file to edit manually.

                                Any advice is welcome, many thanks in advance.

                                D 1 Reply Last reply 16 Jun 2021, 22:06 Reply Quote 1
                                • D
                                  dankcushions Global Moderator @MrPacMan17
                                  last edited by 16 Jun 2021, 22:06

                                  @mrpacman17 try forcing software mode by editing file /opt/retropie/configs/all/retroarch-core-options.cfg

                                  replace line

                                  duckstation_GPU.Renderer = "OpenGL"
                                  

                                  with

                                  duckstation_GPU.Renderer = "Software"
                                  
                                  M 1 Reply Last reply 17 Jun 2021, 12:25 Reply Quote 1
                                  • D
                                    dankcushions Global Moderator
                                    last edited by 16 Jun 2021, 22:14

                                    @nemo93 @Genos98 et al

                                    do you have any particular examples which slowdown with the default hardware (OpenGL) renderer on pi4? ideally with a way i can quickly verify them.

                                    in lieu of vulkan i can be tempted to make software the default renderer for pi4 (and pi2 and 3?), but i haven't seen any performance issues in my (limited) testing of the default hardware renderer - open to ideas!

                                    i note that a few of the PGXP enhancements are on by default - i'm not sure if they are applicable to software mode, but if they're not i would be tempted to turn those off by default if i can provide full performance.

                                    S N 2 Replies Last reply 17 Jun 2021, 12:36 Reply Quote 1
                                    • M
                                      MrPacMan17 @dankcushions
                                      last edited by 17 Jun 2021, 12:25

                                      @dankcushions Hi there.

                                      Thanks for the advice but it doesn't work :(. What is strange that the file you mentioned contains NO other entries for Duckstation what so ever.

                                      See pastebin for the verbose log of Runcommand: https://pastebin.com/LXzAgGwS

                                      And pastebin for the retroarch-core-options.cfg: https://pastebin.com/e8p3jr7E

                                      Guess something is not okay here. And thanks a lot for your help here, much appreciated.

                                      S D 2 Replies Last reply 17 Jun 2021, 12:37 Reply Quote 1
                                      • S
                                        stoo @dankcushions
                                        last edited by stoo 17 Jun 2021, 12:36

                                        @dankcushions I've tested a handful of games on the Pi4 (arm 2000/v3d 700) and found:

                                        OpenGL
                                        All tested games seem to run full speed at 1x native with or without PGXP enhancements tested more and it seems PGXP can cause slowdown in certain scenes. It's not terrible, but it's definitely there.
                                        1x native with any form of antialiasing introduces slowdown in certain scenes, with or without PGXP.
                                        2x native and higher introduces slowdown
                                        Some of the time the emulator fails to initialise the OpenGL renderer, simply trying a second time with identical settings seems to fix it.

                                        Vulkan
                                        AFAIK, Vulkan is not officially available in RetroPie yet, at least on RPi platforms.
                                        [ERROR] Requesting Vulkan context, but RetroArch is not compiled against Vulkan. Cannot use HW context.

                                        Software
                                        Everything seems to run full speed.
                                        Scaling, antialiasing and PGXP are not available in software.

                                        D 1 Reply Last reply 17 Jun 2021, 12:49 Reply Quote 1
                                        • S
                                          stoo @MrPacMan17
                                          last edited by 17 Jun 2021, 12:37

                                          @mrpacman17 Turn on logging in retroarch and post that log. Settings - Logging - Log to file.

                                          Logs should appear here:

                                          /opt/retropie/configs/all/retroarch/logs

                                          M 1 Reply Last reply 17 Jun 2021, 16:48 Reply Quote 1
                                          46 out of 154
                                          • First post
                                            46/154
                                            Last post

                                          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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received