"CUDA.framework" will damage your compute

I'm suddenly getting the message "CUDA.framework" will damage your computer. If I use "System Preference" - CUDA, I get the message "could not load CUDA preference panel"



On the NVIDIA web site this driver does not seems supported anymore.


How I can fix the problem, disable or uninstall the driver ?

iMac 27″, macOS 10.15

Posted on Jun 2, 2022 9:02 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 18, 2022 4:28 PM

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"*




26 replies
Question marked as Top-ranking reply

Jun 18, 2022 4:28 PM in response to yvon275

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"*




Jun 26, 2022 7:16 AM in response to Zak Totkoff

You're mixing drivers. Those needed to run the Nvidia cards graphic acceleration will always be there. They're part of the OS. What you'd be removing are only CUDA drivers you installed. Those have to be installed separately by the user.


Nvidia hasn't supported CUDA on the Mac since 2019. And those few CUDA drivers they had for Mojave barely worked.


What users are seeing here are Macs that had CUDA installed for an older OS. Upgrading the OS doesn't remove them, but then does generate the message that you now have fully unsupported drivers installed.

Jun 18, 2022 4:49 PM in response to Zak Totkoff

So disappointed by Apple that I will never buy their products again.

How about you put the blame where it belongs? On Nvidia.


Nvidia failed to support Mac users.

  • Nvidia sold to Apple a huge supply of defective GPU chips.
  • The normal procedure according to the contract is for the vendor to make good on their defective parts.
  • Nvidia did nothing.
  • Apple paid to replace many Nvidia GPU chips for customers, often replacing it more than once because there was no other chip that could just drop in and take its place.
  • Nvidia refused to take responsibility and never paid Apple for the failures so Apple has not ordered any new Nvidia chips and Nvidia has failed to supply drivers for Apple customers that purchase graphics cards with Nvidia CPUs at the retail level.


nvidia sold defective chips to apple


So, Apple basically told Nvidia to stuff it and wouldn't authorize any CUDA drivers after High Sierra. They instead developed Metal for hardware acceleration, which is similar to the open source OpenGL and OpenCL.


As far as the message goes, the drivers wont' actually "harm" your computer, but they don't work, either.

Jun 3, 2022 5:59 AM in response to yvon275

I too started seeing this ominous warning today.


I'm not sure how many iMacs with embedded NVIDIA hardware were sold and are still in regular use around the world, but I'm sure it's not a small number.


I think that Apple and NVIDIA have a moral obligation to provide better support than popping up mysterious warnings all of a sudden.

Jun 12, 2022 7:40 AM in response to Zak Totkoff

Same issue here since updating macOS Catalina Security Update 2022-004.

Multiple issues have been noted since this install:

  1. Computer crashes nearly every night while sleeping with error message (Macbook Sleep Wake failure in EFI (Failure code:: 0xffffffff 0x0000001f)
  2. Yesterday, the iMac would not turn on at all, checked power cable, unplugged all peripherals, no luck, but now 24 hours later the iMac decided it would turn on again.
  3. After every restart, getting this error message: "CUDA.framework will damage your computer." Is this not a framework that was installed natively on the OS?


This is really starting to worry me, as the computer still runs like the day I bought it (when it does turn on).


I would hope that Apple can identify why these issues are occurring and let us know a course of action to take to rectify them.


Jun 8, 2022 11:03 AM in response to yvon275

The same message on my custom made £3000 worth 2014 15" MBPro 11.3 with two GPUs - Intel Iris Pro and NVIDIA GeForce GT 750M.


It is simply unacceptable for a hardware sold by Apple to be declared dangerous by Apple without them taking any responsibility and providing any solution for the problem they caused.


It is not a solution to be advised not to use the graphic cards you sold me by uninstalling the drivers for it.


Apple, you charged me very good for that machine, and now you are telling me I shouldn't use that or other part of it?


It's a laptop, not a desctop, to be able to even upgrade from my own pockets.


So disappointed by Apple that I will never buy their products again.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

"CUDA.framework" will damage your compute

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.