GPUOpen-LibrariesAndSDKs / Radeon-ReLive-VR

156 stars 19 forks source link

Polling of setting files. #99

Closed JamesDrummond closed 3 years ago

JamesDrummond commented 3 years ago

Windows 10 Radeon 21.2.3 Released 2/17/21 AMD Radeon RX 5700 AMD Ryzen 7 3800X

I do not have any VR devices and steamVR is not installed. Running windows process monitor(procmon.exe), I see that there are two files being created/read every second and never stops.

\AppData\Local\AMD\OpenVR\settings\settings.json \AppData\Local\AMD\OpenVR\settings\paired_devices.json

image

GennadiyAMD commented 3 years ago

@JamesDrummond - this is normal and is necessary for the Radeon Softeware UI to be aware of the external events like installation of SteamVR, etc that happen outside Radeon Software - unfortunately there's no other way to get notified about them other than monitoring the relevant files. But if this bothers you and you're not intending to use ReLive VR, you can safely delete or rename the c:\Program Files\AMD\WVR folder and this will stop. You will need to kill the RadeonSoftware.exe process in Windows Task Manager before you can delete/rename the WVR folder. Once you delete the WVR folder, simply start Radeon Software from the Windows Start menu or reboot. All VR streaming-related options will disappear from the General tab of Radeon Software and these files will no longer be monitored. Repeat the process if you reinstall the driver.

If you wish to re-enable ReLive VR, simply restore the c:\Program Files\AMD\WVR folder and restart Radeon Software.

Having said that, all that happens once a second is a check for the change of the timestamp on these two files, so the real impact of these activities is second to none.

JamesDrummond commented 3 years ago

@GennadiyAMD Thanks that worked. There should be an option to disable it through settings. Maybe right below Record Desktop a Record VR toggle. I have been in this same spot having to monitor files on Windows and I wish Windows could monitor files without polling like Unix can.

GennadiyAMD commented 3 years ago

@JamesDrummond - you're welcome! The option to disable it - I have mixed feelings about this. Most users of ReLive VR aren't programmers and having more options to tinker with that most users wouldn't understand the meaning of would make the experience more complex and confusing. We have to find the right balance between the more advanced and the less advanced users and with the UI, if we can't explain what a setting does in more than 3-4 words, it's too complex. And considering that the real performance impact of this check is almost zero on a modern and even a not-so-modern CPU... But I agree with you about Unix :)

max86Git commented 9 months ago

@GennadiyAMD , Thanks that worked for me too! 10% CPU used for nothing with an AMD 5900X. This will reduce my energy consumption by the way. 👍🏻