From owner-freebsd-x11@FreeBSD.ORG Sat Jun 23 21:55:37 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 63A58106566C for ; Sat, 23 Jun 2012 21:55:37 +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 DA9288FC0A for ; Sat, 23 Jun 2012 21:55:36 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so2743335wgb.31 for ; Sat, 23 Jun 2012 14:55:35 -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=ksqBhQynxCWE2Ee3dSOWbGqANJAncg80RcHvoV+LCvE=; b=VDyjCvdzSrFI4cy/YUWfn1mxFhyAjgIo5a5ntnAu8rSKEDlfH9uBTUgSo9MwNCMZR5 PwxSscsCG+IrjZjEMbdC+b57+yPMaikjviHC2VLtQXFpEslJ8TuGLmfDn0+oELMIccM3 7TW68XYu522m0f1wx1oYKe+6UEFVMVqiZu20uKP/Wr8XjAtuU52PxGHxZHP5+wpd8osp bfaKsowDb3PtM3kM5Be73lYJhI5LdsDk409KypkUEjlkQUzZCsjyKGbSwiMEoT25y1aZ MM8H/BfS+iJ0ulF8vc01qYs6G2DHmBmtk7gTGIpCkpDluMq9dnIbT4lq4ivbssXUcoCA /UvQ== MIME-Version: 1.0 Received: by 10.216.215.194 with SMTP id e44mr3787584wep.61.1340488535396; Sat, 23 Jun 2012 14:55:35 -0700 (PDT) Received: by 10.223.155.4 with HTTP; Sat, 23 Jun 2012 14:55:35 -0700 (PDT) In-Reply-To: <4FE61E39.4040202@rainbow-runner.nl> 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> <4FE61E39.4040202@rainbow-runner.nl> Date: Sat, 23 Jun 2012 14:55:35 -0700 Message-ID: From: Kevin Oberman To: Koop Mast 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 21:55:37 -0000 On Sat, Jun 23, 2012 at 12:51 PM, Koop Mast wrote: > On 23-6-2012 21:15, Kevin Oberman wrote: >> >> 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 proble= m >>>>>> very clear.. After 'startx', I see i915.ko has been loaded along wit= h >>>>>> 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, >>>>>> there >>>>>> 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 >>> /usr/ports >>> RCS file: >>> /usr/local/arch/ncvs/ports/x11-drivers/xf86-video-intel/Makefile,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=A0l= ines: +2 -1 >>> Teach the KMS intel driver how the KMS i915 kernel module in head is >>> named. >>> >>> 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! > > > Thats a really old port you had. I will see if I can find some time to ma= ke > our mergescript smarter with regards to removed ports and such. Probably. I can't be sure just when I pulled in 7.5, but I think it was very shortly after it was put out for testing. That should reduce the number of people who hit this, and it is only going to bite them if they run portmaster, so that will peel off a few. So far I have not seen many complaints about it, but I have not seen too much publicity that the Intel KMS code is the and the Intel_GPU wiki page probably scares people away, too. Maybe, right after the introductory paragraphs ending with "generic support for the Intel GTT." you could add: Support is now present in HEAD on or after May, 24, 2012 and 9-STABLE on or after June 13, 2012. Your x11 ports must be up to date, as well. To enable Intel_GPU support, add WITH_NEW_XORG=3DYES and WITH_KMS=3DYES to /etc/make.conf and build and install a new kernel. Reinstall any of the following ports that you have installed: x11-drivers/xf86-input-egalax x11-drivers/xf86-input-elographics x11-drivers/xf86-input-hyperpen x11-drivers/xf86-input-joystick x11-drivers/xf86-input/keyboard x11-drivers/xf86-input-mutouch x11-drivers/xf86-input-mouse x11-drivers/xf86-input-penmount x11-drivers/xf86-input-synaptics x11-drivers/xf86-input-void x11-drivers/xf86-video-ati613 x11-drivers/xf86-video-intel x11-drivers/xorg-drivers x11-servers/xorg-nestserver x11-servers/xorg-server If you were an early tester of xorg 7.5, you may need to replace the special intel-kms driver you might have with the standard xf86-video-intel driver. The remainder of this page is only relevant to those wanting to run the latest X code from the Xorg repository. I'd also love to see a note on the availability of of Intel GPU support in both /usr/src/UPDATING and /usr/ports/UPDATING so more people would be aware of this and test it out before we get too close to 9.1. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com