RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    PSX rearmed doesn't change settings

    Scheduled Pinned Locked Moved Help and Support
    psx emulatorpsx-rearmedraspberry pi ze
    18 Posts 2 Posters 1.4k 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.
    • P
      persita23
      last edited by persita23

      @mitu said in PSX rearmed doesn't change settings:

      Please add more info about your system, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

      The video mode selection configuration is stored in /opt/retropie/configs/all/videomodes.cfg. Check the permissions on the file, this may be the reason the configuration is not saved.

      Thanks for the reply. Here there are informations about the system:

      Pi Model: zero
      Power Supply used: 5V-2A
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.7.1
      USB Devices connected: WiFi dongle and Bluetooth USB
      Controller used: PS3 Shanwan

      I don’t think it’s a problem of permissions because I do not get any error when I change settings. It’s that it wrote the settings at first but then it did not overwrite it again. BTW I canceled the lines inside the file that now is empty, let’s see.

      Also, since I am using the Psx-Rearmed emulator, I know that I have to put the configuration file in this folder

      /opt/retropie/configs/psx/

      But I do not know which configuration file I have to copy.
      Because this emulator seems to run better on my pi zero compared to the “lr” version but the problem is that I do not get any sound and the pad is not working with it

      P 1 Reply Last reply Reply Quote 0
      • P
        persita23 @persita23
        last edited by persita23

        Little update: thanks to @mitu I solved the problem about the video resolution. There was a line with strange symbols that has been generated in some way, I deleted it and now it works.

        I also made the pad works, I still have to make the analog works.

        The audio is a problem because there is no audio. With the lr-psx-rearmed emulator there is audio, but it's very slow (so the framerate) because it's the pi zero that is not powerful. However, with the "psx-rearmed" there is no audio at all (but the game runs ok).

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

          @persita23 said in PSX rearmed doesn't change settings:

          The audio is a problem because there is no audio.

          Can you get the log file, right after running the emulator, to see if any errors pop-out ? The file is /dev/shm/runcommand.log.

          P 1 Reply Last reply Reply Quote 0
          • P
            persita23 @mitu
            last edited by

            @mitu said in PSX rearmed doesn't change settings:

            @persita23 said in PSX rearmed doesn't change settings:

            The audio is a problem because there is no audio.

            Can you get the log file, right after running the emulator, to see if any errors pop-out ? The file is /dev/shm/runcommand.log.

            Here it is:

            Parameters: 
            Executing: SDL1_VIDEODRIVER=dispmanx pushd /opt/retropie/emulators/pcsx-rearmed; ./pcsx -cdfile "/home/pi/RetroPie/roms/psx/Wild Arms (Italy).cue"; popd
            /opt/retropie/emulators/pcsx-rearmed ~
            warning: video overlay is not hardware accelerated, not going to use it.
            plat_sdl: using 720x576 as fullscreen resolution
            plat_sdl: overlay: fmt 59565955, planes: 1, pitch: 1280, hw: 0
            input: new device #0 "sdl:keys"
            input: new device #1 "sdl:Sony PLAYSTATION(R)3 Controller"
            input: async-only devices detected..
            # drv probed binds name
            0   0      y     y sdl:keys
            1   0      y     y sdl:Sony PLAYSTATION(R)3 Controller
            frontend/libpicofe/readpng.c: failed to open: /opt/retropie/emulators/pcsx-rearmed/skin/font.png
            frontend/libpicofe/readpng.c: failed to open: /opt/retropie/emulators/pcsx-rearmed/skin/selector.png
            frontend/libpicofe/readpng.c: failed to open: /home/pi/.picodrive/skin/background.png
            me_id2offset: id 28 not found
            Starting PCSX-ReARMed 
            Running PCSX Version 1.9 (Dec 15 2020).
            warning: failed to do hugetlb mmap (0x80000000, 2162688): 22
            Init new dynarec
            testing if we can run recompiled code..
            test passed.
            Mapped (RAM/scrp/ROM/LUTs/TC):
            80000000/1f800000/1fc00000/08000000/004a4000
            Loading memory card ./.pcsx/memcards/card1.mcd
            Loading memory card ./.pcsx/memcards/card2.mcd
            plugin: plugins/builtin_gpu
            plugin: plugins/builtin_spu
            plugin: plugins/builtin_pad
            plugin: plugins/builtin_pad
            Plugins loaded.
            Loaded CD Image: /home/pi/RetroPie/roms/psx/Wild Arms (Italy).cue[+cue].
            Track 01 (DATA) - Start 00:02:00, Length 60:12:20
            alsa: refusing to run under PulseAudio's emulation
            selected sound output driver: none
            CD-ROM Label: WILDARMS                        
            CD-ROM ID: EXESCES01
            CD-ROM EXE Name: EXE\SCES_011.73;1
            
            
            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @persita23
              last edited by

              @persita23 said in PSX rearmed doesn't change settings:

              alsa: refusing to run under PulseAudio's emulation
              selected sound output driver: none

              Looks like you installed PulseAudio and the emulator (or ALSA) doesn't approve. How did you install RetroPie - did you use the Pi 0/1 image from retropie.org.uk/download ?

              P 1 Reply Last reply Reply Quote 1
              • P
                persita23 @mitu
                last edited by

                @mitu said in PSX rearmed doesn't change settings:

                @persita23 said in PSX rearmed doesn't change settings:

                alsa: refusing to run under PulseAudio's emulation
                selected sound output driver: none

                Looks like you installed PulseAudio and the emulator (or ALSA) doesn't approve. How did you install RetroPie - did you use the Pi 0/1 image from retropie.org.uk/download ?

                Thanks for reply. I installed it manually following this guide: https://retropie.org.uk/docs/Manual-Installation/

                Basically I installed it after installing Raspbian

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

                  If you update your RetroPie-Setup script, then open the Audio settings in RetroPie, you'll have an option to disable PulseAudio. Use that and see if pcsx-rearmed works.

                  P 1 Reply Last reply Reply Quote 1
                  • P
                    persita23 @mitu
                    last edited by

                    @mitu said in PSX rearmed doesn't change settings:

                    If you update your RetroPie-Setup script, then open the Audio settings in RetroPie, you'll have an option to disable PulseAudio. Use that and see if pcsx-rearmed works.

                    Thanks for reply. It looks like I already have ALSA active. 59E01F1B-30C4-4395-95D6-FE37990BF7C9.jpeg

                    I tried to play the game and there is no audio. I tried to play with enable/disable the PulseAudio but it doesn’t change: even if I set it to enable, it’s look like is disable.

                    I think there is a problem in writing on the file, maybe it’s corrupted. Do you know in which file are these settings written? Maybe I can change them manually. Or maybe there is another solution. Thanks

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

                      @persita23 said in PSX rearmed doesn't change settings:

                      I tried to play the game and there is no audio. I tried to play with enable/disable the PulseAudio but it doesn’t change: even if I set it to enable, it’s look like is disable.
                      I think there is a problem in writing on the file, maybe it’s corrupted. Do you know in which file are these settings written? Maybe I can change them manually. Or maybe there is another solution. Thanks

                      If PulseAudio is disabled, then the error is from somewhere else. You can check if PulseAudio is enabled by running

                      systemctl is-enabled --user pulseaudio.service
                      systemctl is-enabled --user pulseaudio.socket
                      
                      P 1 Reply Last reply Reply Quote 1
                      • P
                        persita23 @mitu
                        last edited by persita23

                        @mitu said in PSX rearmed doesn't change settings:

                        @persita23 said in PSX rearmed doesn't change settings:

                        I tried to play the game and there is no audio. I tried to play with enable/disable the PulseAudio but it doesn’t change: even if I set it to enable, it’s look like is disable.
                        I think there is a problem in writing on the file, maybe it’s corrupted. Do you know in which file are these settings written? Maybe I can change them manually. Or maybe there is another solution. Thanks

                        If PulseAudio is disabled, then the error is from somewhere else. You can check if PulseAudio is enabled by running

                        systemctl is-enabled --user pulseaudio.service
                        systemctl is-enabled --user pulseaudio.socket
                        

                        Ok, if I run those command it says that it is disabled
                        Do you think I have to perform a clean installation of retropie?

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

                          @persita23 said in PSX rearmed doesn't change settings:

                          Ok, if I run those command it says that it is disabled

                          If it's disabled, then it's another issue. Is the log from the emulator saying the same thing - regarding audio and PulseAudio ?

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            persita23 @mitu
                            last edited by

                            @mitu said in PSX rearmed doesn't change settings:

                            @persita23 said in PSX rearmed doesn't change settings:

                            Ok, if I run those command it says that it is disabled

                            If it's disabled, then it's another issue. Is the log from the emulator saying the same thing - regarding audio and PulseAudio ?

                            It looks the same:

                            Parameters: 
                            Executing: SDL1_VIDEODRIVER=dispmanx pushd /opt/retropie/emulators/pcsx-rearmed; ./pcsx -cdfile "/home/pi/RetroPie/roms/psx/Wild Arms (Italy).cue"; popd
                            /opt/retropie/emulators/pcsx-rearmed ~
                            warning: video overlay is not hardware accelerated, not going to use it.
                            plat_sdl: using 720x576 as fullscreen resolution
                            plat_sdl: overlay: fmt 59565955, planes: 1, pitch: 1280, hw: 0
                            input: new device #0 "sdl:keys"
                            input: new device #1 "sdl:Sony PLAYSTATION(R)3 Controller"
                            input: async-only devices detected..
                            # drv probed binds name
                            0   0      y     y sdl:keys
                            1   0      y     y sdl:Sony PLAYSTATION(R)3 Controller
                            frontend/libpicofe/readpng.c: failed to open: /opt/retropie/emulators/pcsx-rearmed/skin/font.png
                            frontend/libpicofe/readpng.c: failed to open: /opt/retropie/emulators/pcsx-rearmed/skin/selector.png
                            frontend/libpicofe/readpng.c: failed to open: /home/pi/.picodrive/skin/background.png
                            me_id2offset: id 28 not found
                            Starting PCSX-ReARMed 
                            Running PCSX Version 1.9 (Dec 15 2020).
                            warning: failed to do hugetlb mmap (0x80000000, 2162688): 22
                            Init new dynarec
                            testing if we can run recompiled code..
                            test passed.
                            Mapped (RAM/scrp/ROM/LUTs/TC):
                            80000000/1f800000/1fc00000/08000000/004a4000
                            Loading memory card ./.pcsx/memcards/card1.mcd
                            Loading memory card ./.pcsx/memcards/card2.mcd
                            plugin: plugins/builtin_gpu
                            plugin: plugins/builtin_spu
                            plugin: plugins/builtin_pad
                            plugin: plugins/builtin_pad
                            Plugins loaded.
                            Loaded CD Image: /home/pi/RetroPie/roms/psx/Wild Arms (Italy).cue[+cue].
                            Track 01 (DATA) - Start 00:02:00, Length 60:12:20
                            alsa: refusing to run under PulseAudio's emulation
                            selected sound output driver: none
                            CD-ROM Label: WILDARMS                        
                            CD-ROM ID: EXESCES01
                            CD-ROM EXE Name: EXE\SCES_011.73;1
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator
                              last edited by mitu

                              Somehow, pcsx_rearmed thinks PulseAudio is still running. What's the output of

                              aplay -L | grep -i pulse
                              ps -ef | grep pulseaudio
                              

                              should be empty when PulseAudio is disabled.

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                persita23 @mitu
                                last edited by persita23

                                @mitu said in PSX rearmed doesn't change settings:

                                ps -ef | grep pulseaudio

                                Here it is. I am sorry if I can’t do anything to help you but now we are far from my understanding of things :D
                                E0567E10-0C99-4EE5-9357-F9BEC2B2DF5C.jpeg

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

                                  Looks like PulseAudio is still running.
                                  Did you reboot after changing the PulseAudio audio settings ? Try rebooting and checking again with commands I posted earlier. If it's not working, try manually disabling PulseAudio by running

                                  systemctl --user mask pulseaudio.socket
                                  

                                  and rebooting.

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    persita23 @mitu
                                    last edited by persita23

                                    @mitu said in PSX rearmed doesn't change settings:

                                    Looks like PulseAudio is still running.
                                    Did you reboot after changing the PulseAudio audio settings ? Try rebooting and checking again with commands I posted earlier. If it's not working, try manually disabling PulseAudio by running

                                    systemctl --user mask pulseaudio.socket
                                    

                                    and rebooting.

                                    I have done this:

                                    1-From setup script I tried to disable pulse audio (it was already disable)
                                    2-I tried to enable it—>rebooting—>Still disabled (so from setup script it is disabled and there is no way to enable it)
                                    3-Reboot and ran the game-> no audio
                                    3- I ran this

                                    aplay -L | grep -i pulse
                                    ps -ef | grep pulseaudio
                                    

                                    And still got the same output
                                    4-reboot
                                    5-I ran this

                                    systemctl --user mask pulseaudio.socket
                                    

                                    6-I ran the game and...IT WORKS WITH AUDIO! :D :D
                                    7- Rebooted and run the game again, it keeps the settings. Tried also with other emulators (NES) and the games have audio.

                                    Thanks a lot!

                                    I will try to figure out the analog thing by myself! I try! :D

                                    UPDATE: playing around I made the analog work. I change some setting in the configuration of the emulator. Now everything works fine

                                    1 Reply 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.