GPUOpen-LibrariesAndSDKs / Radeon-ReLive-VR

157 stars 19 forks source link

SteamVR stuck at 75hz #125

Open Dispenserim opened 2 years ago

Dispenserim commented 2 years ago

I've an Oculus Quest 2 and SteamVR is at 75hz; I'd like to run it at 90hz, but can't find where to change the refresh rate on the headset in Relive VR. 120hz experimental mode is disabled.

specs: 3900x 32gb ram 6800 xt 22.2.1 driver windows 10

log file: AMDWirelessVR.log

GennadiyAMD commented 2 years ago

You are running at 90fps: 2-02-23 00:27:51.218 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.33, client 20.18, server 19.41, encoder 8.04, network 7.74, decoder 13.84, fps: 89.82 bandwidth: 91.57 Mbps 2022-02-23 00:27:54.218 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 49.33, client 21.92, server 19.44, encoder 8.07, network 7.98, decoder 13.78, fps: 88.27 bandwidth: 99.97 Mbps 2022-02-23 00:27:57.222 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.82, client 20.49, server 19.45, encoder 8.11, network 7.89, decoder 13.86, fps: 89.83 bandwidth: 86.07 Mbps 2022-02-23 00:28:00.227 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.82, client 20.49, server 19.45, encoder 8.11, network 7.89, decoder 13.86, fps: 89.83 bandwidth: 91.82 Mbps 2022-02-23 00:28:03.234 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.65, client 20.44, server 19.39, encoder 8.08, network 7.81, decoder 13.35, fps: 89.92 bandwidth: 90.47 Mbps 2022-02-23 00:28:06.240 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 46.92, client 19.74, server 19.37, encoder 8.07, network 7.81, decoder 13.39, fps: 89.95 bandwidth: 94.61 Mbps 2022-02-23 00:28:09.248 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 46.37, client 19.14, server 19.42, encoder 8.11, network 7.81, decoder 12.94, fps: 89.79 bandwidth: 92.52 Mbps 2022-02-23 00:28:12.257 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 46.37, client 19.14, server 19.42, encoder 8.11, network 7.81, decoder 12.94, fps: 89.79 bandwidth: 91.07 Mbps 2022-02-23 00:28:15.262 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.77, client 20.32, server 19.48, encoder 8.10, network 7.97, decoder 13.41, fps: 89.92 bandwidth: 93.69 Mbps 2022-02-23 00:28:15.557 20CC [DisplayDriver] Info: SubmitLayer() FindID failed 2022-02-23 00:28:15.557 20CC [DisplayDriver] Info: SubmitLayer() layer=0 came with old id=0, lastid=16455688955366308 2022-02-23 00:28:18.270 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 50.35, client 22.78, server 19.56, encoder 8.04, network 8.00, decoder 13.87, fps: 86.87 bandwidth: 91.97 Mbps 2022-02-23 00:28:21.278 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 49.11, client 21.63, server 19.60, encoder 8.02, network 7.89, decoder 14.38, fps: 89.90 bandwidth: 88.61 Mbps 2022-02-23 00:28:24.280 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 49.11, client 21.63, server 19.60, encoder 8.02, network 7.89, decoder 14.38, fps: 89.90 bandwidth: 91.95 Mbps 2022-02-23 00:28:27.287 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 48.09, client 20.15, server 19.76, encoder 8.02, network 8.18, decoder 14.18, fps: 89.75 bandwidth: 90.34 Mbps 2022-02-23 00:28:30.289 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 48.21, client 20.88, server 19.32, encoder 7.99, network 8.01, decoder 14.30, fps: 90.10 bandwidth: 95.48 Mbps 2022-02-23 00:28:33.292 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.68, client 20.37, server 19.30, encoder 7.95, network 8.01, decoder 13.91, fps: 89.96 bandwidth: 91.96 Mbps 2022-02-23 00:28:36.303 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.68, client 20.37, server 19.30, encoder 7.95, network 8.01, decoder 13.91, fps: 89.96 bandwidth: 93.19 Mbps 2022-02-23 00:28:39.308 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.86, client 20.58, server 19.61, encoder 7.98, network 7.66, decoder 13.97, fps: 89.90 bandwidth: 92.00 Mbps 2022-02-23 00:28:42.311 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 49.28, client 22.09, server 19.56, encoder 8.03, network 7.63, decoder 15.32, fps: 89.99 bandwidth: 75.38 Mbps 2022-02-23 00:28:45.318 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 52.38, client 24.26, server 19.75, encoder 8.04, network 8.36, decoder 18.56, fps: 89.91 bandwidth: 106.82 Mbps 2022-02-23 00:28:48.322 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 52.38, client 24.26, server 19.75, encoder 8.04, network 8.36, decoder 18.56, fps: 89.91 bandwidth: 94.66 Mbps 2022-02-23 00:28:51.323 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 48.70, client 21.44, server 19.39, encoder 8.01, network 7.87, decoder 14.46, fps: 89.80 bandwidth: 92.51 Mbps 2022-02-23 00:28:54.324 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 49.54, client 21.56, server 19.88, encoder 8.00, network 8.11, decoder 14.75, fps: 89.92 bandwidth: 91.85 Mbps 2022-02-23 00:28:57.328 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.99, client 20.63, server 19.38, encoder 8.01, network 7.99, decoder 14.88, fps: 89.61 bandwidth: 92.24 Mbps 2022-02-23 00:29:00.331 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 49.32, client 21.58, server 19.41, encoder 7.99, network 8.33, decoder 14.75, fps: 89.90 bandwidth: 92.61 Mbps 2022-02-23 00:29:03.331 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 49.32, client 21.58, server 19.41, encoder 7.99, network 8.33, decoder 14.75, fps: 89.90 bandwidth: 92.37 Mbps 2022-02-23 00:29:06.334 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.15, client 19.66, server 19.38, encoder 7.99, network 8.11, decoder 14.01, fps: 89.96 bandwidth: 91.79 Mbps 2022-02-23 00:29:09.335 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 49.19, client 22.05, server 19.34, encoder 8.00, network 7.81, decoder 14.66, fps: 89.93 bandwidth: 93.20 Mbps 2022-02-23 00:29:12.337 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 48.11, client 20.65, server 19.41, encoder 8.01, network 8.06, decoder 14.33, fps: 89.88 bandwidth: 92.09 Mbps 2022-02-23 00:29:15.346 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 48.11, client 20.65, server 19.41, encoder 8.01, network 8.06, decoder 14.33, fps: 89.88 bandwidth: 91.31 Mbps 2022-02-23 00:29:18.355 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 47.77, client 20.61, server 19.35, encoder 8.00, network 7.82, decoder 14.60, fps: 89.98 bandwidth: 93.37 Mbps

Then at some moment the decoder in the headset slows down, most likely due to power management in the headset: 2022-02-23 00:29:24.114 39B4 [IServerTrackedDeviceProviderImpl] Info: QoS is changing fps to 79.11 fps 2022-02-23 00:29:24.363 14D0 [IServerTrackedDeviceProviderImpl] Info: Average latency (ms): full 73.73, client 44.44, server 20.23, encoder 8.18, network 9.06, decoder 18.20, fps: 74.75 bandwidth: 51.40 Mbps

This causes a spike in latency and quality of service tries to lower the fps.

Try lowering the resolution as decode time is directly proportional to the number of pixels in the image and at 1920 you're running awfully close to the limit of what the decoder can do.

You don't have to match the resolution of the stream to the resolution of the panel - due to lens distortion correction you still have the scaling and the warping, it is never a one-to-one match, not like a computer monitor where the native resolution gives you the best image quality.

Dispenserim commented 2 years ago

Gotcha, thanks!