Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Forcing Wayland video driver in classic SDL2 makes 4K HiDPI unavailable in Source games

オープン
#754 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
linux
領域
desktop

調査の方向性

Portal 2 または Half-Life 2 で、200% のスケーリングに設定した 4K ディスプレイ、1080p のセカンダリディスプレイ、および SDL_VIDEODRIVER=wayland を使用して問題を再現します。Scout と legacy runtime の動作を比較します。Wayland ビデオドライバーが正しいネイティブ 4K ディスプレイ解像度を報告すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Your system information
  • Steam client version (build number or date): 1745876290
  • Distribution (e.g. Ubuntu): Arch + Plasma Wayland
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: AMD Radeon RX 6600 XT
Please describe your issue in as much detail as possible:

I have two displays, one 4K (200% scale) and another 1080p (100% scale). Steam's Scout runtime for native Linux games seems to mistake the 4K display for a 1080p one when running Half-Life 2 or Portal 2 with SDL_VIDEODRIVER=wayland. Switching to the legacy runtime works as intended. Disabling the secondary screen doesn't seem to help.

Steps for reproducing this issue:
  1. Use a 4K primary display with scaling set to 200% (in Plasma)
  2. Put SDL_VIDEODRIVER=wayland in a Source 1 game's launch parameters (I tested Portal 2 and Half-Life 2)
  3. Launch the aforementioned game
  4. Observe incorrect 'native' display resolution detection:

Scout, monitor 1:
Image

Scout, monitor 2:
Image

Legacy, monitor 1:
Image

Legacy, monitor 2:
Image

(Sorry in advance if I'm using the wrong issue tracker, please point me to a more appropriate one if necessary)

主要言語
Shell
スター
1.5k
フォーク
98
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ValveSoftware/steam-runtime のほかの issue

ValveSoftware/steam-runtime の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。