So I have been trying to get my nVidia GPU detected by Ubuntu 20.04 for quite some time now, and none of the suggestions I have found online have helped. My main problem is that I can't see any output when running the suggested commands. Here are the things I have tried:
- The first suggestion appears to be to run
lspci -v | grep VGA
which when I run it in the Ubuntu terminal give no output. lspci | egrep -i "vga|display|3d"
was suggested as well, but no luck.- Another suggestion was to run
sudo lshw -C video
, again no output. - Also ran
lspci -k | grep -A 2 -i "VGA"
, no output - And finally
lspci -nn | grep '[03'
Checking these appears to be the first step in the solution proposed by contributors online, but I can't even get this first step running. Does anyone have suggestions on how I could proceed?
Edit
Perhaps I should also specify that I am using a Windows subsystem for Linux. Here are the outputs:
- No output
- No output
Linux DESKTOP-IQST6BS 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Graphics: Message: No Device data found. Display: server: No display server data found. Headless machine? tty: 120x30 Message: No advanced graphics data found on this system.
- No output
[ 1.890709] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Edit 2
So I have followed the instructions here as recommended, but I still cannot connect to the GPU. For example when I input sudo prime-select nvidia
the output is simply Error: no integrated GPU detected.
. Can anyone maybe point me to what went wrong here?