box86 icon indicating copy to clipboard operation
box86 copied to clipboard

Symbol not found XSyncValueIsZero

Open solidstudio opened this issue 4 years ago • 6 comments

Trying to run steam version of guacamelee

image

solidstudio avatar Aug 27 '21 14:08 solidstudio

This symbol is part of libXext and is already wrapped. Can you run the game with BOX86_LOG=1 to have more detail on the libs loaded?

(you can "cd" to the steam library and launch the game from command line with steam open, it will work)

ptitSeb avatar Aug 27 '21 15:08 ptitSeb

I am launching from retropie runcommand which will xinit this script:

#!/bin/bash export BOX86_LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32:~/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:~/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu export BOX86_NOGTK=1 export STEAMOS=1 export STEAM_RUNTIME=1 xset -dpms s off s noblank openbox & ~/steam/usr/lib/steam/bin_steam.sh steam://open/minigameslist && /home/pi/.local/share/Steam/steamapps/common/Guacamelee/game-bin

solidstudio avatar Aug 27 '21 16:08 solidstudio

Ok, try to use:

#!/bin/bash
export BOX86_LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32:~/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:~/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu
export BOX86_NOGTK=1
export STEAMOS=1
export STEAM_RUNTIME=1
xset -dpms s off s noblank openbox &
~/steam/usr/lib/steam/bin_steam.sh steam://open/minigameslist &
sleep 1
BOX86_LOG=1 BOX86_TRACE_FILE=~/trace.txt ./home/pi/.local/share/Steam/steamapps/common/Guacamelee/game-bin

To generate the log in ~/trace.txt

(I tried to compensate for the lack of new line, not sure I was successfull)

ptitSeb avatar Aug 27 '21 16:08 ptitSeb

running xinit:

#!/bin/bash export BOX86_LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32:~/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:~/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu export BOX86_NOGTK=1 export STEAMOS=1 export STEAM_RUNTIME=1 xset -dpms s off s noblank openbox & ~/steam/usr/lib/steam/bin_steam.sh steam://open/minigameslist & ( sleep 1; BOX86_LOG=1 BOX86_TRACE_FILE=~/trace.txt /home/pi/.local/share/Steam/steamapps/common/Guacamelee/game-bin )

Gives runlog:

`Parameters: Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keeptty

X.Org X Server 1.20.4 X Protocol Version 11, Revision 0 Build Operating System: Linux 5.10.17-v8+ aarch64 Raspbian Current Operating System: Linux raspberrypi 5.10.17-v8+ #1421 SMP PREEMPT Thu May 27 14:01:37 BST 2021 aarch64 Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1024x768M@60 smsc95xx.macaddr=DC:A6:32:DD:7A:14 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=42dbb780-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait Build Date: 19 April 2021 03:23:36PM xorg-server 2:1.20.4-1+rpt3+deb10u3 (https://www.debian.org/support) Current version of pixman: 0.36.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Fri Aug 27 11:44:04 2021 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (II) modeset(0): Initializing kms color map for depth 24, 8 bpc. Set mode 1024x768@60Hz on HDMI-1

Executing (via xinit): /opt/retropie/ports/guacamelee/guacamelee.sh

Running Steam on raspbian 10 64-bit STEAM_RUNTIME is enabled by the user Openbox-Message: Unable to find a valid menu file "/var/lib/openbox/debian-menu.xml" Steam runtime environment up-to-date! Debug level is 1 [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so. xinit: connection to X server lost

waiting for X server to shut down XIO: fatal IO error 4 (Interrupted system call) on X server ":0" after 2037 requests (2037 known processed) with 0 events remaining. (II) Server terminated successfully (0). Closing log file.

`

solidstudio avatar Aug 27 '21 17:08 solidstudio

getting this log now:

Disable the use of wrapped gtk libs Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 BOX86_LD_LIBRARY_PATH: /home/pi/.local/share/Steam/ubuntu12_32/:/home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/:/home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/ Using default BOX86_PATH: ./:bin/ Counted 60 Env var Looking for /home/pi/.local/share/Steam/ubuntu12_32/../ubuntu12_32/vulkandriverquery Using native(wrapped) libdl.so.2 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libstdc++.so.6 Using native(wrapped) libm.so.6 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcc_s.so.1 Using native(wrapped) libvulkan.so.1 2064|SIGSEGV @0x628659f8 (???(/usr/local/bin/box86/0x628659f8)) (x86pc=0x6328a02b/???:"???", esp=0xf723f46c, stack=0xf6a41000:0xf7241000 own=(nil) fp=0xf723f488), for accessing 0x10 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) 2064|Double SIGSEGV (code=1, pc=0x628659f8, addr=0x10)!

solidstudio avatar Aug 27 '21 18:08 solidstudio

steam shoudl works now with updated box86. can this ticket be closed?

ptitSeb avatar Mar 06 '22 22:03 ptitSeb