From nobody Tue Mar 12 08:36:35 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 4Tv6SM3wBBz5CtXr for ; Tue, 12 Mar 2024 08:36:35 +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 4Tv6SM0pzLz49h1 for ; Tue, 12 Mar 2024 08:36:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710232595; a=rsa-sha256; cv=none; b=ObrwJ4ZIxKUfTa2+hNbWd686MLR0K3StqHVB22jWrMx/O/R9IageM3vUuG/N+S8wL6Hq51 AmVknETtDFWX4coUsfRr7//tnkq/13ECZhAmhk7Yeuw4Phr0I/cFeQ961HuLHBruvLJtFL 26UYtWn/CoIMgR7hTB85kRhj4iXWe8Cq/KdVTNqhhU8jT5lPOVCceqMl+9MSqRQSK859NH eCLcNOpTAKJzTkphYBJWAkYaTnNKfa+yx35rA6QIAPhelKgyFLI1FgqdBocgn8II6UgTuo i93xshGTn3T2zMF6lartZ7NtKg/VKuxWYZtkG+QA5ROT4GAJwpACb58Nc5FpSA== 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=1710232595; 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=IfXxj1NLj26nodNiGiOgDNcZ1o30tqsRaqdU1AJn9sE=; b=XkuCb5ImpxMDCJusV2faIrzBKddeHKUHHD6UT2f+5+5OMwj5+aTtukTK3je4RUT1o3GXRq jaIiPUSli/FgBTDbLy4CI+IOIzcpV9y2fp1uz27GxVxifghwSno8pKgCRBqN+fS3gpfxIp x6LGI/ytGBISwuL/4pmogGZ1v/e4LX+Xvpt/lftuLU2pqesKCZgKt3Bz7C1cTe/QtiVAdr hU9AsCJPiuIV2mgw85FlOdwZQCrskFzY/njhq6TEMbOiWULyNBHcJnVv5yT3fQUtz61dRd OZYZhhekAFvySh8S3DzgQj9dRNZ19tH1OF0BGPU2NUr5u0cce3tJqHLiBwRuwg== 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 4Tv6SM0Qrxz163q for ; Tue, 12 Mar 2024 08:36:35 +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 42C8aYAn005934 for ; Tue, 12 Mar 2024 08:36:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42C8aYF1005931 for virtualization@FreeBSD.org; Tue, 12 Mar 2024 08:36:34 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 does not work Date: Tue, 12 Mar 2024 08:36:35 +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: 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 --- Comment #4 from mario felicioni --- Lets create these script files : 1) build_branch_releng-140 : set -e set -u readonly script_path=3D"$(cd "$(dirname "${0}")" && pwd)" readonly branch=3D"${1?Missing $(usage)}" shift echo $branch cd /usr/corvin-src-releng-140 git fetch --all --prune git checkout -f "${branch}" ${script_path}/build_releng_140 "$@" 2) build_releng_140 : #!/bin/sh usage() { cat >&2 << EOF Usage: ${0} [--no-bhf] [--reboot] [--verbose] [--without-kernel] Builds bhyve EOF exit 1 } build_module() { local _path _path=3D"${1}" # change to module path cd "${_path}" # clean module if test "${clean}" =3D "true"; then make clean > "${cmd_redirect}" 2>&1 fi # build module make > "${cmd_redirect}" 2>&1 # install module make install > "${cmd_redirect}" } build() { build_module "${src_dir}/include" build_module "${src_dir}/lib/libvmmapi" build_module "${src_dir}/sys/modules/vmm" # build kernel if test "${with_kernel}" =3D "true"; then cd "${src_dir}" local kern_opts kern_opts=3D"-j$(sysctl -n hw.ncpu)" if test "${with_bhf}" =3D "true"; then kern_opts=3D"${kern_opts} KERNCONF=3DBHF" fi if ! test "${clean}" =3D "true"; then kern_opts=3D"${kern_opts} NO_CLEAN=3DYES" fi make kernel ${kern_opts} > "${cmd_redirect}" 2>&1 fi build_module "${src_dir}/usr.sbin/bhyve" build_module "${src_dir}/usr.sbin/bhyvectl" build_module "${src_dir}/usr.sbin/bhyveload" if test "${with_reboot}" =3D "true"; then reboot fi } set -e set -u while test $# -gt 0; do case "${1-}" in --clean) clean=3D"true" shift ;; --reboot) with_reboot=3D"true" shift ;; --src-dir=3D*) src_dir=3D"${1#*=3D}" shift ;; --verbose) cmd_redirect=3D"/dev/stdout" shift ;; --without-bhf) with_bhf=3D"false" shift ;; --without-kernel) with_kernel=3D"false" shift ;; *) usage ;; esac done readonly clean=3D"${clean-"false"}" readonly cmd_redirect=3D"${cmd_redirect-"/dev/null"}" readonly src_dir=3D"${src_dir-"/usr/corvin-src-releng-140"}" echo $src_dir readonly with_bhf=3D"${with_bhf-"true"}" readonly with_kernel=3D"${with_kernel-"true"}" readonly with_reboot=3D"${with_reboot-"false"}" build 3) compile-bhyve-releng-140 : cd /usr/ mv src src-old git clone https://github.com/beckhoff/freebsd-src /usr/corvin-src-releng-140 cd /usr/corvin-src-releng-140 ./build_branch_releng-140 origin/phab/corvink/14.0/nvidia-wip --without-bhf --verbose and run : ./compile-bhyve-releng-140 (on FreeBSD 14.0) --=20 You are receiving this mail because: You are the assignee for the bug.=