ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.28k stars 226 forks source link

OpenGL error #566

Closed Ilya114 closed 1 year ago

Ilya114 commented 2 years ago

After run on arm64, I have error OpenGL, host system have hardware acceleration (OpenGL 3.0,4.6,ES 3.1). Screenshot_2022-02-04-08-02-59-087_com termux x11

Ilya114 commented 2 years ago

glxgears is work

bbbruni commented 2 years ago

Ok, let's try to fix preload error. Please open /etc/ld.so.preload with nano and replace lib/aarch64-linux-gnu in /usr/lib/aarch64-linux-gnu/libgcc_s.so.1 with $LIB The resulting path must look as follows: /usr/$LIB/libgcc_s.so.1

Then try to re-compile box

Ilya114 commented 2 years ago

Wow, box86 work, thank you

bbbruni commented 2 years ago

gcc 5.4.0 worked for me, what's your result of gcc --version?

Ilya114 commented 2 years ago

11.2.0

Ilya114 commented 2 years ago

Hello,I building box86 on armhf chroot and GPU it works but some programs give an error, wine 3.0.5 изображение

ptitSeb commented 2 years ago

It seems an alignment error is happening. Try to run with BOX86_LOG=1 BOX86_TRACE_FILE=stderr to have a bit more information on the SIGBUS.

ptitSeb commented 1 year ago

I close this ticket, as the original error is fixed. Please open new tickets if you have new errors.