-
-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regression: stardew valley #1398
Comments
In case the game manages to get into the menu, the crash looks different:
|
I don't think you need all those libs like |
Are you saying that it is harmful for the game to have them installed? I'd like not having to uninstall them as I need those shared libs for other work I do on that machine. Probably there is some box64 environment variable i can set to ignore them? |
I don't know. What I'm saying is that I don't have those libs installed on my side and it works without them. Those seems quite uncommon libs btw. |
I think my thought of needing those comes from this post which lists libttng, libnuma and friends: To test, I removed the library. I now get some "Error loading needed lib" errors but the crashing behaviour did not change. Here is the updated output:
|
Ok, I did a few changes. Can you update and try again? |
Thank you! I'm getting this now:
Just in case: this is on a banana pi amlogic a311d on Debian bookworm and i compiled box64 with |
Try again, and it might just work. There seems to be some unstability with the dynarec, I'm looking at it. |
You are right, it does not always crash when starting. It works now. I'll probably be playing a few ingame days tonight. If I get any crashes while playing I'll send them your way. Thank you so much for all your efforts. This is really outstanding work you are doing. ❤️ |
After trying a couple of times to start it, the following crash happened during the first ingame day that I played after about 20 minutes of play time:
|
Mmmm, a null reference. Not sure what's happening here. |
Okay, so we are playing some SDV tonight and here is the first segmentation fault with
|
can you use Also, you can try to use |
Absolutely! I'll probably be playing again tomorrow evening and will set those environment variables and see what happens. :) |
I'm now running:
And just got this:
|
The last crash was from the menu where one can select to join a game over network. I now have a crash that happened during actual gameplay. I was just running across town when this happened:
|
I played more and gathered a lot more crashes. Click on the details below. 2144719|Double SIGSEGV (code=1, pc=0x349f29ac, addr=0x7ffe00000000, prot=87)!
2144829|Double SIGSEGV (code=1, pc=0xffff3b182400, addr=(nil), prot=00)!
2144901|Double SIGSEGV (code=1, pc=0xffff7ea99558, addr=(nil), prot=00)!
2175007|Double SIGSEGV (code=1, pc=0x349f9ff8, addr=0xffffffffffffffd8, prot=00)!
2175073|Double SIGSEGV (code=1, pc=0xffff74cad4c8, addr=0x1b0000001a, prot=00)!
Warning: Cannot dlopen("Microsoft.DiaSymReader.Native.amd64.dll"/0xfffefe646400, 1)
|
I have the subjective impression that the crashes are becoming more frequent. It says on the box64 website that you are a freelance developer. Would you be available for a paid commission to fix up box64 so that stardew valley crashes less often? If yes, what would be your rates?
|
I wasn't home lately, didn't had much time to look into this. I will try to have a better look this weekend and next week. |
I played a few days (3) on my ampere machine but everything worked fine, no crash, no issue. Maybe I didn't played enough. |
Yes, the crashes are random and not reproducible. I'm using this invocation:
I'm on Debian Bookworm on an Banana Pi CM4 with an Allwinner A311D with latest Stardew Valley 1.6 from GOG. Sometimes I can play 3 days but getting the game started is already extremely tricky. Sometimes it takes four crashes until I even get to the main menu. Somtimes it crashes in the multiplayer network selection screen and sometimes it crashes during normal gameplay. If you cannot reproduce the crashes on startup this already means that there are some significant differences between your setup and mine. EDIT: |
I had two hunches but both were unsuccessful. Anyways, I wanted to share them here. Firstly, my platform, the Allwinner A311D has four fast CPU cores (Cortex-A73) and two slow cores (Cortex-A53) and for some workloads which make some assumptions about the cpu properties I have to force CPU affinity to only one or the other set of cores. This is for example necessary when attempting to run QEMU with kvm support where I have to prefix all commands with:
or otherwise qemu will fail with:
Alas, it didn't fix the random crashes of stardew valley. Another thing I tried was to run box64 with
to force the use of the library blobs that you ship with box64. But, still no change in the crashy behavior. Maybe I can try replicating your system. What OS are you using? Could you post the standard output log for when you run SDV so that I can maybe compare it with mine to find differences? Thanks! |
I am back with more data. I recently did another
And I'm running SDV like this:
My tests are with SDV 1.6.8. my results per commit are shown here:
The letter Is this at all plausible? |
So according to your tests, b7a07c3 is the best bet for now. |
How do you read that from my last message? |
If for you, latest is better, then sure. But remember the following points:
To highlight the first point let me share with you some runs of 10 game starts for the same commit:
It's like rolling a die, so if my numbers above say 80%, the real value may as well be 50% or 10%. So I really would not be too quick with drawing conclusions... |
Before I go to bed, here is an updated table with more test runs from today:
@teohhanhui seems commit e70a9ba is your new best bet. 😉 |
Hahahaha... That's a commit that only added comments 😂 |
I was playing SDV 1.6.8 with the most recent commit 4f22962 today. It crashed about every half hour always with what looked pretty much like this:
|
Crashing behaviour still persists with the recent release of box64 v0.3.0. The frequency with which it happens continues to be erratic. Sometimes I can play an hour with no problem. Sometimes it refuses to start three times. Here is one of the crash logs that happened while playing:
|
I have fixed some memory tracking issue yesterday on box64, can you try with current version to see if it's still hapeening? |
Thank you, absolutely! Should I receive further crashes, they will be with |
…on-4K pagesize) (should help ptitSeb#1398 ptitSeb#1271 maybe help ptitSeb#939 and probably others)
Random segfault while playing the game with commit 7a4a442
|
...there is a native build for a reason..... The native build works just fine in full speed in most cases. |
@FoxbitDreamtail There's no native Linux arm64 build of Stardew Valley, is there? |
While there is no native arm 64 build(outside of Mobile), there is a native X64 Linux build of Stardew Valley, which is exactly what you should be running with Box 64. You should not be running Stardew Valley through Proton or Wine. |
@FoxbitDreamtail I think you've misunderstood. This whole thread is about the Linux x64 build. There are other threads about running the Windows version. |
That is correct. I literally wrote the distinction as the first sentence in my issue report. :)
That is again literally what I wrote as the first sentence in #1395 |
I don't know what your issue is, but running the latest build from Steam on my Raspberry Pi 5 running MX Linux 23.4 the game runs without issues with Linux native, And this was before I overclocked my Pi 5. Then again, my results may be irrelevant because I got my copy of box64 from PiApps with Steam... |
Okay, slide update. I have run Stardew Valley since I made that last post, and yes, I did witness a kernel panic. So yes, the issue is still an issue. But, after a few relaunches of the game, it started running again. It's very intermittent. When the game is running, it runs fine. But if the game runs initially, and it Segfaults It's just in the crashing, rebooting your arm device fixes it. Temporarily, of course, However, I wouldn't recommend this be the solution. |
An actual kernel panic? That was probably not related to Stardew Valley under box64, right?
How many hours did you play? Sometimes I only get the crash after an hour of play time. Can you run the game with |
Hi,
issue #1271 is about SDV on Asahi Linux and #1395 about SDV from windows under wine.
Version 1.5 of SDV worked more or less fine with "only" a crash every 2 or 3 in-game days with box64 0.2.6.
When upgrading to box64 from git, I only very rarely make it into the game menu but more often than not it crashes before the game even starts:
The text was updated successfully, but these errors were encountered: