I am using upsquared AI kit which has a integrated myriadx.
I was able to run samples with sudo and without sudo for a while.
Later my system got hanged and I rebooted it. after the reboot I am able run sample only with sudo.
While running with out sudo I am getting error E:[ncAPU] [ 120295] ncDeviceCreate:354 global mutex initialization failed.
Reboot and changing the terminal didnt work.
I made lsusb has my device address and the user is available in groups
Interesting, other users have fixed the issue with a reboot or closing and opening a new terminal. Could you check your /tmp folder for a file called mvnc.mutex or similar? If it's there, go ahead and delete it and try again.