From owner-freebsd-virtualization@freebsd.org Mon Mar 18 11:17:46 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4E1E153A7B3 for ; Mon, 18 Mar 2019 11:17:46 +0000 (UTC) (envelope-from misc-freebsd@talk2dom.com) Received: from server.zx81.pw (server.zx81.pw [IPv6:2001:41c9:1:426::39]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "server.zx81.pw", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 026F784134 for ; Mon, 18 Mar 2019 11:17:45 +0000 (UTC) (envelope-from misc-freebsd@talk2dom.com) Received: from auth (localhost [127.0.0.1]) by server.zx81.pw (8.15.2/8.15.2) with ESMTPSA id x2IBHgxe048740 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Mon, 18 Mar 2019 11:17:43 GMT (envelope-from misc-freebsd@talk2dom.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=talk2dom.com; s=zx81; t=1552907863; x=1553512663; bh=IpF0BBcQ7gKnGQGVbNaP+pO5iDi7GT+e+g8TTVg0ayg=; h=Subject:To:References:From:Date:In-Reply-To; b=fcHzRIudPBwiKRwXexEWRv/kBlYGkfx9CYucC8OQ8MmlKhlIT3MWrBgtzbSF+oj6r hy2wZK4Xbedtr6xFmAxCnFZYsEP1nedpKV8ore6EQ23KB0VyKUr4lj2Wp6pKv+xxVx WvQg7hf2dtmILfj+LaGArdA+s+4WHz96hnVPMn/U= Subject: Re: GPU passthrough: mixed success on Linux, not yet on Windows To: freebsd-virtualization@freebsd.org References: From: Dom Message-ID: <283e2783-ac4c-6ab2-465d-de370fa2feff@zx81.pw> Date: Mon, 18 Mar 2019 11:17:42 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2019 11:17:47 -0000 On 17/03/2019 16:22, Robert Crowston via freebsd-virtualization wrote: > 6. On Windows, [...] the GPU never springs into life: I am stuck with a "Windows has stopped this device because it has reported problems. (Code 43)" error in the device manager, a blank screen, and not much else to go on. > > Is it worth me continuing to hack away at these problems---of course I'm happy to share anything I come up with---or is there an official solution to GPU support in the pipe about to make my efforts redundant :)? > > Thanks, > Robert Crowston. As far as I know, the nVidia drivers actively try to deny use of consumer video cards inside a VM guest and error 43 might be a symptom of this. Some people have managed to get round this with some non-FreeBSD VM setups that hide the VM-guest aspect, or change their GPU's reported hardware/vendor IDs, but I've never managed to recreate this in Bhyve. e.g. see Question 10 at http://vfio.blogspot.com/2014/08/vfiovga-faq.html and also the comments at the bottom of the page. Dom