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

Error on running #4

Open
fbuffa2003 opened this issue Aug 18, 2022 · 2 comments
Open

Error on running #4

fbuffa2003 opened this issue Aug 18, 2022 · 2 comments

Comments

@fbuffa2003
Copy link

Hello. Thanks for your help. Im running fedora 36 and first time script run ok and second time is showing this error. Any ideas?

2022-08-18 13:07:56.926703: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2022-08-18 13:07:56.929525: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/federicobuffa/.local/lib/python3.10/site-packages/cv2/../../lib64:
2022-08-18 13:07:56.929544: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "/home/federicobuffa/MS-Teams-background-changer/main.py", line 62, in
print ("set format result (0 is good):{}".format(fcntl.ioctl(device, v4l2.VIDIOC_S_FMT, format)))
OSError: [Errno 22] Invalid argument

@prabhakar-sivanesan
Copy link
Owner

Hi Buffa,
Can you run this command ls -1 /sys/devices/virtual/video4linux and let me know what is the results you are getting.

Thanks,
Prabhakar

@DRRDietrich
Copy link

I have the same issue.
At first it works. Then this issue appears without me having changed anything and it only works again after a reboot.

ls -1 /sys/devices/virtual/video4linux
video0

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

3 participants