Skip to content

Instantly share code, notes, and snippets.

@teohhanhui
Last active December 23, 2024 09:18
Show Gist options
  • Save teohhanhui/042a395010d9946ceee14768736e3780 to your computer and use it in GitHub Desktop.
Save teohhanhui/042a395010d9946ceee14768736e3780 to your computer and use it in GitHub Desktop.
Asahi Linux - krun + FEX + Steam

Nothing to see here.

What you want is https://asahilinux.org/2024/10/aaa-gaming-on-asahi-linux/

But if you have previously followed this guide, use the following to switch:

Cleanup

rm -rf ~/.fex-emu
rm ~/.local/bin/{asahi-krun-overlay-fex-rootfs,FEXBash,krun,krun-guest,steam}
rm ~/.local/share/applications/steam.desktop
rm -rf ~/.local/share/asahi-krun
DBX_CONTAINER_MANAGER=podman distrobox rm asahi-krun

Install Steam (on the host)

sudo dnf upgrade --refresh
sudo dnf install --best --setopt=allow_vendor_change=true steam
sudo dnf remove dhcpcd

You might have to reboot the system.

@Spidy123222
Copy link

@Spidy123222 Can you confirm you've run

rm -rf ~/.fex-emu

The only explanation for why it's trying to look for that RootFS is because you have leftover fex config from my guide.

Same results after reinstalling steam rpm.

@teohhanhui
Copy link
Author

@Spidy123222 Can you run all of the commands in the cleanup steps please? (I see you were still trying to use the asahi-krun container. It should not be used anymore.)

And then run:

sudo dnf upgrade --refresh
sudo dnf install --best --setopt=allow_vendor_change=true steam

@Spidy123222
Copy link

@Spidy123222 Can you run all of the commands in the cleanup steps please? (I see you were still trying to use the asahi-krun container. It should not be used anymore.)

And then run:

sudo dnf upgrade --refresh
sudo dnf install --best --setopt=allow_vendor_change=true steam

That fixed it. Interesting. Also btw for the distrobox removal. Do --force at end as it fails if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment