From nobody Mon Mar 11 13:51:50 2024 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TtdVZ5Jn5z5D2B0 for ; Mon, 11 Mar 2024 13:51:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TtdVZ4K8Dz4N3S for ; Mon, 11 Mar 2024 13:51:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710165110; a=rsa-sha256; cv=none; b=EEWMXZw2CjOlqFgVvhxor0/15+B/XdCPweB+66jhOYg82oHUzxVqDD+DkGHukgC3XVu80G 2RWNTuIxTcsEbROFZZFTUe/GW9ptsllzDR3tmURIhpueCrwJRr7LJM9lxgtzaLOoun6F2+ 2GQ93QgZs2bxBoU9bWdB2zd/yHjv2EyRAqAzTSzha8/mklZk+BWMrYoKL4c1FsExjD0McW F7qgt+ZZFboD1Cznw8pnnzagqOkT1ADJQ5qnq53mYg/zHucy5lIEl9dMQbgCohmEeNfJjr GpcqLIomsxq/V+v+KDFjSCcOVa2t63dhjRBVoktSdHt9WWRhXsHdzTSU1SmZsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710165110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6zEjDNcc1JX9rSIhCadIDMHKplM3R4or/38e3QShgoo=; b=BEWXJ9DaBUu+QxbrBftxe9RiJiWX9c1C2iyqcEITnoiiXeDWByfRvA5Rv/Vmv0lNQ/ujO7 gubkwnQRjUZxBt5Fm1B2BOUUMN9fT2MxiN2ZCeAQFVRHywBCy4PEhX+6XdEdJ70d8iP6fG JhMQEmHf08Kc1oZ9C8FI5dXgZMQHZEjmMa8BjKcGGhs6ORD5flh6xEncvYLDcGYipj4AXG Gnl/owHTlHYm0G8VISVSHj6k4H71nMTyC4oLduFgiOVT4UmuqBEkeogsneDw+1PFv5W1Vm EpNiAY1K3Rk0QoOwY3RzY9r5+yKG5Osirvh4nTIh88Ap8A2zd6XK67mP2j8pCA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TtdVZ3xhKzXqB for ; Mon, 11 Mar 2024 13:51:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42BDpoEC094350 for ; Mon, 11 Mar 2024 13:51:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42BDpoYt094345 for virtualization@FreeBSD.org; Mon, 11 Mar 2024 13:51:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 277627] Passthru NVIDIA GeForce GTX 1080 Ti not work Date: Mon, 11 Mar 2024 13:51:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marietto2008@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277627 mario felicioni changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marietto2008@gmail.com --- Comment #1 from mario felicioni --- 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.=