ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices

Home Page:https://box86.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nintendo switch steam being weird

Kirbo8 opened this issue · comments

Hello I just swapped over from bionic to jammy because it could not run steam on switch without me setting up a swap file so I got steam working and I'm trying to launch yomi hustle which is not a very intensive game and it just kind of sits on the screen for 15 mins not doing anything I was wondering what I could do to fix this or make it faster I would also like to note that I begun to hear music for like 30 seconds before the entire switch crashed
1000142849

You are launching a game from steam on a switch without swapfile? The memory is probably getting full and the OS crashes.

You are launching a game from steam on a switch without swapfile? The meiry is probably getting full and the OS crashes.

I dont know if I'm being honest I'm using jammy and when I looked through the files I saw one called swap file but I never set one up

use free -h in a terminal while steam is launched to see how much free memory you have left...

use free -h in a terminal while steam is launched to see how much free memory you have left...

IMG_20240513_171823

use free -h in a terminal while steam is launched to see how much free memory you have left...

So it looks like I do have a swapfile setup but I don't know why it's not taking any of the load but even so the game I'm trying to run only takes a maximum of 1 GB of RAM anyways so I'm just kind of lost right now oh and by the way the system isn't crashing anymore it's just the game

Is your game 32bits or 64bits? Do you have any error message or something happening?

Is your game 32bits or 64bits? Do you have any error message or something happening?

64-bit and I'm not getting any errors it just tries to load up for an hour and then stops working like it closes

Ok, I'll check on my side what's going on...

So, I tried n my dev. machine, and it just worked without any issues. It's a godot engine game, and it use opengl(es).
You sure you have the latest version of box64?

So, I tried n my dev. machine, and it just worked without any issues. It's a godot engine game, and it use opengl(es). You sure you have the latest version of box64?

I didn't install anything other than steam through l4t mega script I thought it automatically downloaded everything you need do you have a tutorial on how to install box64

So, I tried n my dev. machine, and it just worked without any issues. It's a godot engine game, and it use opengl(es). You sure you have the latest version of box64?

Will I also need wine or wine 64?

So, I tried n my dev. machine, and it just worked without any issues. It's a godot engine game, and it use opengl(es). You sure you have the latest version of box64?

I didn't install anything other than steam through l4t mega script I thought it automatically downloaded everything you need do you have a tutorial on how to install box64

Type box64 --version in a terminal

So, I tried n my dev. machine, and it just worked without any issues. It's a godot engine game, and it use opengl(es). You sure you have the latest version of box64?

Will I also need wine or wine 64?

No, steam has everything.

So, I tried n my dev. machine, and it just worked without any issues. It's a godot engine game, and it use opengl(es). You sure you have the latest version of box64?

I didn't install anything other than steam through l4t mega script I thought it automatically downloaded everything you need do you have a tutorial on how to install box64

Type box64 --version in a terminal

So, I tried n my dev. machine, and it just worked without any issues. It's a godot engine game, and it use opengl(es). You sure you have the latest version of box64?

Will I also need wine or wine 64?

No, steam has everything.

IMG_20240514_170809
I also don't know why but I need steam open to use the on screen keyboard

So, I tried n my dev. machine, and it just worked without any issues. It's a godot engine game, and it use opengl(es). You sure you have the latest version of box64?

I didn't install anything other than steam through l4t mega script I thought it automatically downloaded everything you need do you have a tutorial on how to install box64

Type box64 --version in a terminal

So, I tried n my dev. machine, and it just worked without any issues. It's a godot engine game, and it use opengl(es). You sure you have the latest version of box64?

Will I also need wine or wine 64?

No, steam has everything.

Does this mean that box 64 is installed?

yes, box64 is installed. I don't see anything wrong in your config. And I tried the game on my side it works fine. Not sure what is happening, but I guess the issue is the lack of memory. The swapfile might be not enough for the game? I'm not sure, it's hard to say. I suppose you are running from an SDCard? Maybe it got corrupted or something like that?

yes, box64 is installed. I don't see anything wrong in your config. And I tried the game on my side it works fine. Not sure what is happening, but I guess the issue is the lack of memory. The swapfile might be not enough for the game? I'm not sure, it's hard to say. I suppose you are running from an SDCard? Maybe it got corrupted or something like that?

Any suggestions on things I should try and do I wonder if it's possible to move the game from the SD card to "system storage"

yes, box64 is installed. I don't see anything wrong in your config. And I tried the game on my side it works fine. Not sure what is happening, but I guess the issue is the lack of memory. The swapfile might be not enough for the game? I'm not sure, it's hard to say. I suppose you are running from an SDCard? Maybe it got corrupted or something like that?

And yeah anytime I launch steam or pretty much anything I always get a low memory warning

yes, box64 is installed. I don't see anything wrong in your config. And I tried the game on my side it works fine. Not sure what is happening, but I guess the issue is the lack of memory. The swapfile might be not enough for the game? I'm not sure, it's hard to say. I suppose you are running from an SDCard? Maybe it got corrupted or something like that?

And yeah anytime I launch steam or pretty much anything I always get a low memory warning but I did free -h in the terminal while yomi was open and this is what I got
IMG_20240515_091210

A few updates here in images
IMG_20240515_101146

IMG_20240515_095646
It has taken me a little bit more than an hour to get to this point in the frame rate is around two frames a second at best

yes, box64 is installed. I don't see anything wrong in your config. And I tried the game on my side it works fine. Not sure what is happening, but I guess the issue is the lack of memory. The swapfile might be not enough for the game? I'm not sure, it's hard to say. I suppose you are running from an SDCard? Maybe it got corrupted or something like that?

Okay I have a few questions how long did it take for the game to boot up for you are you using Jammy Ubuntu or a different kind of Ubuntu and how much memory is it taking up for you because in a previous screenshot above it's taking up all of my swap file memory and almost all of my regular memory but what confuses me is that on the steam page it says it would need a maximum gigabyte of RAM not eight

It was immediate on my side but my test machine has 96GB of memory (I know, it's huge).

Note that Steam alone itself take like 3GB to 3.5GB.
Also, Emulation use memory.

It was immediate on my side but my test machine has 96GB of memory (I know, it's huge).

Note that Steam alone itself take like 3GB to 3.5GB. Also, Emulation use memory.

Wait 96 GB of RAM?

It was immediate on my side but my test machine has 96GB of memory (I know, it's huge).
Note that Steam alone itself take like 3GB to 3.5GB. Also, Emulation use memory.

Wait 96 GB of RAM?

Yeah, I do my testing on an Ampere Altra machine. It's a ARM beast, with 128 cores and 96GB of RAM (coupled with an RTX4060)...

It was immediate on my side but my test machine has 96GB of memory (I know, it's huge).
Note that Steam alone itself take like 3GB to 3.5GB. Also, Emulation use memory.

Wait 96 GB of RAM?

Yeah, I do my testing on an Ampere Altra machine. It's a ARM beast, with 128 cores and 96GB of RAM (coupled with an RTX4060)...

Okay is there any way to make swap file bigger because I don't know if the Nintendo switch has enough RAM to run steam even on this lightweight game but I see people running games like Titanfall 2

It was immediate on my side but my test machine has 96GB of memory (I know, it's huge).
Note that Steam alone itself take like 3GB to 3.5GB. Also, Emulation use memory.

Wait 96 GB of RAM?

Yeah, I do my testing on an Ampere Altra machine. It's a ARM beast, with 128 cores and 96GB of RAM (coupled with an RTX4060)...

Okay is there any way to make swap file bigger because I don't know if the Nintendo switch has enough RAM to run steam even on this lightweight game but I see people running games like Titanfall 2

Yes, but you should ask on some other place. I don't own a switch, and don't know the system installed there. I can't really tell you what to do here.

commented

Okay is there any way to make swap file bigger because I don't know if the Nintendo switch has enough RAM to run steam even on this lightweight game but I see people running games like Titanfall 2

I either don't know about linux on switch but as global linux and android user, u can try this (disable and delete old swap if existing)

sudo dd if=/dev/zero of=/swapfile bs=1M count=12288 #12 gb of zeros
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

plus u can also change swappiness with this:

sudo (your editor such as like nano or vim) /etc/sysctl.conf

and set or change vm.swappiness to around 60/100
after to save your settings do

sudo sysctl -p

Okay is there any way to make swap file bigger because I don't know if the Nintendo switch has enough RAM to run steam even on this lightweight game but I see people running games like Titanfall 2

I either don't know about linux on switch but as global linux and android user, u can try this (disable and delete old swap if existing)

sudo dd if=/dev/zero of=/swapfile bs=1M count=12288 #12 gb of zeros
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

plus u can also change swappiness with this:

sudo (your editor such as like nano or vim) /etc/sysctl.conf

and set or change vm.swappiness to around 60/100 after to save your settings do

sudo sysctl -p

Thanks but what is swappiness and to clarify for that first code line that you sent I just delete my current swap file then put that into the terminal (influding the grayed out text)and I should get a bigger swap file? It also seems like I can't delete this swap file because of a permission denied error I keep getting
IMG_20240516_142920

commented

Thanks but what is swappiness and to clarify for that first code line that you sent I just delete my current swap file then put that into the terminal (influding the grayed out text)and I should get a bigger swap file? It also seems like I can't delete this swap file because of a permission denied error I keep getting IMG_20240516_142920

do u have discord if so add me cuz this may gonna take long if we use this ticket (username is mc.9)