Skype and VLC cannot use v4l2loopback video device

I'm playing around with using DSLR cameras as webcams with gphoto (CLI to cameras over USB) and v4l2loopback (dummy video devices), which works with OBS but neither Skype nor VLC which will either show a black image or fail with an error message. Running VLC in verbose mode and digging a bit around showed that … Continue reading Skype and VLC cannot use v4l2loopback video device

Higher frame rate with Microsoft LifeCam and Linux

The Microsoft LifeCam is a versatile USB Webcam family which is supported well in Ubuntu Linux. Unfortunately it records HD videos only at low fps, but there is a workaround to get high resolution with 30 fps. Install guvcviewOpen guvcview, switch to the Video Controls tab and pick the LifeCamSelect 30/1 fps in the Frame … Continue reading Higher frame rate with Microsoft LifeCam and Linux

Nautilus browsing large windows share is slow

When browsing large windows (samba) shares with Ubuntu Nautilus (that's the equivalent of the Windows File Explorer) I observed that shares which include many files and directories (a few hundred) take a few seconds to browse over WiFi, but almost instantly display over a fast LAN. A similar difference in speed is noticeable when searching … Continue reading Nautilus browsing large windows share is slow

Building the perfect, cheap DIY NAS

This post was extensively discussed on Hacker News.Alex Buznik, nas.net.ua kindly provided a two-part Russian translation: part1 and part2. This post discusses hardware considerations, installing Linux, setting up software RAID, robustness and dealing with data corruption. I've been running for a decade a self-built NAS at home, so I thought I'd write down my experience … Continue reading Building the perfect, cheap DIY NAS

First write operation to large ext4 file system is slow

I'm running a large (>20TB) ext4 file system and noticed that the first substantial write operation after mounting is very slow and involves plenty of drive activity. The reason seems to be some memory structure initialisation as described here: https://linux-ext4.vger.kernel.narkive.com/SUFNE520/ext4-slow-performance-on-first-write-after-mount The workaround is thankfully as simple as running this command in a script after mounting … Continue reading First write operation to large ext4 file system is slow

Resetting a PCI device

The Wi-Fi adapter on my VivoBook 17 has been acting up under Ubuntu 18.04 LTS insofar that at a random point in time, possibly accelerated by power saving features, the Wi-Fi will stop working with suspicious syslog entries: ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110 The usual tricks (suspend/resume, reload driver, … Continue reading Resetting a PCI device