编辑由于我的问题具有时间敏感性(我需要尽快安装 gpu),我最终只安装了 arch (manjaro),它能够识别并安装 Nvidia Prime 驱动程序 (440)。不过,还是感谢大家的帮助。
我搜索了又搜索,但找不到任何解决我特定问题的方法。基本上,我有一台华硕 Zenbook UX303ub,它配备了 i7 第六代处理器和一块 Nvidia GT940m。我正在运行 Ubuntu 20.04,但似乎无法运行 Nvidia GPU。以下是我到目前为止所做的
sudo ubuntu-drivers devices -> No output
我尝试过使用 Nvidia 驱动程序这里,如果我没记错的话,这是 nvidia-346 版本。安装失败,显示
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for
details. You may find suggestions on fixing installation problems in the README
available on the Linux driver download page at www.nvidia.com.
我似乎无法在该路径上找到日志文件。但我不认为这是问题所在,我也尝试过
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt install nvidia-346
以及不同的版本(nvidia-349 等)。无论哪个版本,它都会抛出此错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-346 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'nvidia-346' has no installation candidate
我也试过
sudo apt install nvidia-driver-346
当我尝试时,lspci -v
它显示 Xeon E3 和 Intel Skylake GT2 显卡,没有提到 nvidia。
我真的很困惑,我将非常感激任何意见。
输出
$ lspci -k | grep -iEA4 "VGA|3D|Display"
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
Subsystem: ASUSTeK Computer Inc. Skylake GT2 [HD Graphics 520]
Kernel driver in use: i915
Kernel modules: i915
--