From 26f087c90634001f28bd61fb2825159522de922e Mon Sep 17 00:00:00 2001 From: mitsuami-megane <173323057+mitsuami-megane@users.noreply.github.com> Date: Tue, 7 Oct 2025 16:24:48 +0900 Subject: [PATCH 1/2] update ja locale --- locale/ja/wivrn-dashboard.po | 122 +++++++++++++++++++++-------------- 1 file changed, 75 insertions(+), 47 deletions(-) diff --git a/locale/ja/wivrn-dashboard.po b/locale/ja/wivrn-dashboard.po index 270858f4..b23e94ee 100644 --- a/locale/ja/wivrn-dashboard.po +++ b/locale/ja/wivrn-dashboard.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: WiVRn-dashboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-09-29 08:35+0900\n" +"POT-Creation-Date: 2025-10-06 21:24+0900\n" "PO-Revision-Date: 2025-04-10 07:14+0900\n" "Last-Translator: Mitsuami Megane \n" "Language-Team: Japanese <>\n" @@ -78,8 +78,8 @@ msgstr "最新リリースを確認中" msgid "No precompiled APK is available for this version." msgstr "現バージョンに対応したAPKはダウンロード不可です。" -#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:259 -#: dashboard/qml/Main.qml:342 +#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:286 +#: dashboard/qml/Main.qml:369 #, kde-format msgid "ADB is not installed." msgstr "ADBはインストールされていません。" @@ -100,7 +100,7 @@ msgstr "" "blob/master/docs/building.md#client-headset\">マニュアルをご覧ください。" #: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36 -#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:59 +#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:67 #, kde-format msgctxt "go back to the home page" msgid "Back" @@ -131,7 +131,7 @@ msgstr "WiVRnをインストールする" msgid "Headset statistics" msgstr "HMDの統計情報" -#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:355 +#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:374 #, kde-format msgid "Headsets" msgstr "HMD" @@ -192,7 +192,7 @@ msgstr "削除" msgid "Pairing enabled, PIN: %1" msgstr "ペアリング可能。暗証番号:%1" -#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:42 +#: dashboard/qml/HeadsetsPage.qml:148 dashboard/qml/TroubleshootPage.qml:50 #, kde-format msgid "Disable pairing" msgstr "ペアリングを無効化する" @@ -207,7 +207,7 @@ msgstr "HMDでWiVRnアプリを起動し、暗証版語を入力してくださ msgid "Enable pairing to allow your headset to connect to this computer" msgstr "ペアリングを有効化し、HMDをパソコンに接続しましょう" -#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:37 +#: dashboard/qml/HeadsetsPage.qml:171 dashboard/qml/TroubleshootPage.qml:45 #, kde-format msgid "Enable pairing" msgstr "ペアリングを有効化する" @@ -217,28 +217,33 @@ msgstr "ペアリングを有効化する" msgid "Pair a new headset" msgstr "新しいHMDをペアリングする" -#: dashboard/qml/Main.qml:107 +#: dashboard/qml/Main.qml:128 #, kde-format msgid "The server does not have CAP_SYS_NICE capabilities." msgstr "サーバーはCAP_SYS_NICE権限がありません。" -#: dashboard/qml/Main.qml:114 +#: dashboard/qml/Main.qml:135 dashboard/qml/Main.qml:149 #, kde-format msgid "Fix it" msgstr "直す" -#: dashboard/qml/Main.qml:123 +#: dashboard/qml/Main.qml:143 +#, kde-format +msgid "Firewall may not allow port 9757." +msgstr "ファイヤーウォールでポート9757が開いていないようです。" + +#: dashboard/qml/Main.qml:158 #, kde-format msgid "The CAP_SYS_NICE capability will be used when the server is restarted." msgstr "CAP_SYS_NICE権限を使うため、サーバーの再起動が必要です。" -#: dashboard/qml/Main.qml:129 +#: dashboard/qml/Main.qml:164 #, kde-format msgctxt "restart the server" msgid "Restart now" msgstr "今すぐ再起動する" -#: dashboard/qml/Main.qml:140 +#: dashboard/qml/Main.qml:175 #, kde-format msgid "" "NVIDIA GPUs require at least driver version 565.77, current version is %1" @@ -246,12 +251,12 @@ msgstr "" "NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:" "%1" -#: dashboard/qml/Main.qml:146 +#: dashboard/qml/Main.qml:181 #, kde-format msgid "More info" msgstr "詳細情報" -#: dashboard/qml/Main.qml:154 +#: dashboard/qml/Main.qml:189 #, kde-format msgid "" "Use the Mesa (radv) driver for AMD GPUs\n" @@ -260,7 +265,7 @@ msgstr "" "AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n" "AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません" -#: dashboard/qml/Main.qml:162 +#: dashboard/qml/Main.qml:197 #, kde-format msgid "" "No OpenVR compatibility detected, Steam games won't be able to load VR.\n" @@ -269,75 +274,75 @@ msgstr "" "OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n" "xrizerかOpenCompositeをインストールしましょう。" -#: dashboard/qml/Main.qml:171 +#: dashboard/qml/Main.qml:206 #, kde-format msgid "Server failed to start" msgstr "サーバーは起動できませんでした" -#: dashboard/qml/Main.qml:177 dashboard/qml/TroubleshootPage.qml:77 +#: dashboard/qml/Main.qml:212 dashboard/qml/TroubleshootPage.qml:85 #, kde-format msgid "Open server logs" msgstr "ログを見る" -#: dashboard/qml/Main.qml:214 +#: dashboard/qml/Main.qml:241 #, kde-format msgctxt "whether the server is running, displayed in front of a checkbox" msgid "Running" msgstr "作動中" -#: dashboard/qml/Main.qml:229 +#: dashboard/qml/Main.qml:256 #, kde-format msgctxt "whether pairing is enabled, displayed in front of a checkbox" msgid "Pairing" msgstr "ペアリング" -#: dashboard/qml/Main.qml:242 +#: dashboard/qml/Main.qml:269 #, kde-format msgid "PIN: %1" msgstr "暗証番号:%1" -#: dashboard/qml/Main.qml:250 dashboard/qml/WizardPage.qml:374 +#: dashboard/qml/Main.qml:277 dashboard/qml/WizardPage.qml:374 #, kde-format msgid "Connect by USB" msgstr "USBで接続する" -#: dashboard/qml/Main.qml:261 +#: dashboard/qml/Main.qml:288 #, kde-format msgid "No headset is connected or your headset is not in developer mode." msgstr "HMDが接続されていないか、HMDが開発者モードになっていません。" -#: dashboard/qml/Main.qml:269 +#: dashboard/qml/Main.qml:296 #, kde-format msgid "Disconnect" msgstr "切断する" -#: dashboard/qml/Main.qml:286 +#: dashboard/qml/Main.qml:313 #, kde-format msgctxt "automatically started application" msgid "Application" msgstr "アプリ" -#: dashboard/qml/Main.qml:307 +#: dashboard/qml/Main.qml:334 #, kde-format msgid "Steam information" msgstr "ストリーム情報" -#: dashboard/qml/Main.qml:326 +#: dashboard/qml/Main.qml:353 #, kde-format msgid "Wizard" msgstr "セットアップウィザード" -#: dashboard/qml/Main.qml:333 +#: dashboard/qml/Main.qml:360 #, kde-format msgid "Install the app" msgstr "アプリをインストール" -#: dashboard/qml/Main.qml:362 dashboard/qml/SettingsPage.qml:14 +#: dashboard/qml/Main.qml:381 dashboard/qml/SettingsPage.qml:14 #, kde-format msgid "Settings" msgstr "設定" -#: dashboard/qml/Main.qml:369 dashboard/qml/TroubleshootPage.qml:10 +#: dashboard/qml/Main.qml:388 dashboard/qml/TroubleshootPage.qml:10 #, kde-format msgid "Troubleshoot" msgstr "問題解決" @@ -638,21 +643,35 @@ msgstr "Metaの場合、ライブラリの「提供元不明」タブをご覧 msgid "I cannot see my computer in the WiVRn app" msgstr "WiVRnアプリでパソコンが表示されない" -#: dashboard/qml/TroubleshootPage.qml:25 dashboard/qml/WizardPage.qml:393 +#: dashboard/qml/TroubleshootPage.qml:25 #, kde-format -msgid "" -"If the server is not visible or the connection fails, check that port 5353 " -"(UDP) and 9757 (TCP and UDP) are open in your firewall." -msgstr "" -"サーバーが見えない・サーバーに接続できない場合、ファイアウォールのポート5353" -"(UDP)と9757(TCPとUDP両方)を開いてみましょう。" +msgid "If you have a firewall, make sure that port 5353/UDP is open." +msgstr "ファイヤーウォールでUDPポート5353が開いていることを確認しましょう。" #: dashboard/qml/TroubleshootPage.qml:28 #, kde-format +msgid "Connecting remains stuck on \"Connection to ...\"" +msgstr "ずっと「接続中」" + +#: dashboard/qml/TroubleshootPage.qml:29 dashboard/qml/TroubleshootPage.qml:33 +#, kde-format +msgid "" +"If you have a firewall, make sure that port 9757 is open both for TCP and " +"UDP." +msgstr "" +"ファイヤーウォールでポート9757がTCPとUDPの両方で開いていることを確認しましょう。" + +#: dashboard/qml/TroubleshootPage.qml:32 +#, kde-format +msgid "Connection fails with \"no route to host\"" +msgstr "「no route to host」で接続できない" + +#: dashboard/qml/TroubleshootPage.qml:36 +#, kde-format msgid "I have an \"Incompatible WiVRn server\" error on my headset" msgstr "HMDに「互換性のないサーバー」" -#: dashboard/qml/TroubleshootPage.qml:29 +#: dashboard/qml/TroubleshootPage.qml:37 #, kde-format msgid "" "

The version of the headset app and the server on your computer must match." @@ -663,12 +682,12 @@ msgstr "" "p>

" -#: dashboard/qml/TroubleshootPage.qml:32 +#: dashboard/qml/TroubleshootPage.qml:40 #, kde-format msgid "I have a \"Pairing is disabled\" error" msgstr "HMDに「ペアリングが無効です」" -#: dashboard/qml/TroubleshootPage.qml:33 +#: dashboard/qml/TroubleshootPage.qml:41 #, kde-format msgid "" "If you have reinstalled the server or the client or if you want to connect " @@ -677,22 +696,22 @@ msgstr "" "サーバーかクライエント更インストールした場合、または別のHMDを接続したい場合、" "ペアリングを有効化しましょう。" -#: dashboard/qml/TroubleshootPage.qml:33 +#: dashboard/qml/TroubleshootPage.qml:41 #, kde-format msgid "Pairing is currently enabled with PIN %1." msgstr "ペアリングは有効です。暗証番号:%1" -#: dashboard/qml/TroubleshootPage.qml:33 +#: dashboard/qml/TroubleshootPage.qml:41 #, kde-format msgid "Pairing is currently disabled." msgstr "ペアリングは無効です。" -#: dashboard/qml/TroubleshootPage.qml:49 +#: dashboard/qml/TroubleshootPage.qml:57 #, kde-format msgid "I have no sound on my headset" msgstr "HMDから音が出ない" -#: dashboard/qml/TroubleshootPage.qml:50 dashboard/qml/WizardPage.qml:441 +#: dashboard/qml/TroubleshootPage.qml:58 dashboard/qml/WizardPage.qml:441 #, kde-format msgid "" "When the headset is connected, select \"WiVRn\" as the default audio output " @@ -700,12 +719,12 @@ msgid "" msgstr "" "HMDが接続した状態で、デフォルト音声出力デバイスを「WiVRn」に設定しましょう。" -#: dashboard/qml/TroubleshootPage.qml:67 +#: dashboard/qml/TroubleshootPage.qml:75 #, kde-format msgid "Report an issue" msgstr "問題を報告する" -#: dashboard/qml/TroubleshootPage.qml:72 +#: dashboard/qml/TroubleshootPage.qml:80 #, kde-format msgid "Ask on Discord" msgstr "Discordで聞いてみる" @@ -872,6 +891,15 @@ msgstr "USBで接続するには、「USBで接続する」ボタンをクリッ msgid "Troubleshooting" msgstr "問題解決" +#: dashboard/qml/WizardPage.qml:393 +#, kde-format +msgid "" +"If the server is not visible or the connection fails, check that port 5353 " +"(UDP) and 9757 (TCP and UDP) are open in your firewall." +msgstr "" +"サーバーが見えない・サーバーに接続できない場合、ファイアウォールのポート5353" +"(UDP)と9757(TCPとUDPの両方)が開いていることを確認しましょう。" + #: dashboard/qml/WizardPage.qml:406 #, kde-format msgid "Skip" @@ -904,12 +932,12 @@ msgstr "完了" msgid "Finished" msgstr "完了しました" -#: dashboard/wivrn_server.cpp:593 +#: dashboard/wivrn_server.cpp:594 #, kde-format msgid "xrizer" msgstr "xrizer" -#: dashboard/wivrn_server.cpp:594 +#: dashboard/wivrn_server.cpp:595 #, kde-format msgid "Open Composite" msgstr "OpenComposite" From c6e05754c841c4bd2d0cef7cf65deb33ec23585c Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:00:31 +0900 Subject: [PATCH 2/2] update monado --- flake.nix | 2 +- monado-rev | 2 +- .../0001-c-multi-early-wake-of-compositor.patch | 6 +++--- .../0002-ipc-server-Always-listen-to-stdin.patch | 6 +++--- patches/monado/0003-Use-extern-socket-fd.patch | 6 +++--- ...ange-environment-blend-mode-selection-logic.patch | 6 +++--- .../monado/0005-st-oxr-forward-0-refresh-rate.patch | 6 +++--- .../0006-Replace-distortion-with-foveation.patch | 10 +++++----- .../0007-Limit-foveation-samples-per-pixel.patch | 6 +++--- ...-ipc-Add-callbacks-and-unify-main-functions.patch | 6 +++--- ...steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch | 4 ++-- server/driver/wivrn_comp_target.cpp | 12 ++++++------ server/utils/wivrn_vk_bundle.cpp | 8 ++++---- 13 files changed, 40 insertions(+), 40 deletions(-) diff --git a/flake.nix b/flake.nix index 5a595c74..f4204234 100644 --- a/flake.nix +++ b/flake.nix @@ -58,7 +58,7 @@ # Keep in sync with CMakeLists.txt monado rev rev = builtins.readFile ./monado-rev; # Nix will output the correct hash when it doesn't match - hash = "sha256-cVXP/iveB77Sp+TArE5ZYm3Xd/PkjN0keuNJY8GU0f0="; + hash = "sha256-0ALB9eLY4NAUqNOYZMwpvYnLxVpHsQDJc1er8Txdezs="; }; }; diff --git a/monado-rev b/monado-rev index 9b23a9ec..7ca13e25 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -1cafc3a42dafa126227b7782a04fdcb62f1e403e +06e62fc7d9c5cbcbc43405bb86dfde3bf01ce043 diff --git a/patches/monado/0001-c-multi-early-wake-of-compositor.patch b/patches/monado/0001-c-multi-early-wake-of-compositor.patch index fe99d5f3..8a8e2bbe 100644 --- a/patches/monado/0001-c-multi-early-wake-of-compositor.patch +++ b/patches/monado/0001-c-multi-early-wake-of-compositor.patch @@ -1,7 +1,7 @@ -From 104babdb5929b053824a0ac4436a4a1a25d99259 Mon Sep 17 00:00:00 2001 +From 3939fa120128ded9ff85fe23c7f5a2694a016fbe Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 22 Oct 2024 15:23:19 +0200 -Subject: [PATCH 1/8] c/multi: early wake of compositor +Subject: [PATCH 1/9] c/multi: early wake of compositor --- .../compositor/multi/comp_multi_compositor.c | 14 +++++++++ @@ -128,5 +128,5 @@ index cf8e2e525..94413b090 100644 //! @todo Make the clients not go from IDLE to READY before we have completed a first frame. // Make sure there is at least some sort of valid frame data here. -- -2.51.0 +2.49.1 diff --git a/patches/monado/0002-ipc-server-Always-listen-to-stdin.patch b/patches/monado/0002-ipc-server-Always-listen-to-stdin.patch index de761cee..d2d39fbd 100644 --- a/patches/monado/0002-ipc-server-Always-listen-to-stdin.patch +++ b/patches/monado/0002-ipc-server-Always-listen-to-stdin.patch @@ -1,7 +1,7 @@ -From 67ce4429a092565582c0932413b1a132e6a66ea4 Mon Sep 17 00:00:00 2001 +From edabcaa4d6723a61e01648676186a2d3b86796bd Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 2 Apr 2024 17:14:42 +0200 -Subject: [PATCH 2/8] ipc/server: Always listen to stdin +Subject: [PATCH 2/9] ipc/server: Always listen to stdin --- src/xrt/ipc/server/ipc_server_mainloop_linux.c | 2 +- @@ -21,5 +21,5 @@ index d364fbed3..ad6b473b7 100644 // default. // This polls stdin. -- -2.51.0 +2.49.1 diff --git a/patches/monado/0003-Use-extern-socket-fd.patch b/patches/monado/0003-Use-extern-socket-fd.patch index 3fbbd656..65b3974c 100644 --- a/patches/monado/0003-Use-extern-socket-fd.patch +++ b/patches/monado/0003-Use-extern-socket-fd.patch @@ -1,7 +1,7 @@ -From 9a4aee03233c05306e252c6cf33543d3a64fff6d Mon Sep 17 00:00:00 2001 +From e399684882d5c76e71a11d3ea4075f89457a0e57 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 8 Oct 2024 22:13:15 +0200 -Subject: [PATCH 3/8] Use extern socket fd +Subject: [PATCH 3/9] Use extern socket fd --- src/xrt/ipc/server/ipc_server_mainloop_linux.c | 8 ++++++++ @@ -34,5 +34,5 @@ index ad6b473b7..ea6fad65b 100644 // We may have been launched with socket activation int num_fds = sd_listen_fds(0); -- -2.51.0 +2.49.1 diff --git a/patches/monado/0004-change-environment-blend-mode-selection-logic.patch b/patches/monado/0004-change-environment-blend-mode-selection-logic.patch index e3f1227e..27d607a1 100644 --- a/patches/monado/0004-change-environment-blend-mode-selection-logic.patch +++ b/patches/monado/0004-change-environment-blend-mode-selection-logic.patch @@ -1,7 +1,7 @@ -From 4435e995c0ced6d670167256cad69b0de1f72e16 Mon Sep 17 00:00:00 2001 +From 780d6f00025c4499008f4acfffb63475b52657c2 Mon Sep 17 00:00:00 2001 From: galister <85970-galister@users.noreply.gitlab.freedesktop.org> Date: Sat, 23 Nov 2024 02:42:12 +0900 -Subject: [PATCH 4/8] change environment blend mode selection logic +Subject: [PATCH 4/9] change environment blend mode selection logic --- src/xrt/compositor/multi/comp_multi_system.c | 26 +++++++++++++------- @@ -53,5 +53,5 @@ index 94413b090..0d958c3af 100644 } -- -2.51.0 +2.49.1 diff --git a/patches/monado/0005-st-oxr-forward-0-refresh-rate.patch b/patches/monado/0005-st-oxr-forward-0-refresh-rate.patch index 2ffae083..c5966d0d 100644 --- a/patches/monado/0005-st-oxr-forward-0-refresh-rate.patch +++ b/patches/monado/0005-st-oxr-forward-0-refresh-rate.patch @@ -1,7 +1,7 @@ -From cb1191f81a027972d050f9f30a0e418a31b35f5a Mon Sep 17 00:00:00 2001 +From 2d431f95802fad68a2fb38ddcae91766751a63a8 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 15 Mar 2025 22:19:48 +0100 -Subject: [PATCH 5/8] st/oxr: forward 0 refresh rate +Subject: [PATCH 5/9] st/oxr: forward 0 refresh rate --- src/xrt/state_trackers/oxr/oxr_api_session.c | 6 +----- @@ -29,5 +29,5 @@ index 9c5889f12..c4cdaf8c3 100644 if ((int)(displayRefreshRate * 100.0f) == (int)(sess->sys->xsysc->info.refresh_rates_hz[i] * 100.0f)) { found = true; -- -2.51.0 +2.49.1 diff --git a/patches/monado/0006-Replace-distortion-with-foveation.patch b/patches/monado/0006-Replace-distortion-with-foveation.patch index a4c9c873..fce8489c 100644 --- a/patches/monado/0006-Replace-distortion-with-foveation.patch +++ b/patches/monado/0006-Replace-distortion-with-foveation.patch @@ -1,7 +1,7 @@ -From e22cf0edf3abedc59e98416ac4d62e9253d6ddd8 Mon Sep 17 00:00:00 2001 +From 97400e9b24957b88a75a1e79b59bcbba0e22fc7f Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 11 Sep 2024 22:56:29 +0200 -Subject: [PATCH 6/8] Replace distortion with foveation +Subject: [PATCH 6/9] Replace distortion with foveation --- src/xrt/compositor/CMakeLists.txt | 4 +- @@ -41,7 +41,7 @@ index 1ba5ec438..eb068f5fc 100644 render/render_interface.h render/render_resources.c diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c -index c5ec9e7de..fecc368a8 100644 +index 9cc7b63cc..6d08db7da 100644 --- a/src/xrt/compositor/main/comp_renderer.c +++ b/src/xrt/compositor/main/comp_renderer.c @@ -936,7 +936,8 @@ dispatch_compute(struct comp_renderer *r, @@ -623,7 +623,7 @@ index d5d2bc4cb..d74ec78dd 100644 diff --git a/src/xrt/compositor/render/render_resources.c b/src/xrt/compositor/render/render_resources.c -index 6e8cece0d..95cd86b37 100644 +index fba654902..c0824108e 100644 --- a/src/xrt/compositor/render/render_resources.c +++ b/src/xrt/compositor/render/render_resources.c @@ -184,14 +184,15 @@ init_mesh_ubo_buffers(struct vk_bundle *vk, struct render_buffer ubo[XRT_MAX_VIE @@ -1288,5 +1288,5 @@ index 4e20b32f0..69429dc97 100644 d->do_timewarp); // } -- -2.51.0 +2.49.1 diff --git a/patches/monado/0007-Limit-foveation-samples-per-pixel.patch b/patches/monado/0007-Limit-foveation-samples-per-pixel.patch index 61413a14..51c10df4 100644 --- a/patches/monado/0007-Limit-foveation-samples-per-pixel.patch +++ b/patches/monado/0007-Limit-foveation-samples-per-pixel.patch @@ -1,7 +1,7 @@ -From 6d3a2857d6495e89b4e85adc752f31c4d1ef9665 Mon Sep 17 00:00:00 2001 +From 295a815dfd6654db06f17f41ef1d0068ea88c439 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 31 Aug 2025 17:05:49 +0200 -Subject: [PATCH 7/8] Limit foveation samples per pixel +Subject: [PATCH 7/9] Limit foveation samples per pixel --- src/xrt/compositor/shaders/distortion.comp | 12 +++++++++--- @@ -42,5 +42,5 @@ index cd1828ac9..41de849e6 100644 imageStore(luma, ivec3(offset.x + ix, offset.y + iy, 0), vec4(colour.x)); -- -2.51.0 +2.49.1 diff --git a/patches/monado/0008-ipc-Add-callbacks-and-unify-main-functions.patch b/patches/monado/0008-ipc-Add-callbacks-and-unify-main-functions.patch index 854ac1fe..8025a0b7 100644 --- a/patches/monado/0008-ipc-Add-callbacks-and-unify-main-functions.patch +++ b/patches/monado/0008-ipc-Add-callbacks-and-unify-main-functions.patch @@ -1,7 +1,7 @@ -From e6a73b6e07465ea7efc9d7c39ed7e817a4de4242 Mon Sep 17 00:00:00 2001 +From aeae876d61ac0883f974d9cee6a6f54b14536ec3 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 15 Nov 2024 22:51:32 +0000 -Subject: [PATCH 8/8] ipc: Add callbacks and unify main functions +Subject: [PATCH 8/9] ipc: Add callbacks and unify main functions --- src/xrt/ipc/server/ipc_server_interface.h | 58 +++++++++---- @@ -308,5 +308,5 @@ index 45877803d..71c581da6 100644 struct ipc_server *server = NULL; -- -2.51.0 +2.49.1 diff --git a/patches/monado/0009-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch b/patches/monado/0009-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch index bd432f0a..7aee4423 100644 --- a/patches/monado/0009-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch +++ b/patches/monado/0009-d-steamvr_lh-prevent-crash-on-vive-pro2-WiVRn.patch @@ -1,4 +1,4 @@ -From 9c8627778ec263f6443fe726de88ca84bace3b00 Mon Sep 17 00:00:00 2001 +From 095b92d70604164000e4d0a90d08827c39fa9d3e Mon Sep 17 00:00:00 2001 From: no name Date: Sun, 28 Sep 2025 11:33:10 +0200 Subject: [PATCH 9/9] d/steamvr_lh: prevent crash on vive pro2/WiVRn @@ -21,5 +21,5 @@ index 8a4c55ed4..723cbb196 100644 } -- -2.51.0 +2.49.1 diff --git a/server/driver/wivrn_comp_target.cpp b/server/driver/wivrn_comp_target.cpp index 7573c134..cc456034 100644 --- a/server/driver/wivrn_comp_target.cpp +++ b/server/driver/wivrn_comp_target.cpp @@ -305,7 +305,7 @@ static bool comp_wivrn_init_post_vulkan(struct comp_target * ct, uint32_t prefer cn->wivrn_bundle->device, { .flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer, - .queueFamilyIndex = vk->main_queue.family_index, + .queueFamilyIndex = vk->main_queue->family_index, }); cn->wivrn_bundle->name(cn->command_pool, "comp target command pool"); } @@ -545,7 +545,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct, if (cn->c->base.layer_accum.layer_count == 0 or not cn->cnx.get_offset()) { - scoped_lock lock(vk->queue_mutex); + scoped_lock lock(vk->main_queue->mutex); cn->wivrn_bundle->queue.submit(submit_info); cn->psc.images[index].status = pseudo_swapchain::status_t::free; return VK_SUCCESS; @@ -588,8 +588,8 @@ static VkResult comp_wivrn_present(struct comp_target * ct, .dstAccessMask = vk::AccessFlagBits::eMemoryWrite, .oldLayout = vk::ImageLayout::eTransferSrcOptimal, .newLayout = vk::ImageLayout::eVideoEncodeSrcKHR, - .srcQueueFamilyIndex = vk->main_queue.family_index, - .dstQueueFamilyIndex = vk->encode_queue.family_index, + .srcQueueFamilyIndex = vk->main_queue->family_index, + .dstQueueFamilyIndex = vk->encode_queue->family_index, .image = psc_image.image, .subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor, .baseMipLevel = 0, @@ -611,7 +611,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct, submit_info.setCommandBuffers(*command_buffer); { - scoped_lock lock(vk->queue_mutex); + scoped_lock lock(vk->main_queue->mutex); cn->wivrn_bundle->queue.submit(submit_info, *cn->psc.fence); for (auto & encoder: cn->encoders) { @@ -715,7 +715,7 @@ static void comp_wivrn_flush(struct comp_target * ct) }; { - scoped_lock lock(vk->queue_mutex); + scoped_lock lock(vk->main_queue->mutex); cn->wivrn_bundle->queue.submit(submit_info); } } diff --git a/server/utils/wivrn_vk_bundle.cpp b/server/utils/wivrn_vk_bundle.cpp index 088f77c3..425787fa 100644 --- a/server/utils/wivrn_vk_bundle.cpp +++ b/server/utils/wivrn_vk_bundle.cpp @@ -89,11 +89,11 @@ wivrn::wivrn_vk_bundle::wivrn_vk_bundle(vk_bundle & vk, std::span .vulkanApiVersion = VK_MAKE_VERSION(1, 3, 0), // FIXME: sync with wivrn_session.cpp }, vk.has_EXT_debug_utils), - queue(device, vk.main_queue.family_index, vk.main_queue.index), - queue_family_index(vk.main_queue.family_index), + queue(device, vk.main_queue->family_index, vk.main_queue->index), + queue_family_index(vk.main_queue->family_index), #ifdef VK_KHR_video_encode_queue - encode_queue(make_queue(device, vk.encode_queue.queue, vk.encode_queue.family_index, vk.encode_queue.index)), - encode_queue_family_index(vk.encode_queue.family_index), + encode_queue(make_queue(device, vk.encode_queue->queue, vk.encode_queue->family_index, vk.encode_queue->index)), + encode_queue_family_index(vk.encode_queue->family_index), #else encode_queue(nullptr), encode_queue_family_index(vk::QueueFamilyIgnored),