Issue with: Raspberry Pi4 + Moonlight (playing audio on the host PC) + VirtualHere (generic)

Hello,

I was planning on buying a license for the CPU optimized build for Raspian, but before that, I was testing the "Generic" one. 

Initially I was using my Macbook to connect to my desktop with Moonlight, for game streaming but the issue is that it doesn't stream back the microphone. I tried installing macOS's VirtualHereServer for using only my USB headset connected remotely to my desktop, but it seems VirtualHereServer it is not working well on macOS Big Sur.

So, my next step was using a Pi4 with VirtualHere Server for only connecting my headset remotely and keep using Moonlight on my Mac for streaming the video (it allows me to play audio on the host PC) and it works perfectly.

My final step is to use Moonlight directly from the Pi4 (which works fine without using VirtualHere at the same time) and VirtualHere Server too, but there seems to be an issue that causes the mouse to hang when using both at the same time while connecting to the same desktop. Even after closing Moonlight the mouse stays hanging on the RaspianOS until I kill the VirtualHere process.

Is it something that is "fixed" on the CPU optimized build or is a bug?

Regards,

Yorch

#2

In the server configuration add the line

AutoAttachToKernel=1 to enable the mouse to work again when you stop using it via virtualhere.

OSX 10.15+ is not supported

#3

Thank you for your reply and confirming the macOS support. But for now, let's forget about the mac and focus on the Pi4.

That's the thing, the only device I am using with VirtualHere is my USB headset. The steps I am following are:

- On Pi4, I start VirtualHere server (currently I have 1 keyboard, 1 mouse and 1 Headset connected to the Pi4)
- On Windows 10 desktop, I start VirtualHere client and connect only the USB HeadSet (at this point I can get audio and use mic with not issues)
- Back on Pi4
- I start Moonlight-qt and connect to my desktop, I open Steam Big Picture. I can use the headset, the keyboard works fine but the mouse hangs. If I open Moonlight without having the VirtualHere Server running, it works fine.
- I exit Moonlight-qt and the mouse is still hanging.
- Using the keyboard, I open a terminal and kill the VirtualHere Server process
- Mouse comes back to normality.

#4

For othersreading - i wasnt sure of the problem with this.

@yorchsort if you experiment a bit and see if you can isolate the issue that would be good. VirtualHere wont grab the mouse unless it has to to redirect it so i cant see how it can prevent the mouse from working. Another option is to try a usb hub - something to isolate the usb ports from the pi to make sure there is enough power

#5

Understood, thank you for your support. Will keep troubleshooting. Regards.