Edit Due to the time sensitive nature of my issue (I needed the gpu asap) I ended up just installing arch (manjaro) and it was able to recognize and install Nvidia Prime drivers (440). However, Thanks for all the help.
I have searched and searched and cannot find any solutions to my specific problem. Basically, I have an Asus Zenbook UX303ub, which shipped with an i7 6th gen, and an Nvidia GT940m. I'm running Ubuntu 20.04, and I can't seem to get the Nvidia GPU to run. Here is what I have done so far
sudo ubuntu-drivers devices -> No output
I have tried using the Nvidia drivers here, which is the nvidia-346 version if I'm not mistaken. The installation fails with
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.
I can't seem to find the log file at that path. But I don't think that is the issue, I have also tried
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt install nvidia-346
As well as different versions (nvidia-349, etc). Regardless of what version, it throws this:
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
I also tried
sudo apt install nvidia-driver-346
When I try lspci -v it shows that a Xeon E3 and Intel Skylake GT2 graphics, no mention of nvidia.
I'm really stumped, and I would appreciate any input.
output
$ 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
--
