コンテンツにスキップ

「MangoHud」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
Kgx (トーク | 投稿記録)
英語版から転載
 
Kgx (トーク | 投稿記録)
一部翻訳
5行目: 5行目:
{{Related articles end}}
{{Related articles end}}


[https://github.com/flightlessmango/MangoHud MangoHud] は、アプリケーション内でシステムのパフォーマンスを監視し、[[ベンチマーク]] のメトリクスを記録するための [[Vulkan]] および [[OpenGL]] オーバーレイです。
[https://github.com/flightlessmango/MangoHud MangoHud] is a [[Vulkan]] and [[OpenGL]] overlay for monitoring system performance while inside applications and to record metrics for [[benchmarking]].


== Installation ==
== インストール ==


次のいずれかを [[インストール]]:
[[Install]] one of the following:


* {{Pkg|mangohud}} - Latest release from upstream.
* {{Pkg|mangohud}} - 上流からの最新リリース。
* {{AUR|mangohud-git}} - Latest commit to master.
* {{AUR|mangohud-git}} - マスターへの最新のコミット。


== Configuration ==
== 設定 ==


MangoHud は次のファイルを介して設定され、次の順序で読み取られます。
MangoHud is configured via the following files, which are read in the following order:


# {{ic|$XDG_CONFIG_HOME/MangoHud/MangoHud.conf}}
# {{ic|$XDG_CONFIG_HOME/MangoHud/MangoHud.conf}}
# {{ic|$XDG_CONFIG_HOME/MangoHud/APPLICATION-NAME.conf}} (case-sensitive)
# {{ic|$XDG_CONFIG_HOME/MangoHud/APPLICATION-NAME.conf}} (大文字と小文字を区別)
# {{ic|$XDG_CONFIG_HOME/MangoHud/wine-APPLICATION-NAME.conf}} (for [[Wine]] applications, case-sensitive, without the {{ic|.exe}} extension)
# {{ic|$XDG_CONFIG_HOME/MangoHud/wine-APPLICATION-NAME.conf}} ([[Wine]] アプリケーションの場合、大文字と小文字が区別され、{{ic|.exe}} 拡張子は付きません)
# {{ic|./MangoHud.conf}}
# {{ic|./MangoHud.conf}}
# {{ic|$MANGOHUD_CONFIGFILE}} (via [[environment variables]])
# {{ic|$MANGOHUD_CONFIGFILE}} ([[環境変数]] 経由)


{{Tip|An example configuration file with comments can be found [https://raw.githubusercontent.com/flightlessmango/MangoHud/master/data/MangoHud.conf in the project's repository].}}
{{Tip|コメント付きの設定ファイルの例は、[プロジェクトのリポジトリの https://raw.githubusercontent.com/flightlessmango/MangoHud/master/data/MangoHud.conf] にあります。}}


=== GUI for configuration ===
=== GUI で設定 ===


MangoHud を設定するための GUI は、{{Aur|goverlay}} からインストールできます。
A GUI for configuring MangoHud can be installed from {{Aur|goverlay}}.


== Usage ==
== Usage ==

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

関連記事

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 からインストールできます。

Usage

Test configuration

Verify if the program has been setup correctly:

$ mangohud glxgears
$ mangohud vkcube

Run a single game

To run a game with MangoHud start it like this:

$ mangohud game

Dynamic hooking

Certain applications may require a special type of hooking, which can be specified via the --dlsym parameter or the MANGOHUD_DLSYM environment variable:

$ mangohud --dlsym game

Use with Gamemode

To launch a game with both MangoHud and gamemode, chain the two commands into a single one, like this:

$ mangohud gamemoderun game

Run a single steam game

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%

Run Steam with MangoHud

To avoid having to change launch options for all games, you may launch Steam directly with MangoHud:

$ mangohud steam-runtime

MangoHud will detect Steam and will avoid loading itself until a game is launched.

Enable for all Vulkan games

To make MangoHud automatically launch with all Vulkan games, it is possible to set the following environment variable:

MANGOHUD=1