Ubuntu 20.04 GPU Not Found
Solution 1:
EDIT: Given that you have WSL2, you should get the corresponding drivers. See CUDA on WSL.
For a guide on how to install, please refer to
https://docs.nvidia.com/cuda/wsl-user-guide/index.html#abstract
Related
- https://ubuntu.com/blog/getting-started-with-cuda-on-ubuntu-on-wsl-2
- https://medium.com/swlh/how-to-install-the-nvidia-cuda-toolkit-11-in-wsl2-88292cf4ab77
- https://www.reddit.com/r/bashonubuntuonwindows/comments/hxro9i/help_how_to_get_nvidia_driver_work_on_wsl2/
- https://www.reddit.com/r/bashonubuntuonwindows/comments/n8lkts/where_to_download_old_version_of_nvidia_wsl_driver/
- https://github.com/microsoft/WSL/issues/6323
It is very strange that the commands you posted do not even show your main graphics card.
Possible causes
(Strange hardware issues may be the culprit).
- GPU is disabled at the BIOS level. Check that. If you have double boot with Windows, that would be good for a comparison.
- Removing and replacing the CMOS battery may help.
- An HDMI cable may also be the problem.
Extra / useful info
Please post the output of:
dpkg -l | grep linux-modules-nvidia
dpkg -l | grep nvidia-driver
uname -a
-
inxi -G
(you may have to installinxi
) grep 10de /lib/udev/rules.d/*
dmesg | grep nvidia
dmesg | grep NV
Related
- https://ubuntuforums.org/showthread.php?t=2443222