RE: drm-kmod-20220907_2 not supported for this configuration / NVIDIA : Failed to initialize the NVIDIA kernel module
Date: Sat, 24 Feb 2024 14:08:55 UTC
Hello Mario.I have problem too.A few days i try solve the same problem.Alone was a very difficult, but solved it.Try this. Remove all drm and clear.Try steps below.Install thispkg ins nvidia-xconfigpkg ins nvidia-driver - you card driver selectpkg ins nvidia-drm - use pkg search and select your variant versionBut drm not needed for nvidiaAfter instalnvidia-xconfig - will create Xorg conf fileStart and load dbuskldload nvidiaTry xfce or KDEBest,Simon )- - - -------- Исходное сообщение --------От: Mario Marietto <marietto2008@gmail.com> Дата: 24.02.2024 16:38 (GMT+03:00) Кому: FreeBSD virtualization <freebsd-virtualization@freebsd.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org>, freebsd-x11@freebsd.org, freebsd-drivers@freebsd.org, Ronald Klop <ronald@freebsd.org>, Jake Freeland <jake@technologyfriends.net> Тема: drm-kmod-20220907_2 not supported for this configuration / NVIDIA : Failed to initialize the NVIDIA kernel module Hello to everyone.I need to conduct some tests on top of the FreeBSD 13.1.So,I've installed it on one of my disks. I've installed xfce4 and KDE,Xorg and from the ports (after having upgraded them),I've installed the nvidia-driver version. 535.146.02 ; I didn't have any problem. The problem arises when I tried to install the package drm-kmod from ports. Unfortunately I'm not able to compile it. This is what happened :root@marietto:/usr/ports/graphics/drm-kmod # make====> drm-kmod-20220907_2 not supported for this configuration.ok. At this point I tried to install it from the packages :root@marietto:/usr/ports/graphics/drm-kmod # make clean====> cleaning for drm-kmod-20220907_2so :root@marietto:/usr/ports/graphics/drm-kmod # pkg install drm-kmodNew packages to be INSTALLED :drm-kmod: 20220907_2OKnow,I have performed additional configuration to :nano /home/marietto/.xinitrc :exec ck-launch-session dbus-launch --exit-with-session startxfce4nano /etc/rc.conf :kdm5_enable="YES"dbus_enable="YES"hald_enable="YES"kld_list="nvidia nvidia-modeset"rpcbind_enable="YES"dtcms_enable="YES"inetd_enable="YES"nano /boot/loader.confvmm_load="YES"nmdm_load="YES"tmpfs_load="YES"cryptodev_load="YES"zfs_load="YES"kern.racct.enable="1"kern.vty=vtkern.cam.scsi_delay="10000"nano /etc/X11/xorg.confSection "Device" Identifier "Card0" Driver "nvidia" BusID "PCI:1:0:0"EndSectionroot@marietto:/home/marietto # lspci01:00.0 NVIDIA GP10601:00.1 NVIDIA GP106 High Definition Audio Controller02:00.0 NVIDIA TU10202:00.1 NVIDIA TU102 High Definition Audio Controller02:00.2 NVIDIA TU102 USB Controller02:00.3 NVIDIA TU102 Serial BUS ControllerNow,I want to startx to start xfce4 :marietto@marietto: $ startxFatal server error : no screens found (EE)Check the log file at "/var/log/Xorg.0.log"nano /var/log/Xorg.0.log :NVIDIA dlloader X driver 535.146.02NVIDIA Unified Driver for all Supported NVIDIA gpusNVIDIA : Failed to initialize the NVIDIA kernel moduleHow to fix it ?-- Mario.