Nvidia-smi: No devices were found

I’m trying to install my eGPU on my Dell Latitude running ubuntu 20.04 but with no success. I followed this tutorial and some other online ones.
I have attached the report log file.
Any help with debugging and solving that issue?
Many thanks

lspci -nnk | grep -iA2 vga

0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9a49] (rev 01)
	Subsystem: Dell Device [1028:0a21]
	Kernel driver in use: i915
--
0000:2d:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2504] (rev a1)
	Subsystem: ZOTAC International (MCO) Ltd. Device [19da:4630]
	Kernel driver in use: nvidia

nvidia-bug-report.log (4.5 MB)

Please set kernel parameter
nvidia.OpenRmEnableUnsupportedGpus=1

Should I add the parameter to
/etc/default/grub ?

yes.

When I update the grub it says :

/usr/sbin/grub-mkconfig: 12: /etc/default/grub: nvidia.OpenRmEnableUnsupportedGpus=1: not found

Should I write it differently?

Not that way.
https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter

Now I have the parameter added:

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash nvidia.OpenRmEnableUnsupportedGpus=1”

I still however get No devices were found

Please create a new nvidia-bug-report.log

Here it is. Thank you.
nvidia-bug-report.log (5.6 MB)

Oops, my bad, sorry. The parameter should be
nvidia.NVreg_OpenRmEnableUnsupportedGpus=1
Please change and try again.

2 Likes

It is working now. Thank you.
However, my boot stuck at the dell logo when the eGPU is plugged in, but it starts normally when it is unplugged. Any solution to that, please?
I think I need to make my ubuntu not use the Nvidia card for x server?

Please delete /etc/X11/xorg.conf

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.