r/iVRy_VR•
grumd

Anyone been able to set up PS4 camera with Monado in Ubuntu VM? I get "PS4 camera not found" all the time

Installed Ubuntu 20.04 into VMware to try PS4 camera out.

Been following this guide: https://monado.freedesktop.org/positional-tracking-psmove.html

https://puu.sh/HGwSm/183c53110d.png - Here's what I get all the time. Tried different USB ports, doesn't work. (Also weird how the guide tells me to run `sudo ./ps4eye_init.py` without using python?)

Has anyone been able to do it in a VM?

VMware also shows this crap every time I connect my camera: https://puu.sh/HGwWQ/eabc408eda.png

Edit: Solved

I could only calibrate PS4 Camera after I installed Ubuntu as a proper OS on my hard drive instead of using VMware.

My instructions for anyone who wants to try it:

  1. Install Ubuntu 20.04 on your hdd or ssd
  2. Open terminal, do these commands:
    sudo add-apt-repository ppa:monado-xr/monado
    sudo apt-get update
    sudo apt install python3-pip
    sudo apt install python3-usb
    sudo pip3 install pyusb
    wget https://raw.githubusercontent.com/ps4eye/ps4eye/master/python/ps4eye_init.py
    wget -O firmware.bin 'https://github.com/psxdev/luke_firmwares/blob/master/101_85C8E0_64036.bin?raw=true'
    sudo python3 ./ps4eye_init.py
  1. Last command should send firmware to your camera. If it worked correctly, it just closes and says nothing. If you try that command again, it should say "PS4 camera already initialized".
  2. Now do "sudo apt install monado-gui" and then "monado-gui"
  3. Then just follow these instructions for calibration: https://monado.freedesktop.org/positional-tracking-psmove.html#calibrating-the-camera-with-monado

Posted May 14, 2021, 11:51 AM UTC · edited

49
grumdOP•

Okay I solved this issue, just had to go into VM settings and switch from USB 2.0 to USB 3.1

Edit: Ok lol, so the python script works now and uploads firmware to the camera successfully, BUT it still doesn't work because I just see black screen in guvcview no matter which USB port I try.

I might have to do a proper Ubuntu install instead of a VM. I suppose I see black screen because PS4 camera doesn't like using USB through VMware

1
iVRy_VR•

More likely to be the port/cable in use. You need to connect the camera to a USB3 port on the motherboard (rear), not a front port, or a USB add-on card. In addition the only USB chipsets currently known to work are Intel and AMD.

1
grumdOP•

Tried connecting it to every port I have, including 3.2 gen 2 on the back. I have an X570 board, so an AMD chipset. I'm not sure if mobo chipset and usb chipset is the same thing though.

I'm using the Sony adapter for the camera

1
grumdOP•

I'm pretty sure it's because of VMware. They even say on their website that not all webcams work.

https://www.vmware.com/support/ws45/doc/devices_usb_ws.html

Modems and certain streaming data devices, such as speakers and Web cams, do not work properly

1
iVRy_VR•
1
grumdOP•

I could use the camera in the Windows Camera app without even installing anything. I'm in the process of physically installing Ubuntu right now, will talk to you later when I have the calibration file :)

1
iVRy_VR•

You have to upload the firmware to the camera before it works as a camera. If you can use the camera in Windows camera app, then the issue is with VMWare.

1
grumdOP•

I know, I know. I hope you'll be here in like 30-60 mins, I really wanna try out ivry with monado, calibration file coming soon!

1
grumdOP•

Calibration was easy, I've sent you an email with the calibration file, please give beta test ༼ つ ◕_◕ ༽つ

1
cacongo•

I followed the tutorial step by step, everything went fine, but the camera just show a Black screen.

I'm using an actual ubuntu PC, not a vm.

1
[deleted]•

[removed]

1
[deleted]•

[removed]

1
Guinamo•

OK its working for me. I have send you a calibration file :-) Waiting for reply for BETA :-)

1