Jump to content

IL-2 with Open XR "proof of concept" works with Reverb and some other headsets probably


Recommended Posts

Posted
13 hours ago, USAF-Iceman_VR said:

If you are like me and need someone to help you set this up so it works in il2 here you go https://youtu.be/h2q52SlpIBs I said download the 64 bit version but that is only based on what you use 32 or 64bit. 

I thought IL2 was 64bits only.

  • Like 1
Posted (edited)
On 6/7/2022 at 8:02 AM, dburne said:

Anyone running the Aero with IL-2 in Open XR along with the Toolkit?

Is setting it similar to DCS, where I just drop the modified openvr_api.dll into the game bin folder?

 

Ok just tried this and it worked a charm with my Aero. I renamed the default openvr_api.dll to old, then dropped the modified dll into the game directory. I also added the --force_steam_VR to the end of the IL-2.exe shortcut's executable ( space before the --).

Ran great in my Aero with very good performance based on initial test. I ran res around 3450x2950 or so per eye in Open XR Toolkit. Varjo Base setting at Very High.

 

So yeah for me with the Aero the process was the same as I did for DCS.

Edited by dburne
SCG_motoadve
Posted
4 hours ago, dburne said:

 

Ok just tried this and it worked a charm with my Aero. I renamed the default openvr_api.dll to old, then dropped the modified dll into the game directory. I also added the --force_steam_VR to the end of the IL-2.exe shortcut's executable ( space before the --).

Ran great in my Aero with very good performance based on initial test. I ran res around 3450x2950 or so per eye in Open XR Toolkit. Varjo Base setting at Very High.

 

So yeah for me with the Aero the process was the same as I did for DCS.

So what is the difference, do you get better performance? at the same quality of image? 

Posted
52 minutes ago, SCG_motoadve said:

So what is the difference, do you get better performance? at the same quality of image? 

 

Yep seems so, but like I say it had been a bit since flying IL-2 previously with Steam VR. Best I recall though yeah the performance in my Aero is better with Open XR.

VL_Joffski
Posted (edited)

Apologies if this has been missed, but I can't get OpenXR working through the OpenComposite OpenXR version. Works fine using the OpenVR OpenComposite.

I'm using a Quest 2 and the universal Open Composite, rather than the per application DLL (I've tried this and it makes no difference). The IL2 install is a clean one, on the latest version of Win10 Pro.

I connect my Quest 2 using link and have the Oculus desktop app running (it wouldn't link otherwise). When I try to run IL2, I get the following error - any ideas? That file path doesn't exist in my C Drive.
image.png.dcda3b36cce29207c46dd436924cc0f1.png

Edited by Joffski
Posted
47 minutes ago, Joffski said:

When I try to run IL2, I get the following error - any ideas? That file path doesn't exist in my C Drive.

I get this error message with my G2 when I forgot to switch on the headset.

VL_Joffski
Posted
16 minutes ago, Youtch said:

I get this error message with my G2 when I forgot to switch on the headset.

Thank you - the headset is on (although I also get this if the headset isn't connected as well).

Posted

What is the consensus about Mip-map bias with OpenXR and IL2? Shall it be left off?

Posted

Also any advice for the post processing filters to speed up my fine tuning process?

[CPT]Crunch
Posted

Never been able to tell a difference, but it might be a setting more dependent on the strength and memory of your GPU. 

Posted
14 minutes ago, [CPT]Crunch said:

Never been able to tell a difference, but it might be a setting more dependent on the strength and memory of your GPU. 

 

No, it depends on the game engine and if you are using either upscaling method. If you are not doing the latter it won't make any visual difference (it makes textures "sharper"/"harsher" so the upscaler can enlarge the result with more "detail") or if the game engine explicitly controls the mip map bias then it won't be affected by the toolkit.

  • Upvote 1
Posted
1 hour ago, Firdimigdi said:

if the game engine explicitly controls the mip map bias then it won't be affected by the toolkit.

Does IL2 engine controls mipmap?

Posted (edited)
1 hour ago, Youtch said:

Does IL2 engine controls mipmap?

 

No idea, if you are using an upscaler and see no difference then most likely it is. Either way with it or without it enabled there is no performance impact and any visual change, if any, would be limited to textures, specifically the ones that would stand out if you modify mip map bias are the ones that are seen at an angle and nearby (like the ground texture when you are very close to it or similar) so I seriously doubt it would help or be an impediment.

 

Edited by Firdimigdi
  • Thanks 1
SCG_motoadve
Posted (edited)

I knew was not going to be easy.

Followed all the steps

Replaced the files in Bin/Game folder

Open XR tool shows IL2 and is running

Open Composite is selected (open composite app)

I un checked VR in IL2

 

What am I missing? I am getting this errors (Varjo Aero)

image.thumb.png.371493145e6188ece9044998c9402728.png

 

 

image.thumb.png.61a0dbe0e9a01559155215be88e2c0f9.png

 

 

 

image.thumb.png.35b7730edccc03789dfbc0e4cb500bc8.png

 

image.thumb.png.f7ac7eda5bc6055b1f25e45504576969.png

 

image.thumb.png.aaf298938f6c7284d073d85c9605a535.png

 

 

Then I get this error.

Edited by SCG_motoadve
SCG_motoadve
Posted

Which option should I select here?

image.thumb.png.8dfd9372eff1b76cbd942867b7c5d2fd.png

Posted (edited)
1 hour ago, SCG_motoadve said:

 

 

image.thumb.png.aaf298938f6c7284d073d85c9605a535.png

 

 

Shouldn't you enable OpenXR on that panel there on the right?

 

Edited by Firdimigdi
SCG_motoadve
Posted
4 minutes ago, Firdimigdi said:

Shouldn't you enable OpenXR on that panel there on the right?

 

It wont stay ON, its a known problem with this version of the Varjo base, but even when OFF works for others.

Posted
12 minutes ago, SCG_motoadve said:

It wont stay ON, its a known problem with this version of the Varjo base, but even when OFF works for others.

Ah, @dburneis likely the one to ask about using this with the Aero.

J2TAF_Taipan
Posted (edited)

Okay...I have an issue that I havn't read in this topic yet.

 

I have successfully installed and am using OpenXR & XRNS (NeckSaver) in IL2.

However:

1. using OpenXR i have to login (at the Hangar screen) to play IL2 every time i start the game....even after ticking 'save password'

2. The maps and planes i purchased through Steam do not show up in the Hangar after logging in....nor do i have access to those planes from Steam

 

The maps/planes i purchased thru the IL2 store ...do show up and can be accessed.

When running Steam, I was able to link the accounts & see them ALL in the Hangar screen

Is anyone having this same issue? 

 

Even this forum under my name is only showing BOBP & BON (purchased thru IL2 Store...where i actually have all the Battles and FCVol.1)

Edited by SIA_Taipan
EMS_Kurtis_VR
Posted
34 minutes ago, SIA_Taipan said:

Okay...I have an issue that I havn't read in this topic yet.

 

I have successfully installed and am using OpenXR & XRNS (NeckSaver) in IL2.

However:

1. using OpenXR i have to login (at the Hangar screen) to play IL2 every time i start the game....even after ticking 'save password'

2. The maps and planes i purchased through Steam do not show up in the Hangar after logging in....nor do i have access to those planes from Steam

 

The maps/planes i purchased thru the IL2 store ...do show up and can be accessed.

When running Steam, I was able to link the accounts & see them ALL in the Hangar screen

Is anyone having this same issue? 

 

Even this forum under my name is only showing BOBP & BON (purchased thru IL2 Store...where i actually have all the Battles and FCVol.1)

 

 

Did you try this ??

 

- If you use the steam version, create a desktop shortcut and as URL enter what pepper mentioned, to launch IL2 directly into vr mode. 

  On 5/21/2022 at 9:13 AM, pepper9881 said:

I always start the game in VR from handmade shortcut:

steam://launch/307960/vr

image.gif

Posted
3 hours ago, SCG_motoadve said:

It wont stay ON, its a known problem with this version of the Varjo base, but even when OFF works for others.

 

Yes it will stay on, just the indicator does not work properly and shows off when it is on.

SCG_motoadve
Posted

So works but I see IL2 on my desktop in 2D  when I put the headset ON, I am not in the game in VR

Posted
6 minutes ago, SCG_motoadve said:

So works but I see IL2 on my desktop in 2D  when I put the headset ON, I am not in the game in VR

 

Did you put the  --force_steam_VR command at the end of your IL-2.exe shortcut properties? Should be one space prior to the first two dashes.

SCG_motoadve
Posted
11 minutes ago, dburne said:

 

Did you put the  --force_steam_VR command at the end of your IL-2.exe shortcut properties? Should be one space prior to the first two dashes.

Yes I did.

image.thumb.png.b544be0e59b234563cfce9766ec321f0.png

 

Also VR needs to be un checked , right?

image.thumb.png.85e5db23447665be968dd0cfc1619295.png

 

MAJ_Balapan
Posted (edited)
59 минут назад, SCG_motoadve сказал:

So works but I see IL2 on my desktop in 2D  when I put the headset ON, I am not in the game in VR

For steam version of IL 2 I replaced just api file. In the steam library I put “--force_steam_VR”  (right click/properties/general). Might be that for IL-2 this line is not needed.  I put it in there just in case, but actually didn’t try without it. 

Start game from steam vr normally, and pick steamVR option in the popup window. 

For non steam version I replaced api file. And that is it to run OpenXR. Start game from launcher normally.

You do not need to use runtime switcher when replacing api file manually. Once game starts successfully in open XR, then you can turn on OpenXR toolkit just to avoid too many variables in troubleshooting the problem. 

Keep VR option checked in launcher. 

6 часов назад, SCG_motoadve сказал:

 

7 часов назад, Firdimigdi сказал:

Shouldn't you enable OpenXR on that panel there on the right?

 

It wont stay ON, its a known problem with this version of the Varjo base, but even when OFF works for others.

 

which version of varjo base are you using?  I downgraded mine to previous one. OpenXR switch stays on, but OpenVR doesn’t on my version. I do not remember number of version I have, I think it was the one released in March. 

Edited by Balapan
Posted

A crappy day here so the plan was to get this working. Downloaded the files. Switched back to Opencomposite with the system wide app from Steam. Running a Rift S. Game runs perfectly in VR, all mods removed and off. So that much is working. However, I get no reaction from XR tool kit or XRNS. The apps run but that's it. Nothing seems to be happening. Something isn't hooked. Thinking I've missed installing something to do with XR. I thought Opencomposite would do that. The window in the took kit is blank. No layers listed. IL-2 not listed. Nuttin.

 

I removed the dlls from the game folder, installed Opencomposite, restarted, installed the tool kit, restarted, moved the XRNS beta1 folder to the programs folder, ran the script, restarted. Everything seemed to have installed right. Got no errors. Just that XR Tool Kit and XRNS are no go. Thinking some oddball Oculus thing. Tho I'm running an Oculus should I have run WMR with this? That I haven't tried. Anyone?

MAJ_Balapan
Posted

Also on you shortcut screen looks like you are putting that force steamVR line in the wrong place. 

Posted (edited)
2 hours ago, SCG_motoadve said:

Yes I did.

image.thumb.png.b544be0e59b234563cfce9766ec321f0.png

 

Also VR needs to be un checked , right?

image.thumb.png.85e5db23447665be968dd0cfc1619295.png

 

 

VR definitely needs to be checked in the game.

My shortcut to the game looks like this:

"D:\1C Game Studios\IL-2 Sturmovik Great Battles\bin\game\Il-2.exe" --force_steam_VR

Note in my case the game is installed on my D drive.

Your shortcut definitely looks off - that does not appear to be a shortcut to the game executable to me. Is that the shortcut you use to launch the game?

 

Note if you have Steam version of the game that might appear differently.

Suggest you put a shortcut to your IL-2.exe ( not the launcher) on your desktop and add that appropriate line as described above.

Edited by dburne
SCG_motoadve
Posted

Thanks, I made it work after I checked the VR option in IL2, my experience is, I am not too impressed, I get like 30 to 20fps less than Steam VR, and same graphics quality , so I wont be bothered with it.

For some reason will only let me fly at 45fps instead of 90fps which I get with the 3090Tiwhen I use Steam VR, which makes the flight a lot smoother, so I am back to Steam VR (unless I later find  out I screwed up the install).

  • Like 2
Posted
17 minutes ago, SCG_motoadve said:

Thanks, I made it work after I checked the VR option in IL2, my experience is, I am not too impressed, I get like 30 to 20fps less than Steam VR, and same graphics quality , so I wont be bothered with it.

For some reason will only let me fly at 45fps instead of 90fps which I get with the 3090Tiwhen I use Steam VR, which makes the flight a lot smoother, so I am back to Steam VR (unless I later find  out I screwed up the install).

 

Hey whatever works best for you is what you should stick with.

The main thing is to have fun and enjoy the flights!

  • Thanks 1
Posted

Toolkit v1.1.4 dropped in several hours ago.

Posted
1 hour ago, javelina said:

Toolkit v1.1.4 dropped in several hours ago.

LOL Naturally! After taking all day yesterday to get it working! Hope the update doesn't kill anything.

Posted
48 minutes ago, Drano said:

LOL Naturally! After taking all day yesterday to get it working! Hope the update doesn't kill anything.

I just flew a couple missions with the Yak-9T and no issues with V1.1.4.  Also, I enabled XRNeckSafer to run.  Great to have that mod functional again, with the whole OpenXR setup now!  thank you Norbert!!!

  • Like 1
Posted (edited)
20 hours ago, SCG_motoadve said:

Thanks, I made it work after I checked the VR option in IL2, my experience is, I am not too impressed, I get like 30 to 20fps less than Steam VR, and same graphics quality , so I wont be bothered with it.

For some reason will only let me fly at 45fps instead of 90fps which I get with the 3090Tiwhen I use Steam VR, which makes the flight a lot smoother, so I am back to Steam VR (unless I later find  out I screwed up the install).

Same here, Motoadve.  It dropped my FPS to 55-60 from 85-90 and with the new Aero update the XR looks a little blurry.  In SteamVR the new Aero update works very nice, I've even bumped up my settings a little and still get FPS steady in the 80s.  VRNS v2.09 works with it still, just not quickly because it changes the view inverted at first, pauses then reinverts the image again right side up.  If the image was turned the right side up first, there'd be no delay I'm thinking, but I don't know what makes it work so there's obviously more to it then that.  ?

Edited by Drum
Posted

I have gone back to Steam VR for my Aero, just found myself spending too much time tweaking and testing over the last several days and not getting any flying enjoyment. That is just further down the rabbit hole than I want to get really. I just want to fly SP combat and have fun, going back to Steam VR gets me more in line with that. 

  • Like 1
  • Upvote 3
J2TAF_Taipan
Posted
On 6/12/2022 at 3:09 AM, EMS2/4_Kurtis_N said:

 

 

Did you try this ??

 

- If you use the steam version, create a desktop shortcut and as URL enter what pepper mentioned, to launch IL2 directly into vr mode. 

  On 5/21/2022 at 9:13 AM, pepper9881 said:

I always start the game in VR from handmade shortcut:

steam://launch/307960/vr

 

image.gif

Sorry for the late response ...

I couldnt get the URL Shortcut working...my system just doesnt recognise it. (open it with what? my system reports)

I ended up replacing the openvr_api.dll file with the 64bit dll file found in https://gitlab.com/znixian/OpenOVR/-/tree/openxr .

Now i start IL2 throught Steam VR and it opens in OpenXR....and i have all my planes and maps back again.

But thankyou.

  • Upvote 1
OG__Iceman_VR
Posted

Sucks the last patch did give relief to the HP Reverb G2 with the Sun issues. 

I did a basic help on this 

 

Posted
5 hours ago, BlindedVR_The_SUN_isBroken said:

Sucks the last patch did give relief to the HP Reverb G2 with the Sun issues. 

I did a basic help on this 

 

 

Thanks for the effort of putting this together. However, there's a number of inaccuracies and confusion in this video:

 

Starting with the intro claiming it's "a Microsoft paid program" - not at all, @mbucchia and co created this on their own time (and dime if you ascribe to the "time is money" creed) and no one was "hired by Microsoft to fix this problem". Further more they are not obliged to tell you that you need OpenComposite in order to use OpenXR for SteamVR games as was implied; it's a totally different part of the process, made by a different team and for different purposes. Also the section in the video where you say "it kills the Steam operating system" and "still being connected to the steam servers" makes no sense, it seems you are confusing SteamVR with Steam itself.

  • Upvote 2
Posted (edited)

Hooked up new G2 today, started out making sure all the "as-is" stuff worked, Was able to run both Steam and 1C versions in VR. Got OpenXR Toolkit 1.14, latest Open Composite, the 32&64 bit dlls, and away I went. As soon as I installed the dlls (saved the originals) neither program would start in VR. The 1C game just wouldn't start (tried the 32 bit, got an error), the Steam game "launches" in the G2 "Home", but just sits there floating in the "Next Up" screen. Put the origianl dlls back, all is well. What the heck am I missing that so many have accomplished? Also, got DCS to run under OpenComposite 1st shot, no issue at all... Certain order of startup for IL-2 maybe? Is everyone using the 64bit dlls?

 

Also, is the Steam icon supposed to be there?

 

image.png.9401615af07fd47c2986aa2806b33554.png

Edited by Patricks
Posted

64bit for Il-2.  Do you also have the 32bit installed?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...