arm64 ユーザーだってゲームがしたい!
arm64 向け Ubuntu で Steam 及びゲームを動作させる方法が、以下で紹介されています。FEX で Steam と ゲームを動かす
FEX は x86/x86-64 エミュレーターです。この FEX 上で Steam 及びゲームを動作させる方法です。
FEX のインストール
まず FEX をインストールします。作業は端末で行うため、予め端末を起動しておきましょう。
1. curl のインストール
以下のコマンドを実行して curl をインストールします。
sudo apt install curl
curl はネットからファイルをダウンロードするためのコマンドです。
2. リポジトリーの追加
以下のコマンドを実行し、FEX を提供しているリポジトリーを追加します。curl --silent https://raw.githubusercontent.com/FEX-Emu/FEX/main/Scripts/InstallFEX.py | python3
ちなみに追加されるリポジトリーは、以下のリポジトリーです。
コマンドを実行すると、以下のようにリポジトリーの追加処理が始まります。
$ curl --silent https://raw.githubusercontent.com/FEX-Emu/FEX/main/Scripts/InstallFEX.py | python3
Getting PPA status: NotInstalled
Installing PPA: ppa:fex-emu/fex
This bit will ask for your password
PPA publishes dbgsym, you may need to include 'main/debug' component
...
Getting PPA status: NotInstalled
Installing PPA: ppa:fex-emu/fex
This bit will ask for your password
PPA publishes dbgsym, you may need to include 'main/debug' component
...
3. セットアップ
リポジトリーの追加完了後、エミュレーション環境の構築が行われます。この環境構築は Ubuntu rootfs の構築ですが、現在 Ubuntu 向けでは Ubuntu 24.04 LTS ベースの rootfs が利用可能であり、Ubuntu 25.04 では以下のようにエラーが発生します。
...
RootFS path doesn't exist. This is required on AArch64 hosts
Use FEXRootFSFetcher to download a RootFS
FEXInterpreter failed to run. Not continuing
RootFS path doesn't exist. This is required on AArch64 hosts
Use FEXRootFSFetcher to download a RootFS
FEXInterpreter failed to run. Not continuing
このようなエラーが発生したら FEXRootFSFetcher コマンドを直接実行し、手動で Ubuntu 24.04 LTS ベースの rootfs を取得して展開します。
FEXRootFSFetcher
FEXRootFSFetcher コマンドを実行すると、以下のように環境構築に関する質問が行われるため、以下のように回答していきます。
$ FEXRootFSFetcher
RootFS not found. Do you want to try and download one?
Response {y,yes,1} or {n,no,0}
1
RootFS list selection
Options:
0: Cancel
1: Fedora 40 (SquashFS)
2: Fedora 38 (SquashFS)
3: ArchLinux (SquashFS)
4: Ubuntu 24.04 (SquashFS)
5: Ubuntu 23.10 (SquashFS)
6: Ubuntu 23.04 (SquashFS)
7: Ubuntu 22.10 (SquashFS)
8: Ubuntu 22.04 (SquashFS)
9: Ubuntu 20.04 (SquashFS)
Response {1-9} or 0 to cancel
4
Selected Rootfs: Ubuntu 24.04 (SquashFS)
URL: https://rootfs.fex-emu.gg/Ubuntu_24_04/2025-03-04/Ubuntu_24_04.sqsh
Are you sure that you want to download this image
Response {y,yes,1} or {n,no,0}
y
...
Do you wish to extract the squashfs file or use it as-is?
Options:
0: Cancel
1: Extract
2: As-Is
Response {1-2} or 0 to cancel
1
...
Do you wish to set this RootFS as default?
Response {y,yes,1} or {n,no,0}
1
Ubuntu_24_04 set as default RootFS
RootFS not found. Do you want to try and download one?
Response {y,yes,1} or {n,no,0}
1
RootFS list selection
Options:
0: Cancel
1: Fedora 40 (SquashFS)
2: Fedora 38 (SquashFS)
3: ArchLinux (SquashFS)
4: Ubuntu 24.04 (SquashFS)
5: Ubuntu 23.10 (SquashFS)
6: Ubuntu 23.04 (SquashFS)
7: Ubuntu 22.10 (SquashFS)
8: Ubuntu 22.04 (SquashFS)
9: Ubuntu 20.04 (SquashFS)
Response {1-9} or 0 to cancel
4
Selected Rootfs: Ubuntu 24.04 (SquashFS)
URL: https://rootfs.fex-emu.gg/Ubuntu_24_04/2025-03-04/Ubuntu_24_04.sqsh
Are you sure that you want to download this image
Response {y,yes,1} or {n,no,0}
y
...
Do you wish to extract the squashfs file or use it as-is?
Options:
0: Cancel
1: Extract
2: As-Is
Response {1-2} or 0 to cancel
1
...
Do you wish to set this RootFS as default?
Response {y,yes,1} or {n,no,0}
1
Ubuntu_24_04 set as default RootFS
4. セットアップ環境の確認
最後に以下のコマンドを実行し、エミュレーション環境が正常に構築できているか確認します。FEXBash 'uname -a'
以下のように出力されれば、OK です。
$ FEXBash 'uname -a'
Linux user-CRD 6.11.0 #FEX-2508.1 SMP Aug 6 2025 02:54:32 x86_64 x86_64 x86_64 GNU/Linux
Linux user-CRD 6.11.0 #FEX-2508.1 SMP Aug 6 2025 02:54:32 x86_64 x86_64 x86_64 GNU/Linux
Steam のインストール
次に Steam をインストールします。1. Steam のダウンロード
以下のコマンドを実行し、Steam をダウンロードします。wcurl https://repo.steampowered.com/steam/archive/stable/steam-launcher_latest_all.deb
2. Steam のインストール
以下のコマンドを実行し、Steam をインストールします。sudo apt install ./steam-launcher_latest_all.deb
3. Steam の起動
以下のコマンドを実行し、Steam を起動します。
FEXBash steam
デスクトップ上のアイコンから起動できるようにするには
デスクトップ上の Steam アイコンから起動できるようにするには、アイコンを右クリックして表示されるメニューから、「起動を許可する」をクリックしてください。動作するゲームと動作しないゲーム
残念ながらすべての Steam ゲームが動作するわけではありません。また x86 をエミュレーションする都合上、若干のパフォーマンスの低下があります。
動作したゲームしなかったゲーム
報告によると、以下のゲームは快適に動作したとのことです。- Portal
- Portal 2
- Rimworld
- Deadlock
一方で以下のゲームは動作しなかったとのことです。
- Dota2
他の人のフィードバックによると、以下のゲームが快適に動作したとのことです。
- Counter Strike Source
- Counter Strike 2
- Dota 2
- Team Fortress 2
環境によって動作の有無に違いがあるみたいですね。
ゲームの動作状況の確認や設定の調整は
ゲームの動作状況の確認や設定の調整は、以下を参考にしてください。まとめてセットアップするスクリプト
FEX と Steam のインストールに加え、セットアップ構成もまとめて行ってくれるスクリプトが以下で公開されています。wget https://raw.githubusercontent.com/MitchellAugustin/fex_autoinstall/refs/heads/main/fex_autoinstall_poc.sh && bash fex_autoinstall_poc.sh
興味ある方はリンク先の説明に目を通した上で、検討してみてください。



