Unable to load nvidia-drm.ko module


I am using an Orin NX devkit and I made a new CONFIG_LOCALVERSION=“Orin” to enable a camera sensor.
I did not make any changes in the config file.
However when I build and install the modules,
under : /lib/modules/5.10.120Orin i do not see the “extra” directory

The previous module under: /lib/modules/5.10.120-tegra has “extra” directory
which contains
nvidia-drm.ko nvidia.ko nvidia-modeset.ko

How can I load this in my present module i.e, /lib/modules/5.10.120Orin
When i use sudo modprobe nvidia-drm modeset=1

The nvidia-drm module does not load.

Please advice, thanks.


You need to manually build the display drivers (nvidia_kernel_display_driver_source.tbz2) again as they are not included in the upstream kernel code. (kernel_src.tbz2)
Create the folder manually, put the generated .ko files into the correct path and flash again.


I have built the display drivers, which folder do i have to create manually to include the .ko files?

Put them under /Linux_for_Tegra/rootfs/usr/lib/modules/$(uname -r)/extra/opensrc-disp/,
where $(uname -r) is the kernel version with your own suffix.

1 Like

Hi @DaveYYY

We were able to get the display back by adding the .ko files in a folder created manually under our module and using sudo depmod -a

Thank you.

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