x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Windows Mixed Reality SteamVR image distorts on rotate

I'm testing my VR App with a WMR device (Acer). Everything's fine except as you turn your head in VR the world distorts so for example a square upright plane looks like a shifting parallelogram in peripheral vision as you move your head.

This is the same using a fresh VR template project. Tested with 4.18.1.

Anyone else seen this or have a work-around?

Also see this post: https://answers.unrealengine.com/questions/725438/vr-preview-and-vr-template-work-with-microsoft-mr.html

It appears to be a regression in 4.18, 4.17 works.

Product Version: UE 4.18
Tags:
more ▼

asked Dec 08 '17 at 03:25 PM in VR

avatar image

jimsnomis
66 2 6 13

(comments are locked)
10|2000 characters needed characters left

4 answers: sort voted first

I was having this same issue with my Samsung HMD Odyssey and was able to come up with a fix.

I created a bug report (with fix linked) here: https://answers.unrealengine.com/questions/737630/windows-mixed-reality-device-screen-distortion-ste.html Please upvote it to get this fixed ASAP!

Link to my pull request to fix the distortion issue in 4.18 here: https://github.com/EpicGames/UnrealEngine/pull/4354 If you want to build the engine from source, this will fix the issue and get it working before Epic Games fixes it.

more ▼

answered Dec 19 '17 at 01:00 AM

avatar image

J_Paul
96 2 4 8

avatar image jimsnomis Dec 19 '17 at 09:45 AM

Thanks, also confirmed with the Rift.

avatar image NextWorldVR Feb 08 '19 at 08:24 AM

You say you came up with a fix, could you share what that is? It would help enormously. I have created a game in 4.18, It plays great on Rift but not in Steam VR with Odyssey (and Revive Remixed doesn't pick it up, Steam VR always starts,,.) I am hoping to make a change in the ini files to help it play in Steam VR on WMR,. It seems to be playing 'too large (or small?) in the odyssey, it shows the right eye, sort of cut off at the right side, on the screen mirror) ,..! Please Please. let me know, what you know, about the Odyssey, Ue4 4.18 and Steam VR :)

avatar image J_Paul 3 days ago

Follow the GitHub link and make sure you are logged into a GitHub account that has access to the Unreal Engine 4 source code.

(comments are locked)
10|2000 characters needed characters left

Hi,

I'm testing with the HP WMR headset and what fixed that problem for me was applying https://github.com/EpicGames/UnrealEngine/pull/4294

Additionally MS openvr implementation seems to give the VIVE resolution on IVRExtendedDisplay::GetWindowBounds, so I hardcoded it to return the correct resolution for now which made my project run correctly (as far as I can see).

That's at least as far as I got, upscaling doesn't seem to be working though.

more ▼

answered Dec 13 '17 at 02:42 PM

avatar image

Stefan Koch
11 1 1

avatar image jimsnomis Dec 14 '17 at 10:01 AM

Thanks Stefan, I'll give it a go!

avatar image jimsnomis Dec 14 '17 at 01:33 PM

the pull request didn't work for me with the Acer, kind of fixed it in the editor but rendering off when packaged, looks like two circles.

avatar image Stefan Koch Dec 14 '17 at 11:19 PM

Hmm, my guess would be you have upscaling/supersampling (sorry, not sure of the correct naming) activated. Have you set r.ScreenPercentage to 100?

avatar image jimsnomis Dec 15 '17 at 11:12 AM

Thanks, Yep my bad, it was defaulting to non 100 percent and works ok at 100 though blurry as a consequence.

Unfortunately this pull request also breaks supersampling for the Rift and Vive so not releasable for the moment unless I hack HMD name based logic into SteamVRHMD.cpp which seems like a bad idea.

Hoping an official fix for this is coming soon!

(comments are locked)
10|2000 characters needed characters left

Thanks for the info but none of these solutions really work.

They never fixed this bug and have now moved on to 4.19.

The github repos are deceased, and even before you'd have to get invited to them to be able to dl them.

Also according to jimsnomis and others, it might fix the warping but it wasnt fixed in the build and brought on other issues like no SS. That means 4.17, 4.18 and big surprise now 4.19 are all not usable for VR dev. especially for WMR.

more ▼

answered Jan 22 '18 at 04:01 PM

avatar image

Jiggyjosh
6 2 3

avatar image jimsnomis Jan 22 '18 at 04:19 PM

There's some misunderstandings going on here.

1-WMR works with 4.17

2-WMR does NOT work with 4.18

3-There is a pull request that reverts SteamVR back to the way it was in 4.17 for 4.18 but you have to build 4.18 from source and then apply the pull request at https://github.com/EpicGames/UnrealEngine/pull/4356

The github repos are all there as usual at https://github.com/EpicGames/UnrealEngine. You can fork and branch it to create your own changes and pull request if needed.

avatar image Jiggyjosh Jan 22 '18 at 04:29 PM

Hey Jim, thanks for the feedback! Were going to get this sorted!

So I've spent a lot of time profiling and analyzing the differences between 4.17, 4.18, 4.19 with the Rift, vive and now WMR.

  1. Actually you may think it works in 4.17 but you can see in the profiler/gpu profiler that there is a random repeating lag spike with the HBZ MIP that adds 5-50 ms of lag and this is reproducible and has been documented by many people. Same with the deferred render and drawing windows and children are well past 11ms on the template level EVEN AFTER applying common optimization suggested for VR.

    1. Correct it does not work with 4.18 because of the screen warp.Some have fixed with a post processing volume but then in the build the image is split so they didn't really fix it.

    2. Those githubs are locked until they accept your invite... so here i am waiting around for an invite... useless. I am perfectly capable of rebuilding with a gitpull, I've done it before and i've made my own branches to solve for vr not being fullscreen back in 4.17 and these should not be where you have to get solutions from in case anything changes. As well like as others have stated even with the repo, they just produce other bugs that make it unusable. Specifically no SS.

*Edit I did finally get my github linked to unreal, even though in the end it was pretty simple the directions were sort of vague and it was not clear that it was in my unreal account info that i needed to enter my github name. Thats going but even with that recent github pull these errors persist

avatar image jimsnomis Jan 22 '18 at 04:47 PM

I haven't profiled myself so am going on user testing, admittedly with my project, not with the template project. With my game it seems fine with 4.17 + WMR. I'll have a go at profiling it though.

Re - your comment about SS not working in the pull request, that was a different fix. The fix that reverts to 4.17 SteamVR behaviour also works fine with SS. There was an earlier pull request fix that broke SS.

I understand your frustration that this stuff should be QAd and work out of the box.

avatar image Jiggyjosh Jan 22 '18 at 05:02 PM

Thanks for clearing that up! I was getting confused between what the pulls so thats good to know that one fixes the issue without bringing on those errors. I'm still salty though about having to go find git pulls as solutions for these problems.

(comments are locked)
10|2000 characters needed characters left

It seems that 4.19 has fixed this problem.

more ▼

answered Apr 04 '18 at 01:38 AM

avatar image

syd2016
1

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question