-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
[BOX32] Getting the native Linux version of steam working on Apple silicon #1780
Comments
This is a known issue. The box32 option of box64 is not yet abe to run steam. It's still a WIP and the first step is to be ablle to run SteamCMD. Steam will come later. |
Okay, I fixed the missing dependencies on the M1 by doing
|
Strange, I don't have this issue on my side (not on M1, but still on arm64 machine). I wounder if it could be a buffer overflow happening? Can you try to add printf_log(LOG_INFO, "gethostbyname: idx=%d\n", idx); line 130 of |
Actually the steam app is the one that doesn’t detect the libraries not steamcmd my bad it still won’t detect it after using that env variable |
Okay
|
I don't reproduce that exact issue on my side, but I do have network error with steamcmd anyway, so I'm working on that. Hopefully it will fix your issue in the process? |
I'll try deleting my container for krun and remake it from the guide and see |
Remaking it didn't seem to fix it for me |
I reproduce the issue on my M1, even without krun. I'm actively working on it... |
Okay thanks, I think that fixed it now I'm getting a network error like you are
|
The network problem looks like a krun issue so I've opened a bug there AsahiLinux/muvm#61 |
No it's not. I have the exact same issue without krun! It's a box64 issue. |
Oh okay I guess I found a different one then with krun I don’t think the network would work on the m1 right now even if you fixed it on box64 |
mmm, have you tried without krun? you get a different a output? |
Oh, you mean those error:
Yes, that seems krun related indeed! |
I tested out ping and it gave me this in krun
|
Not related to steamcmd, but Unreal fully working on M1: https://youtu.be/zLqEBSgtK38 |
Maybe some logs could give clues? I'm not sure why it doesn't think its online when its downloading things |
Maybe some library that steam is using I guess because it says http status code 0 |
Heres what I could find about their networking https://partner.steamgames.com/doc/features/multiplayer/networking https://github.com/ValveSoftware/GameNetworkingSockets |
Here's a log with what I get with the latest updates
|
I know steam is not working. but I just fixed |
I know sweet job btw just thought you'd like to see a log from steam too. I also fixed a typo so other people can follow along |
For anyone else following along it gets further now but you also need to install the package zenity |
Yeah. It should work now. It work on my side at least (not on M1, but on other arm machine using box64 only), but can still crashes from time to time... Just relaunch when it crashes... |
This could be a dependency issue as well since the reason I was installing with rpm was because the dependencies were broken trying to install steam with dnf installing
|
I have create a shellscript |
Now, the thing is, sometimes, you get an error with a pointer not being 32bits and it abort. Just restart, it's a known issue, but it will not be fixed easily. |
This is what I get now, I should have all of the packages that provide
|
I opened an issue in muvm because it looks like there are some errors related to muvm in there though |
Mmmm, it's trying to launch |
Also, I would suggest to enable binfmt integration for box32 too, if that's possible. It seems srt-logger cannot start because of the lack of some binfmt integration |
@LukeShortCloud didn't you succeed in running steam on asahi with box64/box32? |
Yeah, it's working for me with Box64 commit: 8a37b12 . I even retested just now to confirm.
I manually extracted the Steam DEB package myself first. |
Game support has been hit-or-miss but I just played Overcooked! All You Can Eat on Steam on Fedora Asahi Remix using Box64/32. :-) |
I can confirm that I compile with |
|
Yeah, I noticed that |
Oh, okay thats cool! |
|
Thats fine, this looks like a muvm issue at this point then so I'll close this. |
How did you make the change btw? I tried this and it wont work for some reason
|
In your code, this let fex_interpreter_path =
find_in_path("FEXInterpreter").context("Failed to check existence of `FEXInterpreter`")?; will fail if FEX is not installed and the rest of the code never run... |
Okay, I put it in a new file called
|
There is no function there? You don't know rust I guess... I'll check later to provide a rust patch. to add box64 detection... |
You're right lol I dont know rust but a patch would be nice thanks |
I got further but now I get could not find |
My rust is bit ... rusty... but at least this build. Seems a bit ugly but that should make the job. To be applied on top of latest sources. Not really tested as I have issue with graphic on my side. Also, not sure how to be sure this version of muvm_guest is used instead of the one installed by dnf... |
@ptitSeb Why not open a draft PR on muvm repo? I can help to get it into a mergeable state. |
My mac is not running yet the latest Fedora 41 version, and my local muvm install doesn't do graphic. So I'm not in position to properly test yet. I'm migrating (to asahi fedora remix 41) and once things are working, I can try to have something clean to make a PR if it has a chance of being merged. |
Heres the log I get with that patch btw, for some reason the steam logger still wont work
|
Yeah, I notice that on my side. Did you install the version on top of the one from the system or just launch from the build folder? I just launched from the build folder but I'm unsure it actually use the newly built |
I just copied the binaries into /usr/bin becuase it told me it couldnt find one of the binaries |
Also, heres the full list of packages I needed to install, I think everything else comes installed
Forgot pciutils for the last log too btw but it still gives me errors with that
|
The furthest I’ve been able to get is by running
krun box64 ~/box64/tests/bash
then steam after installing it from the rpm https://download1.rpmfusion.org/nonfree/el/updates/7/x86_64/s/ with this commandsudo rpm --nodeps --ignorearch -i steam-1.0.0.78-1.el7.i686.rpm
when I do that it gives me https://pastebin.com/0SGDhuhZThe text was updated successfully, but these errors were encountered: