「HDR モニターのサポート」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(カテゴリの追加)
(同じ利用者による、間の7版が非表示)
4行目: 4行目:
 
[[Category:グラフィカルユーザーインターフェイス]]
 
[[Category:グラフィカルユーザーインターフェイス]]
 
[[en:HDR monitor support]]
 
[[en:HDR monitor support]]
  +
[[fr:HDR monitor support]]
  +
{{Related articles start}}
  +
{{Related|Steam}}
  +
{{Related|ゲーム}}
  +
{{Related|Gamescope}}
  +
{{Related articles end}}
 
このページは、Linux における HDR モニターサポートの現状を紹介するガイドとなります。どのような課題があるのかをより理解するために、この記事の動画 [https://www.phoronix.com/news/AMD-2022-Linux-HDR-Display-Hard] をご覧ください。
 
このページは、Linux における HDR モニターサポートの現状を紹介するガイドとなります。どのような課題があるのかをより理解するために、この記事の動画 [https://www.phoronix.com/news/AMD-2022-Linux-HDR-Display-Hard] をご覧ください。
   
  +
HDR のサポートはまだ Wayland にマージされておらず、そのため、ほとんどのディスプレイサーバーにもまだ実装されていません。
== HDR ビデオのサポート ==
 
Linux での HDR サポートは、作業中ではありますが、ディスプレイサーバーにはまだ実装されていません。
 
   
* [[X.org]] (および Xorg クライアント): ディスプレイに HDR メタデータ渡すためのサポートはありませんhttps://gitlab.freedesktop.org/xorg/xserver/-/issues/1037#note_521100 を参照してください
+
[[X.org]] HDR をサポートする予定はありません[https://gitlab.freedesktop.org/xorg/xserver/-/issues/1037#note_521100]
   
  +
現在の進捗状況は以下の通り:
  +
  +
* [[KDE Plasma]] 6.0 introduced experimental HDR support for Wayland session. See [[KDE#HDR]] for launch options required to use HDR.
 
* [[Wayland]] (および Wayland クライアント): HDR メタデータをディスプレイに渡すためのサポートはありません。https://gitlab.freedesktop.org/wayland/weston/-/issues/467 と https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/14 を参照してください。
 
* [[Wayland]] (および Wayland クライアント): HDR メタデータをディスプレイに渡すためのサポートはありません。https://gitlab.freedesktop.org/wayland/weston/-/issues/467 と https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/14 を参照してください。
  +
* [[Wikipedia:Direct Rendering Manager|DRM]] クライアントは HDR メタデータを直接渡すことができますが、これは通常のユーザースペースクライアントからは利用できず、専用のソフトウェアのみが利用可能です。
  +
* [[COSMIC]] developers have [https://blog.system76.com/post/may-flowers-spring-cosmic-showers promised HDR support] in the initial stable release.
  +
* Hyprland will likely support HDR when it is merged in wlroots [https://github.com/hyprwm/Hyprland/issues/4933].
  +
* Wlroots, [https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4594 "Add HDR signalling" MR].
  +
* [[GNOME]] has HDR support in progress [https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2356]
  +
  +
== 必要条件 ==
  +
  +
* HDR対応ディスプレイ。
  +
* HDR対応グラフィックドライバー: [[AMDGPU]] および [[NVIDIA]] (550.54.14 以上) が動作確認済み。
  +
* 対応カーネル:
  +
** [[カーネル#公式サポートカーネル|公式サポートカーネル]] - {{Pkg|linux}} または {{Pkg|linux-zen}}。
  +
** {{AUR|linux-neptune-65}} - [[Wikipedia:SteamOS|SteamOS]] からのカーネル。AMD GPU用のマルチプレーン HDR スキャンアウトをサポートし、HDRコンテンツをコンポジット処理せずに表示することで表示遅延とVRR安定性を大幅に改善します。デスクトップGPUのRX 6000シリーズでの動作が確認されています。
  +
* 対応するディスプレイサーバー、詳細は [[#設定]]
  +
* HDR対応のゲーム、ビデオプレイヤー、またはブラウザー
  +
** ゲーム: [https://www.pcgamingwiki.com/wiki/List_of_games_that_support_high_dynamic_range_display_(HDR) HDR対応ゲームのリスト]。
  +
** ビデオプレイヤー: {{Pkg|mpv}}、他にもあればこのリストを拡張してください!
  +
** ウェブブラウザー: 現時点では、Linux上でHDRをサポートするウェブブラウザーはありません。
  +
* Windowsゲームをプレイする場合に対応する互換層: [[Wine]] または [[Steam#Proton Steam-Play|Steam Proton]]。
  +
** [[DXVK]] (2.1 以上) または [[Wine#VKD3D-Proton|VKD3D-Proton]] (2.8 以上)、ゲームに使用されるDirectXバージョンによります。 {{Tip|Proton 8.0、Experimental、または Proton GE 44+ のいずれかを使用してください。すべて十分なDXVKとVKD3Dバージョンが同梱されています。}}
  +
  +
== Configuration ==
  +
  +
=== KDE Plasma ===
  +
  +
See [[KDE#HDR]].
  +
  +
=== Gamescope with Steam session ===
  +
  +
Valve's Steam compositor [[gamescope]] offers experimental HDR support. Following these steps will allow you to try out Valve's Steam client running through the HDR capable gamescope.
  +
  +
{{Tip|An [[AMDGPU]] is recommended for use with gamescope - [[NVIDIA]] is known to have critical issues including flickering.}}
  +
  +
* Install {{Pkg|gamescope}} and {{AUR|gamescope-session-steam-git}}
  +
* You may create the optional config file {{ic|~/.config/environment.d/gamescope-session.conf}} with the following content: {{bc|<nowiki>
  +
if [ "$XDG_SESSION_DESKTOP" = "gamescope" ] ; then
  +
SCREEN_WIDTH=1920
  +
SCREEN_HEIGHT=1080
  +
CONNECTOR=*,eDP-1
  +
CLIENTCMD="steam -gamepadui -steamos3 -steampal -steamdeck -pipewire-dmabuf"
  +
GAMESCOPECMD="/usr/bin/gamescope --hdr-enabled --hdr-itm-enable \
  +
--hide-cursor-delay 3000 --fade-out-duration 200 --xwayland-count 2 \
  +
-W $SCREEN_WIDTH -H $SCREEN_HEIGHT -O $CONNECTOR"
  +
fi
  +
</nowiki>}}
  +
** Update the resolution values above to the correct ones. You can list your displays by running {{ic|xrandr --query}}.
  +
** You may need to set the Display {{ic|CONNECTOR}} if it does not pick the right one by default.
  +
  +
You can now start {{ic|gamescope}} from your login manager or a terminal using one of the following steps:
  +
  +
==== Via a login manager ====
  +
  +
Log out and select the ''Steam Big Picture'' in your login manager and log in.
   
  +
==== Via the command line ====
* DRM クライアントは HDR メタデータを直接渡すことができますが、これは通常のユーザースペースクライアントからは利用できず、専用のソフトウェアのみが利用可能です。https://gitlab.freedesktop.org/mesa/drm/-/blob/main/include/drm/drm_mode.h#L809
 
   
  +
# Go to a new TTY by pressing {{ic|Ctrl+Alt+F2}}
* System76 は、新しい [[Rust]] ベースの Cosmic Desktop [[Wayland#コンポジタ|Wayland コンポジタ]]([https://github.com/Smithay/smithay Smithay] を基にした)を持つと発表しました。これには、HDR、分数スケーリング、および HiDPI のサポートが含まれます。詳細は https://blog.system76.com/post/november-at-system76-products-promos--cosmic-de をご覧ください。
 
  +
# Log in and run {{ic|gamescope-session-plus steam}} to start the [https://github.com/ChimeraOS/gamescope-session standalone steam session] in HDR.
  +
#* If networking does not work you can fix it by installing and enabling [[NetworkManager]].
   
  +
==== Configure Steam ====
== HDR ゲームサポート ==
 
   
  +
# In the general settings, under Display, you should now see HDR settings. Enable HDR and Experimental HDR Support.
現在、Wayland でも X11 でも HDR を完全にサポートする API を提供していないため、ゲームもそれらで正確な HDR コンテンツを表示することはできません。Valve のスチームコンポジタ gamescope では、実験的な HDR サポートを提供しています。Valve のスチームクライアントが HDR 対応の gamescope を通じて動作する様子を試してみるためには、以下の手順 [https://www.reddit.com/r/linux_gaming/comments/10m2gyx/guide_alpha_test_hdr_on_linux/] を参照してください:
 
  +
# Select an HDR compatible game and click on the cog next to it.
  +
# Set Compatibility to Force Proton 8.0 or Proton Experimental.
  +
# Set Game Resolution to match your monitor otherwise it will launch at Steam Deck native resolution.
  +
# Click Play to start the game. Check the in-game settings to see if the HDR setting is available and enable it.
  +
# To switch back to your normal session, select ''Power'' and ''Switch to desktop mode'' from the Steam menu.
   
  +
== 参照 ==
# HDR 対応ディスプレイを使用します。
 
# AMD の GPU を使用します。現在、HDR は [[AMDGPU]] でのみサポートされています。
 
# [[DXVK]] バージョン 2.1 以降を使用します。
 
# [https://github.com/HansKristian-Work/vkd3d-proton/releases VKD3D-Proton] バージョン 2.8 以降を使用します。
 
# proton experimental または proton GE バージョン 44 以上を使用します。どちらも十分な DXVK と VKD3D のバージョンがパッケージに含まれています。
 
# {{aur|gamescope-git}} をインストールします。
 
# [https://www.reddit.com/r/linux_gaming/comments/10m2gyx/guide_alpha_test_hdr_on_linux/] で説明されているように、{{aur|gamescope-session-git}} のパッチ適用バージョンを使用します。このパッチは、設定ファイル {{ic|/usr/share/gamescope-session/gamescope-session-script}} を変更して、gamescope と dxvk が HDR を有効にするための指示を含めるようにします。DXVK に対しては [[環境変数]] {{ic|<nowiki>DXVK_HDR=1</nowiki>}} を設定し、gamescope に対しては引数 {{ic|--hdr-enabled}} を渡します。設定ファイルの変更を手動で適用したい場合は、[https://github.com/PikaOS-Linux/pkgs-baseos/blob/main/gamescope-session/gamescope-session/debian/patches/0001-update-to-work-on-nobara-with-hdr.patch こちらのパッチ] のすべての変更を複製します。
 
# あなたのスチームライブラリを開き、ツールでフィルタリングし、'''steam linux runtime soldier''' を右クリックしてプロパティを開き、BETAS をクリックし、"client_beta" を選択します。
 
# [https://gitlab.freedesktop.org/JoshuaAshton/linux-hdr/-/tree/josh-hdr-colorimetry/ Josh Ashton Kernel Patches] を含む Linux カーネルを使用します。詳細については [[カーネル/コンパイル/伝統的な方法]]を参照してください。
 
   
  +
* https://zamundaaa.github.io/wayland/2023/12/18/update-on-hdr-and-colormanagement-in-plasma.html
これで全ての設定が完了しました。新しい tty を開くために Ctrl+Alt+F2 を押し、ログインして {{bc|$ gamescope-session}} を実行します。これにより、HDR での [https://github.com/ChimeraOS/gamescope-session スタンドアロンなスチームセッション] が開始されます。ネットワーキングが機能しない場合は、[[NetworkManager]] をインストールして有効にすることで修正できます。
 
  +
* https://github.com/ChimeraOS/gamescope-session/tree/main
  +
* https://www.reddit.com/r/linux_gaming/comments/10m2gyx/guide_alpha_test_hdr_on_linux/
  +
* https://forums.developer.nvidia.com/t/plasma-6-0-hdr-success-report/284564
   
{{TranslationStatus|HDR monitor support|2023/05/10|776031}}
+
{{TranslationStatus|HDR monitor support|2024/06/16|810645}}

2024年6月16日 (日) 16:05時点における版

関連記事

このページは、Linux における HDR モニターサポートの現状を紹介するガイドとなります。どのような課題があるのかをより理解するために、この記事の動画 [1] をご覧ください。

HDR のサポートはまだ Wayland にマージされておらず、そのため、ほとんどのディスプレイサーバーにもまだ実装されていません。

X.org は HDR をサポートする予定はありません[2]

現在の進捗状況は以下の通り:

必要条件

  • HDR対応ディスプレイ。
  • HDR対応グラフィックドライバー: AMDGPU および NVIDIA (550.54.14 以上) が動作確認済み。
  • 対応カーネル:
    • 公式サポートカーネル - linux または linux-zen
    • linux-neptune-65AUR - SteamOS からのカーネル。AMD GPU用のマルチプレーン HDR スキャンアウトをサポートし、HDRコンテンツをコンポジット処理せずに表示することで表示遅延とVRR安定性を大幅に改善します。デスクトップGPUのRX 6000シリーズでの動作が確認されています。
  • 対応するディスプレイサーバー、詳細は #設定
  • HDR対応のゲーム、ビデオプレイヤー、またはブラウザー
    • ゲーム: HDR対応ゲームのリスト
    • ビデオプレイヤー: mpv、他にもあればこのリストを拡張してください!
    • ウェブブラウザー: 現時点では、Linux上でHDRをサポートするウェブブラウザーはありません。
  • Windowsゲームをプレイする場合に対応する互換層: Wine または Steam Proton
    • DXVK (2.1 以上) または VKD3D-Proton (2.8 以上)、ゲームに使用されるDirectXバージョンによります。
      ヒント: Proton 8.0、Experimental、または Proton GE 44+ のいずれかを使用してください。すべて十分なDXVKとVKD3Dバージョンが同梱されています。

Configuration

KDE Plasma

See KDE#HDR.

Gamescope with Steam session

Valve's Steam compositor gamescope offers experimental HDR support. Following these steps will allow you to try out Valve's Steam client running through the HDR capable gamescope.

ヒント: An AMDGPU is recommended for use with gamescope - NVIDIA is known to have critical issues including flickering.
  • Install gamescope and gamescope-session-steam-gitAUR
  • You may create the optional config file ~/.config/environment.d/gamescope-session.conf with the following content:
    if [ "$XDG_SESSION_DESKTOP" = "gamescope" ] ; then
        SCREEN_WIDTH=1920
        SCREEN_HEIGHT=1080
        CONNECTOR=*,eDP-1
        CLIENTCMD="steam -gamepadui -steamos3 -steampal -steamdeck -pipewire-dmabuf"
        GAMESCOPECMD="/usr/bin/gamescope --hdr-enabled --hdr-itm-enable \
        --hide-cursor-delay 3000 --fade-out-duration 200 --xwayland-count 2 \
        -W $SCREEN_WIDTH -H $SCREEN_HEIGHT -O $CONNECTOR"
    fi
    
    • Update the resolution values above to the correct ones. You can list your displays by running xrandr --query.
    • You may need to set the Display CONNECTOR if it does not pick the right one by default.

You can now start gamescope from your login manager or a terminal using one of the following steps:

Via a login manager

Log out and select the Steam Big Picture in your login manager and log in.

Via the command line

  1. Go to a new TTY by pressing Ctrl+Alt+F2
  2. Log in and run gamescope-session-plus steam to start the standalone steam session in HDR.
    • If networking does not work you can fix it by installing and enabling NetworkManager.

Configure Steam

  1. In the general settings, under Display, you should now see HDR settings. Enable HDR and Experimental HDR Support.
  2. Select an HDR compatible game and click on the cog next to it.
  3. Set Compatibility to Force Proton 8.0 or Proton Experimental.
  4. Set Game Resolution to match your monitor otherwise it will launch at Steam Deck native resolution.
  5. Click Play to start the game. Check the in-game settings to see if the HDR setting is available and enable it.
  6. To switch back to your normal session, select Power and Switch to desktop mode from the Steam menu.

参照

翻訳ステータス: このページは en:HDR monitor support の翻訳バージョンです。最後の翻訳日は 2024/06/16 です。もし英語版に 変更 があれば、翻訳の同期を手伝うことができます。