Nvidia driver installation problem

sudheera

Cadet
Joined
Mar 16, 2020
Messages
2
Hello friends,

I have a TrueNAS 12.0 server which runs with no GUI. I plugged in Nvidia GTX 1050Ti to it in order to use in ffmpeg. After plugging in pciconf -vl gave me the following output

Code:
vgapci0@pci0:2:0:0:     class=0x030000 card=0x85d11043 chip=0x1c8210de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GP107 [GeForce GTX 1050 Ti]'
    class      = display
    subclass   = VGA


But I could not see anything here
Code:
root@freenas[~]# ls /dev | grep dr
root@freenas[~]#



Naturally, I thought I should install nvidia drivers and according to the handbook I ran pkg install x11/nvidia-driver. During the installation process I saw a message like this : Xorg-server has been installed even thought I do not need it. Full log : https://pastebin.com/raw/wP0ErAEZ

Installation completed successfully, but when I tried to load the kernel module I get errors like this

Code:
root@freenas[~]# kldload nvidia
kldload: an error occurred while loading module nvidia. Please check dmesg(8) for more details.
root@freenas[~]# dmesg| tail
KLD nvidia-modeset.ko: depends on nvidia - not available or version mismatch
linker_load_file: /boot/modules/nvidia-modeset.ko - unsupported file type
link_elf_obj: symbol sc_get_softc undefined
linker_load_file: /boot/modules/nvidia.ko - unsupported file type
link_elf_obj: symbol sc_get_softc undefined
linker_load_file: /boot/modules/nvidia.ko - unsupported file type
KLD nvidia-modeset.ko: depends on nvidia - not available or version mismatch
linker_load_file: /boot/modules/nvidia-modeset.ko - unsupported file type
link_elf_obj: symbol sc_get_softc undefined
linker_load_file: /boot/modules/nvidia.ko - unsupported file type



Any idea what I'm doing wrong here ? Thanks in advanced.


Code:
root@freenas[~]# pkg -v
1.14.5


freebsd version :

Code:
root@freenas[~]# freebsd-version
12.2-RELEASE-p3
root@freenas[~]# uname -mrs
FreeBSD 12.2-RELEASE-p3 amd64


MB: Supermicro X9SCM
 

DeaDSouL

Dabbler
Joined
Dec 21, 2015
Messages
34
Top