Skip to content

Linux Installation

Koushik Dutta edited this page Aug 5, 2021 · 11 revisions

Installation

Vysor comes as a deb or (unofficial) aur package. https://www.vysor.io/download/linux

Virtual Camera

Vysor's virtual camera needs ffmpeg and Video4Linux (v4l2) to be installed.

sudo apt install v4l2loopback-dkms v4l-utils ffmpeg
sudo modprobe v4l2loopback devices=2 exclusive_caps=1
# this may error out with:
# $ modprobe: ERROR: could not insert 'v4l2loopback': Bad address

If the v4l2loopback installation fails, you may need to uninstall and reinstall from source:

# if it does error out, uninstall it and reinstall from source:
sudo apt remove v4l2loopback-dkms
git clone https://github.com/umlaeute/v4l2loopback.git
cd v4l2loopback
make
sudo make install
# try again
sudo modprobe v4l2loopback devices=2 exclusive_caps=1

The v412loopback kernel module will need to be set up to automatically load on boot or manual modprobe will be necessary every reboot. Instructions here.

Clone this wiki locally