iVRy Driver for SteamVR

iVRy Driver for SteamVR

cheater Mar 12, 2020 @ 8:24am
Lens distortion issue in PSVR
Hi! I just got iVRy and I like it so far. However there's an issue that I am experiencing all the time. It seems that iVRy is made for people who set their screen to be very far away from the eyes. I use it very close. So the lens distortion seems to be wrong. If I turn my head to the right, e.g. the lower left corner stretches out towards the lower left. The lower right corner contracts too much. (same with the other corners / edges). It feels like if the axis of rotation of the camera was a little further forward or backward, this issue would disappear. Where can I set this in iVRy? Thanks!

I use iVRy in direct mode.

P.S. didn't include the diagnostic logs since it's probably unnecessary. But let me know if you need them.
< >
Showing 1-6 of 6 comments
iVRy  [developer] Mar 12, 2020 @ 10:04am 
The PSVR uses non-symmetrical lenses and Sony doesn't provide their distortion algorithm. So, the PSVR lens has been approximated over the years by many people experimenting. It's unlikely to ever be perfect unless Sony decides to opensource PSVR. There are some variables you can adjust by editing the 'steamvr.vrsettings' file in the 'config' folder of your Steam installation.

Add the following to the 'driver_ivry' section:

"psvrDistortionFactor" : 0.85,
"psvrDistortionScale" : 0.80,
"psvrDistortionHorzFov" : 0.18,
"psvrDistortionVertFov" : 0.34

making sure each line in the 'driver_ivry' section ends in a comma except the last line (back up the file if you think you may get this wrong, because SteamVR will delete the file contents if you mess it up). If you manage to get SteamVR to start up and shut down without deleting the file contents, then you can start experimenting with different values to see if you can find some combination that suits you better.

You will need to restart SteamVR after each change, as it only reads these values when it starts up (and doesn't like lens parameter changes while it is running). The values given above are the default values used if those fields aren't present in the 'driver_ivry' section. You will probably have better results if you leave the FOV values at default.
Last edited by iVRy; Mar 12, 2020 @ 10:05am
cheater Mar 12, 2020 @ 2:14pm 
Thanks a lot for the prompt response!

where can I read what other settings can be put in there? is there a doc for that?

"making sure each line in the 'driver_ivry' section ends in a comma except the last line (back up the file if you think you may get this wrong, because SteamVR will delete the file contents if you mess it up)." wow, this attention to detail is great. i really like it! thanks a lot! i'm a programmer so I know about json issues but i didn't know about the file deletion. great warning.
iVRy  [developer] Mar 13, 2020 @ 1:39am 
Originally posted by cheater00:
where can I read what other settings can be put in there? is there a doc for that?

It's not intended for the user to edit that file. The settings app is what you would use to change values there.
cheater Mar 13, 2020 @ 11:45am 
yeah, I'm just thinking about settings like those that can't be set from the settings app
CyberKevin Mar 16, 2020 @ 11:26am 
does the values you gave are like the previous distortion values ?
Cause I'm back and tried your update, it's nice, but this distrortion is just zoomed in, it makes sick easily and aiming things became a little nightmare :/

In the previous one, we had to adjust the PSVR to not see the little black border, but it was really 1:1 accurate in space, here it's way too difficult :/
iVRy  [developer] Mar 16, 2020 @ 11:56pm 
Originally posted by CyberKevin:
does the values you gave are like the previous distortion values ?

The previous distortion values had:

"psvrDistortionScale" : 0.86,
< >
Showing 1-6 of 6 comments
Per page: 1530 50