Solved

VR Crashing every 25 minutes - New Device Connected


Userlevel 1
Badge

I’m streaming PCVR to my Quest using Virtual Desktop.  I haven’t had any issues until Tuesday this week: after 25 minutes of VR, with no other input into the Shadow, I hear the Windows ‘Device Connected’ chime and my VR game crashes.  I then see the USB/External drive icon in my taskbar with an NVIDIA graphics card listed as the external device.  If I force the game and Steam VR to quit and get it restarted, 25 minutes later I hear the ‘Device Disconnect’ chime followed by the ‘Device Connect’ chime and again, whatever VR game I’m playing crashes.

I mentioned this in the Virtual Desktop Discord and it does appear other people are experience the issue, and if they pause VR and interact with the streamer client, they don’t get the ‘Device Connected’ chime.  I also tested leaving the streamer up NOT playing VR, and as long as I’m interacting with the desktop, I’m not getting the ‘Device Connected’.

icon

Best answer by Gaijin 29 July 2020, 10:41

So on VR. Currently only the Quest does not kick you off if you setup everything correctly. 
 

original guide: https://www.reddit.com/r/OculusQuest/comments/frx8yw/how_to_set_up_shadowpc_virtual_desktop_quest_to/

 

Preliminary FAQ:

A) Do I need a gaming PC for this? No, any computer that will run the ShadowPC client is sufficient (technically some mobile devices but it will be a pain and you need to still have access to some computer to load Sidequest.

B) Is there anything you won't cover? Yes. How to get SideQuest working on your device. There are SO many tutorials on that. Please use this: https://sidequestvr.com/#/setup-howto

C) Do I need to use a cable to play while I am playing PCVR? No, this is for playing wirelessly. You don't need the link cable or a knock off. You only need a regular USB cable that is sufficient to set up Sidequest and transfer data on Sidequest for your host machine.

D) Does this work for other wired PCVR headsets? Not that I am aware of right now because the data protocols are built to transmit the data wirelessly not through a high speed data cable using ShadowPC. Remember with a ShadowPC the high speed data cable can’t be connected “locally” on the Shadow, which is in the cloud, so that is probably the issue.

E) This seems like a lot of steps is it really that hard? No, its actually pretty easy but I made this guide for people like me who like each step laid out rather than having to compile a bunch of pieces from different sources. It will probably take you an hour to purchase and download everything and have it all set up, ready to play.

F) I went to ShadowPC’s website and only gives the option to pre-order or says it won’t be for weeks or months till it starts? Yes, there is unprecedented demand right now in some areas as of this writing. Start up time will vary. Don’t use a workaround even if you can, because you probably won’t have an optimal experience. Just wait the designated time. FYI I am currently on the “Boost” level and it works just fine for me as of this writing, even for Half Life Alyx, which I think is the most demanding VR game so far.

G) IMPORTANT: I get stuck at Step 15 and Virtual Desktop crashes Shadow after it connects for only a few seconds, what is going on? If you have Comcast Xfinity this is an issue with Comcast erroneously identifying the Virtual Desktop/Shadow connection as a malicious attempt to use your network. Go to the XFi app, choose “more” then choose “my services” and disable Advanced Security. Probably just turn this off when actually using Shadow/VD so otherwise your network benefits from Advanced Security when you aren’t playing.

Instructions:

1) Make sure you have a dual band 5ghz router; plug just the computer you will use into it via Ethernet cable. Later you can try using a mobile device to run Shadow PC or have your computer on 5ghz Wifi instead of Ethernet but to really know whether “it works” best to start with this setup before taking steps that would potentially degrade your experience some. (I can use the mobile app just fine).

2) Test your internet here on your computer plugged into Ethernet: https://help.shadow.tech/hc/en-gb/articles/360011196119-How-to-Test-Your-Connection-to-Shadow

3) If internet test looks good, sign up for ShadowPC. Get a referral code from someone who already has it to save you some dollars. With the new pricing you may want to consider doing a one month no subscription first to really test it before subscribing for a year, since one month at the time of this writing is only $15, then you can get money off of that from the referral code too making it super affordable, and awesome since no one can REALLY definitively tell you whether YOU will like the experience in advance of you actually trying it.

4) Buy Virtual Desktop via Oculus Store on your Quest headset and install it. Remember if you go through this and don’t like the experience you can refund the app with the same terms as any other Quest store app.

5) Connect your computer and Quest to SideQuest and “install latest” Virtual Desktop via SideQuest onto your headset. This is what allows Virtual Desktop to access SteamVR. Note after you do this you will still only have ONE “Virtual Desktop” app in your Quest library and it will show in your library on the headset just like any other normal app, not “unknown sources.”

6) Once you hear your ShadowPC is activated, download the ShadowPC client for your computer and install it. Connect your computer if possible to your router via an ethernet cable, otherwise connect via 5ghz WiFi (computer and Quest should be the only devices on the 5ghz band, preferably just the Quest)

7) Open the Shadow app once it is installed. Follow Shadow’s starter guide. Go into the gear wheel icon in Shadow's Launcher to set Shadow’s settings. Set the bandwidth to 5mb. Then click the button to start Shadow.

8) Now you should be at your computer looking at your ShadowPC running and it should look pretty much like any other PC. If you are in the US it is possible your computer was loaded with a UK keyboard layout rather than a US one, which can make some characters unexpected when typing. Remember this is functioning like any other general Windows PC now, so you can search for general Windows 10 PC help videos to learn how to switch the keyboard to US on your ShadowPC. Search for and run all available Windows 10 updates on your ShadowPC, including the "Comprehensive 1909" update or whatever is the most recent update when you read this. Again, if you don't know how to do this, you can google for general help videos applicable to Windows 10.

9) Now update your Nvidia Drivers on your ShadowPC. Go to https://www.nvidia.com/Download/index.aspx on your ShadowPC and search for the type of GPU you have based on your plan. For instance, US Boost customers will have a “Quadro P5000” GPU, so you will search for Product Type: Quadro; Product Series: Quadro Series; Product: QuadroP5000; Operating System: Windows 10 64 bit; Windows Driver Type: Standard; Download Type: Optimal Driver for Enterprise (ODE) and then click search. Download the link and then follow the standard install.

10) Now go to the Oculus website and download the Rift S desktop software on your ShadowPC. Link here: https://www.oculus.com/rift/setup/?locale=en_US Stop at / skip the step in the process where it says to connect your headset. You won’t be connecting your headset because you don’t actually have a Rift S or Link cable. Nothing will fail because you haven’t connected a headset.

11) Restart your ShadowPC after the oculus software is installed. Once your ShadowPC has rebooted, go to Steam’s website on your ShadowPC, set up an account and download the Steam PC software onto your ShadowPC. After that is complete, search on Steam store for free “Steam VR” software and download that to your ShadowPC. Restart your shadowPC after installing the SteamVR software.

12) Now time to get some free games onto your ShadowPC so you will be able to test the various functionalities on Virtual Desktop so you can figure out if you are going to keep this setup. You can search for whatever you want but here are a few recommendations to download for testing: a) Steam: the Lab, Google Earth b) Oculus: Echo Arena, any game you have free on cross buy from buying on Quest c) Injecting: HyperDash Rift S alpha build from the HyperDash discord. (We will go over injecting later)

13) Now go to Virtual Desktop’s website and download the windows streaming client on your ShadowPC.  https://www.vrdesktop.net/ If there is an option choose the 64 bit version because Shadow is a 64 bit windows PC. You will need your oculus user name at some point in this process and to enter into Virtual Desktop which you can get from clicking on your profile in the Oculus App.

14) Once the virtual desktop streaming client is installed on your ShadowPC, run it if it isn’t running already. You will see an orange looking computer screen in the tool tray if it is running. Right click on that icon to open the “Settings Menu.” Follow the advice on the Virtual Desktop settings recommended for any other PC but make sure you click the box to allow remote connections. Start out for now with unchecking the box in settings for “Automatically set bit rate.” You probably also want to be sure to check the option that it will run whenever windows starts, as it will allow you to easily connect the quest whenever your Shadow is running.

15) Now put on your Quest headset. Open the Virtual Desktop app from your library. VD should load indicating it is connecting to your computer. As a quality control check/sanity check, the lower left corner of the virtual desktop interface should indicate on the version something about “sideloaded” version. Once it says connected, you may see a black screen in front of you. If so, click on it with the trigger of one of your controllers and your ShadowPC desktop should appear.

16) To run your games in the Oculus Store or SteamVR, you should start first and foremost with the Virtual Desktop “Games” tab in the headset. To get to that, double click the left controller menu button which will bring up the VD interface. On the left hand side you will see various tabs. First go to “settings” and for your first testing purposes, set Video Frame Rate and Bit Rate options to “medium.” Also turn off “sliced encoding.” Now go to the “Games” tab in the same column of tabs. There your games for Oculus Store and SteamVR should appear. Click there to start a game. If the game doesn’t start properly and it is SteamVR, close the game in the Games tab menu by hovering over it and clicking the X. Then instead click the button at the bottom left of the screen for “Start SteamVR,” and run the game from within SteamVR home. If the game is in the Oculus store or this option for a SteamVR game doesn’t work, check in with the Virtual Desktop Discord under “Shadow Streaming” channel and/or check the Virtual Desktop VR Compatibility List, https://docs.google.com/spreadsheets/d/1gRbhMw-8PDl1m2ujs_uWaxMeFxjWjihKtRjFGpd-nFY/edit#gid=2101885392 to see if there is a known issue.

17) If you have a game you didn’t get from Oculus Store or Steam, you can try “injecting the game.” This only works when you are already connected to Virtual Desktop with your shadow PC. The virtual desktop icon in the tool tray should show green now, not yellow. Click “Enter Desktop” in the virtual desktop menu in the headset, then go to the tool tray of your ShadowPC, right click using the a or b button on the right Touch controller and click on “Inject” with the trigger. Then navigate to your file system where you have the game file and load it. It should run. If not, it is possible the game is presently incompatible. I have verified the HyperDash Alpha runs just fine injected which is why I recommend that one to try. Of course, some day HyperDash will become a paid game so you may have to try something else or wait till you’re in that situation.

18) if you don’t feel like you are having an “optimal” experience in game, but everything loads, now is the time to mess with VD settings. You can adjust “sliced encoding” “bit rate” and “frame rate” in the settings menu on the headset Virtual Desktop menu to see if it changes your experience. In the streamer app, you can try choosing one of the video encoders manually, like H.264, instead of having the streamer automatically set the encoding. You can also make sure that Shadow really has the bandwidth setting to 5 mb and didn’t change back to an “automatic” setting in the Shadow Launcher. If all else fails, ask on the Virtual Desktop discord or Shadow Discords. It is possible your issue is others using your wifi, or a ton of people using their ShadowPC at different times; try another time of day before giving up. Also, mesh routers or powerline adapters seem to give some folks issues. It could also be certain router settings from blocking you from connecting.

Overall, my advice is this: Don’t go in expecting everything to work absolutely perfectly, all the time, for hours on end every day forever. It won’t. You’re literally streaming PC quality Virtual Reality content that typically requires a really powerful local PC and a wired headset connection over a high bandwidth cable using a fake computer in the cloud to your consumer-priced Quest headset instead. This is super futuristic stuff. You’re relying on a ton of different components to interact that weren’t, largely, built with eachother in mind: Steam, Oculus software, games themselves, Quest, Virtual Desktop, ShadowPC. But it’s really amazing, and can work really well most of the time, if you have the right mindset.

Now go forth and enjoy PCVR wirelessly for cheap!

View original

This topic has been closed for comments

35 replies

Userlevel 2
Badge +1

I wonder if shadow is starting the power off process. Virtual Desktop is suppose to keep Shadow alive, but it sounds like yours might be ready to sleep. Have you tried running shadow from phone to use VR then touch phone say every 15 to see if you’re giving it what it needs to stay running? Just to see?

Badge

”Virtual Desktop is suppose to keep Shadow alive”

 

Is that a new feature? I got used to moving the mouse every 25 min (annoying as hell). 

Using Shadow Boost, Mac client, 1GB up/down fibre, Oculus Quest via Virtual Desktop.

I’m also getting this: the symptom for me while playing Half Life Alex is the USB disconnect sound (higher to slightly lower pitch tones) then the whole VR environment either seems to freeze, or the whole scene moves with my head. Pressing and holding the oculus menu button doesn’t even seem to exit out of Virtual Desktop.


On the Shadow PC client (running on a Mac), I can still interact with Windows, but I have to then manually shut down Alyx using the floating SteamVR control panel (but this doesn’t allow me to save my position).


Hoping this is a glitch Shadow is aware of and fixing? Is it related to the auto shutdown at 30 minutes that was previously fixed? Or is it a Virtual Desktop issue?

Yeah I have this same issue; the timeout had been fixed for the stable PC client while using VR but now it is back in a different way with this; the Shadow doesn’t shut down itself but it disconnects the VR headset at roughly the same timing as it used to shut down the shadow.

What makes it worse is you can’t always recover without restarting Shadow entirely. At least with the old timeout with “are you there?” dialog, if you forgot to move the mouse enough and got the freeze, you could still recover by clicking “Yes, I’m still here” and then go right back in to your VR title. Now if you forget and you get that “Device disconnected” chime and message, you’re screwed. It crashes the game, it crashes Steam, and you can’t recover easily. 

I have noticed that the Oculus Rift platform seems to be able to possibly recover with just closing and reopening Virtual Desktop, but I only did that once, so I’m not sure on that.

When I play steam vr games using the oculus quest and virtual desktop, I find that after 15-20 minutes the server just shuts down. 
 

this is a Problem for my gaming but I understand why this has been put into place. 
 

my question is, is their a way to turn this feature off or extend it. I always power down the service when. Not in use I just need longer gaming time. 
 

I don’t want to put a mouse in my pocket or have to keep touching my iPhone screen to make it look like activity every 5 minutes. 
 

I just want to play a game and shutdown once I’ve finished. 
 

cheer sin advance. 
 

Banderas23

Userlevel 4
Badge +4

Unfortunately finding a way around the shutdown timer is against TOS (https://shadow.tech/usen/terms)

They are working on this issue regarding VR (thanks to the US VR exploration program) and i’m sure they will find something when VR is officially supported by Shadow :) .

You can also find here a list of what is and isn’t allowed on Shadow :)

 

Hope i answered your question properly ^^

Userlevel 6
Badge +5

Most use a bluetooth mouse in their pocket and bug it every so often when they play, or you can just bug your mouse every so often while you play. But I do hope they put a proper fix for it soon. 

Userlevel 4
Badge +4

Most use a bluetooth mouse in their pocket and bug it every so often when they play, or you can just bug your mouse every so often while you play. But I do hope they put a proper fix for it soon. 

Nice solution Lili. 

 

I'm almost certain that I heard shadow says that, at some point they will find a solution for this particular issue. But i would say this will come with the official release of the VR app , not before ( but that's just my opinion tbh)

Userlevel 2
Badge +1

Shadow is suppose to see Virtual Desktop as an input device now for VR users. Maybe try the beta client, people have reported this works for keeping Shadow alive. 

Userlevel 2
Badge +1

”Virtual Desktop is suppose to keep Shadow alive”

 

Is that a new feature? I got used to moving the mouse every 25 min (annoying as hell). 

I think its been around a month. I know its a feature, but I also have evidence that sometimes it fails. 

Badge

having the same issue here. Virtual desktop, Steam VR, oculus quest, with mobile shadow client running to start the shadow and keep it alive. Quest freezes after I hear the chime and I can only recover bij restarting quest and launching VD again.

I know there is no official quest support (yet) but sounds like there a quite a few folks that have one and would love to use a quest with shadow. Heck I plan on upgrading my shadow if native support comes out. VR + shadows is simply awsome.

Badge

@VRLife could you send me your Shadow account email in private message?

It will allow us to investigate as this is not supposed to happen anymore with Virtual Desktop.

Hi

Same issue here.

 

Hope it’ll we be solved soon

Userlevel 6
Badge +5

Hi

Same issue here.

 

Hope it’ll we be solved soon

You should DM Loic (above) as well then! 

Userlevel 6
Badge +5

I’m streaming PCVR to my Quest using Virtual Desktop.  I haven’t had any issues until Tuesday this week: after 25 minutes of VR, with no other input into the Shadow, I hear the Windows ‘Device Connected’ chime and my VR game crashes.  I then see the USB/External drive icon in my taskbar with an NVIDIA graphics card listed as the external device.  If I force the game and Steam VR to quit and get it restarted, 25 minutes later I hear the ‘Device Disconnect’ chime followed by the ‘Device Connect’ chime and again, whatever VR game I’m playing crashes.

I mentioned this in the Virtual Desktop Discord and it does appear other people are experience the issue, and if they pause VR and interact with the streamer client, they don’t get the ‘Device Connected’ chime.  I also tested leaving the streamer up NOT playing VR, and as long as I’m interacting with the desktop, I’m not getting the ‘Device Connected’.

If your question was answered/fixed please mark it as answered, thanks ^^

Badge

what is your startup process to start quest VR? maybe I’m making a mistake here. What I do:

  1. start mobile client and go to desktop mode (1mbps)
  2. log in
  3. start VD on quest
  4. start Steam VR
  5. play for 25 min and get chime error and all locks up.

for those not experiencing the issue, how do you start up?

Badge

anyone? is the discord the better place to ask these questions?

So when I try to run virtual desktop with shadow boost, both shadow and virtual desktop crash in about 5 seconds does anyone have a solution for this? Thanks!

Badge

@Fishman1  - maybe open up a separate topic so we keep this thread focussed on the  25 min issue. cheers.

Userlevel 2
Badge +1

Here is how I do it. I start Shadow on my Mac, then switch Mac to 5mbps and then go to Quest. When I use it like this it never has issues and lasts awhile. I’ve mentioned up the chain that iOS doesn't seem to keep alive. 

Userlevel 1
Badge

Here is how I do it. I start Shadow on my Mac, then switch Mac to 5mbps and then go to Quest. When I use it like this it never has issues and lasts awhile. I’ve mentioned up the chain that iOS doesn't seem to keep alive. 

And yours never times out, and you never receive the ‘new hardware’ chime?  I have the issue if I have the streamer open on either my mac or my PC.

Userlevel 1
Badge

Hi

Same issue here.

 

Hope it’ll we be solved soon

You should DM Loic (above) as well then! 

Thanks Lily.  I did but haven’t heard back.  I’m **assuming** the team is working on it ;)

Userlevel 2
Badge +1

Here is how I do it. I start Shadow on my Mac, then switch Mac to 5mbps and then go to Quest. When I use it like this it never has issues and lasts awhile. I’ve mentioned up the chain that iOS doesn't seem to keep alive. 

And yours never times out, and you never receive the ‘new hardware’ chime?  I have the issue if I have the streamer open on either my mac or my PC.

Not when my Mac is running the stream. I turn it to 5mbps, then fire the quest up. Your Shadow has 100mbps upload and thats what the stream uses. Hence the 5mbps, to leave plenty of bandwidth for Quest.

Userlevel 1
Badge

Here is how I do it. I start Shadow on my Mac, then switch Mac to 5mbps and then go to Quest. When I use it like this it never has issues and lasts awhile. I’ve mentioned up the chain that iOS doesn't seem to keep alive. 

And yours never times out, and you never receive the ‘new hardware’ chime?  I have the issue if I have the streamer open on either my mac or my PC.

Not when my Mac is running the stream. I turn it to 5mbps, then fire the quest up. Your Shadow has 100mbps upload and thats what the stream uses. Hence the 5mbps, to leave plenty of bandwidth for Quest.

It’s not a bandwidth issue.  The issue is that the Shadow doesn’t recognize VR as input and tries to shut down after 30 minutes when it hits the inactivity timeout.  It was fixed for a week, but has come back as a weird hardware connect/disconnect issue.