「Gamescope」の版間の差分
Kusanaginoturugi (トーク | 投稿記録) (新規作成) |
Kusanaginoturugi (トーク | 投稿記録) (→See Also: 飜訳) |
||
(同じ利用者による、間の8版が非表示) | |||
1行目: | 1行目: | ||
[[Category:グラフィカルユーザーインターフェイス]] |
[[Category:グラフィカルユーザーインターフェイス]] |
||
− | [https://github.com/ValveSoftware/gamescope Gamescope] は、[[Steam Deck]]で使用される Valve が開発した[[Wayland#Compositors|マイクロコンポジタ]]です。その目的は、ゲームに特化したアイソレートされたコンポジタを提供し、以下のようなゲームに特化した機能をサポートすることです。 |
+ | [https://github.com/ValveSoftware/gamescope Gamescope] は、[[Steam Deck]] で使用される Valve が開発した[[Wayland#Compositors|マイクロコンポジタ]]です。その目的は、ゲームに特化したアイソレートされたコンポジタを提供し、以下のようなゲームに特化した機能をサポートすることです。 |
* 解像度のスプーフィング |
* 解像度のスプーフィング |
||
− | * AMD FidelityFX™ Super ResolutionやNVIDIA Image Scalingを使ったアップスケーリング |
+ | * AMD FidelityFX™ Super Resolution や NVIDIA Image Scaling を使ったアップスケーリング |
* フレームレートの制限 |
* フレームレートの制限 |
||
10行目: | 10行目: | ||
現在、[[Wayland]] クライアントのネイティブサポートはありません [https://github.com/ValveSoftware/gamescope/issues/543]。Wayland セッションでは、XWayland を使用します。 |
現在、[[Wayland]] クライアントのネイティブサポートはありません [https://github.com/ValveSoftware/gamescope/issues/543]。Wayland セッションでは、XWayland を使用します。 |
||
− | == |
+ | == インストール == |
− | Gamescope |
+ | Gamescope は、{{pkg|gamescope}} パッケージ(または {{aur|gamescope-git}} パッケージ)で[[インストール]]できます。さらに、メインラインビルドには含まれていない追加のパッチが含まれた {{aur|gamescope-plus}} もあります。 |
− | === |
+ | === 要件 === |
− | * |
+ | * AMD:Mesa 20.3 以上 |
− | * |
+ | * Intel:Mesa 21.2 以上 |
− | * |
+ | * NVIDIA:プロプライエタリドライバー 515.43.04 以上、および {{ic|1=nvidia-drm.modeset=1}} [[カーネルパラメータ]] |
− | == |
+ | == 使用方法 == |
+ | Gamescope には多くのオプションがありますが、ここではすべてをカバーすることはできません。完全なリストを表示するには、ターミナルから {{ic|gamescope --help}} コマンドを使用してください。 |
||
− | Gamescope offers many options, far to many to cover here. For a full list use the {{ic|gamescope --help}} command from a terminal. |
||
+ | === デスクトップセッションから === |
||
− | === From a desktop session === |
||
− | + | 以下のコマンドは、Gamescope を使用して supertuxkart を実行し、1920x1080 の解像度で 60 FPS を強制します。 |
|
$ gamescope -W 1920 -H 1080 -r 60 -- supertuxkart |
$ gamescope -W 1920 -H 1080 -r 60 -- supertuxkart |
||
− | === |
+ | === Steamから === |
− | + | 以下のコマンドを使用して、Steam を Big Picture Mode で Gamescope を使用して実行することができます。 |
|
$ gamescope -e -- steam -gamepadui |
$ gamescope -e -- steam -gamepadui |
||
− | {{Note| |
+ | {{Note|{{ic|-e}} フラグは、Gamescope で Steam Integration を有効にするためのものです。}} |
+ | また、Steam から Gamescope を使用してゲームを実行するには、ゲームの起動オプションに以下を追加します。 |
||
− | You can also run games from Steam using Gamescope by adding the following to the games launch options |
||
gamescope -- %command% |
gamescope -- %command% |
||
+ | {{Note|Steam から起動する場合でも、解像度や FPS などのフラグを設定する必要があります。それ以外の場合、Gamescope は正しくない解像度で起動します。ターミナルと同じ方法でこれを行うことができます。例えば}} |
||
− | {{Note|It is still required that you set flags such as resolution, FPS etc when launching from Steam otherwise Gamescope will launch at an incorrect resolution. You can do this in the same way as from a terminal, for example}} |
||
gamescope -W 1920 -H 1080 -r 60 -- %command% |
gamescope -W 1920 -H 1080 -r 60 -- %command% |
||
− | === |
+ | === Wineから === |
+ | |||
− | To run programs using Gamescope through [[Wine]], simply append ''wine'' followed by the executable. |
||
+ | [[Wine]] を介して Gamescope を使用してプログラムを実行するには、''wine'' に続けて実行可能ファイルを指定してください。 |
||
$ gamescope -W 1920 -H 1080 -r 60 -- wine supertuxkart |
$ gamescope -W 1920 -H 1080 -r 60 -- wine supertuxkart |
||
+ | ほとんどの人気のある Wine マネージャー([[Lutris]]、[[Bottles]]、[[PlayOnLinux]])は Gamescope をサポートしています。これらを使用するのは、必要な Gamescope パッケージをインストールし、「Gamescope を使用する」(または同様の)オプションをチェックするだけです。 |
||
− | Almost all the popular Wine managers such as [[Lutris]], [[Bottles]], and [[PlayOnLinux]] have support for Gamescope. Using them is as simple as installing the desired Gamescope package and checking the ''Use Gamescope'' (or similar) option. |
||
+ | {{Note|Wine マネージャーは、基本的な Gamescope オプションを設定する GUI インターフェースを持つことが多いため、一般的には Gamescope を使用する最も簡単な方法です。}} |
||
− | {{Note|Wine managers also tend to have a GUI interface to configure basic Gamescope options making them, in general, the easiest way to use Gamescope.}} |
||
=== Through Flatpak === |
=== Through Flatpak === |
||
+ | [[Flatpak]] 版の Wine マネージャーや [[Steam]] からも、パッケージインストールと同じ方法で Gamescope を使用できます。ただし、まず以下のコマンドで Flathub から Gamescope をインストールする必要があります。 |
||
− | You can also use Gamescope from [[Flatpak]] versions of Wine managers and [[Steam]] in the same way as you would from a package install. It does however require that you first install Gamescope from Flathub with the following command: |
||
$ flatpak install gamescope |
$ flatpak install gamescope |
||
− | === |
+ | === アップスケーリング === |
− | + | {{ic|-U}} フラグと {{ic|-Y}} フラグを使用して、AMD FidelityFX™ Super Resolution(FSR)または NVIDIA Image Scaling(NIS)を使用してゲームをアップスケールすることができます。また、{{ic|-i}} を使用して整数アップスケーリングを行うこともできます。 |
|
+ | 720p のゲームを FSR を使用して 1440p にアップスケーリングするには: |
||
− | To upscale a 720p game to 1440p using FSR: |
||
$ gamescope -h 720 -H 1440 -U -- supertuxkart |
$ gamescope -h 720 -H 1440 -U -- supertuxkart |
||
+ | 1080p の内部解像度でゲームを実行し、NIS を使用して 4K に表示するには: |
||
− | To run a game at 1080p internal resolution but display it at 4K using NIS: |
||
$ gamescope -w 1920 -h 1080 -W 3840 -H 2160 -Y -- supertuxkart |
$ gamescope -w 1920 -h 1080 -W 3840 -H 2160 -Y -- supertuxkart |
||
− | === HDR |
+ | === HDR サポート === |
+ | Gamescope は、ゲームの HDR10 サポートを有効にするために必要です。この機能を利用するには、{{ic|--hdr-enabled}} フラグを使用して Gamescope セッションを起動する必要があります。 |
||
− | Gamescope is a requirement for HDR10 support when playing games, to make use of this feature you must launch your Gamescope session using the {{ic|--hdr-enabled}} flag. |
||
+ | {{Note|Linux での HDR サポートはまだ始まったばかりで、多くの注意点があります。詳細については [[HDR モニターのサポート]] を参照してください。}} |
||
− | {{Note|HDR support on Linux is still in its infancy and has many caveats. See [[HDR monitor support]] for details.}} |
||
+ | == トラブルシューティング == |
||
− | == Troubleshooting == |
||
+ | === フルスクリーンへの切り替えが低性能を引き起こす === |
||
− | === Switching to fullscreen causes low performance === |
||
+ | これは、Gamescope のフルスクリーンホットキー {{ic|Meta+f}} を使用するときの既知のバグです。この問題に遭遇した場合、ゲームを起動するときにフルスクリーンフラグ {{ic|-f}} を使用することで回避できます。 |
||
− | This is a known bug when using Gamescopes fullscreen hotkey {{ic|Meta+f}}, if you encounter this issue it can be worked around by using the fullscreen flag {{ic|-f}} when launching the game. |
||
+ | === Gamescope の優先度を設定する === |
||
− | === Setting Gamescopes priority === |
||
+ | 低性能やスタッタリングのもう一つの既知の原因は、Gamescope の優先度が正しく設定されていないことです。Gamescope が実行されている間に、ターミナルで {{ic|CAP_SYS_NICE}} に関するエラーが表示される場合、これが原因だとわかります。次のコマンドで修正できます: |
||
− | Another known cause of low performance and/or stuttering is not having Gamescopes priority set correctly, you can tell this is the case if you see errors mentioning {{ic|CAP_SYS_NICE}} in your terminal while Gamescope is running. The following command will fix this: |
||
# setcap 'CAP_SYS_NICE=eip' $(which gamescope) |
# setcap 'CAP_SYS_NICE=eip' $(which gamescope) |
||
− | == |
+ | == 参照 == |
− | * [https://github.com/ValveSoftware/gamescope Gamescope Github |
+ | * [https://github.com/ValveSoftware/gamescope Gamescope Github ページ] |
* [https://github.com/sonic2kk/steamtinkerlaunch/wiki/GameScope Gamescope at Steamtinkerlaunch Github Wiki] |
* [https://github.com/sonic2kk/steamtinkerlaunch/wiki/GameScope Gamescope at Steamtinkerlaunch Github Wiki] |
2023年5月8日 (月) 17:33時点における版
Gamescope は、Steam Deck で使用される Valve が開発したマイクロコンポジタです。その目的は、ゲームに特化したアイソレートされたコンポジタを提供し、以下のようなゲームに特化した機能をサポートすることです。
- 解像度のスプーフィング
- AMD FidelityFX™ Super Resolution や NVIDIA Image Scaling を使ったアップスケーリング
- フレームレートの制限
マイクロコンポジタとして、既存のデスクトップ環境の上にネストされたセッションとして実行するよう設計されていますが、埋め込みコンポジタとしても使用することができます。
現在、Wayland クライアントのネイティブサポートはありません [1]。Wayland セッションでは、XWayland を使用します。
目次
インストール
Gamescope は、gamescope パッケージ(または gamescope-gitAUR パッケージ)でインストールできます。さらに、メインラインビルドには含まれていない追加のパッチが含まれた gamescope-plusAUR もあります。
要件
- AMD:Mesa 20.3 以上
- Intel:Mesa 21.2 以上
- NVIDIA:プロプライエタリドライバー 515.43.04 以上、および
nvidia-drm.modeset=1
カーネルパラメータ
使用方法
Gamescope には多くのオプションがありますが、ここではすべてをカバーすることはできません。完全なリストを表示するには、ターミナルから gamescope --help
コマンドを使用してください。
デスクトップセッションから
以下のコマンドは、Gamescope を使用して supertuxkart を実行し、1920x1080 の解像度で 60 FPS を強制します。
$ gamescope -W 1920 -H 1080 -r 60 -- supertuxkart
Steamから
以下のコマンドを使用して、Steam を Big Picture Mode で Gamescope を使用して実行することができます。
$ gamescope -e -- steam -gamepadui
また、Steam から Gamescope を使用してゲームを実行するには、ゲームの起動オプションに以下を追加します。
gamescope -- %command%
gamescope -W 1920 -H 1080 -r 60 -- %command%
Wineから
Wine を介して Gamescope を使用してプログラムを実行するには、wine に続けて実行可能ファイルを指定してください。
$ gamescope -W 1920 -H 1080 -r 60 -- wine supertuxkart
ほとんどの人気のある Wine マネージャー(Lutris、Bottles、PlayOnLinux)は Gamescope をサポートしています。これらを使用するのは、必要な Gamescope パッケージをインストールし、「Gamescope を使用する」(または同様の)オプションをチェックするだけです。
Through Flatpak
Flatpak 版の Wine マネージャーや Steam からも、パッケージインストールと同じ方法で Gamescope を使用できます。ただし、まず以下のコマンドで Flathub から Gamescope をインストールする必要があります。
$ flatpak install gamescope
アップスケーリング
-U
フラグと -Y
フラグを使用して、AMD FidelityFX™ Super Resolution(FSR)または NVIDIA Image Scaling(NIS)を使用してゲームをアップスケールすることができます。また、-i
を使用して整数アップスケーリングを行うこともできます。
720p のゲームを FSR を使用して 1440p にアップスケーリングするには:
$ gamescope -h 720 -H 1440 -U -- supertuxkart
1080p の内部解像度でゲームを実行し、NIS を使用して 4K に表示するには:
$ gamescope -w 1920 -h 1080 -W 3840 -H 2160 -Y -- supertuxkart
HDR サポート
Gamescope は、ゲームの HDR10 サポートを有効にするために必要です。この機能を利用するには、--hdr-enabled
フラグを使用して Gamescope セッションを起動する必要があります。
トラブルシューティング
フルスクリーンへの切り替えが低性能を引き起こす
これは、Gamescope のフルスクリーンホットキー Meta+f
を使用するときの既知のバグです。この問題に遭遇した場合、ゲームを起動するときにフルスクリーンフラグ -f
を使用することで回避できます。
Gamescope の優先度を設定する
低性能やスタッタリングのもう一つの既知の原因は、Gamescope の優先度が正しく設定されていないことです。Gamescope が実行されている間に、ターミナルで CAP_SYS_NICE
に関するエラーが表示される場合、これが原因だとわかります。次のコマンドで修正できます:
# setcap 'CAP_SYS_NICE=eip' $(which gamescope)