Package Details: v4l2loopback-dc-dkms 1:2.1.5-1

Git Clone URL: https://aur.archlinux.org/droidcam.git (read-only, click to copy)
Package Base: droidcam
Description: v4l2-loopback kernel module - DroidCam version
Upstream URL: https://github.com/dev47apps/droidcam-linux-client
Keywords: android ios webcam
Licenses: GPL-2.0-or-later
Provides: V4L2LOOPBACK-MODULE
Submitter: marquicus
Maintainer: mhdi
Last Packager: mhdi
Votes: 145
Popularity: 1.42
First Submitted: 2011-06-29 20:31 (UTC)
Last Updated: 2026-02-21 07:09 (UTC)

Required by (4)

Sources (3)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 39 Next › Last »

HurricanePootis commented on 2026-05-15 06:56 (UTC)

@mhdi

In droidcam.conf, you have:

videodev
v4l2loopback-dc
snd-aloop

This means droidcam.conf is reliant on there being v4l2looback-dc. However, you have the droidcam package rely on V4L2LOOPBACK-MODULE, which also includes v4l2loopback.

amfern commented on 2026-04-28 00:58 (UTC)

I get an error when connecting to the camera

droidcam
Video: /dev/video0
Audio: hw:0,1,0

(droidcam:514803): Gtk-CRITICAL **: 09:56:36.979: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
free(): invalid size
fish: Job 1, 'droidcam' terminated by signal SIGABRT (Abort)

theoratkin commented on 2026-04-10 18:23 (UTC)

I experience frequent crashes with this package lately, which seem to be caused by dynamically linked libjpeg-turbo. The official release from GitHub works well.

Would you consider switching this package to statically linked libjpeg-turbo like the developer recommends?

https://github.com/dev47apps/droidcam-linux-client/issues/305

peter.lyonskehl commented on 2026-02-21 16:53 (UTC)

The last errors on current Manjaro (continuing from the previous comment):

==> Building image from preset: /etc/mkinitcpio.d/linux-ck.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-ck -g /boot/initramfs-linux-ck.img
==> ERROR: Invalid option -k -- '/boot/vmlinuz-linux-ck' must be readable
==> Building image from preset: /etc/mkinitcpio.d/linux-ck.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-ck -g /boot/initramfs-linux-ck-fallback.img -S autodetect
==> ERROR: Invalid option -k -- '/boot/vmlinuz-linux-ck' must be readable
error: command failed to execute correctly

peter.lyonskehl commented on 2026-02-21 16:52 (UTC)

Warnings and errors (though it did get updated) on current Manjaro x64. At least some are because of upstream, but unsure if all are so.

yay
...
1  aur/v4l2loopback-dc-dkms  1:2.1.4-1 -> 1:2.1.5-1
...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
...
src/decoder_snd.c: In function ‘find_snd_device’:
src/decoder_snd.c:291:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
  291 |                 errprint("Unexpected audio device buffer size: %ld expected %ld\n",
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common.h:35:39: note: in definition of macro ‘errprint’
   35 | #define errprint(...) fprintf(stderr, __VA_ARGS__)
      |                                       ^~~~~~~~~~~
src/decoder_snd.c:291:79: note: format string is defined here
  291 |                 errprint("Unexpected audio device buffer size: %ld expected %ld\n",
      |                                                                             ~~^
      |                                                                               |
      |                                                                               long int
      |                                                                             %d
...
src/decoder_snd.c:291:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
  291 |                 errprint("Unexpected audio device buffer size: %ld expected %ld\n",
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common.h:35:39: note: in definition of macro ‘errprint’
   35 | #define errprint(...) fprintf(stderr, __VA_ARGS__)
      |                                       ^~~~~~~~~~~
src/decoder_snd.c:291:79: note: format string is defined here
  291 |                 errprint("Unexpected audio device buffer size: %ld expected %ld\n",
      |                                                                             ~~^
      |                                                                               |
      |                                                                               long int
      |                                                                             %d
...
(2/3) Install DKMS modules
==> dkms install --no-depmod v4l2loopback-dc/2.1.5 -k 6.18.8-1-MANJARO
Deprecated feature: CLEAN (/usr/src/v4l2loopback-dc-2.1.5/dkms.conf)
==> dkms install --no-depmod v4l2loopback-dc/2.1.5 -k 6.12.68-1-MANJARO
Deprecated feature: CLEAN (/var/lib/dkms/v4l2loopback-dc/2.1.5/source/dkms.conf)
==> dkms install --no-depmod v4l2loopback-dc/2.1.5 -k 6.19.0-rc7-1-MANJARO
Deprecated feature: CLEAN (/var/lib/dkms/v4l2loopback-dc/2.1.5/source/dkms.conf)
...
==> depmod 6.18.8-1-MANJARO
==> ERROR: Missing 5.10.248-1-MANJARO kernel modules tree for module v4l2loopback-dc/2.1.5.
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux519.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.19-x86_64.img
==> ERROR: Invalid option -k -- '/boot/vmlinuz-5.19-x86_64' must be readable
==> Building image from preset: /etc/mkinitcpio.d/linux519.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.19-x86_64-fallback.img -S autodetect
==> ERROR: Invalid option -k -- '/boot/vmlinuz-5.19-x86_64' must be readable
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64.img
==> ERROR: Invalid option -k -- '/boot/vmlinuz-6.0-x86_64' must be readable
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64-fallback.img -S autodetect
==> ERROR: Invalid option -k -- '/boot/vmlinuz-6.0-x86_64' must be readable
==> Building image from preset: /etc/mkinitcpio.d/linux612.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.12-x86_64 -g /boot/initramfs-6.12-x86_64.img

and more - but over a limit of a comment length here, so I will post a separate comment.

dcafe commented on 2026-01-06 13:40 (UTC)

You need to add linux-headers as a dependency

s5e commented on 2025-12-03 02:22 (UTC)

Seems like ffmpeg now has libswscale.so.9 so this fails again (looking for libswscale.so.8).

crovaxon commented on 2025-10-12 16:54 (UTC)

ffmpeg 2:8.0-3.1 (CachyOS has optimized rebuilds so AFAIK it's just 2:8.0-3)

Cleared my cache and reinstalled droidcam, that indeed did the trick, Thank you!

Levitating commented on 2025-10-12 16:40 (UTC)

What's your ffmpeg version? Try reinstalling the package.

If you need help, my email is in the PKGBUILD (click on "View PKGBUILD" on the right-hand side).

crovaxon commented on 2025-10-12 16:35 (UTC) (edited on 2025-10-12 16:37 (UTC) by crovaxon)

Hello, still rather new to Arch :)

I have issues getting droidcam to run on a current install (CachyOS). ffmpeg seems to have updated recently, resulting in the following error when trying to run droidcam or droidcam-cli:

error while loading shared libraries: libswscale.so.8: cannot open shared object file: No such file or directory

I traced back libswscale to belonging to ffmpeg. Does that mean droidcam requires a rebuild with new ffmpeg?