Date: Mon, 11 Mar 2024 13:51:50 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 277627] Passthru NVIDIA GeForce GTX 1080 Ti not work Message-ID: <bug-277627-27103-9UZJHxY7UI@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277627-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-277627-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277627 mario felicioni <marietto2008@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marietto2008@gmail.com --- Comment #1 from mario felicioni <marietto2008@gmail.com> --- Usually it works after a reboot. If not you can try to reinstall the nvidia driver from the ports : # pkg remove nvidia-driver # pkg remove nvidia-drm-kmod # /usr/ports/x11/nvidia-driver # portsnap fetch extract # /usr/ports/x11/nvidia-driver # portsnap fetch update # /usr/ports/x11/nvidia-driver # make # /usr/ports/x11/nvidia-driver # make install # /usr/ports/graphics/nvidia-drm-kmod # make .... awk -f /usr/src/sys/conf/kmod_syms.awk nvidia-drm.ko.full export_syms | xa= rgs -J% objcopy % nvidia-drm.ko.full --- nvidia-drm.ko.debug --- objcopy --only-keep-debug nvidia-drm.ko.full nvidia-drm.ko.debug --- nvidia-drm.ko --- objcopy --strip-debug --add-gnu-debuglink=3Dnvidia-drm.ko.debug=20 nvidia-drm.ko.full nvidia-drm.ko =3D=3D=3D> Staging for nvidia-drm-515-kmod-550.54.14 =3D=3D=3D> nvidia-drm-515-kmod-550.54.14 depends on file: /boot/modules/d= rm.ko - found =3D=3D=3D> nvidia-drm-515-kmod-550.54.14 depends on file: /boot/modules/n= vidia.ko - found =3D=3D=3D> Generating temporary packing list install -T release -o root -g wheel -m 555 nvidia-drm.ko /usr/ports/graphics/nvidia-drm-515-kmod/work/stage/boot/modules/ /bin/mkdir -p /usr/ports/graphics/nvidia-drm-515-kmod/work/stage/usr/local/share/X11/xorg= .conf.d/ install -m 0644 /usr/ports/graphics/nvidia-drm-515-kmod/work/20-nvidia-drm-outputclass.conf /usr/ports/graphics/nvidia-drm-515-kmod/work/stage/usr/local/share/X11/xorg= .conf.d/ =3D=3D=3D=3D> Compressing man pages (compress-man) =3D=3D=3D> Installing for nvidia-drm-515-kmod-550.54.14 =3D=3D=3D> Checking if nvidia-drm-515-kmod is already installed =3D=3D=3D> Registering installation for nvidia-drm-515-kmod-550.54.14 as = automatic Installing nvidia-drm-515-kmod-550.54.14... Modesetting must be enabled to use nvidia-drm.ko for graphics. This can be = done by setting the modeset sysctl, the equivalent of the modeset kernel paramet= er on Linux. hw.nvidiadrm.modeset=3D1 This must be set before loading nvidia-drm.ko, most easily done by placing = the above in /boot/loader.conf. =3D=3D=3D> nvidia-drm-kmod-550.54.14 depends on file: /boot/modules/nvidi= a-drm.ko - found =3D=3D=3D> Returning to build of nvidia-drm-kmod-550.54.14 =3D=3D=3D> Generating temporary packing list =3D=3D=3D=3D> Compressing man pages (compress-man) # /usr/ports/graphics/nvidia-drm-kmod # make install =3D=3D=3D> Installing for nvidia-drm-kmod-550.54.14 =3D=3D=3D> Checking if nvidia-drm-kmod is already installed =3D=3D=3D> Registering installation for nvidia-drm-kmod-550.54.14 Installing nvidia-drm-kmod-550.54.14... Modesetting must be enabled to use nvidia-drm.ko for graphics.=20 This can be done by setting the modeset sysctl,the equivalent of the modeset kernel parameter on Linux. hw.nvidiadrm.modeset=3D1 This must be set before loading nvdidia-drm.ko, most easily done by placing= the above in /boot/loader.conf. # nano /boot/loader.conf : hw.nvidiadrm.modeset=3D1 # /usr/ports/x11/nvidia-settings # make # /usr/ports/x11/nvidia-settings # make install # nano /etc/rc.conf kld_list=3D"nvidia nvidia-modeset nvidia-drm" --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277627-27103-9UZJHxY7UI>