From nobody Sun Feb 6 17:04:21 2022 X-Original-To: freebsd-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 1775F19A7AD4 for ; Sun, 6 Feb 2022 17:05:00 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JsFy32njrz52fx for ; Sun, 6 Feb 2022 17:04:59 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: by mail-lj1-x22e.google.com with SMTP id z7so16423898ljj.4 for ; Sun, 06 Feb 2022 09:04:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=8xuWEbpCcEg3TCWEo1YjcYlRVJi0VGUYfgu6Y02fXdY=; b=iofNg0BfpgknGOF1V3fFMJSwCo3unWLlIkeVhKCWvHVX4luseN78AdrwBIzynSE+xC uec7f+kh3rR/+GX5eYX2D9ERqwQEpv/rUHo6+gy2ahVhh6Txb/Eb6FejTuLGQbRZl5lH 4tLUwOV/r3r/TF+qBVbEqRzKmE2gjcgrUTm09/G4mfbUKe/1swobbZDicqGNvP2wUKCS jLzYx98o1UOgdx9NSDOhK7rYMFC4fI+JSiL0LHLiDvTPLUsZ4BybRDaqErXCL0eIh1YE ETMmvgKqiy4UxE3h5v0d0I2BiyMwDo4AP22Nh6lVk95IGeqFn1nTMgAx9LKh6u8aeN2l ylhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8xuWEbpCcEg3TCWEo1YjcYlRVJi0VGUYfgu6Y02fXdY=; b=Ge+IxeWPtFbXysP8N5tBftFdUuh1CHsDwEhW/qKiVL6XDZZ9nXfRFfDLXacXo4QoyF 6+XJYJbQVtfkXaF4ZwV0C2GGUt8ZOUlzcgUqkQEr851HWZAsdhQI7+vEKzwDbZct2WEW AqucLzQaVqy9FWLgHHgJbm/jnjcP6dr5/ecWmAGaiX6gkekvbyeJjO/WE6sitHjqxVoq IoIhpukRgFoQQDxr4FocGd/HKJEs4rk0h2sOkWQ2kV2t91x7itJte6vIdv2S52sjMb0D BO6Bz5lrKBT/lpHsMWEy+8Q3ubpzzb+DXXxOJNdBkbo5tDWHQjf9YhZ3MErR+T6C3b5x SKPg== X-Gm-Message-State: AOAM531J1oVZkQyY/yklYhm2KdW38J8epM6BwSscjK1gnc9D3ERGuHZe 9tzF7Ouf4I2/QVxRyrzsH8vMOgO1XxoVtWaOIe9tMaHdB5bWwA== X-Google-Smtp-Source: ABdhPJyjOIWo65VBeB8g4wJ5PDglMoBxL1KFzqmB5RD6Ath58zqkChRtNiJjsa2CHBsTeoLwlgWJl2RACNyzTTpCliQ= X-Received: by 2002:a05:651c:19a2:: with SMTP id bx34mr6249112ljb.528.1644167097529; Sun, 06 Feb 2022 09:04:57 -0800 (PST) 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 From: Mario Marietto Date: Sun, 6 Feb 2022 18:04:21 +0100 Message-ID: Subject: Looking for a developer that help us improving bhyve adding the "line interrupts support for passed through devices" To: FreeBSD virtualization Content-Type: multipart/alternative; boundary="000000000000ccb9c705d75c7b9c" X-Rspamd-Queue-Id: 4JsFy32njrz52fx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=iofNg0Bf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::22e as permitted sender) smtp.mailfrom=marietto2008@gmail.com X-Spamd-Result: default: False [-3.98 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-0.999]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22e:from]; NEURAL_HAM_SHORT(-0.98)[-0.980]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MLMMJ_DEST(0.00)[freebsd-virtualization]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --000000000000ccb9c705d75c7b9c Content-Type: text/plain; charset="UTF-8" Hello. After one month of research we have found the technical reasons why a modern nvidia gpu if passed through inside a windows 10 / 11 vm produces the error 43 (actually the error 12 after having added some new features). It happens because it misses "line interrupts support for passed through devices" ; actually there is the need of a massive change inside the bhyve source code. This change may not be a priority for you,all developers. I'm collaborating with one hypervisor developer and a qemu/kvm/haxm advanced developer and they say that it's hard to implement the necessary changes if they worked on this alone. So,I would like to know if someone of you has the skills and the will to collaborate with us or if you know someone that can collaborate. To achieve the goal will be a very step forward for bhyve and for all the BSD community. We have an external,affiliated github and all the changes we made go inside it first of all and only later,maybe much later,some of them will go inside the official bhyve source code. But we want to have this experimental feature in a reasonable amount of time,not in many many years.i There is a partial INTx support missing in bhyve and it is an important feature already implemented in qemu a lot of time ago. Bhyve can't miss it. Passing thru an AMD and an NVIDIA modern GPU card inside a Windows VM will expand the number of tasks that can be done in FreeBSD using Windows as an intermediate medium. -- Mario. --000000000000ccb9c705d75c7b9c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello.

<= p class=3D"gmail-_1qeIAgB0cPwnLhDF9XSiJM">After one month of research we ha= ve=20 found the technical reasons why a modern nvidia gpu if passed through=20 inside a windows 10 / 11 vm produces the error 43 (actually the error 12 after having added some new features). It happens because it misses=20 "line interrupts support for passed through devices" ; actually t= here is the need of a massive change inside the bhyve source code. This change=20 may not be a priority for you,all developers. I'm collaborating with on= e=20 hypervisor developer and a qemu/kvm/haxm advanced developer and they say th= at it's hard to implement the necessary changes if they worked on this alone.=20 So,I would like to know if someone of you has the skills and the will to collaborate with us or if you know someone that can collaborate. To=20 achieve the goal will be a very step forward for bhyve and for all the=20 BSD community. We have an external,affiliated github and all the changes we= made go inside it first of all and only later,maybe much later,some of the= m will go inside the official bhyve source code. But we want to have this e= xperimental feature in a reasonable amount of time,not in many many years.i= There is a partial INTx support missing in bhyve and it is an important fe= ature already implemented in qemu a lot of time ago. Bhyve can't miss i= t. Passing thru an AMD and an NVIDIA modern GPU card inside a Windows VM wi= ll expand the number of tasks that can be done in FreeBSD using Windows as = an intermediate medium.

--
Mario.
--000000000000ccb9c705d75c7b9c--