GithubHelp home page GithubHelp logo

Comments (23)

ricoazzurro avatar ricoazzurro commented on July 4, 2024 2

You fixed it. Just tested and the game boots and runs smoothly.
muahahahaha, you made my day. Almighty Gaming God <3
Best International Children's Day gifts :) Thank you!

from box64.

ptitSeb avatar ptitSeb commented on July 4, 2024 2

Thanks!
I guess we can close the ticket now?

from box64.

ricoazzurro avatar ricoazzurro commented on July 4, 2024

Tested GOG v1.0 and Steam 2.2, and under X instead of wayland, all failed at showing black loading screen then crash back to terminal, A fatal error has been detected by the Java Runtime Environment

from box64.

ptitSeb avatar ptitSeb commented on July 4, 2024

I just tested on my new reference machine, and yes, I reproduce the crash with the Steam version. I must have introduce a regression latelly that I need to hunt down.

from box64.

ricoazzurro avatar ricoazzurro commented on July 4, 2024

BOX64_DYNAREC_STRONGMEM=1 magic didn't work for me.
Tested with Slay the Spire, v2.2 2020-12-15, Linux x64, GOG, gnome wayland.
Tested export BOX64_DYNAREC_STRONGMEM=1 or BOX64_DYNAREC_STRONGMEM=1 box64 ./SlayTheSpire

rico [ /opt/games/slay_the_spire ]$ BOX64_DYNAREC_STRONGMEM=1 box64 ./SlayTheSpire -force-opengl
Dynarec will try to emulate a strong memory model with limited performance loss
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 23 entries
Box64 with Dynarec v0.2.3 2017ef1 built on May 31 2023 03:48:17
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 59 Env var
Looking for ./SlayTheSpire
argv[1]="-force-opengl"
Rename process to "SlayTheSpire"
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 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 emulated jre/lib/amd64/server/libjvm.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libverify.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libjava.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libzip.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libmanagement.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libnet.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libnio.so
08:40:39.700 INFO desktop.DesktopLauncher> time: 1685522439686
08:40:39.755 INFO desktop.DesktopLauncher> version: 2020-12-13
08:40:39.755 INFO desktop.DesktopLauncher> libgdx:  1.9.5
08:40:39.756 INFO desktop.DesktopLauncher> default_locale: en_US
08:40:39.756 INFO desktop.DesktopLauncher> default_charset: UTF-8
08:40:39.757 INFO desktop.DesktopLauncher> default_encoding: UTF-8
08:40:39.757 INFO desktop.DesktopLauncher> java_version: 1.8.0_131
08:40:39.757 INFO desktop.DesktopLauncher> os_arch: amd64
08:40:39.757 INFO desktop.DesktopLauncher> os_name: Linux
08:40:39.758 INFO desktop.DesktopLauncher> os_version: 5.10.160
08:40:39.764 INFO core.SystemStats> MEMORY STATS:
Free Memory: 193Mb
Max Memory: 910Mb
Allocated Memory: 236Mb
Unallocated Memory: 674Mb
Total Free Memory: 868Mb
Used Memory: 42Mb

08:40:39.767 INFO core.SystemStats> DISK STATS:
Total Space: 301,274Mb
Usable Space: 55,518Mb
Free Space: 70,894Mb

08:40:40.120 INFO core.DisplayConfig> Reading info.displayconfig
08:40:40.146 INFO core.DisplayConfig> DisplayConfig successfully read.
08:40:40.147 INFO desktop.DesktopLauncher> Settings successfully loaded
08:40:40.147 INFO desktop.DesktopLauncher> Launching application...
Using emulated /tmp/libgdxrico/6ef2d459/libgdx64.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libawt.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libawt_xawt.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) libXrender.so.1
Using native(wrapped) libXtst.so.6
Using native(wrapped) libXi.so.6
Using native(wrapped) libXinerama.so.1
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libfontmanager.so
Using emulated /opt/games/slay_the_spire/jre/lib/amd64/libjawt.so
Using emulated /tmp/libgdxrico/31ce78a2/liblwjgl64.so
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXxf86vm.so.1
Using emulated /tmp/libgdxrico/31ce78a2/libopenal64.so
Using native(wrapped) libpulse.so.0
refreshProtection(0x103690180): 0x103690000/0x13 (ret=0/ok)
refreshProtection(0x103690b80): 0x103690000/0x13 (ret=0/ok)
refreshProtection(0x103690b80): 0x103690000/0x11 (ret=0/ok)
refreshProtection(0x103690b80): 0x103690000/0x13 (ret=0/ok)
Using native(wrapped) libGL.so.1
Look for glXEnumerateVideoDevicesNV in loaded elfs
Warning, function glXEnumerateVideoDevicesNV not found in lib libGL.so.1
Look for glXEnumerateVideoDevicesNV in loaded elfs
Warning, function glXEnumerateVideoDevicesNV not found in lib libGL.so.1
Look for glXEnumerateVideoDevicesNV in loaded elfs
Warning, function glXEnumerateVideoDevicesNV not found in lib libGL.so.1
Look for glXEnumerateVideoDevicesNV in loaded elfs
Warning, function glXEnumerateVideoDevicesNV not found in lib libGL.so.1
Look for glXBindVideoCaptureDeviceNV in loaded elfs
Warning, function glXBindVideoCaptureDeviceNV not found in lib libGL.so.1
Look for glXBindVideoCaptureDeviceNV in loaded elfs
Warning, function glXBindVideoCaptureDeviceNV not found in lib libGL.so.1
Look for glXBindVideoCaptureDeviceNV in loaded elfs
Warning, function glXBindVideoCaptureDeviceNV not found in lib libGL.so.1
Look for glXBindVideoCaptureDeviceNV in loaded elfs
Warning, function glXBindVideoCaptureDeviceNV not found in lib libGL.so.1
08:40:42.055 INFO ststwitch.TwitchConfig> The 'twitchconfig.txt' already exists, not overwriting it.
08:40:42.066 INFO core.CardCrawlGame> DistributorPlatform=gog
08:40:42.067 INFO core.CardCrawlGame> isModded=false
08:40:42.067 INFO core.CardCrawlGame> isBeta=false
08:40:42.082 INFO core.CardCrawlGame> No migration
08:40:42.237 INFO core.Settings> Initializing display settings...
08:40:42.237 INFO core.DisplayConfig> Reading info.displayconfig
08:40:42.240 INFO core.DisplayConfig> DisplayConfig successfully read.
08:40:42.241 INFO core.Settings> Initializing sound settings...
08:40:42.242 INFO core.Settings> Initializing game settings...
refreshProtection(0x103690880): 0x103690000/0x11 (ret=0/ok)
refreshProtection(0x103690880): 0x103690000/0x13 (ret=0/ok)
08:40:42.886 INFO localization.LocalizedStrings> Loc Strings load time: 589ms
08:40:43.008 INFO audio.MusicMaster> Music Volume: 0.5
08:40:43.023 INFO audio.SoundMaster> Sound Effect Volume: 0.5
08:40:43.024 INFO audio.SoundMaster> Loaded 368 Sound Effects
08:40:43.024 INFO audio.SoundMaster> SFX load time: 7ms
08:40:47.651 INFO cards.AbstractCard> Card Image load time: 4585ms
08:40:50.297 INFO helpers.ImageMaster> Texture load time: 2627ms
Using emulated /tmp/libgdxrico/125b804a/libgdx-freetype64.so
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000102bcf733, pid=1748, tid=0x0000007fa3b58fc0
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x98f733]  oopDesc* PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x143
#
# Core dump written. Default location: /opt/games/slay_the_spire/core or core.1748
#
# An error report file with more information is saved as:
# /opt/games/slay_the_spire/hs_err_pid1748.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
NativeBT: ./SlayTheSpire() [0x349ec240]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fa4e8d7cc]
NativeBT: /usr/lib/libc.so.6(+0x83bd0) [0x7fa4d13bd0]
NativeBT: /usr/lib/libc.so.6(gsignal+0x1c) [0x7fa4ccddec]
NativeBT: /usr/lib/libc.so.6(abort+0xf0) [0x7fa4cba7bc]
NativeBT: ./SlayTheSpire() [0x34bb0f68]
NativeBT: ./SlayTheSpire() [0x349d2e04]
NativeBT: ./SlayTheSpire() [0x349eade4]
NativeBT: ./SlayTheSpire() [0x349eb464]
NativeBT: ./SlayTheSpire() [0x349ebee4]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fa4e8d7cc]
NativeBT: ./SlayTheSpire() [0x34bb0944]
NativeBT: ./SlayTheSpire() [0x349d2e04]
NativeBT: ./SlayTheSpire() [0x349eade4]
NativeBT: ./SlayTheSpire() [0x349eb464]
NativeBT: ./SlayTheSpire() [0x349ebee4]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fa4e8d7cc]
NativeBT: [0x7f609e7ec4]
EmulatedBT: ??? [0x50160]
EmulatedBT: jre/lib/amd64/server/libjvm.so(_ZN2os5abortEb+35) [0x102b663b5]
EmulatedBT: jre/lib/amd64/server/libjvm.so(_ZN7VMError14report_and_dieEv+6c3) [0x102d08673]
EmulatedBT: ??? [0x1130ff528]
EmulatedBT: ??? [(nil)]
1753|SIGABRT @0x7fa4d13bd0 (???(/usr/lib/libc.so.6+0x7fa4d13bd0)) (x64pc=0x50173/???:"???", rsp=0x1130fe818, stack=0x113000000:0x113100000 own=0x113000000 fp=0x1130fe830), for accessing 0x3e8000006d4 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000102b73209 RSP-0x18:0x0000000000000001 RSP-0x10:0x00000000701afe40 RSP-0x08:0x0000000000000034
RSP+0x00:0x0000000102b663b5 RSP+0x08:0x0000007f9c015380 RSP+0x10:0x00000001130fe840 RSP+0x18:0x00000001130fe9b0
RAX:0x0000000000000000 RCX:0x0000000000000001 RDX:0x0000000000000000 RBX:0x0000000000000001 
RSP:0x00000001130fe818 RBP:0x00000001130fe830 RSI:0x0000000000000008 RDI:0x0000000000000000 
 R8:0x0000000000000001  R9:0x00000001130fe668 R10:0x000000000000002e R11:0x0000000102b72e30 
R12:0x0000007f9c015380 R13:0x00000001031bba00 R14:0x00000001130fea40 R15:0x00000001031f6f05 
Aborted (core dumped)

from box64.

ksco avatar ksco commented on July 4, 2024

I think I have this game too, let me try if it works for RV64..

from box64.

ksco avatar ksco commented on July 4, 2024

No it does not work on QEMU, seems like an OpenGL issue, maybe not related to box64. And it requires OpenGL 3.0+, so I can't test it on SBC either.

Dynarec for RISC-V With extension: I M A F D C PageSize:4096 Running on Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz with 12 Cores
Params database has 10 entries
Box64 with Dynarec v0.2.3 e028a67f built on Jun  1 2023 11:16:21
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 63 Env var
Looking for SlayTheSpire
Rename process to "SlayTheSpire"
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 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 emulated jre/lib/amd64/server/libjvm.so
libjvm detected, disable Dynarec BigBlock and enable Dynarec StrongMem
Using emulated /home/ksco/Documents/SlayTheSpire/jre/lib/amd64/libverify.so
Using emulated /home/ksco/Documents/SlayTheSpire/jre/lib/amd64/libjava.so
Using emulated /home/ksco/Documents/SlayTheSpire/jre/lib/amd64/libzip.so
Using emulated /home/ksco/Documents/SlayTheSpire/jre/lib/amd64/libmanagement.so
Using emulated /home/ksco/Documents/SlayTheSpire/jre/lib/amd64/libnet.so
Using emulated /home/ksco/Documents/SlayTheSpire/jre/lib/amd64/libnio.so
03:16:56.171 INFO desktop.DesktopLauncher> time: 1685589416074
03:16:56.554 INFO desktop.DesktopLauncher> version: 2022-12-18
03:16:56.556 INFO desktop.DesktopLauncher> libgdx:  1.9.5
03:16:56.558 INFO desktop.DesktopLauncher> default_locale: en_US
03:16:56.559 INFO desktop.DesktopLauncher> default_charset: UTF-8
03:16:56.564 INFO desktop.DesktopLauncher> default_encoding: UTF-8
03:16:56.572 INFO desktop.DesktopLauncher> java_version: 1.8.0_131
03:16:56.575 INFO desktop.DesktopLauncher> os_arch: amd64
03:16:56.576 INFO desktop.DesktopLauncher> os_name: Linux
03:16:56.577 INFO desktop.DesktopLauncher> os_version: 5.19.0-42-generic
03:16:56.600 INFO core.SystemStats> MEMORY STATS:
Free Memory: 190Mb
Max Memory: 910Mb
Allocated Memory: 238Mb
Unallocated Memory: 672Mb
Total Free Memory: 862Mb
Used Memory: 47Mb

03:16:56.619 INFO core.SystemStats> DISK STATS:
Total Space: 186,923Mb
Usable Space: 79,850Mb
Free Space: 89,416Mb

03:16:56.692 INFO core.DisplayConfig> Reading info.displayconfig
03:16:56.803 INFO core.DisplayConfig> DisplayConfig successfully read.
03:16:56.805 INFO desktop.DesktopLauncher> [WINDOWED_MODE]
03:16:56.806 INFO desktop.DesktopLauncher> Settings successfully loaded
03:16:56.808 INFO desktop.DesktopLauncher> Launching application...
Using emulated /tmp/libgdx?/6ef2d459/libgdx64.so
Using emulated /home/ksco/Documents/SlayTheSpire/jre/lib/amd64/libawt.so
Using emulated /home/ksco/Documents/SlayTheSpire/jre/lib/amd64/libawt_xawt.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) libXrender.so.1
Using native(wrapped) libXtst.so.6
Using native(wrapped) libXi.so.6
Using native(wrapped) libXinerama.so.1
Using emulated /home/ksco/Documents/SlayTheSpire/jre/lib/amd64/libfontmanager.so
Using emulated /home/ksco/Documents/SlayTheSpire/jre/lib/amd64/libjawt.so
Using emulated /tmp/libgdx?/31ce78a2/liblwjgl64.so
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXxf86vm.so.1
Using emulated /tmp/libgdx?/31ce78a2/libopenal64.so
Using native(wrapped) libpulse.so.0
Using native(wrapped) libGL.so.1
Exception in thread "LWJGL Application" java.lang.ExceptionInInitializerError
	at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setVSync(LwjglGraphics.java:558)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:124)
Caused by: java.lang.RuntimeException: org.lwjgl.LWJGLException: No modes available
	at org.lwjgl.opengl.Display.<clinit>(Display.java:141)
	... 2 more
Caused by: org.lwjgl.LWJGLException: No modes available
	at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:740)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
	... 2 more
Segmentation fault (core dumped)

from box64.

Shatur avatar Shatur commented on July 4, 2024

@ricoazzurro how do you run it using native java and emulate everything else via box64?

from box64.

ptitSeb avatar ptitSeb commented on July 4, 2024

you need to emulate Java, you cannot use native java here.

from box64.

Shatur avatar Shatur commented on July 4, 2024

Got it, then I did it the right way. I compiled box64 from source with the mentioned fix. But won't start with the following error:

shatur@pinephone-pro /m/S/G/Slay the Spire> PAN_MESA_DEBUG=gofaster,gl3 box64 SlayTheSpire
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL PageSize:4096 Running on Cortex-A53 Cortex-A72 with 6 Cores
Params database has 24 entries
Box64 with Dynarec v0.2.3 9698844c built on Jun 19 2023 12:14:46
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 77 Env var
Looking for SlayTheSpire
Rename process to "SlayTheSpire"
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 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 emulated jre/lib/amd64/server/libjvm.so
libjvm detected, disable Dynarec BigBlock and enable Dynarec StrongMem
Using emulated /mnt/SDCard/Games/Slay the Spire/jre/lib/amd64/libverify.so
Using emulated /mnt/SDCard/Games/Slay the Spire/jre/lib/amd64/libjava.so
Using emulated /mnt/SDCard/Games/Slay the Spire/jre/lib/amd64/libzip.so
Using emulated /mnt/SDCard/Games/Slay the Spire/jre/lib/amd64/libmanagement.so
Using emulated /mnt/SDCard/Games/Slay the Spire/jre/lib/amd64/libnet.so
Using emulated /mnt/SDCard/Games/Slay the Spire/jre/lib/amd64/libnio.so
12:57:58.111 INFO desktop.DesktopLauncher> time: 1687179478083
12:57:58.282 INFO desktop.DesktopLauncher> version: 2022-10-04
12:57:58.284 INFO desktop.DesktopLauncher> libgdx:  1.9.5
12:57:58.286 INFO desktop.DesktopLauncher> default_locale: en_US
12:57:58.288 INFO desktop.DesktopLauncher> default_charset: UTF-8
12:57:58.291 INFO desktop.DesktopLauncher> default_encoding: UTF-8
12:57:58.293 INFO desktop.DesktopLauncher> java_version: 1.8.0_131
12:57:58.294 INFO desktop.DesktopLauncher> os_arch: amd64
12:57:58.294 INFO desktop.DesktopLauncher> os_name: Linux
12:57:58.295 INFO desktop.DesktopLauncher> os_version: 6.3.7-1-danctnix
12:57:58.309 INFO core.SystemStats> MEMORY STATS:
Free Memory: 62Mb
Max Memory: 910Mb
Allocated Memory: 75Mb
Unallocated Memory: 835Mb
Total Free Memory: 898Mb
Used Memory: 12Mb

12:57:58.313 INFO core.SystemStats> DISK STATS:
Total Space: 116,092Mb
Usable Space: 58,221Mb
Free Space: 64,131Mb

12:57:58.362 INFO core.DisplayConfig> Reading info.displayconfig
12:57:58.434 INFO core.DisplayConfig> DisplayConfig successfully read.
12:57:58.435 INFO desktop.DesktopLauncher> [WINDOWED_MODE]
12:57:58.437 INFO desktop.DesktopLauncher> Settings successfully loaded
12:57:58.438 INFO desktop.DesktopLauncher> Launching application...
Using emulated /tmp/libgdxshatur/6ef2d459/libgdx64.so
Using emulated /mnt/SDCard/Games/Slay the Spire/jre/lib/amd64/libawt.so
Using emulated /mnt/SDCard/Games/Slay the Spire/jre/lib/amd64/libawt_xawt.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) libXrender.so.1
Using native(wrapped) libXtst.so.6
Using native(wrapped) libXi.so.6
Using native(wrapped) libXinerama.so.1
Using emulated /mnt/SDCard/Games/Slay the Spire/jre/lib/amd64/libfontmanager.so
Using emulated /mnt/SDCard/Games/Slay the Spire/jre/lib/amd64/libjawt.so
Using emulated /tmp/libgdxshatur/31ce78a2/liblwjgl64.so
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXxf86vm.so.1
Using emulated /tmp/libgdxshatur/31ce78a2/libopenal64.so
Using native(wrapped) libpulse.so.0
Using native(wrapped) libGL.so.1
Exception in thread "LWJGL Application" java.lang.ExceptionInInitializerError
        at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setVSync(LwjglGraphics.java:558)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:124)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
        at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:954)
        at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
        ... 2 more
fish: Job 1, 'PAN_MESA_DEBUG=gofaster,gl3 box…' terminated by signal SIGSEGV (Address boundary error)
shatur@pinephone-pro /m/S/G/Slay the Spire [SIGSEGV]> 

For some reason it can't detect the resolution on my PinePhone Pro.

from box64.

ptitSeb avatar ptitSeb commented on July 4, 2024

You seems to be on a pinephonepro, gofaster is not valid there I think.
Try

PAN_MESA_DEBUG=gl3 box64 SlayTheSpire

Error is in GL,..

from box64.

Shatur avatar Shatur commented on July 4, 2024

Same error :(

from box64.

ptitSeb avatar ptitSeb commented on July 4, 2024

Well. I don't know then. You can run other games with box64?

from box64.

Shatur avatar Shatur commented on July 4, 2024

Yeah, I played Tangledeep and Streets of Rogue.

from box64.

ptitSeb avatar ptitSeb commented on July 4, 2024

I don't know, something on your system it doesn't like.
Try to run with
BOX64_ROLLING_LOG=1 BOX64_SHOWSEGV=1 but I don't think there is any segfault there, just some configuration that the engine doesn't understand.

from box64.

Shatur avatar Shatur commented on July 4, 2024

Here is the log: log.txt.
The log is not full. I thought that it crashed, but actually the startup time with these parameters enabled is just to slow.
I will send you full logs a little bit later.

from box64.

ptitSeb avatar ptitSeb commented on July 4, 2024

Maybe you ran out of memory? can you try create a swap file for testing?

Also, is this the jre that comes with the games or did you run it with some other jre?

from box64.

ksco avatar ksco commented on July 4, 2024

This seems a GL error, I remember I had the same error running this game on a QEMU machine.

from box64.

Shatur avatar Shatur commented on July 4, 2024

Maybe you ran out of memory? can you try create a swap file for testing?

I will check it a little bit later with the full log.

Also, is this the jre that comes with the games or did you run it with some other jre?

Yes, comes with the game.

Judging by the error it looks like it treats my resolution as unsupported.

from box64.

ksco avatar ksco commented on July 4, 2024

Can you run PAN_MESA_DEBUG=gl3 box64 jre/bin/java -Dorg.lwjgl.util.Debug=true -jar desktop-1.0.jar and paste the logs here?

from box64.

ricoazzurro avatar ricoazzurro commented on July 4, 2024

from hugo's tip,
To rule out GPU problems, I use MESA_GL_VERSION_OVERRIDE=4.1 LIBGL_ALWAYS_SOFTWARE=1 so maybe you can go further on your device with this.

from box64.

Shatur avatar Shatur commented on July 4, 2024

Can you run PAN_MESA_DEBUG=gl3 box64 jre/bin/java -Dorg.lwjgl.util.Debug=true -jar desktop-1.0.jar and paste the logs here?

It helped to figure out the problem! It's so silly 😄

[LWJGL] Exception in XRandR.populate(): Cannot run program "xrandr": error=2, No such file or directory

Installed, now it runs.

from box64.

Shatur avatar Shatur commented on July 4, 2024

Menu runs well, but something wrong with the resolution.
Screenshot_20230619_233129
I tried running fullscreen, but it draws small actual window in the right corner :(
Probably also related to the Wayland.

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.