-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Description
Env
Deep-Live-Cam Release 2.4
6.12.60-2-cachyos-lts
Python 3.11 venv (uv)
Repro:
- Activate venv
- Execute run.py
- Select source image
- Click Preview or Live
- Yields:
.venv ❯ uv run run.py
2025-12-29 21:20:49.290538: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1767068449.311521 1769802 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1767068449.316912 1769802 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1767068449.360626 1769802 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1767068449.360644 1769802 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1767068449.360646 1769802 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1767068449.360647 1769802 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
/home/josh/!DEV/Deep-Live-Cam-2.4/.venv/lib/python3.11/site-packages/keras/src/export/tf2onnx_lib.py:8: FutureWarning: In the futurenp.objectwill be defined as the corresponding NumPy scalar.
if not hasattr(np, "object"):
[ WARN:[email protected]] global cap_v4l.cpp:914 open VIDEOIO(V4L2:/dev/video1): can't open camera by index
[ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:163 getStreamChannelGroup Camera index out of range
[ WARN:[email protected]] global cap_v4l.cpp:914 open VIDEOIO(V4L2:/dev/video2): can't open camera by index
[ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:163 getStreamChannelGroup Camera index out of range
[ WARN:[email protected]] global cap_v4l.cpp:914 open VIDEOIO(V4L2:/dev/video3): can't open camera by index
[ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:163 getStreamChannelGroup Camera index out of range
[ WARN:[email protected]] global cap_v4l.cpp:914 open VIDEOIO(V4L2:/dev/video4): can't open camera by index
[ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:163 getStreamChannelGroup Camera index out of range
[ WARN:[email protected]] global cap_v4l.cpp:914 open VIDEOIO(V4L2:/dev/video5): can't open camera by index
[ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:163 getStreamChannelGroup Camera index out of range
[ WARN:[email protected]] global cap_v4l.cpp:914 open VIDEOIO(V4L2:/dev/video6): can't open camera by index
[ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:163 getStreamChannelGroup Camera index out of range
[ WARN:[email protected]] global cap_v4l.cpp:914 open VIDEOIO(V4L2:/dev/video7): can't open camera by index
[ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:163 getStreamChannelGroup Camera index out of range
[ WARN:[email protected]] global cap_v4l.cpp:914 open VIDEOIO(V4L2:/dev/video8): can't open camera by index
[ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:163 getStreamChannelGroup Camera index out of range
[ WARN:[email protected]] global cap_v4l.cpp:914 open VIDEOIO(V4L2:/dev/video9): can't open camera by index
[ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:163 getStreamChannelGroup Camera index out of range
Exception in Tkinter callback
Traceback (most recent call last):
File "/home/username/.local/share/uv/python/cpython-3.11.14-linux-x86_64-gnu/lib/python3.11/tkinter/init.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "/home/username/!DEV/Deep-Live-Cam-2.4/.venv/lib/python3.11/site-packages/customtkinter/windows/widgets/ctk_button.py", line 554, in _clicked
self._command()
File "/home/username/!DEV/Deep-Live-Cam-2.4/modules/ui.py", line 367, in
command=lambda: webcam_preview(
^^^^^^^^^^^^^^^
File "/home/username/!DEV/Deep-Live-Cam-2.4/modules/ui.py", line 871, in webcam_preview
create_webcam_preview(camera_index)
File "/home/username/!DEV/Deep-Live-Cam-2.4/modules/ui.py", line 984, in create_webcam_preview
temp_frame = fit_image_to_size(
^^^^^^^^^^^^^^^^^^
File "/home/username/!DEV/Deep-Live-Cam-2.4/modules/ui.py", line 793, in fit_image_to_size
return cv2.resize(image, dsize=new_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.12.0) /io/opencv/modules/imgproc/src/resize.cpp:4211: error: (-215:Assertion failed) inv_scale_x > 0 in function 'resize'
Video devices present (intended video device is /dev/video0, the Elgato Facecam Neo.
❯ v4l2-ctl --list-devices
Elgato Facecam Neo (usb-0000:00:14.0-8.1.4):
/dev/video1
/dev/video2
/dev/media0
Video device opens in VLC, Webcamoid