diddlesnaps / fakecam

Virtual Backgrounds for your video conferences and streaming presentations
Other
47 stars 10 forks source link

fakecam 3 does not start #17

Open damnms opened 3 years ago

damnms commented 3 years ago

ubuntu 20.10

oli@lucy:~$ fakecam.gui 
Traceback (most recent call last):
  File "/snap/fakecam/110/bin/fakecamgui", line 33, in <module>
    sys.exit(load_entry_point('Fakecam==3.0.0', 'console_scripts', 'fakecamgui')())
  File "/snap/fakecam/110/lib/python3.6/site-packages/fakecam/gui.py", line 12, in main
    MainWindow()
  File "/snap/fakecam/110/lib/python3.6/site-packages/fakecam/ui/mainwindow.py", line 126, in __init__
    video_source.set_active(devices.index(self.camera))
ValueError: '/dev/video0' is not in list
oli@lucy:~$ ls /dev/video
video0  video1  video2  

oli@lucy:~$ fakecam.clinfo 
Number of platforms                               1
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 20.0.8
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   Clover
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Clover
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Clover
  clCreateContext(NULL, ...) [default]            No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platform

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1
lucyllewy commented 3 years ago

Thanks for the report. I think I've fixed it. Could you try again?

damnms commented 3 years ago

can not test it because the download is very very slow and stalls at about 80%