From owner-freebsd-x11@FreeBSD.ORG Sat Jun 23 19:15: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 416BF10657CF for ; Sat, 23 Jun 2012 19:15:47 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B9F5E8FC0C for ; Sat, 23 Jun 2012 19:15:46 +0000 (UTC) Received: by werg1 with SMTP id g1so2615829wer.13 for ; Sat, 23 Jun 2012 12:15:45 -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:content-transfer-encoding; bh=0lu0dEVi3WSCJ5e41UaquBw2GOE1cgS0CzJtPgW4ldY=; b=c1zOZx8AEBxf5cmTqydRTriiKnBbG9Njsj9wpB6jSxkDEEdKiB0TlhzNiM9r0pOw9r amX7Did2xibdWxbA6XxpF3uoAoh6q9O/7vgf8Q23ziX6m/2S22Yx6F6oC9tynWtTdx0n ur2mZrFZ0LQmI6pzSUOvLnTN6jhfkqLv5gydexPe9XN8hckE0ApXPlKXpNp2ilBaUYHK 6bW32O9bJBtA5RzwbyPIQ6linZxVd9uU1ZuqSzz9dIZy5ab59/modCntz/I0yGp1lnD1 azJzbjBXRtySz/ip6+xjoiJc5ZAuTWX1pTEU6qR5FKS2mV09DJl5vT/W+Zw6xSVUuU+O mrTA== MIME-Version: 1.0 Received: by 10.180.79.229 with SMTP id m5mr13196992wix.13.1340478945770; Sat, 23 Jun 2012 12:15:45 -0700 (PDT) Received: by 10.223.155.4 with HTTP; Sat, 23 Jun 2012 12:15:45 -0700 (PDT) In-Reply-To: <20120623184513.GZ2337@deviant.kiev.zoral.com.ua> References: <20120622213442.GL2337@deviant.kiev.zoral.com.ua> <20120623085812.GN2337@deviant.kiev.zoral.com.ua> <20120623165145.GW2337@deviant.kiev.zoral.com.ua> <20120623184513.GZ2337@deviant.kiev.zoral.com.ua> Date: Sat, 23 Jun 2012 12:15:45 -0700 Message-ID: From: Kevin Oberman To: Konstantin Belousov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-x11@freebsd.org Subject: Re: GPU_KMS still not working for me since merge 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: Sat, 23 Jun 2012 19:15:47 -0000 On Sat, Jun 23, 2012 at 11:45 AM, Konstantin Belousov wrote: > On Sat, Jun 23, 2012 at 11:39:23AM -0700, Kevin Oberman wrote: >> On Sat, Jun 23, 2012 at 9:51 AM, Konstantin Belousov >> wrote: >> > On Sat, Jun 23, 2012 at 09:17:01AM -0700, Kevin Oberman wrote: >> >> On Sat, Jun 23, 2012 at 1:58 AM, Konstantin Belousov >> >> wrote: >> >> > Verify that i915kms is loaded. If it is not, investigate why. >> >> >> >> There is nothing of relevance in dmesg. But kldstat makes the problem >> >> very clear.. After 'startx', I see i915.ko has been loaded along with= drm.ko. >> >> No i915kms.ko nor the i2c stuff that used to be pulled in. >> >> >> >> When I was running the pre-merge KMS code from back in late April, th= ere >> >> was no i915kms.ko...only i915.ko. >> >> >> >> Is there something I need to do to cause the correct module to load? >> >> I don't have any Xorg.conf file and never have had for this laptop. >> > Recent ddx Intel driver from ports loads right module automatically. >> >> What is "recent ddx Intel driver"? I did re-build the xf86-video-intel >> driver and, but I don't see any "ddx" reference. >> >> In any case, I deleted the i915.ko and linked (hard) i915kms.ko to >> i915.ko and X now starts correctly. Not really >> an ideal solution, but it does work for the moment. > > pooma% cvs -qR log -r 1.24 x11-drivers/xf86-video-intel/Makefile =C2=A0 = =C2=A0 /usr/ports > RCS file: /usr/local/arch/ncvs/ports/x11-drivers/xf86-video-intel/Makefil= e,v > Working file: x11-drivers/xf86-video-intel/Makefile > head: 1.24 > [snip] > revision 1.24 > date: 2012/06/07 10:27:21; =C2=A0author: kwm; =C2=A0state: Exp; =C2=A0lin= es: +2 -1 > Teach the KMS intel driver how the KMS i915 kernel module in head is name= d. > > Reviewed by: =C2=A0 =C2=A0miwi@ > Mystery solved! The old xorg-devel with the kms patches produced /usr/ports/c11-drivers/xf86-video-intel-kms and 'portmaster xf86-video-intel was just re-building that driver. It was not building the current one. I ran 'portmaster -o 11-drivers/xf86-video-intel x11-drivers/xf86-video-intel-kms' which replaced the old, development one with the correct one. I will delete the old one. I suspect others who integrated xorg-devel and your earlier patches and are using portmaster are hitting the same issue. Thanks again! --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com