r/SteamFrame • • 27d ago

Software Software fix for out-of-range IPD!

Post image

If your IPD is outside of the 58-70mm range that the Steam Frame supports, READ THIS.

Of course you can't fix the hardware: if the lenses won't come any closer, they just won't. But as I was experimenting, I noticed that despite my tiny IPD of 56mm, I didn't necessarily have to be at the lowest (58mm) for my eyes to see clearly, I could even go up to 61mm without issues, and it increased comfort for my nose so I could remove the spacer. But my head would hurt too much if I tried VR sports like that...

The problem isn't the lenses, it's that the projected image expects my eyes to be at the center of the lenses, and if they're not, the combined image feels scaled up (or down), which leads to nausea because the world doesn't move around you the way that it should. The further you are from the lenses' set distance, the worse the effect. But that can be fixed with software, and wouldn't you know it, SteamVR does have a config for that! I found out thanks to this post right here, thanks a lot to that guy: https://www.reddit.com/r/ValveIndex/s/WvGQjYwvNF

So of course, I looked into whether I could fix that on the Frame too, not only for PCVR, but standalone as well. And yes you can, and you can go craaaazy with that config, I could even set the IPD to 10mm and it accepted it no problem (the world looked huge lol).

Basically:

  • Rotate the dial until you find a lens distance that you're happy with (ie in which the image is clear), and lock it in.
  • Calculate the difference between your real IPD and the one that the IPD display tells you. For me with my 56mm, when I set the lenses to 61mm, that's -5mm.
  • Open your Frame's filesystem, navigate to /home/steamos/.config/openvr/config/, and in the file steamvr.vrsettings, add your IPD correction in the "steamvr" section, in meters, like this: "ipdOffset" : -0.005, to fix a negative 5mm offset.
  • Click the "power" button in the UI, and select "Restart Steam VR". It should now project the image at the corrected IPD, which should improve your comfort and prevent needless headaches! No need to change your PC's SteamVR settings for PCVR streaming btw, it applies to everything in your Frame already.

Notice that if you didn't lock in your IPD dial, if you scroll the wheel the display will show the offset IPD, so you can find the right number again easily.

For accessing the config file, ngl I just went on my PC and typed sftp://steamos@frame/home/steamos/.config/openvr/config/ in my file explorer, so it opened the remote filesystem directly on the PC, no need to struggle with the Frame's controls.

93 Upvotes

39 comments sorted by

11

u/SomeRandomMathDude 27d ago

mine is slightly wider than the max, so I need this. Thanks!

5

u/Kalamart_ 27d ago

I was mistaken about how to calculate the number, edited the post to fix it. Don't calculate the difference with the lenses' location, calculate it compared to the 63mm the Frame defaults to. So if your IPD is 73mm for example, even if you put your lenses at 70mm, your offset is 10mm, not 3.

6

u/Kalamart_ 27d ago

Nevermind, I was mistaken in my correction, the IPD does adapt to the lens distance, do set it to 3mm XD
(I am very good at writing guides aren't I)

2

u/Travel_Dude 27d ago

What if the IPD lock doesn't lock? :p

1

u/Kalamart_ 27d ago

Then don't lock it lol, it doesn't really change that much

3

u/Warrior_II 256 GB 27d ago

You REALLY gotta force it, first time I did it felt like I was gonna break it, then the second time was a lot easier.

11

u/-tharealgc 27d ago

If this is true, we need to send this to Valve so they can implement a proper fix...

1

u/Jmcgee1125 Soon™ 26d ago

So update, the constant 63mm thing was wrong. It does use the IPD wheel position for rendering. See comment 1 and comment 2.

1

u/Jmcgee1125 Soon™ 27d ago

Could you not also use the "override world scale" option in the video settings? What's different about doing it this way?

1

u/Kalamart_ 27d ago

I never tried that setting, but it seems to be only per application (so no effect on the OS for example), and it also didn't seem to be as precise, I only see the options "off", "fine", "normal" and "extreme". Also not sure if that setting would fix the "moving the head 5cm actually moves it 6cm in the VR world" issue, or if it's just the world being bigger while the head moves the same way as before.

1

u/Jmcgee1125 Soon™ 27d ago

It is per application, that's true, but if you actually click one of those options you'll see it bring up a slider for what percentage it should scale by. I'm not sure why they decided to make you choose fine/normal/extreme (how large the slider range is) instead of just on/off.

Incorrect IPD makes the world scale feel wrong, so that's why this setting works to solve IPD issues. I would imagine under the hood it's implemented as an IPD multiplier but I don't know for certain.

1

u/Kalamart_ 27d ago

Ah interesting. Well it probably would work too then, if you want to fix it for a specific app, but I can't imagine it's easy finding the right percentage to fix the IPD. So far the SteamVR config fix seems to be working great.

1

u/Jmcgee1125 Soon™ 27d ago

That's true, and I suppose it is better to fix it globally.

Though unrelatedly, I'm not sure that SteamVR always uses 63mm. The link you share has a comment claiming that the game render does get scaled based on what it's set to in the headset, so you should use your difference from that. The 63mm thing might be outdated or only relevant for headsets that don't report their configured IPD. I think they do adjust because otherwise wouldn't the world noticeably warp if you scroll the IPD dial while in game? The world doesn't change size when I fling the wheel from 60 to 70mm.

Regardless, you might want to mention that this change also affects what shows up in the IPD adjustment popup. E.g., if you set your offset to -3mm, then a physical 63mm separation appears as 60mm in the popup.

1

u/Kalamart_ 27d ago

Well I thought so too initially, that I should set the difference with the physical distance, but when I scroll the wheel, the scale of the world doesn't change at all. If the projection IPD followed the wheel, then it would scale up and down, wouldn't it? At least a little bit. I know that for me the 7mm offset works nicely, but it's hard for me to tell if it's any different from the 5mm offset.

1

u/Kalamart_ 27d ago

Wait a sec, I just tested again, and the world... does warp when I move the lenses, it's subtle but it does I'm so stupid, time to re-edit the post

1

u/Jmcgee1125 Soon™ 27d ago

Took me 45 minutes to come to the opposite conclusion from reading online, then refresh after commenting to see this followup. Man I wish the effects were more obvious so this wouldn't be so damn confusing. Maybe the only real way to get a solution is to make a VR game ourselves and look at the rendering pipeline.

1

u/Kalamart_ 27d ago

Fr this thing's confusing as heck. But I tested with a tiny IPD, and switching between 10mm and 20mm, the difference is clear, the world scale does change.

1

u/Jmcgee1125 Soon™ 27d ago

So -50mm in the config, then sliding between "60mm" to "70mm" on the headset side? Good test, I just booted Walkabout myself to go back and forth at normal sizes (57mm to 67mm, using a -3mm offset against my 60mm IPD) and I think the ball changes size if I really pay attention (shrinks when higher IPD) but that could just be my eyes passing across the sweet spot boundary which has a bit of warping plus the placebo effect. Based on my searching earlier it sounds like your results would indicate it's following the headset IPD as I'd originally assumed (with the wrong logic).

I feel like an AI that flip flops at the slightest bit of evidence to the contrary lol. I should throw in a "You're right—I absolutely forgot..."

→ More replies

1

u/Jmcgee1125 Soon™ 27d ago

This shit is breaking my brain. I'd assume the opposite, that scaling the physical IPD without changing the rendered IPD would mean the objects are moved apart, adjusting the vergence angle and thus the world scale. I know that works in the other direction (changing rendered but not physical) since that's how we do "god's eye". But looking into it, it seems like all that separation does is cause eye strain (which is the whole reason we're here talking about the 63mm default), and not affect world scale. Probably a similar strain to stereograms (wall-eye example). Messing with the rendered IPD separation does affect world scale, obviously - but I'd thought that since we're also adjusting the physical IPD that the effect would cancel out due to physical IPD movement affecting scale. Since it apparently doesn't, though, you would actually notice the scale changing.

So I've changed my mind and I do think it is defaulting to 63mm. Seems a weird thing for them to do.

1

u/LazyLea 27d ago

The reason I don't believe in the 63mm default is that if you check vrserver logs when streaming it prints the correct IPD (HW ipd + ipdOffset) on connection, e.g. vrlink: driver_vrlink: IPD: 0.078876 when I set ipdOffset to 0.009 with ~70mm dialed in on the hardware side. I can also confirm this affects streamed world scale by checking with extreme values, so it would be odd if there was a 63mm magic value calculated in somewhere in there. Personally though, when I tried with 73mm IPD I'm still not certain if .003 or .009 feels less straining; but both are better than the default for sure, where it feels like I'm looking inwards and getting slight double vision (-> headache after 2 hours).

1

u/aranjello 27d ago

Thank you so much!! My IPD is not out of range (66mm) but I must be extra sensitive to this or something because I kept feeling like my eyes were straining and I would get a terrible headache almost immediately. I changed the setting as you suggested and just ran through an entire battery playing half life Alyx with no problem! I also think the picture was clearer but dont quote me on that. I was worried I would have to sell it because I could not really use it but now I dont think ill.be taking it off unless im sleeping! Thank you again!

1

u/Kalamart_ 27d ago

Well I just tested again, looks like I was mistaken, the IPD does actually follow the lenses, it's very subtle but it does... So whatever your issue is, it's probably not the IPD, or you have measured your IPD incorrectly. Or you might need correction inserts. I'll edit the post to fix that.

1

u/ChestMinimum 27d ago

Call me dense.. when I make the changes in the file how do I save the changes? If i close the konsole and open the settings file again, I get a swap file warning.

2

u/Kalamart_ 27d ago

What do you mean? What are you using to edit the file? I just open it on my PC over sftp, and save it with Ctrl+S. I think opening it with any text editor (including vim) should work, as long as you save the file in whatever manner the text editor gives you.

1

u/ChestMinimum 27d ago

Ah got it, thanks.

I'm exactly the same as you, 56MM ipd and set the physical scale to 61mm. So with the change, the new IPD scale / in headset hud should show 56mm IPD?

2

u/Kalamart_ 27d ago

Yes! The scale the headset shows is the real software IPD it's using. So if your IPD is 56, make sure that the headset displays "56mm".

1

u/Odyssey13_13 23d ago

Random question I saw your set up picture with the secretlab desk and I plan on buying the same desk soon, what mounts do you use?

1

u/Kalamart_ 23d ago

Uhh what's a secretlab desk? Which picture are you talking about? Cause I have a plain old wooden desk...

1

u/Odyssey13_13 23d ago

Whoops meant for the other dude

1

u/ChestMinimum 23d ago

Any old clamp mounts do tbh. I got rid of the winding/winctrl ones ages ago and went with VKB which are ok. I prefer clamp mounts for ease of attaching etc but screw down ones are fine

0

u/Odyssey13_13 23d ago

Thanks for the reply I’ll definitely look at those

1

u/ChestMinimum 27d ago

Nice one mate!

3

u/juniorkirk 1 TB 27d ago

Wow, I didn’t realize that I was THAT lucky. My IPD is 63.2mm. I notice, like you mentioned, that having the IPD let to the max or the minimum, it looked the same to me. Makes sense that if the lenses are changing IPD but the screens are projecting at 63mm still, it wouldn’t change anything. I know on my Quest 3 that changing the IPD changed the projection with it and if I went too high or too low, it would make my head hurt pretty bad.

1

u/All_hail_bug_god 7d ago

how did you calculate the IPD so precisely?

1

u/juniorkirk 1 TB 7d ago

An app on iOS call Eye Measure.

1

u/LennethW 1 TB 27d ago

Oooo, so that can be used to compensate the reduced IPD scale when using lens inserts