Jump to content



Photo
- - - - -

Trying to get VPVR to work with SteamVR and Virtual Desktop


  • Please log in to reply
14 replies to this topic

#1 EmotionalToast

EmotionalToast

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Iron Maiden and Creature from the Black Lagoon

Posted 05 January 2022 - 01:05 AM

Heyo,

 

So I set up visual pinball, made sure it worked normally. Then installed VPVR and tried to just run a table from VPinballX_GL64.exe. SteamVR launches normally but inside the headset, it just has a box that says "VPinballX_GL64.exe" in it with a loading icon and underneath it says "Waiting". The weird thing is that when I look on the screen, I can see my VR preview just fine and it tracks my head just like it should. So for some reason it shows my VR preview like it should in the headset, but in the headset itself SteamVR is just endlessly waiting.

 

I am using Virtual Desktop to stream SteamVR to my Quest 2 but I feel like that shouldn't be an issue. If anyone could help it would be much appreciated.


Heyo.


#2 Rawd

Rawd

    Pinball Wizard

  • VIP
  • 4,313 posts
  • Location:Edmonton, Canada

  • Flag: Canada

  • Favorite Pinball: Triple Strike



Posted 05 January 2022 - 02:35 AM

Welcome!

I thought I remember reading somewhere that Virtual Desktop only works with OpenComposite, and not SteamVR (but Don't quote me on that).   I think Airlink works with both.   Also, you should be using the 32bit versions of everything.  


Edited by Rawd, 05 January 2022 - 02:41 AM.


 


#3 EmotionalToast

EmotionalToast

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Iron Maiden and Creature from the Black Lagoon

Posted 05 January 2022 - 03:07 AM

Welcome!

I thought I remember reading somewhere that Virtual Desktop only works with OpenComposite, and not SteamVR (but Don't quote me on that).   I think Airlink works with both.   Also, you should be using the 32bit versions of everything.  

I could definitely try the OpenComposite route, and I did switch to the 32bit version after I found some more forum posts and everyone else was suggesting the 32bit versions.

I will definitely update with how it goes!


Heyo.


#4 EmotionalToast

EmotionalToast

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Iron Maiden and Creature from the Black Lagoon

Posted 05 January 2022 - 03:47 AM

 

Welcome!

I thought I remember reading somewhere that Virtual Desktop only works with OpenComposite, and not SteamVR (but Don't quote me on that).   I think Airlink works with both.   Also, you should be using the 32bit versions of everything.  

I could definitely try the OpenComposite route, and I did switch to the 32bit version after I found some more forum posts and everyone else was suggesting the 32bit versions.

I will definitely update with how it goes!

 

Alrighty, so I tried OpenComposite with Virtual Desktop, didn't work at all. I tried OpenComposite with Airlink and it seems to be a little better? But when I load a table it starts it, it's just a black screen, and then closes without any error messages.
 


Heyo.


#5 cmt26

cmt26

    Enthusiast

  • Members
  • PipPipPip
  • 121 posts

  • Flag: ---------

  • Favorite Pinball: Stranger Things

Posted 05 January 2022 - 04:04 AM

Are you on an nvidia card?

I dont know if it is related to what you are doing, but I thought the whole setup never worked and I gave up on it. Came to find out nvidia released bad drivers that conflicted with quest 2 and didnt work. There is a fix now though, get latest nvidia drivers, might also need a special patched version of vpvr too.

#6 EmotionalToast

EmotionalToast

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Iron Maiden and Creature from the Black Lagoon

Posted 05 January 2022 - 04:14 AM

Are you on an nvidia card?

I dont know if it is related to what you are doing, but I thought the whole setup never worked and I gave up on it. Came to find out nvidia released bad drivers that conflicted with quest 2 and didnt work. There is a fix now though, get latest nvidia drivers, might also need a special patched version of vpvr too.

I am on a nvidia card, also idk what I did but it essentially works now? Like I was able to play a full game of a couple tables. The only thing I did different was install the vpx vr launcher, and launched the tables from there and it worked. I am on the latest drivers and I'm on the latest version of vpvr that is released on the sourceforge.

 

 

The only thing now is that I want to have my quest 2 controllers be able to control it. I'm not sure how I would go about doing that as I've done a lot of the recommended stuff involving vJoy and what not.


Edited by EmotionalToast, 05 January 2022 - 04:17 AM.

Heyo.


#7 cmt26

cmt26

    Enthusiast

  • Members
  • PipPipPip
  • 121 posts

  • Flag: ---------

  • Favorite Pinball: Stranger Things

Posted 05 January 2022 - 05:25 AM

Did you try the guide posted at VPU referencing the Facebook pdf?

I use my cab as the controller so unfortunately I have not played with using the quest 2 controllers.

https://vpuniverse.c...c/5006-quest-2/

#8 EmotionalToast

EmotionalToast

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Iron Maiden and Creature from the Black Lagoon

Posted 05 January 2022 - 05:38 AM

Did you try the guide posted at VPU referencing the Facebook pdf?

I use my cab as the controller so unfortunately I have not played with using the quest 2 controllers.

https://vpuniverse.c...c/5006-quest-2/

Yeah that's the guide I followed to try to get it to work, but that was when I was using Virtual Desktop and stuff still, maybe it'll work with Airlink and OpenComposite. Definitely will try.

 

But I do think the problem I was having with it lies in the fact that by using something like Virtual Desktop, your controllers basically become your mouse, so there's no way to map buttons to the controller buttons, since the buttons are controller you're mouse.


Edited by EmotionalToast, 05 January 2022 - 05:45 AM.

Heyo.


#9 studlygoorite

studlygoorite

    Enthusiast

  • Silver Supporter
  • 403 posts
  • Location:Stoney Creek, Ontario

  • Flag: Canada

  • Favorite Pinball: Any VR table

  • 360 Gamer Tag: King JJ

Posted 05 January 2022 - 06:08 AM

You might not have a good experience running Airlink if your Wifi isn't stable. Is it possible for you to try using Oculus Link first? Oculus Link and Opencomposite without going through Steam have worked the best for me. Install OpenComposite as you normally would and simply replace the openvr_api.dll in your Visual Pinball folder with the "32bit" one from the OC website. Delete the original or rename it in case you want to revert and create a new "text" file in the same folder called opencomposite.ini and inside it simply add the line enableAudio=false.

 

Make sure you start your Oculus Software first and look in the headset and connect to "Link" before you launch a table. Your settings will also make or break your experience,  make sure VR is "Enabled" and not on "Auto Detect", set ball stretch to (don't stretch the ball for VR and cabinet anti-stretch the ball for VPX), max texture dimension (3072 for VR and usually unlimited for VPX), FS Backdrop (untick for VR and tick for VPX) and Force Exclusive Full screen (turn off for VR and enable for VPX)



#10 EmotionalToast

EmotionalToast

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Iron Maiden and Creature from the Black Lagoon

Posted 05 January 2022 - 06:20 AM

You might not have a good experience running Airlink if your Wifi isn't stable. Is it possible for you to try using Oculus Link first? Oculus Link and Opencomposite without going through Steam have worked the best for me. Install OpenComposite as you normally would and simply replace the openvr_api.dll in your Visual Pinball folder with the "32bit" one from the OC website. Delete the original or rename it in case you want to revert and create a new "text" file in the same folder called opencomposite.ini and inside it simply add the line enableAudio=false.

 

Make sure you start your Oculus Software first and look in the headset and connect to "Link" before you launch a table. Your settings will also make or break your experience,  make sure VR is "Enabled" and not on "Auto Detect", set ball stretch to (don't stretch the ball for VR and cabinet anti-stretch the ball for VPX), max texture dimension (3072 for VR and usually unlimited for VPX), FS Backdrop (untick for VR and tick for VPX) and Force Exclusive Full screen (turn off for VR and enable for VPX)

From the little bit I've been using Airlink it's been working fine. I have a wired connection to my computer and my wifi is 5GHz so it's really responsive in terms of like registering my button presses and seeing them in my headset, there's no delay noticeable. But I appreciate the guide in case I need to use it somewhere I don't have a good wifi connection.


Heyo.


#11 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 05 January 2022 - 10:36 AM

-

Edited by blindpeser, 05 January 2022 - 08:39 PM.


#12 studlygoorite

studlygoorite

    Enthusiast

  • Silver Supporter
  • 403 posts
  • Location:Stoney Creek, Ontario

  • Flag: Canada

  • Favorite Pinball: Any VR table

  • 360 Gamer Tag: King JJ

Posted 05 January 2022 - 02:47 PM

 

Are you on an nvidia card?

I dont know if it is related to what you are doing, but I thought the whole setup never worked and I gave up on it. Came to find out nvidia released bad drivers that conflicted with quest 2 and didnt work. There is a fix now though, get latest nvidia drivers, might also need a special patched version of vpvr too.

I am on a nvidia card, also idk what I did but it essentially works now? Like I was able to play a full game of a couple tables. The only thing I did different was install the vpx vr launcher, and launched the tables from there and it worked. I am on the latest drivers and I'm on the latest version of vpvr that is released on the sourceforge.

 

 

The only thing now is that I want to have my quest 2 controllers be able to control it. I'm not sure how I would go about doing that as I've done a lot of the recommended stuff involving vJoy and what not.

 

This looks like another option for Touch Controllers, if interested take a look at the readme. https://1drv.ms/u/s!Auy58evaF4z1qwUW1HdmH1kXAjIg?e=gEePOc



#13 EmotionalToast

EmotionalToast

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Iron Maiden and Creature from the Black Lagoon

Posted 05 January 2022 - 07:43 PM

 

 

Are you on an nvidia card?

I dont know if it is related to what you are doing, but I thought the whole setup never worked and I gave up on it. Came to find out nvidia released bad drivers that conflicted with quest 2 and didnt work. There is a fix now though, get latest nvidia drivers, might also need a special patched version of vpvr too.

I am on a nvidia card, also idk what I did but it essentially works now? Like I was able to play a full game of a couple tables. The only thing I did different was install the vpx vr launcher, and launched the tables from there and it worked. I am on the latest drivers and I'm on the latest version of vpvr that is released on the sourceforge.

 

 

The only thing now is that I want to have my quest 2 controllers be able to control it. I'm not sure how I would go about doing that as I've done a lot of the recommended stuff involving vJoy and what not.

 

This looks like another option for Touch Controllers, if interested take a look at the readme. https://1drv.ms/u/s!Auy58evaF4z1qwUW1HdmH1kXAjIg?e=gEePOc

 

Hmmm, doesn't seem like that link works for me, just gives me a "general exception while processing" error.


Heyo.


#14 studlygoorite

studlygoorite

    Enthusiast

  • Silver Supporter
  • 403 posts
  • Location:Stoney Creek, Ontario

  • Flag: Canada

  • Favorite Pinball: Any VR table

  • 360 Gamer Tag: King JJ

Posted 05 January 2022 - 08:11 PM

 

 

 

Are you on an nvidia card?

I dont know if it is related to what you are doing, but I thought the whole setup never worked and I gave up on it. Came to find out nvidia released bad drivers that conflicted with quest 2 and didnt work. There is a fix now though, get latest nvidia drivers, might also need a special patched version of vpvr too.

I am on a nvidia card, also idk what I did but it essentially works now? Like I was able to play a full game of a couple tables. The only thing I did different was install the vpx vr launcher, and launched the tables from there and it worked. I am on the latest drivers and I'm on the latest version of vpvr that is released on the sourceforge.

 

 

The only thing now is that I want to have my quest 2 controllers be able to control it. I'm not sure how I would go about doing that as I've done a lot of the recommended stuff involving vJoy and what not.

 

This looks like another option for Touch Controllers, if interested take a look at the readme. https://1drv.ms/u/s!Auy58evaF4z1qwUW1HdmH1kXAjIg?e=gEePOc

 

Hmmm, doesn't seem like that link works for me, just gives me a "general exception while processing" error.

 

Yeah for some reason the entire link will not copy, just highlight the entire thing and go to it.



#15 EmotionalToast

EmotionalToast

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Iron Maiden and Creature from the Black Lagoon

Posted 05 January 2022 - 08:32 PM

 

 

 

 

Are you on an nvidia card?

I dont know if it is related to what you are doing, but I thought the whole setup never worked and I gave up on it. Came to find out nvidia released bad drivers that conflicted with quest 2 and didnt work. There is a fix now though, get latest nvidia drivers, might also need a special patched version of vpvr too.

I am on a nvidia card, also idk what I did but it essentially works now? Like I was able to play a full game of a couple tables. The only thing I did different was install the vpx vr launcher, and launched the tables from there and it worked. I am on the latest drivers and I'm on the latest version of vpvr that is released on the sourceforge.

 

 

The only thing now is that I want to have my quest 2 controllers be able to control it. I'm not sure how I would go about doing that as I've done a lot of the recommended stuff involving vJoy and what not.

 

This looks like another option for Touch Controllers, if interested take a look at the readme. https://1drv.ms/u/s!Auy58evaF4z1qwUW1HdmH1kXAjIg?e=gEePOc

 

Hmmm, doesn't seem like that link works for me, just gives me a "general exception while processing" error.

 

Yeah for some reason the entire link will not copy, just highlight the entire thing and go to it.

 

Yeah I did try highlighting the whole thing and going to it but I got the same message.

 

With some messing around though I've gotten some interesting behavior. I changed the keys in my config.xml file for vpx vr launcher to joystick buttons. For example,

<nextkey>joystick button 5</nextkey>

When I load into the vpx vr launcher in airlink, the button on my controller works! I have to do some testing to find which buttons correspond to which numbers but it seems like it works. However, when I go into an actual table, no matter what buttons I have set in the configure keys section under preferences, nothing seems to register. When i check vJoy monitor, nothing registers whether I'm in the launcher or at an actual table (And I do have the Oculus_touch_vjoy_ALL_buttons.exe running)
 


Heyo.