So I had installed the latest version of OBS Studio (26.x) from the official channels but when I went to the output mode it only listed software encoding. In the logs it mentioned FFMPEG-VAAPI but wasn’t using it as any recording was using 30%-50% CPU on a low powered laptop.
In Settings -> Output change Outmode to Advanced (from Simple) then on Streaming -> Encoder change that to FFMPEG VAAPI (Recoding should just be set to use Streaming Encoder which is the default)
So I had my usual problem with screen tearing on Ubuntu 19.10 but instead of my usual switching to Metacity + Compton I wanted to try using Gnome Shell. However Gnome shell doesn’t support replacing the compositor.
First step is to allow the NVidia driver to support kernel mode setting:
Probably the weakest element on the laptop is the Webcam which can output 720p@30fps. By default the low light performance is not that great but you can improve it considerably by trading frame rate for low light performance.
First install the Video 4 Linux utils:
sudo apt install v4l-utils
Now run the following command (the default is 0)
v4l2-ctl --set-ctrl=exposure_auto_priority=1
Now we have reduced the noise level considerably you can play with the sharpness levels 0-7 (the default is 3)
I was experiencing a loop where after suspending and resuming the laptop it would go back into suspend over and over again. To fix this just update /etc/default/grub and add button.lid_init_state=open to GRUB_CMDLINE_LINUX_DEFAULT
Then if you want non-admin users to be able to use it (like your kids) run
sudo usermod -a -G plugdev non-admin-user
If you are admin you just need to unplug and replug the microbit (the udev rules run on hot-plug), if you are non-admin you will need to logout and back in to get the updated user groups