Code Monkey home page Code Monkey logo

Comments (10)

ptitSeb avatar ptitSeb commented on June 26, 2024

Unity3D redirect logs inside /.config/unity3d/COMPANY_NAME/PRODUCT_NAME/Player.log so check there for details.

I might be a need for BOX64_DYNAREC_STRONGMEM=1? Difficult to say without logs.

from box64.

BasedSnake avatar BasedSnake commented on June 26, 2024

unfortunately we cannot find the aforementioned directory, any potential other locations or place we didn't look? BOX64_DYNAREC_STRONGMEM=1 did not work either.

from box64.

ptitSeb avatar ptitSeb commented on June 26, 2024

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.

from box64.

BasedSnake avatar BasedSnake commented on June 26, 2024

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
MonoBleedingEdge detected, disable Dynarec BigBlock and enable Dynarec StrongMem
Using native(wrapped) libz.so.1
Mono path[0] = '/home/gravitron/Desktop/test/gravitron_Data/Managed'
Mono config path = '/home/gravitron/Desktop/test/gravitron_Data/MonoBleedingEdge/etc'
Display 0 '0': 1600x1200 (primary device).
[Physics::Module] Initialized MultithreadedJobDispatcher with 3 workers.
Unable to load player prefs
Desktop is 1600 x 1200 @ 0 Hz
Using native(wrapped) libGL.so.1
Unable to find a supported OpenGL core profile
Failed to create valid graphics context: please ensure you meet the minimum requirements
E.g. OpenGL core profile 3.2 or later for OpenGL Core renderer
Using native(wrapped) libvulkan.so.1
[Vulkan init] extensions: count=3
[Vulkan init] extensions: name=VK_EXT_debug_report [enabled=0, external=0]
[Vulkan init] extensions: name=VK_EXT_debug_utils [enabled=0, external=0]
[Vulkan init] extensions: name=VK_KHR_portability_enumeration [enabled=0, external=0]

it seems it has to do with OpenGL, we put the MESA_GL_VERSION_OVERRIDE=3.2 and PAN_MESA_DEBUG=gl3 as arguments. What else could cause this?

Thanks in advance.

from box64.

ptitSeb avatar ptitSeb commented on June 26, 2024

Yes, missing opengl stuff. On a PI4, only MESA_GL_VERSION_OVERRIDE=3.2 is usefull. the PAN_MESA_DEBUG one is for Panfrost mesa (so for other boards, like RK3399 or RK3588 based).

I don't think you have opengl activated. Try to use glxinfo -B to see what kind of OpenGL you have. Can't really help you here.

from box64.

BasedSnake avatar BasedSnake commented on June 26, 2024

glxinfo -B returns command not found, I assume that means OpenGL is missing?

from box64.

ptitSeb avatar ptitSeb commented on June 26, 2024

this comes with sudo apt install mesa-utils iirc. But yeah, looks like you are missing stuffs.

from box64.

FoteiniS-Verkehrshaus avatar FoteiniS-Verkehrshaus commented on June 26, 2024

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 glxinfo -B I got this warning: v3d support for hw 71 is neither a complete nor a conformant OpenGL implementation. Testing use only Could this be relative? Thank you in advance for any update

from box64.

BasedSnake avatar BasedSnake commented on June 26, 2024

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.

from box64.

FoteiniS-Verkehrshaus avatar FoteiniS-Verkehrshaus commented on June 26, 2024

Thank you for your reply! I managed to run it with Box64 with terminal command MESA_GL_VERSION_OVERRIDE=3.2 ./YourUnityApp.x86_64 . Fullscreen, the graphics' quality is good but the performance not really. I have already started switching to Ubuntu and I ll test it the following days.

from box64.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.