Skip to content

Conversation

gderber
Copy link

@gderber gderber commented Apr 8, 2024

This works on x86. I have gotten my hands on a rpi, so I can test it.

It looks like it will require debian bullseye. Is there a way to restrict this based on debian version?
eg: rp_module_flags=!buster

@Exarkuniv
Copy link
Owner

it might work on bookworm then since that's the newer version and the one that RetroPie will be supporting

as for restricting it to a certain debian version i dont know. i know how to do that for what versions or what depends to install

@gderber
Copy link
Author

gderber commented Apr 8, 2024

Good to know about that retropie's next target is bookworm. I'll update my install to that and test there. I was trying to test off of a standard install.

@Exarkuniv
Copy link
Owner

i believe thats what they are aiming for, i have not seen anything that makes me think otherwise

@gderber
Copy link
Author

gderber commented Apr 10, 2024

I updated my retropie install to bookworm. This successfully builds. Unfortunately, it completely broke everything else so Emulation station fails to load so I can't really test if it works. I'm working on it.

@Exarkuniv
Copy link
Owner

ok so i looped back to this and gave this a shot on my Pi5, i was able to compile it just fine. the game starts with just a white screen
i can hear the logo screens going on.(i played this game too much)

it only stays white. i have tryed different resolutions but nothing helped, i also tyred useing XINIT too, and same thing

https://pastebin.com/i7uDhasA

there is more to this runcommand, but it is more of the same a error about GLSL 4.50 not supported.
so i think thats why a white screen, but i dont know if there is away to force build it for the pi5 opengl or pick the reneder

or if its my game files version.

@gderber
Copy link
Author

gderber commented Sep 16, 2024

I'm fairly certain, the outstanding build issues are because RetroPie is still on Buster.

I feel like at this point Trixie is going to be released before a new image is released.

There might be a cmake flag that might help.

@gderber
Copy link
Author

gderber commented Sep 16, 2024

What happens if you strip out all the cmake flags but DSDL and DCPU_TYPE?

@Exarkuniv
Copy link
Owner

same thing

one thing i have see everytime i ran this is this

CMake Warning (dev) at /usr/share/cmake-3.25/Modules/FindOpenGL.cmake:315 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /usr/lib/aarch64-linux-gnu/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/lib/aarch64-linux-gnu/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/lib/aarch64-linux-gnu/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  CMakeLists.txt:1765 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

@Exarkuniv
Copy link
Owner

Exarkuniv commented Sep 17, 2024

build issues are because RetroPie is still on Buster.

im not on buster, this is only on my pi5 with bookworm. so its not a issue there

everything im doing on for the Pi5 right now first, once i get it working there. then i mess with the old image for the pi4. but since i do believe that it will be replaced at some point with a updated one, im not putting much effort there

@gderber
Copy link
Author

gderber commented Sep 24, 2024

Cleaning up the branches now that 'ut' has been merged

@gderber
Copy link
Author

gderber commented Oct 3, 2024

I got this to install on Retropie, buster. It required me downgrading the version to v1.3.0. 1.4.0 works on bookworm and at least at one point worked on trixie (No longer have a trixie install to work with).

1.5.0+ is unfortunately x86 only. So I may add that version support at some point, I'll be happy getting this to work.

Works perfectly on x86. Crashes on rpi.

/dev/shm/retropie_xinitrc: line 9: 30552 Killed                  /opt/retropie/ports/rbdoom3_bfg/RBDoom3BFG
xinit: connection to X server lost

waiting for X server to shut down .

Not sure what's going on there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants