One tip you might find useful for video and CUDA is that this uses the GPU. Any user can be added to group “video”. If the sudo is because your user is not a member of video, then adding your user to that group should enable everything “video” without using sudo.
If your user name is “nvidia”, then see if “nvidia” is listed in: grep 'video' /etc/group
If your user is not a member, then (assuming name is “nvidia”) this will append the user to “video”: sudo usermod -a -G video nvidia