如何调试 BOINC No usable GPUs found
如果你在带有 GPU 的系统上运行 BOINC,你可能会遇到错误消息 No usable GPUs found。即使你已安装 GPU 并且工作正常,也可能发生这种情况。以下是修复方法。
boinc_no_usable_gpus.txt
GPU detection failed: process was terminated by signal 48
read_coproc_info_file() returned error -108
No usable GPUs found首先,检查 /var/lib/boinc/coproc_info.xml。它通常包含如下错误消息
coproc_info.xml
<coprocs>
<warning>NVIDIA drivers present but no GPUs found</warning>
<warning>ATI: libaticalrt.so: cannot open shared object file: No such file or directory</warning>
<warning>No OpenCL GPUs or Accelerators found</warning>
<warning>OpenCL library present but no OpenCL-capable devices found</warning>
</coprocs>在这种情况下,错误消息是 ATI: libaticalrt.so: cannot open shared object file: No such file or directory。这意味着 libaticalrt.so 文件缺失。
我们现在需要找到包含 libaticalrt.so 的包。在 Ubuntu 上,你可以使用 apt-file 包来搜索包含该文件的包:
apt_file_search_libaticalrt.sh
sudo apt install apt-file
sudo apt-file update
apt-file search libaticalrt.so在这种特定情况下,此包来自 fglrx 驱动程序,该驱动程序在较新的 Ubuntu 版本中不可用。
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow