-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run on riscv64 #599
Comments
@archanox Try recompilling MangoHUD from source |
When building from source, unfortunately I have unmet dependencies, and an odd error at the end.
EDIT: Wait, I'm an idiot, trying again after installing |
@archanox You have to disable XNVCtrl as seen in the log |
So I got further, but not by much.
It appears that it's very x86 based? |
@archanox Unset the CC variable or set it to gcc |
Use |
It only runs the 32-bit build on x86_64, but unconditionally tries to install the multilib packages. Not sure what the point of the build script is, anyway, seems like a waste of time that reinvents the wheel whilst also breaking things. There's a meson.build you can just use manually like any other normal project. The Debian packaging just uses that, for example, and then runs ninja in the build directory. |
So I switched to develop and got a bit further.
Does MangoHud currently support platform other than x86/x64? Is there arm/aarch64 support? If so, I am curious how it's not working here for riscv64, but is there. |
You need to compile https://github.com/KhronosGroup/glslang for riscv64 if it's not included in repo and if it actually does. |
So, I would have replied sooner to say "but it's already installed". Which is true, but...
Embarrassingly, I'm not sure where that version came from. If it was from an apt package, this source, another source...
Anyway, back to the MangoHud build.
It finished, it worked.
Same thing. Double checked that I do indeed have libdl.so lurking somewhere...
So I suspect that somewhere, someone has done a hard reference to an x86 library, I'll see if I can dig up anything further. |
I just took another look at the output of
There's a lot of mention of i686/i386/x86_64 is this bueno? I've been fiddling with the LD_PRELOAD env variable too, with no success.
My gut feeling is that $LIB should not be there for starters, but I don't know why it says it cannot read the build location either. EDIT: Have also tried the following to no avail
But honestly I have no idea what it's actually looking for here the README.md just says |
It's fine, just assumes x86 but shows you should probably use meson directly so it picks up correct
|
It looks like I'm straying further from the light...
1 step forward, 2 steps back?
I'd expect that too, but I don't know if it's actually being populated correctly? |
Line 152 in d27f13f
But there's a workaround to use |
Unfortunately I don't know how to approach resolving this issue I'm afraid. Does this issue now get closed with WONTFIX? |
When executing the following command
mangohud --dlsym ./re3
I get the following error
can't get libdl.so
.Mangohud was installed from the Ubuntu apt repo with no issues.
I suspect it's something to do with not having installed libc6-i686 which is unavailable.
How does this work on aarch64?
The text was updated successfully, but these errors were encountered: