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.
    • mituM
      mitu Global Moderator @inolen
      last edited by

      @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 Reply Quote 0
      • I
        inolen @mitu
        last edited by inolen

        @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?

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

          @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 Reply Quote 0
          • I
            inolen @mitu
            last edited by

            @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
            • mituM
              mitu Global Moderator
              last edited by mitu

              @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 Reply Quote 0
              • I
                inolen @mitu
                last edited by inolen

                @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
                • mituM mitu referenced this topic on
                • J
                  Jonnieboyrevel
                  last edited by

                  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

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

                    @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 Reply Quote 0
                    • J
                      Jonnieboyrevel @mitu
                      last edited by

                      @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 Reply Quote 0
                      • H
                        hunksurvivorx @Jonnieboyrevel
                        last edited by

                        @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

                          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 Reply Quote 0
                          • S
                            sleve_mcdichael @Niktus81
                            last edited by

                            @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 Reply Quote 2
                            • N
                              Niktus81 @sleve_mcdichael
                              last edited by Niktus81

                              @sleve_mcdichael Thanks a lot pal, it worked perfectly!

                              1 Reply Last reply Reply Quote 0
                              • H
                                hunksurvivorx @sleve_mcdichael
                                last edited by

                                @sleve_mcdichael It worked thank you so much, the version does not work with win CE games but at least I can play the non CE.

                                1 Reply Last reply Reply Quote 0
                                • R
                                  rudeboy03 @sleve_mcdichael
                                  last edited by

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

                                  @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.

                                  Unfortunately I can't get the 1st command line to take on my pi4. I'm new to Linux so it is likely I'm not inputting something correctly. I get this prompt after entering the command line 1 as you instructed above.
                                  Sudo: ~/Retropie-Setup/retropie_packages.sh: command not found.

                                  Please advise the best way for a complete newb to fix this issue. Thanks

                                  BuZzB 1 Reply Last reply Reply Quote 0
                                  • BuZzB
                                    BuZz administrators @rudeboy03
                                    last edited by

                                    @rudeboy03 It's case sensitive. RetroPie-Setup instead of Retropie-Setup.

                                    You can enable ssh and connect from your PC to use copy and paste rather than manually typing.

                                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      Jonnieboyrevel
                                      last edited by

                                      Still hoping for something official to fix this but started looking about...

                                      Is it worth trying to use PiKiss https://github.com/jmcerrejon/PiKISS to install a newer version of Mesa and see if that works with the newer version of Redream? Or are newer mesa versions just incompatible?

                                      My Pi is backed up now (losing Redream taught me that lesson...) so I can have a go, I just won't waste my time if there is a reason Retropie (Buster) can't use newer version.

                                      sugarfreeS 1 Reply Last reply Reply Quote 0
                                      • sugarfreeS
                                        sugarfree @Jonnieboyrevel
                                        last edited by

                                        @Jonnieboyrevel
                                        Try using the weekly Bullseye image: https://files.retropie.org.uk/images/weekly/

                                        From the readme file: These are automated development builds - they are not tested or supported nor should be
                                        considered "Official" releases
                                        .

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Jonnieboyrevel @sugarfree
                                          last edited by

                                          @sugarfree Thanks for posting those. Unfortunately for me I have an entire arcade cabinet set up using the Buster version. Having got everything how I wanted it, I'm reluctant to try and start a new build...

                                          However, on a slightly more positive note, I managed to find a fairly recent version of Redream on the Wayback machine. The link is here https://web.archive.org/web/20240306000057/https://redream.io/download

                                          If you download version 1107 and install it manually it works fine with Retropie (Buster) and is pretty recent (Feb 2024 I think).

                                          It runs the WinCE games and actually runs Volgarr the Viking which was my whole reason for updating in the first place.

                                          1 Reply Last reply Reply Quote 2
                                          • J
                                            Jonnieboyrevel
                                            last edited by

                                            Just as an update. Inolen has released a new build, 1132. This appears to work OK on my Retropie (Buster) build.

                                            I installed it manually but I assume it will work to update from source through the Retropie menu.

                                            Thanks all for your help.

                                            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.