Jump to content

Recommended Posts

Posted
26 minutes ago, Patricks said:

Why is anyone bothering with this "Switcher" to run IL-2 in OpenXR? Simply rename the original "openvr_api.dll" in bin\game to "orig_openvr_api.dll", put the known working (from someone running it without issue) OpenXR version of "openvr_api.dll" into \bin\game, and run Il-2 normally. It will be in OpenXR every time. Want to run in SteamVR, simply swap them back.

 

I even downloaded the 64 bit DLL directly from GitHub once and it was 1K in size, and that is what the switcher was "updating" to! 

 

Or am I missing something?

 

Yeah never bothered with switcher from the beginning I have done what you say and I never bothered again...

  • 1 month later...
Posted
On 1/15/2025 at 1:45 PM, dryheat94 said:

That's why when you get a working dll file it's best to stick with it. When you use the OpenComposite Launcher you get the latest version of the dll, which may or not be broken. I see the link to the older working one is now broken, so edited my original post and removed it. Attached it to this message for anyone that may still need it. 64-bit.

openvr_api.zip 601.82 kB · 25 downloads

Hi do you have the working  Win32/openvr_api.dll  part too? It seems I need that too yes?  Im really hoping this is my sudden frame rate drop from 90 to 60!!

On 1/15/2025 at 1:45 PM, dryheat94 said:

That's why when you get a working dll file it's best to stick with it. When you use the OpenComposite Launcher you get the latest version of the dll, which may or not be broken. I see the link to the older working one is now broken, so edited my original post and removed it. Attached it to this message for anyone that may still need it. 64-bit.

openvr_api.zip 601.82 kB · 25 downloads

Hi do you have the working  Win32/openvr_api.dll  part too? It seems I need that too yes?  Im really hoping this is my sudden frame rate drop from 90 to 60!!

dryheat94
Posted
11 hours ago, macro1 said:

Hi do you have the working  Win32/openvr_api.dll  part too? It seems I need that too yes?  Im really hoping this is my sudden frame rate drop from 90 to 60!!

 

I don't have the 32 bit version and not sure you need it. I've never used it.

Posted

ah ok , so when the instructions further back say rename the win32 to blah blah blah that's not needed if you run the 64bit?

I have the vrclient.dll in my runtime but ill try take it out and use your replacement x64 and re name that one and see what i get.

 

Am I right in just opening the runtime and deleting and dding into that folder?

Posted
5 hours ago, macro1 said:

ah ok , so when the instructions further back say rename the win32 to blah blah blah that's not needed if you run the 64bit?

I have the vrclient.dll in my runtime but ill try take it out and use your replacement x64 and re name that one and see what i get.

 

Am I right in just opening the runtime and deleting and dding into that folder?

 

Rename the original something like "orig-xxx.dll", then place the OpenXR 64 bit dll file in its place. Done.

  • 3 months later...
Anarcho
Posted

still not working here :( game opens in 2d only.

dgiatr
Posted
1 hour ago, Anarcho said:

still not working here :( game opens in 2d only.

You have to use an older version of openvr_api.dll to make it work.

1PL-Husar-1Esk
Posted
1 hour ago, dgiatr said:

You have to use an older version of openvr_api.dll to make it work.

Last week I used newest build and the game run in Open composite XR just fine.

Patricks
Posted (edited)

 

This is the 64 bit file i'm using for my Varjo HMD in openXR, works perfectly for me - https://www.dropbox.com/scl/fi/jb6kdfby5g1l57nvl7j70/openvr_api.dll?rlkey=0rpjxj0dbwxbu4v5l6scqw7kx&st=1b6akwhg&dl=0

 

Again, go to x:\IL-2 Sturmovik Great Battles\bin\game folder, rename the original something like "orig-openvr_api.dll, then place the OpenXR 64 bit dll file (openvr_api.dll) in its place. Done.

 

 

 

Edited by Patricks
Anarcho
Posted

Thank you everyone, I spent the night fidling with the DLLs above, Virtual Desktop, and it did work, but tunning VD + OpenXR I lost around 20fps. With Steam Link on Quest 3, I can get 90fps cap 😕

 

I re-Installed everytjong and SteamLinknis working again, and so far, no crashes, so I will keepnit this way untill something breaks again...

  • 2 months later...
Internethetzer
Posted

Ive tried everything out so far & wasted way too many hours who couldve been used for more important things like touching grass

OpenComposite simply refuses to work as intended & IL2 always launches in 2D (except when I use SteamVR obviously)

Sick & tired of this buls**t

Guess I'll stick with dogshit performance

 

GOA_Karaya_VR
Posted
3 minutes ago, Internethetzer said:

Ive tried everything out so far & wasted way too many hours who couldve been used for more important things like touching grass

OpenComposite simply refuses to work as intended & IL2 always launches in 2D (except when I use SteamVR obviously)

Sick & tired of this buls**t

Guess I'll stick with dogshit performance

 


Do you use only SteamVR? , try with openxr , my opencomposite works with openxr.

 

Regards.

DBCOOPER011
Posted
1 hour ago, Internethetzer said:

Ive tried everything out so far & wasted way too many hours who couldve been used for more important things like touching grass

OpenComposite simply refuses to work as intended & IL2 always launches in 2D (except when I use SteamVR obviously)

Sick & tired of this buls**t

Guess I'll stick with dogshit performance

 

 

I've been using opencomposite for awhile without any trouble until recently when I put in a new graphics card. I could not get opencomposite to work at all, whatever I tried for most of the day. Only when I did a complete DDU and reinstall of the graphics driver did opencomposite work.

Patricks
Posted
16 hours ago, Internethetzer said:

Ive tried everything out so far & wasted way too many hours who couldve been used for more important things like touching grass

OpenComposite simply refuses to work as intended & IL2 always launches in 2D (except when I use SteamVR obviously)

Sick & tired of this buls**t

Guess I'll stick with dogshit performance

 

 

DId you try the known working .dll I posted a bit earlier? Reality is you may or may not see a performance increase..

 

Internethetzer
Posted (edited)
10 hours ago, Patricks said:

 

DId you try the known working .dll I posted a bit earlier? Reality is you may or may not see a performance increase..

 

 

Yes I did exactly as you said

Game keeps starting in 2D when selecting "start using steamvr" 

 

On 8/29/2025 at 10:55 PM, GOA_Karaya_VR said:


Do you use only SteamVR? , try with openxr , my opencomposite works with openxr.

 

Regards.

 

I have the "openxr toolkit companion app"

I open it every time im using OpenComposite

On 8/30/2025 at 12:05 AM, DBCOOPER011 said:

 

I've been using opencomposite for awhile without any trouble until recently when I put in a new graphics card. I could not get opencomposite to work at all, whatever I tried for most of the day. Only when I did a complete DDU and reinstall of the graphics driver did opencomposite work.

I will leave that option open when Im in the mood for a more escalated solution

Btw I have a AMD GPU not Nvidia, does that make any signifcant difference?

Edited by Internethetzer
  • 2 weeks later...
BritishDragon
Posted

I've just ran into this problem. I have very recently collected seven 'OpenVR DLL' files, just in case.

I tried four and they kept crashing usually when my plane gets shot.

The error message in the logs said "Driver couldn't change frame latency" at the end just before it crashed.

 

I had the idea of just using the OpenVR file from the DCS Bin folder. I will try this today.

I've noticed that the older the file is, the smaller in size it is. 2,391 KB is the largest and 221 KB being the oldest I have, the smallest.

 

It won't allow me to attach the files here but I could try to E-mail them to someone.

Posted
5 hours ago, BritishDragon said:

It won't allow me to attach the files here but I could try to E-mail them to someone.

 

Zip the file and it should allow you to attach.

BritishDragon
Posted (edited)

NOT_TRIED_openvr_api.zip I tried but I don't know if it worked. I think a couple of the files are the same.

I just downloaded them and I think it worked.

 

This is my current collection of 'OpenVR_api' DLL Files.

I need one that works for the OG Pimax Crystal. I have two more to test.

Edited by BritishDragon
  • Like 1
Posted

My OpenXR .dll is 2319kb and works fine with my current SteamVR headset (Meganex 8k) and also worked perfectly with my native OpenXR headsets (Varjo Aero and Varjo XR-3)..

Posted (edited)
On 8/31/2025 at 1:42 AM, Internethetzer said:

 

Yes I did exactly as you said

Game keeps starting in 2D when selecting "start using steamvr" 

 

 

I have the "openxr toolkit companion app"

I open it every time im using OpenComposite

I will leave that option open when Im in the mood for a more escalated solution

Btw I have a AMD GPU not Nvidia, does that make any signifcant difference?

 

Where do you see this option ("start using steamvr")? Is it in Steam itself? Try making a shortcut to the Launcher.exe on your desktop and starting from there. If it's a Steam install it should be in the C:\Program Files (x86)\Steam\steamapps\common\IL-2 Sturmovik Great Battles\bin\game folder. Disable any other APIs (like OXRTK) to eliminate them as an issue, easy to do using the OpenXR-API-Layers-GUI app, get it here. As far as the AMD vs. Nvidia, no idea, have not used an AMD GPU in 20 years..

Edited by Patricks

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...