Date: Sat, 24 Feb 2024 17:08:55 +0300 From: Simon Gusev <semfly@fly777.net> To: Mario Marietto <marietto2008@gmail.com>, 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> Subject: RE: drm-kmod-20220907_2 not supported for this configuration / NVIDIA : Failed to initialize the NVIDIA kernel module Message-ID: <20240224140856.2B99B49712@mail.fly777.net> In-Reply-To: <CA%2B1FSiiFeF6aNy3NRWHFL=LAOYdNZZG1ydGrbbroASXVowsTFw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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. [-- Attachment #2 --] <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body dir="auto"><div dir="auto"><br></div><div dir="auto">Hello Mario.</div><div dir="auto"><br></div><div dir="auto">I have problem too.</div><div dir="auto">A few days i try solve the same problem.</div><div dir="auto">Alone was a very difficult, but solved it.</div><div dir="auto"><br></div><div dir="auto">Try this. </div><div dir="auto"><br></div><div dir="auto">Remove all drm and clear.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Try steps below.</div><div dir="auto"><br></div><div dir="auto">Install this</div><div dir="auto">pkg ins nvidia-xconfig</div><div dir="auto"><br></div><div dir="auto">pkg ins nvidia-driver - you card driver select</div><div dir="auto"><br></div><div dir="auto">pkg ins nvidia-drm - use pkg search and select your variant version</div><div dir="auto">But drm not needed for nvidia</div><div dir="auto"><br></div><div dir="auto">After instal</div><div dir="auto">nvidia-xconfig - will create Xorg conf file</div><div dir="auto"><br></div><div dir="auto">Start and load </div><div dir="auto">dbus</div><div dir="auto">kldload nvidia</div><div dir="auto"><br></div><div dir="auto">Try xfce or KDE</div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto">Simon )</div><div dir="auto"><br></div><div dir="auto" id="composer_signature">- - -</div><div dir="auto"><br></div><div><br></div><div dir="auto" style="font-size:100%;color:#000000"></div><div style="font-size:100%;color:#000000" dir="auto" align="left"><div>-------- Исходное сообщение --------</div><div>От: Mario Marietto <marietto2008@gmail.com> </div><div>Дата: 24.02.2024 16:38 (GMT+03:00) </div><div>Кому: 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> </div><div>Тема: drm-kmod-20220907_2 not supported for this configuration / NVIDIA : Failed to initialize the NVIDIA kernel module </div><div><br></div></div><div dir="ltr"><div>Hello to everyone.</div><div><br></div><div>I need to conduct some tests on top of the FreeBSD 13.1.</div><div>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. </div><div><br></div><div>The problem arises when I tried to install the package drm-kmod from ports. </div><div><br></div><div>Unfortunately I'm not able to compile it. This is what happened :</div><div><br></div><div>root@marietto:/usr/ports/graphics/drm-kmod # make</div><div>====> drm-kmod-20220907_2 not supported for this configuration.</div><div><br></div><div>ok. At this point I tried to install it from the packages :</div><div><br></div><div><div>root@marietto:/usr/ports/graphics/drm-kmod # make clean</div><div>====> cleaning for drm-kmod-20220907_2</div><div><br></div><div>so :</div><div><br></div><div><div>root@marietto:/usr/ports/graphics/drm-kmod # pkg install drm-kmod</div><div><br></div><div>New packages to be INSTALLED :</div><div>drm-kmod: 20220907_2</div><div>OK</div><div><br></div><div>now,I have performed additional configuration to :</div><div><br></div><div>nano /home/marietto/.xinitrc :</div><div><br></div><div>exec ck-launch-session dbus-launch --exit-with-session startxfce4</div><div><br></div><div>nano /etc/rc.conf :</div><div><br></div><div>kdm5_enable="YES"</div><div>dbus_enable="YES"</div><div>hald_enable="YES"</div><div>kld_list="nvidia nvidia-modeset"</div><div>rpcbind_enable="YES"</div><div>dtcms_enable="YES"</div><div>inetd_enable="YES"</div><div><br></div><div></div><div>nano /boot/loader.conf</div><div><br></div><div>vmm_load="YES"</div><div>nmdm_load="YES"</div><div>tmpfs_load="YES"</div><div>cryptodev_load="YES"</div><div>zfs_load="YES"</div><div>kern.racct.enable="1"</div><div>kern.vty=vt</div><div>kern.cam.scsi_delay="10000"</div><div><br></div><div>nano /etc/X11/xorg.conf</div><div><br></div><div>Section "Device"</div><div> Identifier "Card0"</div><div> Driver "nvidia"</div><div> BusID "PCI:1:0:0"</div><div>EndSection</div><div><br></div><div><br></div><div><div>root@marietto:/home/marietto # lspci</div><div><br></div><div>01:00.0 NVIDIA GP106</div><div>01:00.1 NVIDIA GP106 High Definition Audio Controller</div><div>02:00.0 NVIDIA TU102</div><div>02:00.1 NVIDIA TU102 High Definition Audio Controller<div>02:00.2 NVIDIA TU102 USB Controller</div><div>02:00.3 NVIDIA TU102 Serial BUS Controller</div><div><br></div><div>Now,I want to startx to start xfce4 :</div><div><br></div><div>marietto@marietto: $ startx</div><div><br></div><div>Fatal server error : no screens found (EE)</div><div>Check the log file at "/var/log/Xorg.0.log"</div><div><br></div><div>nano /var/log/Xorg.0.log :</div><div><br></div><div>NVIDIA dlloader X driver 535.146.02</div><div>NVIDIA Unified Driver for all Supported NVIDIA gpus</div><div>NVIDIA : Failed to initialize the NVIDIA kernel module<br></div></div></div></div><div><br></div></div><div>How to fix it ?</div><div><br></div><div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mario.<br></div></div></div> </body></html>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240224140856.2B99B49712>
