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 67.8k 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.
    • C
      Cornervizion
      last edited by Cornervizion

      @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
      • MrPacMan17M
        MrPacMan17
        last edited by MrPacMan17

        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.

        dankcushionsD 1 Reply Last reply Reply Quote 1
        • dankcushionsD
          dankcushions Global Moderator @MrPacMan17
          last edited by

          @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"
          
          MrPacMan17M 1 Reply Last reply Reply Quote 1
          • dankcushionsD
            dankcushions Global Moderator
            last edited by

            @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.

            stooS N 2 Replies Last reply Reply Quote 1
            • MrPacMan17M
              MrPacMan17 @dankcushions
              last edited by

              @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.

              stooS dankcushionsD 2 Replies Last reply Reply Quote 1
              • stooS
                stoo @dankcushions
                last edited by stoo

                @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.

                dankcushionsD 1 Reply Last reply Reply Quote 1
                • stooS
                  stoo @MrPacMan17
                  last edited by

                  @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

                  MrPacMan17M 1 Reply Last reply Reply Quote 1
                  • dankcushionsD
                    dankcushions Global Moderator @MrPacMan17
                    last edited by

                    @mrpacman17 can you please show your config files:
                    /opt/retropie/configs/all/retroarch.cfg
                    /opt/retropie/configs/psx/retroarch.cfg

                    MrPacMan17M 1 Reply Last reply Reply Quote 1
                    • dankcushionsD
                      dankcushions Global Moderator @stoo
                      last edited by

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

                      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.

                      that's right - it's nether included in raspi pi OS yet, nor does retropie compile retroarch for vulkan on pi platforms

                      1 Reply Last reply Reply Quote 1
                      • MrPacMan17M
                        MrPacMan17 @dankcushions
                        last edited by

                        @dankcushions Hi there.

                        See here: From ALL folder: https://pastebin.com/VAHGAUQk
                        From PSX folder: https://pastebin.com/yJqykEM0

                        Cheers,
                        Marnix

                        dankcushionsD 1 Reply Last reply Reply Quote 1
                        • MrPacMan17M
                          MrPacMan17 @stoo
                          last edited by

                          @stoo Hi there. Thanks a lot for your efforts, much appreciated. Please see here: https://pastebin.com/mNe4uETa

                          1 Reply Last reply Reply Quote 1
                          • dankcushionsD
                            dankcushions Global Moderator @MrPacMan17
                            last edited by

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

                            @dankcushions Hi there.

                            See here: From ALL folder: https://pastebin.com/VAHGAUQk

                            this is a non-default config, unfortunately. i would reset it by updating retroarch, which will generate a retroarch.cfg.rp-dist default file in th same folder. delete/rename your old retroarch.cfg and then rename retroarch.cfg.rp-dist to retroarch.cfg

                            that said, the line i was curious about is

                            video_driver = "gl"
                            

                            try instead with

                            video_driver = "glcore"
                            

                            From PSX folder: https://pastebin.com/yJqykEM0

                            looks fine

                            MrPacMan17M 2 Replies Last reply Reply Quote 1
                            • MrPacMan17M
                              MrPacMan17 @dankcushions
                              last edited by

                              @dankcushions Thank you, will do as advised. Many thanks again for your hard work and time.

                              1 Reply Last reply Reply Quote 2
                              • MrPacMan17M
                                MrPacMan17 @dankcushions
                                last edited by

                                @dankcushions I did as requested. The file is default now and I changed the videodriver to glcore as requested. But the issue persists, see Runcommand log: https://pastebin.com/YcmcpvLM

                                mituM dankcushionsD 2 Replies Last reply Reply Quote 1
                                • mituM
                                  mitu Global Moderator @MrPacMan17
                                  last edited by

                                  @mrpacman17 glcore is not supported on a Pi4. Use gl as the video driver. Also, RetroPie doesn't support running it in a desktop session on a Pi, you should run it outside the desktop environment.

                                  MrPacMan17M 1 Reply Last reply Reply Quote 1
                                  • MrPacMan17M
                                    MrPacMan17 @mitu
                                    last edited by

                                    @mitu I am running Xubuntu on an HP laptop (ProBook 6550B). I did as adviced but still the same issue is at play.

                                    mituM 1 Reply Last reply Reply Quote 1
                                    • mituM
                                      mitu Global Moderator @MrPacMan17
                                      last edited by

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

                                      ProBook 6550B

                                      I see, even this way glcore would not work. According to HP's spec page, the GPU included doesn't support OpenGL 3.3, which is needed for glcore.

                                      MrPacMan17M 1 Reply Last reply Reply Quote 1
                                      • MrPacMan17M
                                        MrPacMan17 @mitu
                                        last edited by

                                        @mitu Okay, video is set back to GL. Still no luck though. I am doing something wrong but I don't know what. Sorry for my basic level of understanding here.

                                        mituM 1 Reply Last reply Reply Quote 1
                                        • mituM
                                          mitu Global Moderator @MrPacMan17
                                          last edited by

                                          @mrpacman17 Try to force the Software renderer in Duckstation by modifying retroarch-core-options.cfg and setting

                                          duckstation_GPU.Renderer = "Software"
                                          
                                          1 Reply Last reply Reply Quote 1
                                          • dankcushionsD
                                            dankcushions Global Moderator @MrPacMan17
                                            last edited by dankcushions

                                            @mitu we tried that :) i believe even in software mode duckstaiton needs a valid gl context. methinks this hardware is getting nothing. perhaps a linux driver issue. nah it should fall back to software... https://github.com/stenzek/duckstation/pull/908 - weird.

                                            @mrpacman17 i'm afraid i'm out of ideas. i don't have this hardware. if you know how to use gdb you could get a backtrace of the crash. you could also try the libretro and duckstation discord for advice.

                                            MrPacMan17M 2 Replies Last reply Reply Quote 1
                                            • First post
                                              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.