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

    lr-pcsx-rearmed unable to find suitable video mode

    Scheduled Pinned Locked Moved Help and Support
    lr-pcsx-rearmedresolution
    12 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.
    • mituM
      mitu Global Moderator
      last edited by

      Looks like the 256x240 resolution might have been saved to the configuration file.
      Please add more info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first. Post the /opt/retropie/configs/psx/retroarch.cfg file on pastebin.com and provide the link.

      N 1 Reply Last reply Reply Quote 0
      • N
        Nevohteeb @mitu
        last edited by

        @mitu said in lr-pcsx-rearmed unable to find suitable video mode:

        https://retropie.org.uk/forum/topic/3/read-this-first

        You're right, I am so sorry I did not provide enough informations.
        Here they are.

        Pi Model or other hardware: RPI 4
        Power Supply used: official one
        RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): Linux retropie 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux
        Built From: (Pre made SD Image on RetroPie website, updated via the retropie-setup script.
        USB Devices connected:
        Controller used: arcade cabinet (virtual keyboard) and Retro-bit SEGA MegaDrive 6 buttons pad
        Error messages received: [KMS/EGL]: Did not find suitable video mode for 256 x 240.
        Emulator: the emulator which is in concern is lr-pcsx-rearmed
        Attachment of config files:

        /opt/retropie/configs/psx/retroarch.cfg
        /opt/retropie/configs/all/retroarch.cfg
        /opt/retropie/configs/all/retroarch-core-options.cfg

        How to replicate the problem: juste by setting the resolution of RPI4 by any other than 256x240 one in the /bootconfig.txt file.

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

          Looking at the configuration files, I see that the video resolution is not set there, so that's ok. Do you have a per-game configuration or override that sets the video resolution to 256x240 for this game ?
          The system has only 1 resolution available (the one you've set via /boot/config.txt), but for some reason RetroArch tries to switch to 256 x 240.

          Btw, the lines about multitap added in /opt/retropie/configs/psx/retroarch.cfg have no effect, since they're actually core options - same options are already set in the core options file.

          N 1 Reply Last reply Reply Quote 0
          • N
            Nevohteeb @mitu
            last edited by

            @mitu said in lr-pcsx-rearmed unable to find suitable video mode:

            Looking at the configuration files, I see that the video resolution is not set there, so that's ok. Do you have a per-game configuration or override that sets the video resolution to 256x240 for this game ?

            I indeed checked that and did not found any resolution setting for the emulator anywhere.
            I do not have any per--game configuration file for this emulator. I tried with 3 different games and I always experience the same issue. Is there any chance the resolution is set in another file ?

            @mitu said in lr-pcsx-rearmed unable to find suitable video mode:

            The system has only 1 resolution available (the one you've set via /boot/config.txt), but for some reason RetroArch tries to switch to 256 x 240.

            RetroArch does that only with lr-pcsx-rearmed. All the other emulators automatically use the native (the one set in /boot/config.txt) resolution.

            It worth mentioning that I found that bug reported in some other threads (in 2016) and the solution was to reinstall the emulator from source. So I reinstalled the emulator twice, once from pre-compiled binary, once from sources, and the bug still remains.

            @mitu said in lr-pcsx-rearmed unable to find suitable video mode:

            Btw, the lines about multitap added in /opt/retropie/configs/psx/retroarch.cfg have no effect, since they're actually core options - same options are already set in the core options file.

            Yeah I saw that. I set that earlier to fix the "no controller recognized" bug. I'll delete those lines in the core file.

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

              @nevohteeb said in lr-pcsx-rearmed unable to find suitable video mode:

              It worth mentioning that I found that bug reported in some other threads (in 2016) and the solution was to reinstall the emulator from source. So I reinstalled the emulator twice, once from pre-compiled binary, once from sources, and the bug still remains.

              I don't know if it's not the same thing - the video backend for the Pi4 (DRM/KMS) is quite diffferent from the one available in earlier models.

              Can you upload a verbose log from the emulator to pastebin.com and post the link ?

              N 1 Reply Last reply Reply Quote 0
              • N
                Nevohteeb @mitu
                last edited by

                @mitu

                Sure, here are the 3 files that re generated in the/dev/shm/directory :

                • runcommand.log
                • runcommand.info
                • retroarch.cfg

                Thx a lot for the time you spend to help me.

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

                  @nevohteeb said in lr-pcsx-rearmed unable to find suitable video mode:

                  runcommand.log

                  You have a core override for lr-pcsx-rearmed:

                  [INFO] [Overrides] core-specific overrides found at /home/pi/.config/retroarch/config/PCSX-ReARMed/PCSX-ReARMed.cfg.
                  

                  Delete the file and see if the games will start.

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    Nevohteeb @mitu
                    last edited by

                    @mitu
                    Damn, you're right. I have no idea why this file existed.
                    Game started as soon as I deleted it. Thx a lot !

                    1 Reply Last reply Reply Quote 0
                    • N
                      Nevohteeb
                      last edited by

                      I still have a question tho : according to the RetroPie doc page :

                      • global configuration is set in /opt/retropie/configs/all/retroarch.cfg
                      • system specific configuration is set in /opt/retropie/configs/psx/retroarch.cfg
                      • rom specific configuration is set in /home/pi/RetroPie/roms/psx/Rayman.cfg

                      Attempting to set a specific resolution for Rayman, I figured out that the file /home/pi/RetroPie/roms/psx/Rayman.cfg is absolutely not read at game start whereas /opt/retropie/configs/psx/retroarch.cfg is.

                      Moreovoer, investigating the runcommand.log file I read that :

                      [INFO] [Overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/PCSX-ReARMed/PCSX-ReARMed.cfg.
                      [INFO] [Overrides] no content-dir-specific overrides found at /home/pi/.config/retroarch/config/PCSX-ReARMed/psx.cfg.
                      [INFO] [Overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/PCSX-ReARMed/Rayman.cfg.
                      

                      Then I moved the /home/pi/RetroPie/roms/psx/Rayman.cfg file to the/ome/pi/.config/retroarch/config/PCSX-ReARMed/ and figured out that in this case, modifications are taken into account...

                      So, is the doc page obsolete or is there something I missed ?

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

                        @nevohteeb said in lr-pcsx-rearmed unable to find suitable video mode:

                        So, is the doc page obsolete or is there something I missed ?

                        The .cfg must contain the full file name, including the extension. So it's Rayman.cue.cfg, not just Rayman.cfg.

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          Nevohteeb @mitu
                          last edited by

                          @mitu said in lr-pcsx-rearmed unable to find suitable video mode:

                          @nevohteeb said in lr-pcsx-rearmed unable to find suitable video mode:

                          So, is the doc page obsolete or is there something I missed ?

                          The .cfg must contain the full file name, including the extension. So it's Rayman.cue.cfg, not just Rayman.cfg.

                          You' re right. Thanks a lot.

                          1 Reply Last reply Reply Quote 0
                          • 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.