Redream Crashes After Update [5/4/2024]
-
@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.
-
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. -
This issue affects only Buster ?
-
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).
-
@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. -
@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.
-
@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 ?
-
@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?
-
@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 theLD_LIBRARY_PATH
/LIBGL_DRIVERS_PATH
setup, but even with those set up to startredream.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 "$@"
-
@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?
-
@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
). -
@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").
-
-
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
-
@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 withredream
, then it won't work with that old version also. -
@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
-
@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?
-
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 -
@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
-
Installs the current redream package. Broken, but creates the necessary shortcuts and etc. for RetroPie to be able to use them later.
-
Navigates to the install directory.
-
Downloads the older, working version binary archive.
-
Unpacks the archive.
-
-
@sleve_mcdichael Thanks a lot pal, it worked perfectly!
-
@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.
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.