gem
$ sudo apt-get -y install v4l2loopback-dkms
The user might need to be added to the group to grant previliges.
Create 2 virtual devices - this solution is non-permanent.
$ sudo modprobe v4l2loopback devices=2 video_nr=10,11 card_label='Quest1','Quest2'
To make it permanent, create '''/etc/modules-load.d/v4l2loopback.conf''' with these contents:
v4l2loopback
Or: add the line to /etc/modules.
$ scrcpy -s 2G0YC1ZG2P08CV --v4l2-sink=/dev/video10 -N
Run:
adb devices
A newly connected device will show:
list of devices attached
2G0YC1ZG2P08CV unauthorized