Pimax Play, OBS and OpenXR-Mirror results in desktop composition disabled error

Hey all,

Not sure if I posted this in the correct forum category but here goes…

Running AsRock x870e Taichi, 9800x3d, RTX5090 Vanguard, 64GB 6000 CL30.

Installed OBS and running as Administrator. Installed the github OpenXR-Mirror, having a GoPro as webcam and created a scene for desktop and one for the OpenXR capture with the cam as overlay.

This all seems to work fine. I can record the desktop app (iRacing GUI) and able to switch to capturing the openXR render when in the car. But then after a couple of minutes my whole screen goes black, the HMD turns off and a minute later the screen comes back (not the HMD). There is an error window on the desktop saying ‘Can not complete operation, dekstop composition disabled’.

I read about DWM and effects, HAGS etc but not a resolution to my issue so far. Did any of you running into this before and how did you solve it, if at all?

By the way, I run a ‘45" LG UltraGear™ OLED curved gaming monitor | 800R’ next to my Crystal Super 50ppd.

Any insight is much appreciated

@Barz_beast any idea about this?

1 Like

What recording settings are you using in OBS?

Having the bit rate set too high can cause an encoder overload when using the OpenXR plugin

Reduce the bitrate to 10,000 and work upwards to find a tolerable quality

I actually use OBS NDI to record on a gaming laptop to reduce the overhead on the gaming PC despite the gaming PC running a 5090 and Intel Ultra 9 285k, the 50ppd can be demanding

Also verify integrity of SteamVR in Steam Settings as offen the plugin gets blocked

Ensure you have allowed exceptions to all relevant apps through Windows Firewall and also have OBS set to run as administrator

1 Like

Thanks for the feedback.

The recording bitrate was even only 6000 and 1080p. I don’t use SteamVR with iRacing so that is also not the problem. Running indeed as Administrator.

I now used window capture on 1440p recording and 2x streaming services with total 20000 bitrate and this works perfectly. Of course there is a hit on fps but even that is marginal It helped when switching of some of the internal car mirrors. The 5090 is making no sweat, the 9800x3d is having the hardest hit, hence switching of the car mirrors.

In other words, the OpenXR mirror plug in for OBS is not suitable for my personal use case I guess :wink:

I might end up with a capture device like the AVerMedia Live Gamer DUO Capture Card GC570D in a separate PC though. I’m experimenting a lot to find some good results all over. Capture in VR that is watchable for audience is a big challenge due to the shakiness.

What are you using for the recording encoding? I was using nvec but notice it was taking away from my performance. I switched it over to the CPU since I have enough cores and told OBS to just stay on the non-x3d side. In games like beamNG I still need more power, so I learned about NIS, and I’m surprised it’s not more known about.

You can send the desktop OBS feed via NIS over the network to another PC/laptop and have OBS there to do the work. If your network is good enough you might not even need the hardware.

That would free up your computer from having to deal with recording since we’re already pushing the limits with this headset.

Hi Barz_beast,

indeed using nvec right now and I would move it to cpu if I would have those cores but not on the 9800x3d unfortunately. Thanks for the suggestions though and will tinker with all of that. I do have a rather heavy strong (5950 cpu with rtx3090) secondary PC all utp wired over 2,5g switch in my house so the NDI plugin might be a very good option