コンテンツにスキップ

「MangoHud」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
Kgx (トーク | 投稿記録)
一部翻訳
Kgx (トーク | 投稿記録)
Usage: 翻訳
30行目: 30行目:
MangoHud を設定するための GUI は、{{Aur|goverlay}} からインストールできます。
MangoHud を設定するための GUI は、{{Aur|goverlay}} からインストールできます。


== Usage ==
== 使い方 ==


=== Test configuration ===
=== テスト設定 ===


プログラムが正しくセットアップされているかどうかを確認します。
Verify if the program has been setup correctly:


$ mangohud glxgears
$ mangohud glxgears
$ mangohud vkcube
$ mangohud vkcube


=== 単一のゲームを実行する ===
=== Run a single game ===


MangoHud でゲームを実行するには、次のように開始します。
To run a game with MangoHud start it like this:


$ mangohud ''game''
$ mangohud ''game''


==== Dynamic hooking ====
==== ダイナミックフッキング ====


特定のアプリケーションでは特殊なタイプのフックが必要な場合があります。これは、{{ic|--dlsym}} パラメータまたは {{ic|MANGOHUD_DLSYM}} [[環境変数]] で指定できます。
Certain applications may require a special type of hooking, which can be specified via the {{ic|--dlsym}} parameter or the {{ic|MANGOHUD_DLSYM}} [[environment variable]]:


$ mangohud --dlsym ''game''
$ mangohud --dlsym ''game''


==== Use with Gamemode ====
==== ゲームモードで使用する ====


MangoHud と [[gamemode]] の両方でゲームを起動するには、次のように 2 つのコマンドを 1 つのコマンドにチェーンします。
To launch a game with both MangoHud and [[gamemode]], chain the two commands into a single one, like this:


$ mangohud gamemoderun ''game''
$ mangohud gamemoderun ''game''


=== Run a single steam game ===
=== 単一の Steam ゲームを実行する ===


[[Steam]] に MangoHud でゲームを開始させるには、''ライブラリ'' でゲームを右クリックし、''プロパティ...'' を選択して、''起動オプション'' テキストボックスに次のように入力します。
To make [[Steam]] start a game with MangoHud, right click the game in the ''Library'', select ''Properties...'', then in the ''Launch Options'' text box enter:


mangohud %command%
mangohud %command%


=== Run Steam with MangoHud ===
=== MangoHud で Steam を実行する ===


すべてのゲームの起動オプションを変更する必要がないようにするには、MangoHud を使用して [[Steam]] を直接起動することができます。
To avoid having to change launch options for all games, you may launch [[Steam]] directly with MangoHud:


$ mangohud steam-runtime
$ mangohud steam-runtime


MangoHud は Steam を検出し、ゲームが起動されるまでロード自体を回避します。
MangoHud will detect Steam and will avoid loading itself until a game is launched.


=== Enable for all Vulkan games ===
=== すべての Vulkan ゲームで有効にする ===


MangoHud がすべての [[Vulkan]] ゲームで自動的に起動するようにするには、次の [[環境変数]] を設定します。
To make MangoHud automatically launch with all [[Vulkan]] games, it is possible to set the following [[environment variable]]:


MANGOHUD=1
MANGOHUD=1

2023年10月3日 (火) 18:41時点における版

関連記事

MangoHud は、アプリケーション内でシステムのパフォーマンスを監視し、ベンチマーク のメトリクスを記録するための Vulkan および OpenGL オーバーレイです。

インストール

次のいずれかを インストール:

  • mangohud - 上流からの最新リリース。
  • mangohud-gitAUR - マスターへの最新のコミット。

設定

MangoHud は次のファイルを介して設定され、次の順序で読み取られます。

  1. $XDG_CONFIG_HOME/MangoHud/MangoHud.conf
  2. $XDG_CONFIG_HOME/MangoHud/APPLICATION-NAME.conf (大文字と小文字を区別)
  3. $XDG_CONFIG_HOME/MangoHud/wine-APPLICATION-NAME.conf (Wine アプリケーションの場合、大文字と小文字が区別され、.exe 拡張子は付きません)
  4. ./MangoHud.conf
  5. $MANGOHUD_CONFIGFILE (環境変数 経由)
ヒント コメント付きの設定ファイルの例は、[プロジェクトのリポジトリの https://raw.githubusercontent.com/flightlessmango/MangoHud/master/data/MangoHud.conf] にあります。

GUI で設定

MangoHud を設定するための GUI は、goverlayAUR からインストールできます。

使い方

テスト設定

プログラムが正しくセットアップされているかどうかを確認します。

$ mangohud glxgears
$ mangohud vkcube

単一のゲームを実行する

MangoHud でゲームを実行するには、次のように開始します。

$ mangohud game

ダイナミックフッキング

特定のアプリケーションでは特殊なタイプのフックが必要な場合があります。これは、--dlsym パラメータまたは MANGOHUD_DLSYM 環境変数 で指定できます。

$ mangohud --dlsym game

ゲームモードで使用する

MangoHud と gamemode の両方でゲームを起動するには、次のように 2 つのコマンドを 1 つのコマンドにチェーンします。

$ mangohud gamemoderun game

単一の Steam ゲームを実行する

Steam に MangoHud でゲームを開始させるには、ライブラリ でゲームを右クリックし、プロパティ... を選択して、起動オプション テキストボックスに次のように入力します。

mangohud %command%

MangoHud で Steam を実行する

すべてのゲームの起動オプションを変更する必要がないようにするには、MangoHud を使用して Steam を直接起動することができます。

$ mangohud steam-runtime

MangoHud は Steam を検出し、ゲームが起動されるまでロード自体を回避します。

すべての Vulkan ゲームで有効にする

MangoHud がすべての Vulkan ゲームで自動的に起動するようにするには、次の 環境変数 を設定します。

MANGOHUD=1