From owner-freebsd-x11@FreeBSD.ORG Tue Apr 24 06:57:47 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DAE7106564A for ; Tue, 24 Apr 2012 06:57:47 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 7D0118FC08 for ; Tue, 24 Apr 2012 06:57:45 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 3262D40008 for ; Tue, 24 Apr 2012 08:57:43 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 2839640005; Tue, 24 Apr 2012 08:57:43 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (h-45-105.a163.priv.bahnhof.se [94.254.45.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 1BB8F40004; Tue, 24 Apr 2012 08:57:41 +0200 (CEST) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3VcFjK4m7hz8ggx; Tue, 24 Apr 2012 08:57:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([10.1.0.3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [10.1.0.6]) (amavisd-new, port 10025) with ESMTPS id xK6EwzVgSAPh; Tue, 24 Apr 2012 08:57:35 +0200 (CEST) Received: from mail.daemonic.se (mail.daemonic.se [10.1.0.4]) by mx.daemonic.se (Postfix) with ESMTPS id 3VcFjC2t3tz8ggv; Tue, 24 Apr 2012 08:57:35 +0200 (CEST) Received: from [IPv6:2001:470:dca9:1::4] (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 3VcFjC1r1cz9Ctj; Tue, 24 Apr 2012 08:57:35 +0200 (CEST) Message-ID: <4F964ED9.90609@daemonic.se> Date: Tue, 24 Apr 2012 08:57:29 +0200 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Sevan / Venture37 References: <4F95CB86.8070006@gmail.com> In-Reply-To: <4F95CB86.8070006@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-x11@freebsd.org Subject: Re: Loading drm modules causes screen to go blank 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: Tue, 24 Apr 2012 06:57:47 -0000 On 2012-04-23 23:37, Sevan / Venture37 wrote: > Hi, > I patched my FreeBSD-HEAD (r234601M) with the all.14.4.patch & built the > trunk xorg-server early today on my ThinkPad X61s, attempting to startx > or manually load the i915drm module results in a blank screen, > the relevant info on my configuaration is up on pastebin > > Xorg.0.log > http://pastebin.com/mQGyadUV > > pciconf -lvb > http://pastebin.com/ejVzcvCr > > dmesg > http://pastebin.com/fjLtTDWQ > > messages from drm in message buffer > http://pastebin.com/gFFZEN0g > > pkg_info > http://pastebin.com/kbd0bu33 > > Any advice greatly appreciated on what to do next. > > Sevan Unless things have changed recently, the terminal is disabled when the drm module(s) are loaded. It's a FAQ, see http://wiki.freebsd.org/Intel_GPU , specifically I cannot switch back to the text console. Or, immediately after loading the driver, the console went black. The VT switching code is not implemented (yet). In fact, the real cause is that driver turns on modesetting right after the load. This way, it is easier for me to test the driver. Eventually, this will be changed. Regarding the other issues, I don't know, but [ 596.007] (WW) intel(0): drmDropMaster failed: Unknown error: -22 from your xorg.conf.0 seems suspicious. HTH! -- Niclas