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

redream not working

Scheduled Pinned Locked Moved Help and Support
dreamcastredreampi4
28 Posts 6 Posters 4.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.
  • C
    cmdima
    last edited by 26 May 2023, 12:28

    Hi there! I have retropie running on a pi4 and I used to play dreamcast games without issues with redream emulator. Last week I performed a system update and misteroiusly redream stopped working.

    I unistalled it and installed it again but nothing happens. Everytime I try to load a rom with redream, the system takes me back to the rom list.

    when I look in the runcommand log i get this:

    Parameters:
    Executing: /opt/retropie/emulators/redream/redream "/home/pi/RetroPie/roms/dreamcast/Mortal Kombat Gold.cdi"
    dpkg-query: error in show format: may not be empty string
    /opt/retropie/emulators/redream/redream: line 9: /opt/retropie/emulators/redream/redream.aarch64.elf: No such file or directory

    any idea?

    A 1 Reply Last reply 15 Jul 2023, 21:11 Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 26 May 2023, 13:40

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

      S 1 Reply Last reply 15 Jul 2023, 22:17 Reply Quote 0
      • A
        aftermath17 @cmdima
        last edited by 15 Jul 2023, 21:11

        @cmdima Did you ever resolve this? I have the same problem right now with Redream. Strangely, it happens with PPSSPP too (although different error). I've tried to re-install both. Retroarch emulators work fine.

        1 Reply Last reply Reply Quote 0
        • S
          sleve_mcdichael @mitu
          last edited by sleve_mcdichael 15 Jul 2023, 22:17

          @aftermath17 what mitu said in redream not working still applies:

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

          1 Reply Last reply Reply Quote 0
          • C
            c0un7z3r0
            last edited by c0un7z3r0 17 Jul 2023, 11:09

            I am suffering this too. Here are the details requested:

            Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..)

            Pi4b
            

            Power Supply used: (If using a Pi)

            Tried with Pi official and 3.5amp overpowered - same result
            

            RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest):

            4.8.4
            

            Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used)

            Raspberry Pi Imager Stock Image
            

            USB Devices connected:

            1 PS controller adaptor, 1 Microsoft wireless mouse/keyboard dongle, 1 SSD running retropie (No SD Card - retropie is running off the SSD plugged in via USB)
            

            Controller used:

            1 ps2 dualshock
            

            Error messages received:

            dpkg-query: error in show format: may not be empty string
            redream: line 9: ./redream.aarch64.elf: No such file or directory
            

            Verbose log (if relevant):
            Guide used: (Mention if you followed a guide)
            File: (File with issue - with FULL path)
            Emulator: (Name of emulator - if applicable)

            Redream
            

            Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
            How to replicate the problem:

            Install Retropie with Rpi Imager on to SSD
            Install optional package redream
            attempt to run redream (either via emulationstation or command line) and receive error as per above
            

            My best guess would be that this appears to be a problem with a dependency, specifically dpkg-query. Doing some googling revealed this:

            https://askubuntu.com/questions/1293709/weird-error-when-trying-to-install-packages-with-apt

            but the file in the answer given is not present in retropie so im not sure how to proceed.

            UPDATE: I did manage to find the file in that stack overflow answer but trying the solution provided there did not solve the issue.

            M 1 Reply Last reply 18 Jul 2023, 05:11 Reply Quote 0
            • M
              mitu Global Moderator @c0un7z3r0
              last edited by 18 Jul 2023, 05:11

              @c0un7z3r0 said in redream not working:

              My best guess would be that this appears to be a problem with a dependency, specifically dpkg-query. Doing some googling revealed this:

              No, it's a problem with the redream launch script (/opt/retropie/emulators/redream/redream). It invokes dpkg-query with an empty argument. In the script:

              MESA_DIST_VER=$(dpkg-query -f= --show libgl1-mesa-dri)
              

              should be

              MESA_DIST_VER=$(dpkg-query -f="\${Version}" --show libgl1-mesa-dri)
              

              The script comes from upstream (@inolen), so we'll be reporting the issue there, hopefully an update will fix the issue.

              C 1 Reply Last reply 18 Jul 2023, 06:19 Reply Quote 2
              • C
                c0un7z3r0 @mitu
                last edited by 18 Jul 2023, 06:19

                @mitu

                That's fantastic, I found that file myself based on the error message (line 9) but was not sure what that should be changed to, to have valid syntax. The dpkg-query documentation wasn't much help without context as to what that particular line did. Thanks for the help, I'll manually update in the meantime and try it this evening.

                Thanks again!

                1 Reply Last reply Reply Quote 0
                • M
                  mitu Global Moderator
                  last edited by 18 Jul 2023, 09:17

                  Try updating now redream, without modifying anything, and see if you still get the same error.

                  C 1 Reply Last reply 18 Jul 2023, 10:41 Reply Quote 0
                  • C
                    c0un7z3r0 @mitu
                    last edited by c0un7z3r0 18 Jul 2023, 10:41

                    @mitu @inolen

                    I updated which fixed the previous issue but brought about a new one:

                    dpkg: warning: version '""' has bad syntax: version number does not start with digit
                    redream: line 9: ./redream.aarch64.elf: No such file or directory
                    

                    so presumably the ${Version} variable is not being set.

                    M 1 Reply Last reply 18 Jul 2023, 15:16 Reply Quote 0
                    • W
                      windg
                      last edited by 18 Jul 2023, 14:29

                      Here Redream is working fine, i did a full update, RetroPie packages and system packages(underlying). Did you build RetroPie on top of Bullseye?

                      My English isn't at a good level.

                      C 2 Replies Last reply 18 Jul 2023, 14:42 Reply Quote 0
                      • C
                        c0un7z3r0 @windg
                        last edited by c0un7z3r0 18 Jul 2023, 14:42

                        @windg

                        No I ran the official raspberry pi imager software and wrote directly to an SSD so it's the stock image file

                        It's buster and if I do

                        Sudo apt-get update
                        Sudo apt-get upgrade

                        Then it says all packages are up to date

                        1 Reply Last reply Reply Quote 0
                        • C
                          c0un7z3r0 @windg
                          last edited by 18 Jul 2023, 14:48

                          @windg

                          the immediate problem is that the $Version variable in the

                          /Opt/RetroPie/emulators/redream/redream
                          

                          Script is undefined so dpkg-query falls down when trying to set META_DIST_VER

                          1 Reply Last reply Reply Quote 0
                          • M
                            mitu Global Moderator @c0un7z3r0
                            last edited by 18 Jul 2023, 15:16

                            @c0un7z3r0 said in redream not working:

                            [...]
                            so presumably the ${Version} variable is not being set.

                            Yes, there's still an issue. We'll spin the dreidel again. My original fix should still work.

                            C 1 Reply Last reply 18 Jul 2023, 16:01 Reply Quote 0
                            • C
                              c0un7z3r0 @mitu
                              last edited by c0un7z3r0 18 Jul 2023, 16:01

                              @mitu

                              Yes, there's still an issue. We'll spin the dreidel again. My original fix should still work.

                              What do you mean by the original fix? The suggestion above or the changes that were pushed to the latest build?

                              Please let me know if any further fixes get applied? (Also, if you can, let me know what repo these changes are happening in so I can track it?)

                              Thanks again for your help and persevering.

                              M 1 Reply Last reply 18 Jul 2023, 16:06 Reply Quote 0
                              • M
                                mitu Global Moderator @c0un7z3r0
                                last edited by mitu 18 Jul 2023, 16:06

                                @c0un7z3r0 said in redream not working:

                                What do you mean by the original fix? The suggestion above or the changes that were pushed to the latest build?

                                I was referring to my first reply.

                                Please let me know if any further fixes get applied?

                                Try updating now.

                                (Also, if you can, let me know what repo these changes are happening in so I can track it?)

                                redream is not open source, so there's no public repository to track. You can watch the downloads page for new versions, but I don't think there's any detailed changelog for the development builds. I just reported the issue to @inolen and they have added some fixes to the RPI package.

                                C 1 Reply Last reply 18 Jul 2023, 17:04 Reply Quote 0
                                • C
                                  c0un7z3r0 @mitu
                                  last edited by 18 Jul 2023, 17:04

                                  @mitu

                                  Thanks again

                                  This is getting weird, it now gives this error

                                  Executing: /Opt/RetroPie/emulators/redream/redream "/home/pi/RetroPie/ROMs/Dreamcast/myromfile.chd"
                                  /Opt/RetroPie/emulators/redream/redream: line 9: /Opt/RetroPie/emulators/redream/redream.aarch64.elf: No such file or directory 
                                  

                                  But that file does exist.

                                  Damn this is frustrating. Sorry to keep coming back with this, I appreciate your help

                                  M 1 Reply Last reply 18 Jul 2023, 17:06 Reply Quote 0
                                  • M
                                    mitu Global Moderator @c0un7z3r0
                                    last edited by mitu 18 Jul 2023, 17:06

                                    @c0un7z3r0 said in redream not working:

                                    This is getting weird, it now gives this error

                                    This seems to be something related to your system. /Opt/Retropie doesn't exist on a standard RetroPie installation, RetroPie is installed in /opt/retropie . Since Linux filesystems are generally case-sensitive, in this case the folders are not the same.

                                    C 1 Reply Last reply 18 Jul 2023, 17:08 Reply Quote 0
                                    • C
                                      c0un7z3r0 @mitu
                                      last edited by c0un7z3r0 18 Jul 2023, 17:08

                                      @mitu sorry the capitalisation was mine. I manually typed it out on my phone

                                      It is lowercase as you said.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mitu Global Moderator
                                        last edited by mitu 18 Jul 2023, 17:13

                                        Then I suggest you reinstall again redream. The package does contain the file not found in your error (/opt/retropie/emulators/redream/redream.aarch64.elf).

                                        C 1 Reply Last reply 18 Jul 2023, 17:26 Reply Quote 0
                                        • C
                                          c0un7z3r0 @mitu
                                          last edited by 18 Jul 2023, 17:26

                                          @mitu

                                          It does contain redream.aarch64.elf, it's referenced in the redream script we were having problems with. See image for my directory structure and files

                                          alt text

                                          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.

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