-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
RISC-V device unable to build properly (VisionFive2) #88634
Comments
Adding But even if you can build it, GPU drivers on VisionFive2 are garbage and completely unusable, so it Godot won't run as is (the only way to run anything is removing GPU drivers and replacing with Mesa software OpenGL implementation). |
Hello, thank you very much, I will try. Regarding this GPU (IMG BXE-4-32 MC1) of the VF2 board, it can run vulkan, but there seems to be a problem with the driver, do you need to wait for the driver of vulkan to be perfected? Is there a way to get Godot to use GLES drivers like on an ARM board device? |
Run with |
Hello, I tried this, but the problem persists, I replaced VF2 with Arch's image, GCC version is 13, and the compilation works fine However, I copied the compiled file to the debian image of VF2 (the official desktop version), but the error "Segmentation fault" (the Arch image can be run but not graphical) may be the reason, thanks ! |
Tested versions
4.2.1-stable
System information
Debian11 Godot-4.2.1-stable
Issue description
Hello I compiled Godot on my RISC-V device (VisionFive2), the previous issue(https://github.com/godotengine/godot/issues/80676) said to use the clang compiler, but the program compiled by the clang compiler does not run normally (can only run headless mode)
Since the GCC compiler libatomic doesn't work properly seems to be that the atomic instructions of riscv64 are incomplete, it is necessary to add the
-latomic
parameter to gcc and install the libatomic library at compile time to fully support the features of atomicIf you are using GCC12 on VF2, the following error message is displayed:
This is probably caused by Godot's compilation ignoring atomic under riscv64, hope this build issue can be fixed, thanks
Steps to reproduce
scons platform=linuxbsd target=editor
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: