-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
Cannot run linux .x86_64 unity app on raspberry pi CM4 #1245
Comments
Unity3D redirect logs inside I might be a need for |
unfortunately we cannot find the aforementioned directory, any potential other locations or place we didn't look? |
The directory I mentionned is a generic template. You need to replace COMPANY_NAME by the actual company name settuped in Unity. Same for PRODUCT_NAME. |
We were looking in the wrong directory for it, here it is: Using emulated /home/gravitron/Desktop/test/gravitron_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so it seems it has to do with OpenGL, we put the Thanks in advance. |
Yes, missing opengl stuff. On a PI4, only I don't think you have opengl activated. Try to use |
|
this comes with |
Hello!Did you manage to solve it? I am having the same issue. I built a Linux app through Unity and tried to run it using Box64 in Pi 5. The terminal message I received is exactly the same as in the first comment of this thread. When I checked the OpenGl version typing |
Perhaps the warning is relative, we ended up switching to latest ubuntu on pi imager. The only issue we have currently relates to running the application in fullscreen. We get a black screen unless we add -screen-fullscreen 0 as a launch option. I believe our current issue is related to wayland or perhaps the fact that our power supply is 1amp which might be too weak for the GPU to function correctly, but it's "working" for the time being. |
Thank you for your reply! I managed to run it with Box64 with terminal command |
Greetings all,
Me and my team are trying to get a unity application built for linux 64 runnning on a raspberry pi CM4, upon running the following command, we get the following prints and the screen flashes black and the application exits. We tried installing openGL, have also tried building for windows and running through wine, this gives us an error that graphics cannot be initialized because of DirectX11.
Thank you in advance.
gravitron@raspberrypi:~/Desktop/test $ sudo ./gravitron.x86_64 MESA_GL_VERSION_OVERRIDE=3.2 PAN_MESA_DEBUG=gl3
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores
Params database has 55 entries
Box64 with Dynarec v0.2.7 7781bfc built on Feb 2 2024 06:24:03
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 21 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for ./gravitron.x86_64
argv[1]="MESA_GL_VERSION_OVERRIDE=3.2"
argv[2]="PAN_MESA_DEBUG=gl3"
Rename process to "gravitron.x86_64"
Using emulated UnityPlayer.so
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libdl.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Warning: Global Symbol _ZTH15gDeferredAction not found, cannot apply R_X86_64_GLOB_DAT @0x3f01f1d0d8 ((nil)) in UnityPlayer.so
[UnityMemory] Configuration Parameters - Can be set up in boot.config
"memorysetup-bucket-allocator-granularity=16"
"memorysetup-bucket-allocator-bucket-count=8"
"memorysetup-bucket-allocator-block-size=4194304"
"memorysetup-bucket-allocator-block-count=1"
"memorysetup-main-allocator-block-size=16777216"
"memorysetup-thread-allocator-block-size=16777216"
"memorysetup-gfx-main-allocator-block-size=16777216"
"memorysetup-gfx-thread-allocator-block-size=16777216"
"memorysetup-cache-allocator-block-size=4194304"
"memorysetup-typetree-allocator-block-size=2097152"
"memorysetup-profiler-bucket-allocator-granularity=16"
"memorysetup-profiler-bucket-allocator-bucket-count=8"
"memorysetup-profiler-bucket-allocator-block-size=4194304"
"memorysetup-profiler-bucket-allocator-block-count=1"
"memorysetup-profiler-allocator-block-size=16777216"
"memorysetup-profiler-editor-allocator-block-size=1048576"
"memorysetup-temp-allocator-size-main=4194304"
"memorysetup-job-temp-allocator-block-size=2097152"
"memorysetup-job-temp-allocator-block-size-background=1048576"
"memorysetup-job-temp-allocator-reduction-small-platforms=262144"
"memorysetup-allocator-temp-initial-block-size-main=262144"
"memorysetup-allocator-temp-initial-block-size-worker=262144"
"memorysetup-temp-allocator-size-background-worker=32768"
"memorysetup-temp-allocator-size-job-worker=262144"
"memorysetup-temp-allocator-size-preload-manager=262144"
"memorysetup-temp-allocator-size-nav-mesh-worker=65536"
"memorysetup-temp-allocator-size-audio-worker=65536"
"memorysetup-temp-allocator-size-cloud-worker=32768"
"memorysetup-temp-allocator-size-gfx=262144"
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libudev.so.1
The text was updated successfully, but these errors were encountered: