我需要升级nvidia驱动程序,以便尝试运行NVIDIA-LInux-x86_64.run
文件
但是,我看到以下消息
ERROR: An NVIDIA kernel module 'nvidia' appears to already be loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading. Please be sure to exit any programs that may be using the GPU(s) before attempting to upgrade your driver. If no GPU-based programs are running, you know that your kernel supports module unloading, and you still receive this message, then an error may have occured that has corrupted an NVIDIA kernel module's usage count, for which the simplest remedy is to reboot your computer.
我已经卸载了nvidia-drm
,并且当我尝试卸载nvidia
$ sudo modprobe -r nvidia
modprobe: FATAL: Module nvidia is in use.
有人可以指导我安装此新驱动程序吗?
谢谢
答案 0 :(得分:1)
我刚刚删除了现有的驱动程序并重新安装
答案 1 :(得分:0)
使用autodata1=autodata.withColumn('pricePerMPG',(col('PRICE')/(col('MPG-CITY')+col('MPG-HWY')/2))).show(truncate=False)`
autodata1.show()
from pyspark.sql.functions import max
max = autodata1.agg({"pricePerMPG": "max"}).collect()[0]
print(max)
查找使用旧驱动程序的进程。就我而言,它是“ nvidia持久的”。只需通过pid终止该过程,然后重试安装程序NVIDIA-***。run
lsof /dev/nvidia*