Install v4l2loopback

i previously tried to install v4l2loopback from aur but it failed

then i realized that i could install it with pacman and tried to install it
but it gave me the following output

warning: v4l2loopback-dkms-0.12.5-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) v4l2loopback-dkms-0.12.5-1

Total Installed Size:  0.10 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> Unable to remove module v4l2loopback/0.12.5 for kernel 5.12.19-1-MANJARO: Not found in dkms status output.
:: Processing package changes...
(1/1) reinstalling v4l2loopback-dkms               [######################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> Unable to install module v4l2loopback/0.12.5 for kernel 5.12.19-1-MANJARO: Missing kernel modules tree.

and i have installed linux 512 headers
when i try to install linux 512 headers this is the output

warning: linux512-headers-5.12.19-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux512-headers-5.12.19-1

Total Installed Size:  125.10 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                     [#####################] 100%
(1/1) checking package integrity                   [#####################] 100%
(1/1) loading package files                        [#####################] 100%
(1/1) checking for file conflicts                  [#####################] 100%
(1/1) checking available disk space                [#####################] 100%
:: Running pre-transaction hooks...
(1/2) Remove upgraded DKMS modules
==> Unable to remove module v4l2loopback/0.12.5 for kernel 5.12.19-1-MANJARO: Not found in dkms status output.
(2/2) Save Linux kernel modules
:: Processing package changes...
(1/1) reinstalling linux512-headers                [#####################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Install DKMS modules
==> Unable to install module v4l2loopback/0.12.5 for kernel 5.12.19-1-MANJARO: Missing kernel modules tree.
(4/4) Restore Linux kernel modules

==> Warning:
	 -> Kernel has been updated. Modules of the current kernel
	 -> have been backed up so you can continue to use your
	 -> computer. However, the new kernel will only work 
	 -> at next boot.

and trying to turn on the vrl2loopbackgives this output

modprobe: FATAL: Module v4l2loopback not found in directory /lib/modules/5.10.59-1-MANJARO

so do you guys think that downgrading the kernal would help as it says 5.10

someone please help me i’ve spent hours trying to fix this

Try this:

sudo pacman -Syu dkms base-devel --needed

Reboot afterwards.

If it’s still not working I would try it with kernel 5.10.

Headers could be installed via

sudo pacman -S $(ls /boot | awk -F "-" '/^linux/ { print $1"-headers" }')
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.