sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.66k stars 1.52k forks source link

Using Oculus/Meta Quest 2 and SteamVR with Sandboxie-Plus #2212

Open mlpo opened 2 years ago

mlpo commented 2 years ago

Describe what you noticed and did

I would like to be able to use my Quest 2 with applications running in Sandboxie-Plus, usually launched with SteamVR.

So I considered two scenarios, but neither seems to work:

  1. Launch SteamVR directly (not running via Sandboxie), then launch VR applications via Sandboxie
  2. Launch SteamVR and VR applications via Sandboxie

1. Launch SteamVR directly, then launch applications via Sandboxie

I used the following options for the sandbox:

OpenIpcPath=*\BaseNamedObjects\vrdashboard.exe
OpenIpcPath=*\BaseNamedObjects\VR_*
OpenIpcPath=*\BaseNamedObjects\VRBootstrapper
OpenIpcPath=*\BaseNamedObjects\SteamVR_*
OpenPipePath=\Device\NamedPipe\SteamVR_Namespace
OpenPipePath=\Device\NamedPipe\VR_CompositorPipe_*
OpenPipePath=\Device\NamedPipe\VR_ServerPipe_*

Then performed following steps:

Issue: the application launches but does not seem able to communicate with SteamVR.

So I guess there is a communication problem between the app and SteamVR.

2. Launch SteamVR and VR applications via Sandboxie

I performed following steps:

Issue: SteamVR launches without a problem, but does not seem to be able to communicate with the headset (Quest 2, connected using official Oculus windows app running without Sandboxie).

Here I guess there is a communication problem between SteamVR and the headset/Oculus app. So I would tend to believe that this problem is completely independent from issue #1243 (on the other hand, SteamVR seems stable and does not crash, probably thanks to #1243 work, even if it does not detect the Quest 2).

Reproducibility

It seems to me that the first scenario is easier to reproduce without having a Quest 2 headset.

Other details

How often did you encounter it so far?

Each time.

Affected program

SteamVR

Download link

Not relevant

Where is the program located?

The program is installed both inside and outside the sandbox.

Expected behavior

Ideally, both scenarios described would work. But a single functional would be enough to use VR applications in Sandboxie with the Quest 2.

What is your Windows edition and version?

Windows 10 Pro 21H2

In which Windows account you have this problem?

A local or Microsoft account without special changes.

Please mention any installed security software

None

What version of Sandboxie are you running?

Sandboxie-Plus v1.3.2

Is it a new installation of Sandboxie?

I just updated Sandboxie from a previous version (to be specified).

Is it a regression?

Not sure

In which sandbox type you have this problem?

In a Standard isolation sandbox (yellow sandbox icon).

Can you reproduce this problem on an empty sandbox?

I can confirm it also on an empty sandbox.

Did you previously enable some security policy settings outside Sandboxie?

No.

Crash dump

No response

Trace log

Files will be available until 2022-10-02.

Scenario 1. Scenario 2.

Sandboxie.ini configuration

No response

OskarKasprzak commented 2 years ago

Just wanted to say that this is still an issue. When I try to run SteamVR in Sandboxie it says "headset not detected". Is this really an issue with sandboxie, or are we missing some settings?

Cthululz commented 10 months ago

Same thing for me using a Valve Index and lighthouses. I can launch SteamVR but it cannot find the headset or the lighthouses. I can typically run VR games, but they don't detect the hardware so it will default to using mouse/keyboard if the game allows that. Oftentimes running VR applications will cause Win11 to bluescreen for a DPC call.