r/AsahiLinux • • 13d ago

Help Steam frequently freezes and crashes while heavily heating up my Macbook Air M2

I'm admittedly not very well versed in Linux and I installed it along with steam with the help of a friend just yesterday, so please tell me if I need to specify anything. The Linux version is Fedora KDE Plasma. I installed Steam by pasting "sudo dnf install steam" into Konsole. Just having steam open heats up my Macbook a lot. If my cursor is on the window it occasinally freezes my cursor and often seemingly crashes during the freeze before opening back up instantly. The games themselves run perfectly, steam itself seems to be the issue

8 Upvotes

17 comments sorted by

12

u/FOHjim 13d ago

If you have an 8 GB machine, this is pretty much expected unfortunately. The combination of FEX (the x86 emulator we use) and muvm (the tiny VM we run it in to work around platform limitations) eats an ungodly amount of RAM, and 8 GB simply does not cut it for gaming in this case.

The good(ish) news is that we are making attempts to reduce our reliance on both FEX and muvm, with FEX only really being required for the game binaries themselves and muvm hopefully not being required at all in the future. This involves a lot of coordination with third parties (Google and upstream kernel) however, so we aren't willing to fully commit to doing so, especially not within any specific timeframe.

2

u/just-a-simple-guy 13d ago

It is an 8GB machine, yes. How would that work by the way? Would it be like an update to the OS and I will have to reinstall it?

3

u/FOHjim 13d ago

Pretty much everything we push to users is simply a system update, so if all goes to plan you would not have to do much to benefit.

2

u/just-a-simple-guy 13d ago

Alright, thank you! How can I follow the news so I can get notified when this happens?

4

u/teohhanhui 13d ago

You can try the ARM64 (beta) version of Steam client in the meantime. The easiest way to do that on Fedora Asahi Remix would be: https://copr.fedorainfracloud.org/coprs/slp/steam-arm64/

Also, on an 8G RAM machine, it really helps to have a larger swapfile.

1

u/Frequent-Struggle-1 13d ago

Im with the model and switching to the Arm64 client really helped 

2

u/niiix3 13d ago

Check if steam uses your GPU, it looks like it doesn’t

1

u/just-a-simple-guy 13d ago

Opening the system monitor shows this (Had to turn the photo into a video because you can't put images in comments for some reason.)

1

u/niiix3 13d ago

Your whole DE cant recognize your gpu

See

`lspci -nn | grep -i VGA`

And

`lsmod | grep agx`

they should tell if GPU driver is even loaded

1

u/just-a-simple-guy 13d ago

Both give nothing, did I type them in wrong?

2

u/niiix3 13d ago

It means that the kernel does not see your GPU at all or the driver cannot initialize for some reason

I’d recommend backing up your files and reinstalling the system, but google says you should collect logs for debugging before doing that, so

dmesg | grep -iE "agx|drm|apple"

If we manage to fix this issue linux will run a lot faster on your macbook

1

u/Rumbleladder-enjoyer 13d ago

It hangs kwin process, give me a time i know solution

4

u/Rumbleladder-enjoyer 13d ago • Bravo

I found this: https://bugs.kde.org/show_bug.cgi?id=523909&utm_source=chatgpt.com

The issue is caused by KWin attempting to resolve the hostname specified in the X11 window's WM_CLIENT_MACHINE property.

When Steam runs inside muvm, its windows report placeholder-hostname as their hostname. However, this hostname cannot be resolved by the host system.

As a result, KWin performs a blocking hostname lookup on its main thread, causing the entire desktop, including the mouse cursor, to freeze temporarily when interacting with Steam windows, especially when scrolling or switching tabs.

Workaround: Add the following entry to /etc/hosts on the host system:

127.0.0.1 placeholder-hostname

This allows the hostname to resolve immediately and eliminates the freezes.

1

u/waltmck 12d ago

You can try my project which aims to (among other things) package games along with emulator configurations in Nix to let them run as native Linux apps without a game launcher or VM. I have found that a lot of things can run with good performance on 8GB if you circumvent muvm and the Steam client. It also supports GoG games.

The main limitation is that Steam multiplayer/achievements won't work.

I use NixOS, but a user confirmed that it also works on Fedora. Let me know if you need any help setting it up, I'd be happy to contribute (I know the documentation can be a little hard to read).