Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenXR and DCS (Varjo HMD) #24

Open
speed-of-heat opened this issue Jan 8, 2024 · 17 comments
Open

OpenXR and DCS (Varjo HMD) #24

speed-of-heat opened this issue Jan 8, 2024 · 17 comments

Comments

@speed-of-heat
Copy link

It does not seem to work, whilst the 2d menu is present and does seem to work, it has no impact in VR? is it looking for SteamVR at all? as I don't use SteamVR

@retroluxfilm
Copy link
Owner

For OpenXR to work with reshade you need to use the reshade installer. See my recent post:
#22 (comment)

@speed-of-heat
Copy link
Author

I am being dense... the installation instructions may be be casuing me to loop out... The openXR intstaller dosen't include the dll files do we download just the openxr installer or do we download the universal toolkit and then the openxr installer?

@retroluxfilm
Copy link
Owner

No worries. Its not easy to understand when using OpenXR Reshade.

First You drop in the VRToolkit in the DCS bin or bin-mt (multithreading preview) folder.
https://github.com/retroluxfilm/reshade-vrtoolkit/releases/download/v1.1.0/VRToolkitReshadeUniversal_1.1.0.zip
(You dont need to rename the Dlls if you are planning to use OpenXR.)

Then you need to run the reshade installer I added in the last release:
https://github.com/retroluxfilm/reshade-vrtoolkit/releases/download/v1.1.0/ReShade.Setup_5.9.3-preview.exe
Select DCS out of the list and then select OpenXR as renderer. (You can keep all shaders unchecked.)
The installer will install the DLLs not in the gamefolder itslef as it registers a OpenXR layer. If a "reshade.ini" is present in the game folder it knows when it should be enabled.

Hope it works now for you

@speed-of-heat
Copy link
Author

thanks for the explanation, that is very clear, and stops me from bending round the axel :) it unfortunately doesn't seem to work :( again the effects seem to be present in 2D but not in VR

@retroluxfilm
Copy link
Owner

Do you use the native openXR implemention from DCS? Are you able to use SteamVR for testing if you can see the reshade icon in the Steam dashboard as seen here on step1:
https://vrtoolkit.retrolux.de/configuration.html

@speed-of-heat
Copy link
Author

speed-of-heat commented Jan 8, 2024 via email

@retroluxfilm
Copy link
Owner

The official reshade 6.0 is now released with openXR support. Give it a try again and follow the install instructions here:
https://vrtoolkit.retrolux.de/install.html

I hope it will work for you!

@speed-of-heat
Copy link
Author

speed-of-heat commented Jan 19, 2024 via email

@speed-of-heat
Copy link
Author

speed-of-heat commented Jan 21, 2024 via email

@retroluxfilm
Copy link
Owner

Not sure what to do with the ID you have given me :D. But what would be helpfull to find out why it is not working for you would be the Reshade.log that is created when you start DCS. its in the bin or bin-mt folder depending on what you use.

Ohh I forgot to mention that I use the public beta branch from DCS.

@speed-of-heat
Copy link
Author

I'm also using the public beta branch, the GUID should have been an image, which basically the reshade dll is loaded in a directory (e.g. not program files) that might cause problems with some of mbucchia's add ins (Varjo Foveated for me) but having tried without the add-ins it didn't seem to make any difference

@retroluxfilm
Copy link
Owner

Did you check the Steam\steamapps\common\DCSWorld\bin-mt\ folder where you placed the contents of the vrtoolkit zip, if there is a reshade.log you can send me over?

For OpenXR the reshade dll are installed seperatly from the game folder into the folder c:\ProgramData\ReShade\ and registered through the registry as an Open XR Layer. So that is the correct behavior for reshade to hook into openXR.

@speed-of-heat
Copy link
Author

speed-of-heat commented Jan 24, 2024 via email

@speed-of-heat
Copy link
Author

ok went to it straight away, as i know if i leave it too long i will be feeling dreadful again ... I just installed 6.0 without add on support went into the tutorial in 2d (nothing visible in VR) set some basic settings (curves, colormatrix and vibrance) and they all showed up in 2D but not in VR...

When i install i am only selecting OpenXR (though it prompts me for this twice), I am not using Steam/SteamVR directly, though Varjo does use steam VR for tracking.

ReShade.log

@speed-of-heat
Copy link
Author

speed-of-heat commented Jan 24, 2024

and this is ths log file after i have installed the reshade toolkit, again no UI was available in VR
VRReShade.log

@retroluxfilm
Copy link
Owner

Thanks for the logs. From what I can see is that it is correctly installed and tries to hook your openXR device but seems not to fully get it.
It just uses the reshade.ini (2D) and not the reshadeVR.ini (VR) to start the reshade instance. Both are started usually and also have entirely different settings that are used for each instance. Because of that you also have seperate ini files and you dont see the changes you made on your 2D view in VR and vice versa. For VR you usually use the VR dashboard in Steam to adjust the settings but that is not an option for you and you need to edit the reshadeVR.ini file to select the preset you want. Vrtoolkit has the default one already defined.

I hope for your swift recovery. Funny that I myself have covid right now but its already on its last days, so just waiting for a negative test. Take care!

@speed-of-heat
Copy link
Author

speed-of-heat commented Jan 24, 2024 via email

@retroluxfilm retroluxfilm changed the title OpenXR and DCS OpenXR and DCS (Varjo HMD) Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants