Raezroth / Linux-ARM-Gaming-Chroot

Guide to setup a MultiArch Chroot container to run Steam and Wine.
GNU General Public License v3.0
75 stars 8 forks source link

Steam crashes on postmarketOS #15

Open CalcProgrammer1 opened 1 year ago

CalcProgrammer1 commented 1 year ago

I've tried this numerous times on my OnePlus 6T running pmOS and I can get the chroot installed, but I can't get Steam to launch. It downloads Steam but then when it goes to launch (basically where I'd expect the login prompt to come up), it just closes. Box86/64 is definitely starting as I see the terminal messages from it. I haven't tested on pmOS on PinePhone/Pro, but the same setup works fine on Arch on PinePhone Pro.

Raezroth commented 1 year ago

Do you have a log you can upload???

Launch Steam w/ ::::: BOX86_LOG=1 BOX64_LOG=1 steam +open steam://open/minigameslist -noreactlogin 2> tee -a ~/steam.log >> ~/steam.log

I wish to investigate this further.

CalcProgrammer1 commented 1 year ago
user@oneplus-fajita:/$ BOX86_LOG=1 BOX64_LOG=1 steam +open steam://open/minigameslist -noreactlogin 2> tee -a ~/steam.log >> ~/steam.log
bash: tee: Permission denied
CalcProgrammer1 commented 1 year ago

Without >2 and after:

image

Raezroth commented 1 year ago

Maybe the permissions for the chroot are borked. tee is a user command. It's suspicious that you don't have permissions to it. Especially since you are in a debian chroot.

CalcProgrammer1 commented 1 year ago

After updating Steam it died

Raezroth commented 1 year ago

anything in the log file??

CalcProgrammer1 commented 1 year ago

steam.log

Raezroth commented 1 year ago

what verseion of glibc do you have??

Raezroth commented 1 year ago

Look for dn_expand in loaded elfs Found symbol with version GLIBC_2.4, value = 0xf7f49235 Look for res_query in loaded elfs Found symbol with version GLIBC_2.4, value = 0xf7f4e551

Raezroth commented 1 year ago

anyway to try with glibc2.35

CalcProgrammer1 commented 1 year ago

If you're not aware, postmarketOS (Alpine Linux) uses musl instead of glibc. I wouldn't think this applies in a chroot though, because the chrooted programs should be using the chroot's libc and Debian uses glibc. I'm not sure what version is installed, whatever is in Debian at this time.

I installed the chroot today using my postmarketos_fixup branch rebased on master (which doesn't change a whole lot, just fixed some install hiccups I had).

Raezroth commented 1 year ago

This would fall under the chroot's glibc. Sorry I should have specified

CalcProgrammer1 commented 1 year ago

ldd --version ldd (Debian GLIBC 2.36-8) 2.36

Raezroth commented 1 year ago

Are you using box86/64 builds built on the device? I am still puzzled though. May have just be a library issue. Could be solved by a different version of debain as well

CalcProgrammer1 commented 1 year ago

No, I'm using the versions downloaded as part of the install script. It is either something with the OnePlus 6T or it's something with postmarketOS. I installed the chroot on the same day on my OP6T with pmOS and my PinePhone Pro with Arch and the PinePhone Pro worked fine. I stupidly left my PPP at my parents' house over Christmas break though, so I can't test PPP pmOS now. I could install it for the OG PP I guess.

Raezroth commented 1 year ago

Build box86/64 on the oneplus 6t. I need to change the versions downloaded in the script. I should compile my own again. maybe set up a repo and a debian chroot distro for this. I don't know yet

Raezroth commented 1 year ago

Too many issues with the included repos/binaries. Need a better solution now

CalcProgrammer1 commented 1 year ago

Going to try setting it up as a docker container and see if that works.

CalcProgrammer1 commented 1 year ago

Made progress using a Docker container

I ran with -noreactlogin but still...

image

Raezroth commented 1 year ago

I think they finally removed that from launch options. There is going to need to be more work done on box86/64 for that login to work. You should still be able to use Big Picture.

On Tue, Feb 14, 2023, 10:54 AM Adam Honse @.***> wrote:

Made progress using a Docker container

[image: image] https://user-images.githubusercontent.com/1051772/218830908-1bc37506-12e7-458b-a40c-c47b0913dfc9.png

— Reply to this email directly, view it on GitHub https://github.com/Raezroth/Linux-ARM-Gaming-Chroot/issues/15#issuecomment-1430228248, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKKXCNJWIZW65CQB7GSKATWXPIHNANCNFSM6AAAAAAULK7JPA . You are receiving this because you commented.Message ID: @.***>

CalcProgrammer1 commented 1 year ago

Pretty sure old big picture mode is gone now too.

On Tue, Feb 14, 2023 at 1:37 PM Raezroth @.***> wrote:

I think they finally removed that from launch options. There is going to need to be more work done on box86/64 for that login to work. You should still be able to use Big Picture.

On Tue, Feb 14, 2023, 10:54 AM Adam Honse @.***> wrote:

Made progress using a Docker container

[image: image] < https://user-images.githubusercontent.com/1051772/218830908-1bc37506-12e7-458b-a40c-c47b0913dfc9.png

— Reply to this email directly, view it on GitHub < https://github.com/Raezroth/Linux-ARM-Gaming-Chroot/issues/15#issuecomment-1430228248 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ALKKXCNJWIZW65CQB7GSKATWXPIHNANCNFSM6AAAAAAULK7JPA

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Raezroth/Linux-ARM-Gaming-Chroot/issues/15#issuecomment-1430277662, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIAY7AA47XFS7SS5S6AWTLWXPNHFANCNFSM6AAAAAAULK7JPA . You are receiving this because you authored the thread.Message ID: @.***>