Comments (14)
I'll check soon, this game must works!
from box64.
I have updated stuffs in box64. I tried Stardexw Valley on a max M1 with Fedora Remix 39 and it's now starting fine. Can you update and try again?
from box64.
A related fix f3d1ffb was just pushed to main, can you pull the latest code and retry?
Recompiled the lib and built it for M1 rather than installing box64.asahi
on Asahi Linux and it looks worse, less output:
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:16384 Running on Blizzard-M2-Max Avalanche-M2-Max with 12 Cores
Params database has 58 entries
Using bash "/home/ishimachi/Downloads/box64/tests/bash"
Box64 with Dynarec v0.2.7 f09b541a built on Feb 21 2024 18:12:08
BOX64: Detected 48bits at least of address space
Counted 51 Env var
BOX64 LIB PATH: /home/ishimachi/Downloads/box64/x64lib/:/home/ishimachi/Downloads/box64/x64lib/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/home/ishimachi/.local/bin/:/home/ishimachi/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/:/home/ishimachi/.dotnet/tools/
Looking for /home/ishimachi/Downloads/box64/tests/bash
bash detected, disabling banner
Apply RC params for bash
Cannot create memory map (@0x100121000 0x17000/0xfff) for elf "/home/ishimachi/Downloads/box64/tests/bash" error=22/Invalid argument
Error: Loading elf /home/ishimachi/Downloads/box64/tests/bash
tested it with another game but that one works fine.
from box64.
there is an unstability somewhere in the dynarec, so might need to run it again if it crashes.
Appart from this, its working fine on my side (I didn't even installed libFAudio).
from box64.
A related fix f3d1ffb was just pushed to main, can you pull the latest code and retry?
from box64.
box64
81ca016
When running:
$ BOX64_LOG=1 BOX64_ROLLING_LOG=1 BOX64_DLSYM_ERROR=1 BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_LOG=3 box64 'Stardew Valley' &> 'Stardew Valley.log'
https://gist.github.com/teohhanhui/abd5c89efcd040e7d530481002f25f91
The main thing is:
Cannot create memory map (@0x7fff0305d000 0x2000/0xfff) for elf "/home/teohhanhui/.local/share/Steam/steamapps/common/Stardew Valley/libhostpolicy.so" error=22/Invalid argument
Error: loading for elf /home/teohhanhui/.local/share/Steam/steamapps/common/Stardew Valley/libhostpolicy.so
Failed to load /home/teohhanhui/.local/share/Steam/steamapps/common/Stardew Valley/libhostpolicy.so, error: Cannot dlopen("/home/teohhanhui/.local/share/Steam/steamapps/common/Stardew Valley/libhostpolicy.so"/0x44cbedd8, 1)An error occurred while loading required library libhostpolicy.so from [/home/teohhanhui/.local/share/Steam/steamapps/common/Stardew Valley/]
from box64.
I have the same issue. When I try replacing the libhostpolicy.so with one I found online, it just throws a generic memcpy segfault.
from box64.
I ran into what looks like the same segfault as OP with stardew valley 1.6.3:
1140107|SIGSEGV @0xffff6ab2c76c (???(0xffff6ab2c76c)) (x64pc=0x7fff04383af2//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so:"/home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x383ae9", rsp=0x1264cd4c8, stack=0x125cd0000:0x1264d0000 own=0x125cd0000 fp=0x1264cd640), for accessing 0x10000000000 (code=1/prot=0), db=0xffff6ab14e50(0xffff6ab2c718:0xffff6ab2cd20/0x7fff04383ae9:0x7fff04383b96//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x383ae9:clean, hash:4335ab57/4335ab57) handler=(nil)
RAX:0x00000000696c7730 RCX:0x00000001264ce2d8 RDX:0x0000000000000000 RBX:0x0000000103cdc130
RSP:0x00000001264cd4c8 RBP:0x00000001264cd640 1140072|SIGSEGV @0xffff6ab2c78c (???(0xffff6ab2c78c)) (x64pc=0x7fff04383af2//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so:"/home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x383ae9", rsp=0x10082ddd8, stack=0x100030000:0x100830000 own=(nil) fp=0x10082df50), for accessing 0xffff929e7c20 (code=2/prot=0), db=0xffff6ab14e50(0xffff6ab2c718:0xffff6ab2cd20/0x7fff04383ae9:0x7fff04383b96//home/josch/Downloads/stardew16/data/noarch/game/libcoreclr.so + 0x383ae9:clean, hash:4335ab57/4335ab57) handler=(nil)
RAX:0x000000005a4d57f0 RCX:0xffffffffffffffff RSI:0x0000010000000000 RDI:0x00000001264cd558 RDX:0x0000ffff92be0760 RBX:0x0000000000000000
R8:0x0000000000000000 R9:0x0000000103cde130 R10:0x00007fff0470b0e0 R11:0x0000000104159000
R12:0x00007ffe8b1f9450 R13:0x0000000000000d87 R14:0x00007fff046bb008 R15:0x0000000000000000
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053
RSP-0x20:0x0000000000000d87 RSP-0x18:0x00007fff046bb008 RSP-0x10:0x0000000000000000 RSP-0x08:0x00000001264cd640
RSP+0x00:0x00007fff04224e78 RSP+0x08:0x00007fff00000000 RSP+0x10:0x00000000696c7730
RSP:0x000000010082ddd8 RBP:0x000000010082df50 RSI:0x0000ffff929e7c20 RDI:0x000000010082de60
R8:0x0000000000000000 R9:0x000000010082db78 R10:0x00000000000000b5 R11:0x0000000102b0ee30
R12:0x000000010082de60 R13:0x000000010082de20 R14:0x000000010082de30 RSP+0x18:0x00007fff04215820
R15:0x00007fff041de730
ES:0x002b CS:0x0033 SS:0x002b ./StardewValley: line 27: 1140072 Segmentation fault ./"Stardew Valley" $@
I've had these problems with versions of Stardew Valley before 1.6 as well but worked around it by running the windows version of Stardew Valley under box64 with wine. Unfortunately, Stardew Valley 1.6 doesn't work with my wine anymore, so I'm back at running the native Linux Version with box64.
For me, the game can work fine for three hours (as it did yesterday) but on other days (like today) it crashes multiple times with messages like the above. But there are other crash reasons:
1139600|Double SIGSEGV (code=1, pc=0xffff6d2c2c20, addr=0x6624046f0f66ff, prot=00)!
Sigfault/Segbus while quitting, exiting silently
1140065|Double SIGSEGV (code=1, pc=0xffff5a4ded60, addr=0x43f5000044d80028, prot=00)!
Sigfault/Segbus while quitting, exiting silently
1139720|SIGABRT @0xffffb0a80a10 (???(/lib/aarch64-linux-gnu/libc.so.6+0x80a10)) (x64pc=0x70093/???:"???", rsp=0x10082b548, stack=0x100030000:0x100830000 own=(nil) fp=0x10082b560), for accessing 0x3e800116408 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x00007fff042d5279 RSP-0x18:0x00000000c0000005 RSP-0x10:0x0000000000000001 RSP-0x08:0x000000010082b560
RSP+0x00:0x00007fff045129fb RSP+0x08:0x0000000000000000 RSP+0x10:0x0000000000000001 RSP+0x18:0x000000010082b590
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000006
RSP:0x000000010082b548 RBP:0x000000010082b560 RSI:0x00007fff047242b0 RDI:0x0000000000000006
R8:0x000000004b0a9800 R9:0x0000000000000000 R10:0x000000010082af36 R11:0x000000010082af3a
R12:0x000000005c439c00 R13:0x00007fff042d5279 R14:0x00000000c0000005 R15:0x0000000000000001
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053
./StardewValley: line 27: 1139720 Aborted ./"Stardew Valley" $@
from box64.
box64 still have some issue with elf loading on non-4k pagesize, like Asahi on mac. I plan to have a look at that soon-ish. This is probbaly a side-effect of that you have.
from box64.
box64
3d21114
When running:
$ BOX64_LOG=1 BOX64_ROLLING_LOG=1 BOX64_DLSYM_ERROR=1 BOX64_SHOWSEGV=1 BOX64_SHOWBT=1 BOX64_DYNAREC_LOG=1 box64 'Stardew Valley' &> 'Stardew Valley.log'
https://gist.github.com/teohhanhui/3a6812b588c3fa9cf4d5c6949e1d4db2
from box64.
For those who are using mods (SMAPI), you need to set SMAPI_NO_TERMINAL=true
env var.
Setting SMAPI_USE_CURRENT_SHELL=true
seems to cause the game to not launch. (I'm not certain about this, as SMAPI console's output would hide box64's output lol)
@ptitSeb Is there a way to escape the emulator / run something on the host? In this case, the SMAPI launcher is trying to run my current terminal, which is konsole
.
from box64.
@ptitSeb Is there a way to escape the emulator / run something on the host? In this case, the SMAPI launcher is trying to run my current terminal, which is
konsole
.
Probably, but I'm not sure what you mean. What would you do if you were running native?
from box64.
Probably, but I'm not sure what you mean. What would you do if you were running native?
It's entirely possible that I'm misunderstanding the problem.
I think it's much easier if you try installing SMAPI using SMAPI's installer, and you'll see the first symptom of the problem: the chmod
of the game files would fail, on this line:
If you complete the rest of the installation manually, and try to launch the game using SMAPI's launcher (replaced StardewValley
script), then you'll encounter the problem I've mentioned above about the SMAPI console.
(All of the above with BOX64_BASH
set to the x86_64 version of bash
.)
from box64.
Mmm, that chmod
should work. I guess some path is not resolved correctly. I'll try to have look at that later.
from box64.
Related Issues (20)
- Unimplemented Opcode (0F 38 F6 E8) 67 F3 4D 0F 38 F6 F7 C4 62 FB F6 7E 38 48 89 HOT 4
- cursor.com editor on M1 mac ahasi fedora remix 40 HOT 8
- Getting the native Linux version of steam working on Apple silicon HOT 21
- Corekeeper Dedicated server - segfault on run HOT 2
- Trying to make Knime work on Box 64: Error: PltResolver in /lib/x86_64-linux-gnu/libstdc++.so.6 and /org.eclipse.osgi/276/0/.cp/libswt-pi3-gtk-4964r8.so
- Where did those libraries come from? HOT 2
- CPU type is not detected in log.
- Error loading needed lib libzstd.so.1 HOT 3
- Dynarec stopped because of x64 Opcode 67 66 48 0F 7E DA F3 4C 0F 38 F6 D8 66 4D 0F HOT 2
- SeaMonkey Browser - Only Linux x64 - Won't start HOT 7
- Error: Symbol libusb_dev_mem_alloc not found when running X64 Openocd HOT 4
- Missing symbols running AppImage on Asahi HOT 2
- Error loading needed lib libhidapi-hidraw.so.0 HOT 4
- Recent commits broke some unity games HOT 6
- RISC-V Vector Extension Seems Not Working Well HOT 25
- Failing to load libraries that are present in the current directory (as well custom directories specified in `BOX64_LD_LIBRARY_PATH`)
- Raspberry PI 5 Box64 HOT 1
- Missing symbols for ALSA? Trying to run Zotero but Global symbols not found and PltResolver: Symbol not found. Mostly related to libxul.so's use of ALSA? HOT 1
- PyInstaller Application Won't Run HOT 2
- Stardew Valley on ARM Ubuntu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box64.