Here is how I fixed it. First uninstall from System Preferences CUDA and Nvidia Manager. Then I did the following
After finding all files with cuda and nvidia in their names, I renamed the relevant ones by placing an x in front of filename, just in case I need to rename them back.
If you want you can use my lil findapp bash script (see at bottom) to perform search on your own to find all filenames.
/Library/Frameworks/xCUDA.framework
/Library/Extensions/xCUDA.kext
/Library/LaunchDaemons/xcom.nvidia.cudad.plist
/Library/LaunchDaemons/xcom.nvidia.cuda.launcher.plist
/Library/LaunchAgents/xcom.nvidia.CUDASoftwareUpdate.plistX
/Library/Frameworks/xCUDA.framework/Versions/A/CUDA
/Library/Frameworks/xCUDA.framework/Versions/A/Resources/cudad
/Library/LaunchDaemons/xcom.nvidia.nvroothelper.plist
/Library/LaunchDaemons/xcom.nvidia.cudad.plist
/Library/LaunchDaemons/xcom.nvidia.cuda.launcher.plist
/Library/LaunchAgents/xcom.nvidia.nvagent.plist
/Library/LaunchAgents/xcom.nvidia.CUDASoftwareUpdate.plistX
My ./findapp bash script is below.
Requires the use of terminal (command line). Copy it anywhere and make sure you mark it executable. It will show all filenames with search parameter on the command line. NOTE It does not remove any files, just shows them to you, if they exist. In my case I just renamed the relevant files above just in case I need to go and put them back.
USE at your own risk. I am not responsible if you screw up.
Usage: ./findapp <filename>.
Ex1: ./findapp nvidia
Ex2: ./findapp cuda
- Automatically does wildcard search
- Case insensitive
#!/bin/bash
APPNAME="$1"
mdfind -name "$1"
echo "${APPNAME}"
ls -lsd /Applications/"$APPNAME"*
ls -lsd ~/Library/Preferences/"$APPNAME"*
ls -lsd ~/Library/Application\ Support/"$APPNAME"*
ls -lsd ~/Library/Caches/"$APPNAME"*
ls -lsd /Library/Preferences/"$APPNAME"*
ls -lsd /Library/Application\ Support/"$APPNAME"*
ls -lsd /Library/Caches/"$APPNAME"*
ls -lsd /System/Library/Extensions/"$APPNAME"*
ls -lsd ~/Library/LaunchAgents/"$APPNAME"*
ls -lsd ~/Library/LaunchDaemons/"$APPNAME"*
ls -lsd ~/Library/Internet\ Plug-Ins/"$APPNAME"*
ls -lsd ~/Library/Application\ Support/CrashReporter/"$APPNAME"*
ls -lsd ~/Library/Saved\ Application\ State/"$APPNAME"*
ls -lsd ~/Downloads/"$APPNAME"*
ls -lsd /System/Library/LaunchDaemons/"$APPNAME"*
ls -lsd /System/Library/LaunchAgents/"$APPNAME"*