GithubHelp home page GithubHelp logo

Comments (7)

ptitSeb avatar ptitSeb commented on May 29, 2024

There is nothing special to set display to box64. You do the same as if box64 was not there.
The logs show that everything is fine. Did you try some simple without box64 first?

Also, Unity3D redirect all output to ~/.config/unity3d/XXXXX/YYYYY/Player.log when it's initialized (XXXX is the editor, YYYY the project name). Did you check there?

from box64.

Toernblom avatar Toernblom commented on May 29, 2024

You're correct, other applications didn't work either. I'll fix that first, thanks!

from box64.

Toernblom avatar Toernblom commented on May 29, 2024

Got other applications to work with this project instead:
https://github.com/balena-io-experimental/jetson-sample-new

Now running box64 yields the same result with these logs in the Player.log

Using emulated /usr/src/app/GameAssembly.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7f86beac00 (0x1296206)
Using emulated /usr/src/app/hmi_Data/Plugins/lib_burst_generated.so
Preloaded 'lib_burst_generated.so'
Unable to load player prefs
Desktop is 0 x 0 @ 0 Hz

Desktop 0x0@0Hz is troublesome though. The other applications, such as smokeParticles in the github project has no issues launching. I've also successfully launched this same Unity app on webGL previously.

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

Can I have the binary so I can see on my side why it doesn't get the desktop correctly. I guess a wrapping of some x11 function is wrong, but I need to identify wich one (running with BOX64_LOG=2 and looking at the huge log to see what potential candidate I can see)

from box64.

Toernblom avatar Toernblom commented on May 29, 2024

UnityApplication.zip

Previously i tried with openGL, this version is running vulkan fyi.

Here you go! I assume this is fine aswell, but i had to manually install missing libraries in the dockerfile.

RUN apt install libxss1 libwayland-egl1 libwayland-cursor0 libxkbcommon0 libxkbcommon-x11-0 libxcursor1 libxinerama1 libxi6 libxrandr2 libxxf86vm1 -y

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

It worked on my side (directly on a machine, not using any docker stuff), but I'm not using wayland. I guess that's a major difference. I probably need to set it up at some point to check the support (that is obvioulsy currently incomplete)

from box64.

Toernblom avatar Toernblom commented on May 29, 2024

Ah, annoying.. Ohwell, thanks alot for helping out with what you could :)

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.