From owner-freebsd-x11@FreeBSD.ORG Mon Jul 16 16:42:50 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0202106564A for ; Mon, 16 Jul 2012 16:42:50 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7B5438FC12 for ; Mon, 16 Jul 2012 16:42:50 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so3055098wgb.31 for ; Mon, 16 Jul 2012 09:42:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Uxxof5/06iaVtIZygt+2vKW3iWTTCblxP6Dva7CEPNc=; b=MGcqQTA5xbJzY6d9Ef/C4BHAWWuI2WoAORmRJXpCMfi4SsmpVd3xiAf9qJ7DLD+zQU DT+NsaBdVtkleTpDev1l0rPCqBQtdL500qWsUxzlxfqyg/OQqHjkn17nTqsAmR2FuHFS miGAWKAbBbMSd5coet6TSsZmMdO/r8gGvsRogYDkJiOlQH8H5zVEI0fjYvMC7sPK0sc7 +fsl0kKtr/sR80XRfPTg7lWsnMBHvyej0j61+4Pw1aQbelCRBQLRHCVU8TDwpfipXP72 kYCUPBKmkSnpG72/oIhpMhObUBE7TZsPkd6yQt3u74LLHLypWkVFZtKfTdIW/YYilrvI rweQ== MIME-Version: 1.0 Received: by 10.216.196.218 with SMTP id r68mr5485754wen.122.1342456968683; Mon, 16 Jul 2012 09:42:48 -0700 (PDT) Received: by 10.223.88.217 with HTTP; Mon, 16 Jul 2012 09:42:48 -0700 (PDT) In-Reply-To: <20120716140452.GC2676@deviant.kiev.zoral.com.ua> References: <20120716140452.GC2676@deviant.kiev.zoral.com.ua> Date: Mon, 16 Jul 2012 09:42:48 -0700 Message-ID: From: Kevin Oberman To: Konstantin Belousov Content-Type: text/plain; charset=UTF-8 Cc: freebsd-x11@freebsd.org Subject: Re: Intel GPU with KMS locks up when visualization enabled X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2012 16:42:51 -0000 On Mon, Jul 16, 2012 at 7:04 AM, Konstantin Belousov wrote: > On Sun, Jul 15, 2012 at 04:09:18PM -0700, Kevin Oberman wrote: >> I don't have much information on this, but I wanted to enable VY-x on >> my Lenovo T520 (Sandybridge). IT has been running for a few months >> with the Intel GPU patches and now WITH_NEW_XORG and WITH_KMS. The >> current system is 9.1-BETA1 installed yesterday. >> >> If I enable "Virtualization" in BIOS, the system boots and runs fine, >> but if I start Xorg and Gnome, I get several windows including >> terminal windows and gkrellm up, but after a few seconds, the display >> freezes. The only thing I have been able to do is to power it down. I >> then disabled "Virtualization again, and all is well. >> >> Any idea on what other information I can dig up? It's not critical as >> I only use VirtualBox to boot Windows 7 when I need Visio or something >> else that is only available on Windows.(No, no serial console. Darn!) > > SandyBridges has several absolutely show-stopper erratas for interoperation > of VT-d engine and GPU. Linux disables several features, including RC6 > and fake PPGT, when it detects that VT-d is active for GPU PCI device. > And even then, it seems to still exhibit problems, last time I watched. > > Since FreeBSD has no VT-d driver, we cannot know the state of VT-d. Just > disable it if you want to use GPU. Thanks, Konstantin. Unfortunately, VT-x is required to allow a VirtualBox VM to use more than one CPU, so I guess I'll just have to live with a single CPU. By the way, I see this when I enable "Virtualization" on the system even though VT-d is disabled. I'll admit I don't know exactly what the BIOS "Virtualization" actually enables, but it is a separate option from VT-d. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com