• 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
    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
                      • M
                        mitu Global Moderator
                        last edited by 18 Jul 2023, 18:10

                        You say you installed RetroPie using the RPI Imager image, but your image shows a newer kernel and a 64bit system (?), which we don't include. Did you use rpi-update to update your system by any chance ?

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

                          @mitu

                          I don't specifically remember doing so but it's quite likely i have at some point done rpi-update.

                          I noticed an issue with the symlinks last night so I'm going to investigate that but I'm AFK right now. I'll come back with my findings.

                          M 1 Reply Last reply 19 Jul 2023, 02:20 Reply Quote 0
                          • M
                            mitu Global Moderator @c0un7z3r0
                            last edited by 19 Jul 2023, 02:20

                            @c0un7z3r0 said in redream not working:

                            I don't specifically remember doing so but it's quite likely i have at some point done rpi-update.

                            Why ? rpi-update is not meant to be used for regular updates, it even tells you so when you run it. Your bootloader and kernel have been upgraded to the latest beta and that's why your system is running a 64bit kernel, but with a 32bit system. it's most likely the reason redream doesn't work since it thinks the system is 64bit, but the aarch64 (64bit) executable cannot run on a 32bit userland.

                            You can either re-install the relevant packages to remove the beta kernel/bootloader or add arm_64bit=0 to the booloader configuration file (config.txt, in the /boot folder).

                            C A 2 Replies Last reply 19 Jul 2023, 03:03 Reply Quote 0
                            • C
                              c0un7z3r0 @mitu
                              last edited by 19 Jul 2023, 03:03

                              Thanks @mitu

                              I'm going to check to see if the symlinks issue is the problem first (it seems as tho the bios files symlinks are not working, I've not fully investigated but it seems nothing happens if I try to 'cat' the bios files). If that's a red herring then I'll try to force 32bit mode as advised. I'll update the post as usual. Thanks again for your help.

                              Cheers.

                              C 1 Reply Last reply 19 Jul 2023, 09:12 Reply Quote 0
                              • C
                                c0un7z3r0 @c0un7z3r0
                                last edited by c0un7z3r0 19 Jul 2023, 09:12

                                @mitu

                                I finally got it sorted out thanks to you, the issue was indeed was the 64/32 bit mismatch. Forcing 32 bit mode with arm_64bit=0 and fixing the issue with the symlink that points to the bios fixed it. Thanks so much for your help and patience, im so releived to have finally got it fixed. I couldnt have done it without you! Cheers!

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

                                  @c0un7z3r0 Glad you got it working. Also, don't use rpi-update again for regular updates.

                                  C 1 Reply Last reply 19 Jul 2023, 09:50 Reply Quote 1
                                  • C
                                    c0un7z3r0 @mitu
                                    last edited by 19 Jul 2023, 09:50

                                    @mitu Will do! Thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      aftermath17 @mitu
                                      last edited by aftermath17 20 Jul 2023, 23:08

                                      @mitu This was the cause of my issues. More info here.
                                      https://forums.raspberrypi.com/viewtopic.php?t=349070

                                      My issue was also fixed by adding arm_64bit=0 to /boot/config.txt.

                                      1 Reply Last reply Reply Quote 0
                                      28 out of 28
                                      • First post
                                        28/28
                                        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