paddlaren Tux's lil' helper
Joined: 23 Nov 2005 Posts: 130 Location: Hörby, Sweden
|
Posted: Mon May 03, 2021 4:46 pm Post subject: [Solved] Teams failed to find any devices |
|
|
I had this strange problem that microsoft teams failed to see any devices, no camera nor audio. If I started teams first thing after entering KDE it worked though.
I stumbled on a solution for my problem that I want to share.
Thing is, I run kde, develop in Qt and have syncthing. Altogether it consumes a lot of inode watches. Syncthing consumes a lot of them, so does the Qt File Watcher that is the base for file managers and the alike in KDE and Qt. Seems like MS Teams are as dependent on inode watches as Qt are and fails to detect the devices otherwise.
I discovered that if I raised the number of allowed inode watches per user from the default 8192 to the amount suggested by syncthing (204800) things worked out well.
The instructions are found in the Syncthing FAQ: https://docs.syncthing.net/users/faq.html#inotify-limits
If you like to checkout if this solves your particular problem it's fairly simple, as root do:
Code: |
# echo 204800 > /proc/sys/fs/inotify/max_user_watches
|
This will reset at next boot but follow the link for a permanent solution. |
|