Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fakecam 3 does not start #17

Open
damnms opened this issue Mar 14, 2021 · 2 comments
Open

fakecam 3 does not start #17

damnms opened this issue Mar 14, 2021 · 2 comments

Comments

@damnms
Copy link

damnms commented Mar 14, 2021

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
Copy link
Contributor

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

@damnms
Copy link
Author

damnms commented Mar 16, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants