protonscr

[BUG] vrcompositor matching wrong display

steamvropen bug
ValveSoftware/SteamVR-for-Linux#609 · opened 2023-09-07 by mSparks43 · updated 2023-09-07 · 0 comments · github
MmSparks43 2023-09-07 github

Describe the bug
A clear and concise description of what the bug is.

VR headset is on HDMI-0, 0x1ca

DP-0, 0x1bd is a normal DELL monitor

vrcompositor is picking the wrong display:

Thu Sep 07 2023 06:12:32.884985 [Info] - Looking for direct display through RandR
Thu Sep 07 2023 06:12:32.885005 [Info] - - Root 0x1e9
Thu Sep 07 2023 06:12:32.983916 [Info] - - Output 0x1bd - 11 modes, 1 preferred
Thu Sep 07 2023 06:12:32.983952 [Info] - - Mode 0 0x1be 1920x1080 (looking for 1920x1080)
Thu Sep 07 2023 06:12:32.983974 [Info] - - Found matching output 445
Thu Sep 07 2023 06:12:32.983994 [Info] - Found candidate direct display as RandR output 0x1bd
Thu Sep 07 2023 06:12:33.091609 [Info] - Tried to find direct display through RandR: 0x56467c7172a0
Thu Sep 07 2023 06:12:33.121018 [Info] - Trying to match desired rate of 60.000000Hz.
Thu Sep 07 2023 06:12:33.121044 [Info] - 12 modes on display:
Thu Sep 07 2023 06:12:33.121062 [Info] - - 0: [email protected]
Thu Sep 07 2023 06:12:33.121077 [Info] - - 1: [email protected]
Thu Sep 07 2023 06:12:33.121092 [Info] - - 2: [email protected]
Thu Sep 07 2023 06:12:33.121107 [Info] - - 3: [email protected]
Thu Sep 07 2023 06:12:33.121122 [Info] - - 4: [email protected]
Thu Sep 07 2023 06:12:33.121136 [Info] - - 5: [email protected]
Thu Sep 07 2023 06:12:33.121151 [Info] - - 6: [email protected]
Thu Sep 07 2023 06:12:33.121165 [Info] - - 7: [email protected]
Thu Sep 07 2023 06:12:33.121179 [Info] - - 8: [email protected]
Thu Sep 07 2023 06:12:33.121193 [Info] - - 9: [email protected]
Thu Sep 07 2023 06:12:33.121208 [Info] - - 10: [email protected]
Thu Sep 07 2023 06:12:33.121223 [Info] - - 11: [email protected]
Thu Sep 07 2023 06:12:33.121237 [Info] - Selected mode 0.
Thu Sep 07 2023 06:12:33.545637 [Info] - Acquired xlib display!

To Reproduce
Steps to reproduce the behavior:

  1. Start SteamVR
  2. SteamVR fails to aquire display in normal use, or succeeds in selecting the wrong display

Expected behavior
vrcompositor selects the VR Headset on HDMI-0, not monitor on DP-0

System Information (please complete the following information):

  • Distribution: FC38

  • SteamVR version: 1.27.5

  • Steam client version:current

  • Opted into Steam client beta?: Yes

  • Graphics driver version:
    -+---------------------------------------------------------------------------------------+
    | NVIDIA-SMI 535.104.05 Driver Version: 535.104.05 CUDA Version: 12.2 |
    |-----------------------------------------+----------------------+----------------------+
    | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
    | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
    | | | MIG M. |
    |=========================================+======================+======================|
    | 0 NVIDIA GeForce RTX 3070 Off | 00000000:2B:00.0 On | N/A |
    | 0% 54C P8 26W / 240W | 3189MiB / 8192MiB | 28% Default |
    | | | N/A |
    +-----------------------------------------+----------------------+----------------------+

  • Gist for SteamVR System Information:
    https://gist.github.com/mSparks43/330ace60b5b7c6e8753f64ca1aace529

Additional context
This only became an issue as of 1.27 now SteamVR is forcing direct mode.

Nothing extracted yet.