GithubHelp home page GithubHelp logo

Tibia crashing (RK3588S) about box64 HOT 50 CLOSED

cantalupo555 avatar cantalupo555 commented on May 29, 2024
Tibia crashing (RK3588S)

from box64.

Comments (50)

martinbone avatar martinbone commented on May 29, 2024 2

I did this (as per ptitseb's guidance), and managed to get Steam working:

sudo apt install libsdl2-2.0-0:armhf libsdl2-image-2.0-0:armhf libopenal1:armhf libgtk2.0-0:armhf

sudo apt install libgl1:armhf

However, I wouldn't say that Steam is "stable" (it crashes a lot). And it seems more unreliable when using one of my monitors (compared with another).
I've only managed to play "World of Goo" so far.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024 1

Did you find it easy to get Steam running on OP5? I haven't been able to manage it yet.

Box86

sudo dpkg --add-architecture armhf && sudo apt-get update
sudo apt install git cmake gcc-arm-linux-gnueabihf libc6-dev-armhf-cross indicator-application xdg-utils libnm0 libtcmalloc-minimal4 libxss1 libsdl2-2.0-0 libgl1-mesa-glx mesa-vulkan-drivers mesa-utils libappindicator1:armhf libvulkan1:armhf libc6:armhf
cd ~ && git clone https://github.com/ptitSeb/box86.git && cd box86
mkdir build; cd build; cmake .. -DRK3588=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo; make -j4
sudo make install && sudo systemctl restart systemd-binfmt

Box64

cd ~ && git clone https://github.com/ptitSeb/box64.git && cd box64
mkdir build; cd build; cmake .. -DRK3588=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo; make -j4
sudo make install && sudo systemctl restart systemd-binfmt

Steam

~/box86/./install_steam.sh
steam

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024 1

I suspect you have qemu installed, and it's running instead of box64 and box86. There are clearly never called in your screenshot.

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024 1

Well, FEX, Qemu, Box, are all doing the same things.
That's a problem for the binfmt integration, because it can only be 1 interpretor for x86 and only 1 for x86_64

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

Hi, I updated the original thread.
I used the command:
BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_LOG=1 BOX64_DLSYM_ERROR=1 box64 Tibia
And the result was the same.

I also tried to change the graphics engine in Tibia settings, I still got the same result.

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

Are you using the steam_chrome branch of box64? Because it's probably neded for anything running on RK3588.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

Are you using the steam_chrome branch of box64? Because it's probably neded for anything running on RK3588.

Exactly, I also tried Tibia on Steam (without proton), the result was the same.
I'm using the steam_chrome branch.

If the problem is solved I can become a sponsor of the project. =D
I would be very happy to see this working.

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

According to the last dump, you ran out of memory. How much RAM do you have?

('m aware steam is using a lot of memory with box64, I plan to work on that, and it's also the main reason it's on a separate branch and not on main)

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

Yes, the Steam version has this issue.
This log was tested without Steam, only with Box64.

My SBC version is 8GB RAM in addition to the 8GB ZRAM.

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

ZRAM is useless when you are short on memory. It's not a swapfile, it's using your ram to make ram, but on case were memory is limited, it will make things worse.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

ZRAM is useless when you are short on memory. It's not a swapfile, it's using your ram to make ram, but on case were memory is limited, it will make things worse.

So, my ZRAM is well configured.
I have no problem with it, excellent performance.

The test was carried out running only Tibia, the machine was restarted before...
So, there was a lot of RAM available.

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

I still don't like zram and try to avoid it. Not easy as it's default on all armbian images.

Can you monitor the memory consuption, like openning a htop in on another terminal?

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

@ptitSeb
I select the char and start the game, maximum consumption 2.4GB of RAM.

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

Oh, ok. That's reasonable, it's far from "not enough memory" level...

Do you stiil some FillBlock at (nil) triggered a segfault, cancelling in the logs?

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

FillBlock at (nil) triggered a segfault, canceling

This message is displayed as soon as the game crashes.

FillBlock at (nil) triggered a segfault, cancelling
FillBlock at (nil) triggered a segfault, cancelling
8369|Ask to run at NULL, quit silently
Call to dlclose(0xd)
Call to dlclose(0xe)
Call to dlclose(0xc)
Call to dlsym(0x5, "dbus_connection_close")0x3005e0
Call to dlsym(0x5, "dbus_connection_unref")0x300600
Call to dlclose(0x5)
Call to dlclose(0x4)
NativeBT: /home/cantalupo/.local/share/CipSoft GmbH/Tibia/packages/Tibia/bin/client() [0x349c9e50]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7f9f9957c0]
NativeBT: [0x7f8f27c8bc]
refreshProtection(0x409): (nil)/0x7 (ret=-1/Cannot allocate memory)
Strange SIGSEGV with Access error on 0x34aea7a4 for 0x409, db=(nil), prot=0x7 (old_addr=(nil))
refreshProtection(0x409): (nil)/0x7 (ret=-1/Cannot allocate memory)
refreshProtection(0x409): (nil)/0x7 (ret=-1/Cannot allocate memory)
Strange SIGSEGV with Access error on 0x34aea7a4 for 0x409, db=(nil), prot=0x7 (old_addr=0x409)
NativeBT: /home/cantalupo/.local/share/CipSoft GmbH/Tibia/packages/Tibia/bin/client() [0x349c9e50]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7f9f9957c0]
NativeBT: /home/cantalupo/.local/share/CipSoft GmbH/Tibia/packages/Tibia/bin/client(my_backtrace_ip+0x1c4) [0x34aea7a4]
NativeBT: /home/cantalupo/.local/share/CipSoft GmbH/Tibia/packages/Tibia/bin/client() [0x349ca014]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7f9f9957c0]
NativeBT: [0x7f8f27c8bc]
refreshProtection(0x409): (nil)/0x7 (ret=-1/Cannot allocate memory)
8369|Double SIGSEGV (code=2, pc=0x34aea7a4, addr=0x409)!
AL lib: (EE) alc_cleanup: 1 device not closed
^C
cantalupo@orangepi5:~/Tibia$ 

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

Can you build box64 with trace enabled? Use ccmake . to enable HAVE_TRACE and run again. It should show a few more info on why it's trying to run some code at 0x00000

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

Can you build box64 with trace enabled? Use ccmake . to enable HAVE_TRACE and run again. It should show a few more info on why it's trying to run some code at 0x00000

I used this command:
cmake .. -DRK3588=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo

So would you have to use only "."?
cmake . -DRK3588=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

do something like sudo apt install cmake-curses-gui and then ccmake . from build folder.
Here simply change HAVE_TRACE from No to Yes then use c to re-configure and g to generate new Makefiles. Than you can make -j4 && sudo make install to build and install the version.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

Something is wrong, now he did not open.

cantalupo@orangepi5:~/Tibia$ box64
Box64 with trace v0.2.1 cc3237a7 built on Feb 28 2023 12:40:28

This is Box64, the Linux x86_64 emulator with a twist

Usage is box64 [options] path/to/software [args]
to launch x86_64 software
 options can be :
    '-v'|'--version' to print box64 version and quit
    '-h'|'--help'    to print box64 help and quit
You can also set some environment variables:
 BOX64_PATH is the box64 version of PATH (default is '.:bin')
 BOX64_LD_LIBRARY_PATH is the box64 version LD_LIBRARY_PATH (default is '.:lib:lib64')
 BOX64_LOG with 0/1/2/3 or NONE/INFO/DEBUG/DUMP to set the printed debug info (level 3 is level 2 + BOX64_DUMP)
 BOX64_DUMP with 0/1 to dump elf infos
 BOX64_NOBANNER with 0/1 to enable/disable the printing of box64 version and build at start
 BOX64_TRACE with 1 to enable x86_64 execution trace
    or with XXXXXX-YYYYYY to enable x86_64 execution trace only between address
    or with FunctionName to enable x86_64 execution trace only in one specific function
  use BOX64_TRACE_INIT instead of BOX_TRACE to start trace before init of Libs and main program
	 (function name will probably not work then)
 BOX64_TRACE_EMM with 1 to enable dump of MMX registers along with regular registers
 BOX64_TRACE_XMM with 1 to enable dump of SSE registers along with regular registers
 BOX64_TRACE_COLOR with 1 to enable detection of changed general register values
 BOX64_TRACE_START with N to enable trace after N instructions
 BOX64_TRACE_FILE with FileName to redirect logs in a file (or stderr to use stderr instead of stdout) BOX64_DLSYM_ERROR with 1 to log dlsym errors
 BOX64_LOAD_ADDR=0xXXXXXX try to load at 0xXXXXXX main binary (if binary is a PIE)
 BOX64_NOSIGSEGV=1 to disable handling of SigSEGV
 BOX64_NOSIGILL=1  to disable handling of SigILL
 BOX64_SHOWSEGV=1 to show Segfault signal even if a signal handler is present
 BOX64_X11THREADS=1 to call XInitThreads when loading X11 (for old Loki games with Loki_Compat lib) BOX64_LIBGL=libXXXX set the name (and optionnaly full path) for libGL.so.1
 BOX64_LD_PRELOAD=XXXX[:YYYYY] force loading XXXX (and YYYY...) libraries with the binary
 BOX64_ALLOWMISSINGLIBS with 1 to allow to continue even if a lib is missing (unadvised, will probably  crash later)
 BOX64_PREFER_EMULATED=1 to prefer emulated libs first (execpt for glibc, alsa, pulse, GL, vulkan and X11
 BOX64_PREFER_WRAPPED if box64 will use wrapped libs even if the lib is specified with absolute path
 BOX64_CRASHHANDLER=0 to not use a dummy crashhandler lib
 BOX64_NOPULSE=1 to disable the loading of pulseaudio libs
 BOX64_NOGTK=1 to disable the loading of wrapped gtk libs
 BOX64_NOVULKAN=1 to disable the loading of wrapped vulkan libs
 BOX64_ENV='XXX=yyyy' will add XXX=yyyy env. var.
 BOX64_ENV1='XXX=yyyy' will add XXX=yyyy env. var. and continue with BOX86_ENV2 ... until var doesn't exist
 BOX64_JITGDB with 1 to launch "gdb" when a segfault is trapped, attached to the offending process
cantalupo@orangepi5:~/Tibia$ BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_LOG=1 BOX64_DLSYM_ERROR=1 box64 Tibia
Debug level is 1
Show Segfault signal even if a signal handler is present
Show a Backtrace when a Segfault signal is caught
Params database has 17 entries
Box64 with trace v0.2.1 cc3237a7 built on Feb 28 2023 12:40:28
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 64 Env var
Looking for Tibia
Rename process to "Tibia"
Using emulated /home/cantalupo/Tibia/lib/libQt5Widgets.so.5
Using emulated /home/cantalupo/Tibia/lib/libQt5Network.so.5
Using emulated /home/cantalupo/Tibia/lib/libQt5Concurrent.so.5
Using emulated /home/cantalupo/Tibia/lib/libQt5Gui.so.5
Using native(wrapped) libpthread.so.0
Using emulated /home/cantalupo/Tibia/lib/libQt5OpenGL.so.5
Using emulated /home/cantalupo/Tibia/lib/libQt5Core.so.5
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libGL.so.1
Using emulated /home/cantalupo/Tibia/lib/libicui18n.so.50
Using emulated /home/cantalupo/Tibia/lib/libicuuc.so.50
Using emulated /home/cantalupo/Tibia/lib/libicudata.so.50
Using native(wrapped) libdl.so.2
Using emulated /home/cantalupo/Tibia/lib/libssl.so.1.1
Using emulated /home/cantalupo/Tibia/lib/libcrypto.so.1.1
Call to dlopen("/home/cantalupo/Tibia/plugins/platforms/libqxcb.so"/0x628ce4c8, 1001)
Using emulated /home/cantalupo/Tibia/plugins/platforms/libqxcb.so
Using emulated /home/cantalupo/Tibia/plugins/platforms/../../lib/libQt5XcbQpa.so.5
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libfreetype.so.6
Using emulated /home/cantalupo/Tibia/plugins/platforms/../../lib/libQt5DBus.so.5
Using native(wrapped) libX11-xcb.so.1
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libSM.so.6
Using native(wrapped) libICE.so.6
Using native(wrapped) libxkbcommon-x11.so.0
Using native(wrapped) libxkbcommon.so.0
dlopen: New handle 0x4 (/home/cantalupo/Tibia/plugins/platforms/libqxcb.so), dlopened=1
Call to dlsym(0x4, "qt_plugin_instance")0x7f81bcd580
Call to dlopen("libXcursor.so.1"/0x62984298, 1)
Using native(wrapped) libXcursor.so.1
dlopen: New handle 0x5 (libXcursor.so.1), dlopened=1
Call to dlsym(0x5, "XcursorLibraryLoadCursor")0x220000
Call to dlsym(0x5, "XcursorGetTheme")0x220020
Call to dlsym(0x5, "XcursorSetTheme")0x220040
Call to dlsym(0x5, "XcursorGetDefaultSize")0x220060
Download of configuration failed: "SSL handshake failed"
Call to dlopen("/home/cantalupo/Tibia/plugins/xcbglintegrations/libqxcb-glx-integration.so"/0x629f2f68, 1001)
Using emulated /home/cantalupo/Tibia/plugins/xcbglintegrations/libqxcb-glx-integration.so
Using native(wrapped) libxcb-glx.so.0
dlopen: New handle 0x6 (/home/cantalupo/Tibia/plugins/xcbglintegrations/libqxcb-glx-integration.so), dlopened=1
[...][...][...]
Download of package configuration/asset from configuration QUrl("file:///home/cantalupo/.local/share/CipSoft GmbH/Tibia/packages/Tibia/package.json") failed: "Invalid URL"
Call to dlopen("/home/cantalupo/Tibia/plugins/imageformats/libqjpeg.so"/0x62a14c18, 1001)
Using emulated /home/cantalupo/Tibia/plugins/imageformats/libqjpeg.so
dlopen: New handle 0x7 (/home/cantalupo/Tibia/plugins/imageformats/libqjpeg.so), dlopened=1
Call to dlsym(0x7, "qt_plugin_instance")0x7f74051a20
Call to dlopen("/home/cantalupo/Tibia/plugins/imageformats/libqgif.so"/0x62b35748, 1001)
Using emulated /home/cantalupo/Tibia/plugins/imageformats/libqgif.so
dlopen: New handle 0x8 (/home/cantalupo/Tibia/plugins/imageformats/libqgif.so), dlopened=1
Call to dlsym(0x8, "qt_plugin_instance")0x7f7a9ac4b0
malloc(): unaligned fastbin chunk detected

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

But?! Did you removed everything to start again with just the ccmake command? This is so confusing.
If you start from scratch, use cmake .. -DRK3588=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DHAVE_TRACE=ON then. the ccmake command was meant to use on an alrerady configured build fonlder.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

I reinstalled the machine to continue the test.
I'm using the steam_chrome branch, what's next?

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

make -j4 && sudo make install
and you are good to test again.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

@ptitSeb With all these updates and new version released, will it work now?

from box64.

martinbone avatar martinbone commented on May 29, 2024

Did you find it easy to get Steam running on OP5? I haven't been able to manage it yet.

from box64.

martinbone avatar martinbone commented on May 29, 2024

from box64.

martinbone avatar martinbone commented on May 29, 2024

I assume I should install the panfrost drivers first? (As per the Armbian for Orange Pi 5 webpage).

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

I assume I should install the panfrost drivers first? (As per the Armbian for Orange Pi 5 webpage).

It would be interesting, but it is not a minimum requirement.
If you use Armbian you can access this page.
https://www.armbian.com/orangepi-5/

"Enable 3D Acceleration"

from box64.

martinbone avatar martinbone commented on May 29, 2024

@cantalupo555 Just followed your guide (with the latest version of Armbian, without the Panfrost drivers installed) and I get this error (which is what I came up against before):

Error initializing native libGL.so.1 (last dlerror is libGL.so.1: wrong ELF class: ELFCLASS64)

Did you get this error? How do I get around this? Thanks.

from box64.

martinbone avatar martinbone commented on May 29, 2024

Screenshot from 2023-03-19 16-34-40

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

@cantalupo555 Just followed your guide (with the latest version of Armbian, without the Panfrost drivers installed) and I get this error (which is what I came up against before):

Error initializing native libGL.so.1 (last dlerror is libGL.so.1: wrong ELF class: ELFCLASS64)

Did you get this error? How do I get around this? Thanks.

Before I didn't have this problem, now with this new version I have the same error.
ptitSeb/box86#785

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

Before what?

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

Don't forget most games needs OpenGL 3.3+, or even 4+ or Vulkan. It's mostly not available on RK3588 (you can 3.3 with PAN_MESA_DEBUG=gl3 env. var.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

sudo apt install libgl1:armhf

Thank you very much, this solved the problem.

Before what?

After these updates I got this kind of error.
I didn't have this problem before.

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

I still don't understand what update you are talking about

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

I still don't understand what update you are talking about

Until the 26/02/2023th everything worked... Today I went to install it on a clean system and it presented this problem.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

Don't forget most games needs OpenGL 3.3+, or even 4+ or Vulkan. It's mostly not available on RK3588 (you can 3.3 with PAN_MESA_DEBUG=gl3 env. var.

How to use this variable?

from box64.

martinbone avatar martinbone commented on May 29, 2024

I assume you just enter:

PAN_MESA_DEBUG=gl3

... into a terminal and press enter ... ??
I plan to test it tomorrow.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

I had to install to make it work: libgl1:armhf libsm6:armhf
However, now it crashes and closes Steam in a few seconds.

cantalupo@orangepi5:~$ steam
steam.sh[22659]: Running Steam on ubuntu 22.04 64-bit
steam.sh[22659]: STEAM_RUNTIME is enabled by the user
setup.sh[22733]: Steam runtime environment up-to-date!
steam.sh[22659]: Steam client's requirements are satisfied
Box86 with Dynarec v0.3.1 b3b55d2d built on Mar 20 2023 15:04:54
[2023-03-20 19:42:39] Startup - updater built Mar 17 2023 18:21:55
[2023-03-20 19:42:39] Startup - Steam Client launched with: '/home/cantalupo/.local/share/Steam/ubuntu12_32/steam' '-noreactlogin' 'steam://open/minigameslist'
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2023-03-20 19:42:40] Loading cached metrics from disk (/home/cantalupo/.local/share/Steam/package/steam_client_metrics.bin)
[2023-03-20 19:42:40] Using the following download hosts for Public, Realm steamglobal
[2023-03-20 19:42:40] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-03-20 19:42:40] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-03-20 19:42:40] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-03-20 19:42:40] Checking for update on startup
[2023-03-20 19:42:40] Checking for available updates...
[2023-03-20 19:42:40] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2023-03-20 19:42:40] Manifest download: send request
[2023-03-20 19:42:40] Manifest download: waiting for download to finish
[2023-03-20 19:42:40] Manifest download: finished
[2023-03-20 19:42:40] Download skipped: /steam_client_ubuntu12 version 1679113038, installed version 1679113038, existing pending version 0
[2023-03-20 19:42:40] Nothing to do
[2023-03-20 19:42:40] Verifying installation...
[2023-03-20 19:42:40] Performing checksum verification of executable files
[2023-03-20 19:42:42] Verification complete
Error initializing native libpng12.so.0 (last dlerror is libpng12.so.0: wrong ELF class: ELFCLASS64)
Loaded SDL version 3.0.0-1117-g727c7d4e2
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0x40780120
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0x40780130
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[22820]: Runtime for steamwebhelper: defaulting to /home/cantalupo/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[22820]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
CAppInfoCacheReadFromDiskThread took 232 milliseconds to initialize
dbus[22774]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.

Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 8
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 22 entries
Box64 with Dynarec v0.2.3 39ec8111 built on Mar 20 2023 19:19:12
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 93 Env var
Looking for /home/cantalupo/.local/share/Steam/ubuntu12_32/../ubuntu12_64/gldriverquery
Rename process to "gldriverquery"
Using native(wrapped) libSDL2-2.0.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Using native(wrapped) libGL.so.1
Box86 with Dynarec v0.3.1 b3b55d2d built on Mar 20 2023 15:04:54
Failed to init SteamVR because it isn't installed
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 22 entries
Box64 with Dynarec v0.2.3 39ec8111 built on Mar 20 2023 19:19:12
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 95 Env var
Looking for /home/cantalupo/.local/share/Steam/ubuntu12_32/../ubuntu12_64/vulkandriverquery
Rename process to "vulkandriverquery"
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libvulkan.so.1
Vulkan missing requested extension 'VK_KHR_surface'.
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!

(steam:22774): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
local (potentially out of sync) copy of roaming config loaded - 164 bytes.
Box86 with Dynarec v0.3.1 b3b55d2d built on Mar 20 2023 15:04:54
Vulkan missing requested extension 'VK_KHR_surface'.
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!
src/tier0/threadtools.cpp (3877) : Thread cannot be joined with self
src/tier0/threadtools.cpp (3877) : Thread cannot be joined with self
src/tier1/fileio.cpp (5312) : m_vecRegisteredWriters.Count() == 0
src/tier1/fileio.cpp (5312) : m_vecRegisteredWriters.Count() == 0
BRefreshApplicationsInLibrary 1: 7ms
cantalupo@orangepi5:~$

from box64.

martinbone avatar martinbone commented on May 29, 2024

The same happened with mine the first time I tried to run it. However, with multiple attempts (and at least one reboot I think), I managed to get to the login screen and log in.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

The same happened with mine the first time I tried to run it. However, with multiple attempts (and at least one reboot I think), I managed to get to the login screen and log in.

I also had to try several times to log in...
When I put it in "Large Mode" Steam started crashing.

After all these updates it made Steam very unstable on the RK3588.

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

After the reboot, it shows this log:

cantalupo@orangepi5:~$ steam
steam.sh[7432]: Running Steam on ubuntu 22.04 64-bit
steam.sh[7432]: STEAM_RUNTIME is enabled by the user
setup.sh[7497]: Steam runtime environment up-to-date!
x86_64-binfmt-P: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
steam.sh[7432]: steam-runtime-check-requirements failed with an unexpected nonzero exit status. Trying to continue
i386-binfmt-P: Could not open '/lib/ld-linux.so.2': No such file or directory
cantalupo@orangepi5:~$ 

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

Check ptitSeb/box86#790 there have been more libs added.
like, you need libice6 with libsm6

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

I assume you just enter:

PAN_MESA_DEBUG=gl3

... into a terminal and press enter ... ?? I plan to test it tomorrow.

You need to do PAN_MESA_DEBUG=gl3 steam if you want steam and all the program it launch to have this env. var.
Or you do

export PAN_MESA_DEBUG=gl3

if you want all program from the same terminal to have them.
(Or you add that line to your ~/.bashrc so it's automatic)

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

Check ptitSeb/box86#790 there have been more libs added. like, you need libice6 with libsm6

The problem continues.

from box64.

martinbone avatar martinbone commented on May 29, 2024

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

I suspect you have qemu installed, and it's running instead of box64 and box86. There are clearly never called in your screenshot.

Exactly, I installed FEX-Emu.
I believe there is some conflict.

from box64.

sevan avatar sevan commented on May 29, 2024

If you run BOX86_LOG=1 steam what does the output say?

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

@ptitSeb
I did a recent build of Box64 and Box86 now seems to be more stable.
Tibia is capable of reproducing without any difficulties.

box64 ./Tibia

image

I consider the problem to be resolved, thank you very much.

from box64.

ptitSeb avatar ptitSeb commented on May 29, 2024

Great! I'm closing the ticket then @cantalupo555 thanks for the report :)

from box64.

cantalupo555 avatar cantalupo555 commented on May 29, 2024

Great! I'm closing the ticket then @cantalupo555 thanks for the report :)

I believe you can close the other ticket.
#425

Greetings, @ptitSeb

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.