PS Vita webcam streaming on Linux comes down to the USB port
A Linux user got PS Vita webcam streaming working with udcd_uvc by moving the Vita to a different USB controller.
A Linux user got PS Vita streaming working on CachyOS, an Arch-based distro. The Vita runs udcd_uvc, a USB video setup that makes the console show up as a webcam, and the PC then sees it as /dev/video0.
On this AMD board, the Vita was ignored on one group of USB ports. lsusb found it, but the webcam driver failed with “GET_CUR UVC probe control : -110” in dmesg. The ports tied to the chipset’s USB controller worked. The author did not test whether the upscaling config helped, so that part is unclear.
How to try it:
- Plug the Vita into a port on a different USB controller. Run
lsusb -tto see which bus each port uses. - Run
ls /dev/video*and check for /dev/video0. - Play it with mpv:
mpv --profile=low-latency --vo=gpu av://v4l2:/dev/video0 --demuxer-lavf-o=video_size=960x544,framerate=30 - Stay at 30 fps, since 60 fps froze for him. Use f or a double-click for fullscreen. Space and right-click pause the stream.
- Turn off the Vita’s sleep mode. It sometimes drops off USB for a second, and the player stops. Restart the player when that happens.