Melechtna
New Member
I'm on NixOS to start with.
The virtual camera, while it starts just fine, with absolutely 0 errors relating to it in the console, it never outputs anything, no program that interfaces with webcams can detect it. After force reloading the v4l2loopback module, it came up correctly, meaning somewhere along the way, the module isn’t being loaded either properly, or just period until I reload the module.
And yes, if I run lsmod | grep v4l2loopback before doing the reload, it is present. So I have no idea why the reload is necessary in the first place.
This should be the relevant part of my config.
The virtual camera, while it starts just fine, with absolutely 0 errors relating to it in the console, it never outputs anything, no program that interfaces with webcams can detect it. After force reloading the v4l2loopback module, it came up correctly, meaning somewhere along the way, the module isn’t being loaded either properly, or just period until I reload the module.
And yes, if I run lsmod | grep v4l2loopback before doing the reload, it is present. So I have no idea why the reload is necessary in the first place.
Code:
# Kernel
boot.kernelPackages = pkgs.linuxPackages_zen;
boot.kernelModules = [ "v4l2loopback" ];
boot.initrd.kernelModules = [ "amdgpu" "v4l2loopback" ];
boot.extraModulePackages = [ pkgs.linuxKernel.packages.linux_zen.v4l2loopback ];
This should be the relevant part of my config.