• 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 Crashes After Update [5/4/2024]

Scheduled Pinned Locked Moved Help and Support
redreamissuepi4b
28 Posts 12 Posters 4.1k 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.
  • M
    mitu Global Moderator
    last edited by 6 May 2024, 15:25

    Seems like the latest redream doesn't distribute anymore the (optimized) VC4 Mesa driver like before, the crash may be related to that missing driver - RetroPie's Mesa version is too old it seems (?).

    H I 2 Replies Last reply 10 May 2024, 02:26 Reply Quote 0
    • H
      hunksurvivorx @mitu
      last edited by 10 May 2024, 02:26

      @mitu said in Redream Crashes After Update [5/4/2024]:

      Seems like the latest redream doesn't distribute anymore the (optimized) VC4 Mesa driver like before, the crash may be related to that missing driver - RetroPie's Mesa version is too old it seems (?).

      Is there a way to install an older version that still works? I got the same issue like the other guy, reicast and flycast work but redream not anymore.

      1 Reply Last reply Reply Quote 0
      • M
        mitu Global Moderator
        last edited by 10 May 2024, 03:14

        For now I don't have a solution, except getting the (very) old 1.5.0 stable release from https://redream.io/download/redream.aarch32-raspberry-linux-v1.5.0.tar.gz and unpacking into /opt/retropie/emulators/redream. The slightly older 1024 version that's available to download is also buggy and doesn't run, unfortunately.

        1 Reply Last reply Reply Quote 0
        • A
          abj
          last edited by 10 May 2024, 05:46

          This issue affects only Buster ?

          `Please be patient, my English is not very good.`

          1 Reply Last reply Reply Quote 0
          • Q
            quicksilver
            last edited by 11 May 2024, 17:40

            It may be worth reporting the issue on the redream discord server. @inolen is pretty responsive there (assuming he doesn't already know there is an issue).

            A 1 Reply Last reply 11 May 2024, 18:18 Reply Quote 0
            • A
              abj @quicksilver
              last edited by abj 5 Nov 2024, 19:19 11 May 2024, 18:18

              @quicksilver I have forgot that Redream have a discord server for suport. I reported it there, thanks.
              I have confirm also that Redream is working with Bookworm 64 bit.

              `Please be patient, my English is not very good.`

              1 Reply Last reply Reply Quote 0
              • I
                inolen @mitu
                last edited by inolen 5 Dec 2024, 04:04 12 May 2024, 03:01

                @mitu is there a reason that retropie is still using Mesa 19.3.2?

                We stopped distributing that custom build as it was just a bridge fix until my changes (which were upstreamed to Mesa) made it out into repositories. The changes were upstreamed over 4 years ago and made it into the Mesa 20.x releases.

                The pre-compiled drivers no longer ran on newer operating systems due to dependency changes, so I removed them as I assumed after 4 years, most relevant distributions had updated to >= Mesa 20.x.

                Edit: The actual segfault is still weird. I setup a Buster install (that i've already got rid of) like ~2 weeks ago and tested and ran on it.

                M 1 Reply Last reply 12 May 2024, 03:50 Reply Quote 0
                • M
                  mitu Global Moderator @inolen
                  last edited by 12 May 2024, 03:50

                  @inolen said in Redream Crashes After Update [5/4/2024]:

                  @mitu is there a reason that retropie is still using Mesa 19.3.2?

                  We're still supporting Buster, which comes with Mesa 19.3.

                  The pre-compiled drivers no longer ran on newer operating systems due to dependency changes, so I removed them as I assumed after 4 years, most relevant distributions had updated to >= Mesa 20.x.

                  That's ok, we can pin an older version (with the included drivers) for Buster - but I don't have an URL for a 1.5 version before 1124 (which I assume would still have the bug reported here).

                  Can you give me the URL to a version before the changes (like from beginning of April or March) so that Buster users will get the older version and Bookworm/Bullseye users will get the latest version ?

                  I 1 Reply Last reply 12 May 2024, 04:15 Reply Quote 0
                  • I
                    inolen @mitu
                    last edited by inolen 5 Dec 2024, 05:15 12 May 2024, 04:15

                    @mitu we don't have any URLs for that.

                    latest redream should work and the drivers (+ minor changes to launcher script) can be copied over from stable.

                    Is latest segfaulting for you as well?

                    M 1 Reply Last reply 12 May 2024, 06:31 Reply Quote 0
                    • M
                      mitu Global Moderator @inolen
                      last edited by 12 May 2024, 06:31

                      @inolen said in Redream Crashes After Update [5/4/2024]:

                      Is latest segfaulting for you as well?

                      Yes (on Buster). The latest version's redream script doesn't include the LD_LIBRARY_PATH/LIBGL_DRIVERS_PATH setup, but even with those set up to start redream.aarch32.elf, there an error during start-up:

                      /opt/retropie/emulators/redream/redream
                      [INFO]  SDL      redream v1.5.0-1127-g6b62eff6b appdir=/opt/retropie/emulators/redream
                      [INFO]           read /opt/retropie/emulators/redream/redream.cfg
                      [WARN]           failed to open /opt/retropie/emulators/redream/redream.cfg
                      [INFO]  SDL      mode set to exclusive fullscreen width=1280 height=1024
                      [INFO]  SDL      audio initialized latency=70.48 ms period=444 frames
                      [INFO]  SDL      registered device 0 desc=auto name=auto
                      [INFO]  SDL      registered device 2 desc=keyboard name=keyboard
                      [INFO]  SDL      registered device 1 desc=disabled name=disabled
                      [INFO]  SDL      video context created GL_RENDERER=V3D 4.2 GL_VERSION=OpenGL ES 3.1 Mesa 21.0.1 (git-b2493a5158) GLSL_VERSION=OpenGL ES GLSL ES 3.10
                      [INFO]  SDL      video initialized GL_VERSION=OpenGL ES 3.1 Mesa 21.0.1 (git-b2493a5158) GLSL_VERSION=OpenGL ES GLSL ES 3.10 1280x1024 px
                      Mesa: User error: GL_INVALID_OPERATION in glShaderBinary(SPIR-V)
                      /opt/retropie/emulators/redream/redream: line 9:  4536 Segmentation fault      LD_LIBRARY_PATH=$DIR/mesa/arm-linux-gnueabihf LIBGL_DRIVERS_PATH=$DIR/mesa/arm-linux-gnueabihf/dri $DIR/redream.aarch32.elf "$@"
                      
                      I 1 Reply Last reply 25 May 2024, 06:27 Reply Quote 0
                      • I
                        inolen @mitu
                        last edited by 25 May 2024, 06:27

                        @mitu hey, I still haven't gotten around to making another Buster setup yet.

                        I think the issue here is a recent shader change that depends on the GL_ARB_shader_bit_encoding extension. Can you run glxinfo on your machine and grep for that to see if its listed?

                        1 Reply Last reply Reply Quote 0
                        • M
                          mitu Global Moderator
                          last edited by mitu 25 May 2024, 07:15

                          @inolen said in Redream Crashes After Update [5/4/2024]:

                          GL_ARB_shader_bit_encoding

                          On Bookworm it is supported in either GLES or GL mode, with Mesa 23.1. On Buster is not supported though, either by the default Mesa (19) or the 21.0.1 version (which it was shipped with redream).

                          I 1 Reply Last reply 25 May 2024, 18:08 Reply Quote 0
                          • I
                            inolen @mitu
                            last edited by inolen 25 May 2024, 18:08

                            @mitu gotcha, I'll submit a fallback path for without that soon.

                            I think I see what broke - on newer versions of Mesa, I had to explicitly enable that extension on 3.1 contexts for it to work. On older versions of Mesa, I believe it was silently working. However, when I explicitly enabled it I also added a check for its existence at startup and the older versions are failing there (as it's "unsupported").

                            1 Reply Last reply Reply Quote 0
                            • M mitu referenced this topic on 13 Jun 2024, 02:53
                            • J
                              Jonnieboyrevel
                              last edited by 21 Jun 2024, 20:12

                              Hi All

                              Just wondering if there is any update on this issue.

                              I updated Redream with the hope of getting Volgarr working on my arcade cabinet and all the Dreamcast stuff has stopped working.

                              As I don't know how long a fix would take, is there a way of downgrading back to an earlier version?

                              As a side note, would it be worth blocking the update on Pi 4's? If a warning had popped up I wouldn't have gone ahead with the update.

                              Thanks for all the time you guys put in to this, it's greatly appreciated.

                              Jonathan

                              M 1 Reply Last reply 22 Jun 2024, 06:08 Reply Quote 0
                              • M
                                mitu Global Moderator @Jonnieboyrevel
                                last edited by 22 Jun 2024, 06:08

                                @Jonnieboyrevel There's no update to fix this issue.
                                You can get an older version https://redream.io/download/redream.aarch32-raspberry-linux-v1.5.0.tar.gz and it should work, but if the game you tried (Volgarr) didn't work before the update with redream, then it won't work with that old version also.

                                J 1 Reply Last reply 22 Jun 2024, 08:24 Reply Quote 0
                                • J
                                  Jonnieboyrevel @mitu
                                  last edited by 22 Jun 2024, 08:24

                                  @mitu Thanks for coming back to me.

                                  I've installed the older version and everything is running again.

                                  I'll keep an eye on this topic and won't update again until there's a fix.

                                  Thanks again

                                  H 1 Reply Last reply 17 Jul 2024, 05:08 Reply Quote 0
                                  • H
                                    hunksurvivorx @Jonnieboyrevel
                                    last edited by 17 Jul 2024, 05:08

                                    @Jonnieboyrevel How can you install it from package in the retropie system, I never had to use such method so I don't know how to do that, can you help me please?

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      Niktus81
                                      last edited by 21 Jul 2024, 19:38

                                      Same question as @hunksurvivorx
                                      Which are the steps to install redream previous working version from package manager or command line? Somebody can be so kind to enlight us?

                                      I miss Soul Calibur and Virtua Tennis
                                      Cheers

                                      S 1 Reply Last reply 21 Jul 2024, 20:59 Reply Quote 0
                                      • S
                                        sleve_mcdichael @Niktus81
                                        last edited by 21 Jul 2024, 20:59

                                        @Niktus81 said in Redream Crashes After Update [5/4/2024]:

                                        Which are the steps to install redream previous working version from ... command line?

                                        Try:

                                        sudo ~/RetroPie-Setup/retropie_packages.sh redream _autoupdate_
                                        cd /opt/retropie/emulators/redream
                                        wget https://redream.io/download/redream.aarch32-raspberry-linux-v1.5.0.tar.gz 
                                        tar xzvf redream.aarch32-raspberry-linux-v1.5.0.tar.gz
                                        
                                        1. Installs the current redream package. Broken, but creates the necessary shortcuts and etc. for RetroPie to be able to use them later.

                                        2. Navigates to the install directory.

                                        3. Downloads the older, working version binary archive.

                                        4. Unpacks the archive.

                                        N H R 3 Replies Last reply 22 Jul 2024, 00:15 Reply Quote 2
                                        • N
                                          Niktus81 @sleve_mcdichael
                                          last edited by Niktus81 22 Jul 2024, 00:15

                                          @sleve_mcdichael Thanks a lot pal, it worked perfectly!

                                          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