When I try to install NVIDIA driver on WSL 2, the driver yields an error: cannot find the current kernel tree. When I later use the command: sudo sh NVIDIA-Linux-x86_64-430.34.run --kernel-source-path=/mnt/c/Windows/System32/lxss/tools I...
1 下载安装显卡驱动 下载地址:https://www.nvidia.cn/geforce/drivers/ 根据显卡型号,下载显卡驱动 根据默认选项,安装显卡驱动 查看显卡驱动是否安装成功 右键开启菜单->命令提示符(管理员) 在命令行中输入nvidia-smi.exe命令,查看显卡驱动是否安装成功。 2 下载安装MobaXterm 下载地址:https://mobaxterm.mobatek.net...
1. 安装nVidia GPU驱动 网上有许多资料写道需要安装针对WSL特别驱动,但是现在已经不需要这么做了,只需要到nVidia官网将驱动升级到最新版本即可。 Download the latest official NVIDIA driverswww.nvidia.com/Download/index.aspx 根据参考资料描述,驱动类型最好选择Game Ready版本而不是studio版本 注意,该是安装Windows...
Pleasedownload and install the appropriate NVIDIA driveron yourWindowssystem. In earlier times, there's a seperate driver for WSL but recently NVIDIA merged it into the currently available drivers. I personally installed the Game Ready Driver(GRD), but I suppose the Studio Drivers also have it. ...
Download the latest official NVIDIA driverswww.nvidia.com/Download/index.aspx 根据参考资料描述,驱动类型最好选择Game Ready版本而不是studio版本 注意,该是安装Windows驱动,而不是安装Linux驱动,在Windows下安装驱动后,会自动将驱动以libcuda.so的形式集成至WSL2中,因此切勿在WSL Linux中重复安装驱动。
in the CUDA Toolkit download page for each installer. But DO NOT choose the “cuda”, “cuda-12-x”, or “cuda-drivers” meta-packages under WSL 2 as these packages will result in an attempt to install the Linux NVIDIA driver under WSL 2. Install thecuda-toolkit-12-xmetapackage only....
#To remove NVIDIA Drivers: sudo apt-get --purge remove "*nvidia*" 好像自动给你按上驱动 sudo gedit ~/.bashrc# ~代表 /home/用户明目录exportPATH=/usr/local/cuda-11.3/bin:$PATHexportLD_LIBRARY_PATH=/usr/local/cuda-11.3/lib64:$LD_LIBRARY_PATHsource.bashrcsource~/.bashrc ...
2. Windows安装驱动:Official Drivers | NVIDIA wsl-user-guide 12.2 documentation提到Once a Windows ...
Do not choose the cuda, cuda-11-0, or cuda-drivers meta-packages under WSL 2 since these packages will result in an attempt to install the Linux NVIDIA driver under WSL 2.2. 常见问题 1. DNS有问题 在/etc/resolv.conf 里加自已的dns可暂时解决 永久解决要新建/etc/wsl.conf文件内容如下: [...
Installing NVIDIA drivers Next, install an NVIDIA Driver. Keep the following in mind: Select the driver based on the type of NVIDIA GPU in your system. To verify your GPU type, look for the NVIDIA Control Panel in yourStartmenu. The name should appear there. For more informatio...