Support `XR_FB_display_refresh_rate` for changing refresh rate from client apps on steam frame (and desktop)

未关闭
#1,927 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
cpp
领域
api, mobile-dev

调研方向

Start by reviewing OpenVR's existing support for the XR_FB_display_refresh_rate extension and how Steam Frame refresh-rate preferences are handled. The issue proposes either allowing client code to change the rate or making vrpreferences.json work for non-Steam games, so the desired behavior needs clarification and design before implementation.

由索引模型根据 Issue 内容生成。

描述

Though the steam frame supports the XR_FB_display_refresh_rate OpenXR extension it only ever returns the current display rate and doesn't allow changing it to any other value via code. Instead that must be done by having the user by dig 3 pages deep into the game specific settings UI in the steam overlay.

The recommended way for developers to set a preferred refresh rate for their game is via vrpreferences.json, but that only applies to games distributed by steam itself. Adding a non-steam game to the library with a vrpreferences.json alongside it does nothing.

As a developer making a game that can easily run on the frame at more than the default 72hz my only options seem to be "pay to deploy via steam" or "prompt and coach the user into opening an navigating the fiddly game specific UI and selecting exactly the right refresh rate".

Please add full support for changing the refresh rate from game code or at least give us a way to have vrpreferences.json work for non-steam games too.

主要语言
C++
星标
6.7k
派生
1.3k
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ValveSoftware/openvr 的其他 Issue

查看 ValveSoftware/openvr 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。