What happened?
openSUSE Tumbleweed
fakecam 2.2.0
snap installation
KDE 24.12.2
Wayland
If I launch fakecam then it works (it consumes 65 % CPU power !)
then I quit fakecam
then
If I select fakecam in Skype I get a black screen
What should have happened?
If I select fakecam in Skype I get a picture.
Output of snap info $snap_name
:~> snap info fakecam
name: fakecam
summary: Fakecam
publisher: Lucy Llewellyn (lucyllewy✪)
store-url: https://snapcraft.io/fakecam
contact: https://github.com/diddlesnaps/fakecam/issues
license: unset
description: |
Fake background for your webcam for use in streaming and video conferencing.
The app provides the ability to either blur your surroundings or replace them with an image of
your choosing. There is also a feature to apply a Star Wars holograph-syle effect to make it
appear that you are talking from a galaxy far away. The app will make this cut-out version of your
Webcam feed available as a second webcam feed to use in any webcam-supporting app such as Zoom or
Skype - while fakecam is running, simply choose the "Fakecam" video input device in a third-party
app to use the output of fakecam as your video feed for that app.
[Based on the work of Ben Elder](https://elder.dev/posts/open-source-virtual-background/)
## v4l2loopback
To use this app you need to install the `v4l2loopback` kernel module. In Debian and Ubuntu
derivatives this is supplied in the `v4l2loopback-dkms` package in their archives. There is a
script included at the bottom of this page that you may use to understand the simple steps.
### Step by step instructions
On Debian and Ubuntu install the package with:
sudo apt install v4l2loopback-dkms
You will also need to configure the kernel module with some non-default options. Do this by adding
the following line into `/etc/modprobe.d/fakecam.conf` and then run `sudo modprobe -r
v4l2loopback; sudo modprobe v4l2loopback`:
options v4l2loopback devices=1 video_nr=20 card_label="fakecam" \
exclusive_caps=1
The kernel module is not loaded at bootup so we also need to add a configuration to make it load
automatically. On Debian and Ubuntu this is done via adding `v4l2loopback` as a single word on a
new line in a new file called `/etc/modules-load.d/fakecam.conf`.
## TL;DR Script for Debian and Ubuntu derivatives
sudo apt-get install v4l2loopback-dkms
echo options v4l2loopback devices=1 video_nr=20 \
card_label="fakecam" exclusive_caps=1 | sudo tee -a \
/etc/modprobe.d/fakecam.conf
echo v4l2loopback | sudo tee -a /etc/modules-load.d/fakecam.conf
sudo modprobe -r v4l2loopback
sudo modprobe v4l2loopback
## Credits
* [Ben Elder](https://elder.dev) for the original implementation
* Snap Store Banner Photo by [Wallace
Chuck](https://www.pexels.com/@chuck?utm_content=attributionCopyText&utm_medium=referral&utm_sourc
e=pexels) from
[Pexels](https://www.pexels.com/photo/woman-in-yellow-top-3189984/?utm_content=attributionCopyText
&utm_medium=referral&utm_source=pexels)
commands:
- fakecam.clinfo
- fakecam
- fakecam.gui
snap-id: vaWdbpmiYyv4qgsmTaqGfVgJE5F592w6
tracking: latest/stable
refresh-date: today at 16:03 CET
channels:
latest/stable: 2.2.0 2020-12-10 (104) 255MB -
latest/candidate: ↑
latest/beta: 3.0.0 2021-05-24 (112) 397MB -
latest/edge: 3.0.0 2021-12-30 (156) 1GB -
installed: 2.2.0 (104) 255MB -
Output of snap connections $snap_name
:~> snap connections fakecam
Interface Plug Slot Notes
camera fakecam:camera :camera manual
content[gnome-3-28-1804] fakecam:gnome-3-28-1804 gnome-3-28-1804:gnome-3-28-1804 -
content[gtk-3-themes] fakecam:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] fakecam:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] fakecam:sound-themes gtk-common-themes:sound-themes -
desktop fakecam:desktop :desktop -
desktop-legacy fakecam:desktop-legacy :desktop-legacy -
gsettings fakecam:gsettings :gsettings -
home fakecam:home :home -
network fakecam:network :network -
network-bind fakecam:network-bind :network-bind -
opengl fakecam:opengl :opengl -
removable-media fakecam:removable-media - -
wayland fakecam:wayland :wayland -
x11 fakecam:x11 :x11 -
Output of snap version
:~> snap version
snap 2.68
snapd 2.68
series 16
opensuse-tumbleweed 20250306
kernel 6.13.5-1-default
Relevant log output
Teminal output of app
:~> fakecam
No background specified. will blur your background instead.
Starting capture using device: /dev/video0
Resolution: 640:480
OpenCL program build log: imgproc/filterSepCol
Status -11: CL_BUILD_PROGRAM_FAILURE
-D RADIUSY=110 -D LSIZE0=16 -D LSIZE1=16 -D CN=3 -D srcT=int3 -D dstT=uchar3 -D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(0)DIG(1)DIG(0)DIG(1)DIG(0)DIG(0)DIG(1)DIG(0)DIG(0)DIG(1)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(1)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)DIG(0)
(): Warning: Function col_filter is a kernel, so overriding noinline attribute. The function may be inlined when called.
ptxas error : Entry function 'col_filter' uses too much shared data (0xff10 bytes, 0xc000 max)
What happened?
openSUSE Tumbleweed
fakecam 2.2.0
snap installation
KDE 24.12.2
Wayland
If I launch fakecam then it works (it consumes 65 % CPU power !)
then I quit fakecam
then
If I select fakecam in Skype I get a black screen
What should have happened?
If I select fakecam in Skype I get a picture.
Output of
snap info $snap_nameOutput of
snap connections $snap_nameOutput of
snap versionRelevant log output
Teminal output of app