Closed theofficialgman closed 6 days ago
What is ticket about? Is that about those messages:
Error: Global Symbol _ZTVNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE not found, cannot apply R_X86_64_GLOB_DAT @0x12318af40 ((nil)) in /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/libopenxr_loader.so.1
Error: Global Symbol _ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE not found, cannot apply R_X86_64_GLOB_DAT @0x12318af68 ((nil)) in /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/libopenxr_loader.so.1
...
That's for openxr, and the root cause is that steam use it's own copy of libstdc++.so.6. I'm not sure why it use this version, and why is it so old. The one that comes with box64 would work better. I need to work on env. var. and see what should go first (system libs first?)
He managed to run Steam on Nintendo Switch, using multiarch and llvmpipe to replace missing armhf driver. Looks like there is issue with missing symbols in libvulkan.so.1. I guess that this ones are causing crashes, not ones from openxr.
Look for vkGetPhysicalDeviceSurfaceCapabilities2KHR in loaded elfs
Warning, function vkGetPhysicalDeviceSurfaceCapabilities2KHR not found in lib libvulkan.so.1
Look for vkGetPhysicalDeviceSurfaceCapabilities2KHR in loaded elfs
Warning, function vkGetPhysicalDeviceSurfaceCapabilities2KHR not found in lib libvulkan.so.1
Look for vkGetPhysicalDeviceSurfaceFormats2KHR in loaded elfs
Warning, function vkGetPhysicalDeviceSurfaceFormats2KHR not found in lib libvulkan.so.1
Look for vkGetPhysicalDeviceSurfaceFormats2KHR in loaded elfs
Warning, function vkGetPhysicalDeviceSurfaceFormats2KHR not found in lib libvulkan.so.1
I don't think it's the issue.
Those functions are wrapped already. They are not found, but that's probably normal and handled by the program.
The issue is
16271|SIGBUS @0xe (???(0xe)) (x86pc=0x6321402b/???:"???", esp=0xec72f50c, stack=0xebf32000:0xec732000 own=(nil) fp=0xec72f528), for accessing 0xe (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
ESP-0x10:0xed02acf8 ESP-0x0c:0x632356b8 ESP-0x08:0x632356b8 ESP-0x04:0x000014b8
caused by a jump from an empty structure. Or probably caused by a RET to an overwriten return value, as the address and code looks like it's a "bridge" (the piece of code that make the jump between x86 and arm world).
That's for openxr, and the root cause is that steam use it's own copy of libstdc++.so.6. I'm not sure why it use this version, and why is it so old. The one that comes with box64 would work better. I need to work on env. var. and see what should go first (system libs first?)
I would help with this but can't figure out any way on my regular x86_64 desktop to load the libraries that are loading at runtime like we get with box64 logs. I wanted to see if normal steam wine/proton actually used the proton libstdc++.so.6 or my system lib
also @ptitSeb I should note that errors that look like:
16271|SIGBUS @0xe (???(0xe)) (x86pc=0x6321402b/???:"???", esp=0xec72f50c, stack=0xebf32000:0xec732000 own=(nil) fp=0xec72f528), for accessing 0xe (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
ESP-0x10:0xed02acf8 ESP-0x0c:0x632356b8 ESP-0x08:0x632356b8 ESP-0x04:0x000014b8
these happen AFTER the "failed to initialize graphics" wine window pops up and steam is closing out the game. so the game has already failed
Does those message
nvdc: start nvdcEventThread
nvdc: nvdcEventThread select failed: Bad file descriptor
nvdc: start nvdcEventThread
nvdc: nvdcEventThread select failed: Bad file descriptor
nvdc: start nvdcEventThread
nvdc: nvdcEventThread select failed: Bad file descriptor
nvdc: start nvdcEventThread
nvdc: exit nvdcEventThread
Are linked to the "failed to initialize graphics" message?
yes it appears that those messages might cause the failed to initialize graphics I did a BOX64_LD_PRELOAD of the system libstdc++.so.6 and that got rid of all the missing symbols but the failed to intialized graphics still happens. the wine popup says:
Failed to initialize graphics.
Make sure you have DirectX 11 installed, have up to date
drivers for your graphics card and have not disabled
3D acceleration in display settings.
InitializeEngineGraphics failed
Debug level is 1
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL PageSize:4096
Box64 with Dynarec v0.1.9 bf79be2 built on Jul 12 2022 11:59:18
BOX64: Wine64 detected, WINEPRELOADRESERVE="140000000-1400a4000"
BOX64_LD_LIBRARY_PATH: /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/:/home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/:/usr/local/cuda-10.0/lib64/:/usr/local/lib/aarch64-linux-gnu/:/lib/aarch64-linux-gnu/:/usr/lib/aarch64-linux-gnu/:/usr/lib/aarch64-linux-gnu/tegra-egl/:/usr/lib/aarch64-linux-gnu/tegra/:/lib/arm-linux-gnueabihf/:/usr/lib/arm-linux-gnueabihf/:/opt/lib/boost/lib/:/usr/local/cuda-10.0/targets/aarch64-linux/lib/:/usr/lib/aarch64-linux-gnu/libfakeroot/:/usr/local/lib/:/opt/lib/python-3.10/lib/:/opt/lib/tbb/lib/:/lib/:/usr/lib/:/home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/:/home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/:/home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu/:/home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/:/home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/lib/:/home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/
BOX64 will force the used of emulated libs for libmpg123.so.0
BOX64: Prefer Emulated libs
Using default BOX64_PATH: ./:bin/
Counted 164 Env var
BOX64 try to Preload /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Looking for /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/bin/wine64
argv[1]="E:\home\garrett\.local\share\Steam\steamapps\common\Tiny Toy Tanks\Tiny Toy Tanks.exe"
Rename process to "wine64"
Using emulated /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libdl.so.2
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/bin/../lib64/wine/x86_64-unix/ntdll.so
Warning: Unsupported libc Syscall 0x1C1 (449)
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix/libwine.so.1
steamwebhelper.sh[28089]: Runtime for steamwebhelper: defaulting to /home/garrett/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[28089]: CEF sandbox already disabled
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix/win32u.so
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix/opengl32.dll.so
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix/ws2_32.so
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix/bcrypt.so
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix/crypt32.so
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libfreetype.so.6
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu/libz.so.1
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libfontconfig.so.1
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu/libexpat.so.1
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libgnutls.so.30
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libp11-kit.so.0
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libidn.so.11
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libtasn1.so.6
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libnettle.so.6
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libhogweed.so.4
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libgmp.so.10
Using emulated /home/garrett/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libffi.so.6
Using native(wrapped) libgcrypt.so.20
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix/winex11.drv.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix/winevulkan.so
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/wine/x86_64-unix/wineopenxr.dll.so
Using emulated /home/garrett/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/libopenxr_loader.so.1
Using native(wrapped) libvulkan.so.1
Look for vkGetPhysicalDeviceSurfaceCapabilities2KHR in loaded elfs
Warning, function vkGetPhysicalDeviceSurfaceCapabilities2KHR not found in lib libvulkan.so.1
Look for vkGetPhysicalDeviceSurfaceCapabilities2KHR in loaded elfs
Warning, function vkGetPhysicalDeviceSurfaceCapabilities2KHR not found in lib libvulkan.so.1
Look for vkGetPhysicalDeviceSurfaceFormats2KHR in loaded elfs
Warning, function vkGetPhysicalDeviceSurfaceFormats2KHR not found in lib libvulkan.so.1
Look for vkGetPhysicalDeviceSurfaceFormats2KHR in loaded elfs
Warning, function vkGetPhysicalDeviceSurfaceFormats2KHR not found in lib libvulkan.so.1
nvdc: start nvdcEventThread
nvdc: exit nvdcEventThread
nvdc: start nvdcEventThread
nvdc: nvdcEventThread select failed: Bad file descriptor
nvdc: start nvdcEventThread
nvdc: nvdcEventThread select failed: Bad file descriptor
nvdc: start nvdcEventThread
nvdc: nvdcEventThread select failed: Bad file descriptor
you can also try "Tiny Toy Tanks" which has the same issue. it is free on steam so you can use it to replicate
The latest versions of Box64 support DXVK. Closing as resolved.
Running Risk Of Rain 2 (a windows game through steam proton) there are missing symbols and the game crashes before loading