$ ffmpeg -f x11grab -i :0.0 -vcodec libvpx -s 1920x1080 /tmp/ffout.webm
[...]
Input #0, x11grab, from ':0.0':
Duration: N/A, start: 1579388031.870036, bitrate: N/A
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 640x480, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc
File '/tmp/ffout.webm' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> vp8 (libvpx))
Press [q] to stop, [?] for help
[libvpx @ 0x56c7902a5900] v1.8.1
Output #0, webm, to '/tmp/ffout.webm':
Metadata:
encoder : Lavf58.20.100
Stream #0:0: Video: vp8 (libvpx), yuv420p, 1920x1080, q=-1--1, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc
Metadata:
encoder : Lavc58.35.100 libvpx
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
[...]
Even though I'm setting the output resolution to my screen size, it seems to be detecting the input resolution at 640x480, and I haven't found any way to specify input resolution. I've tried with several different codec/container combinations but it still only captures the upper left corner.
I was wondering if it could have something to do with Qubes because of the way the desktop is shared by different VMs.