From owner-freebsd-x11@FreeBSD.ORG Fri Jun 22 21:35:00 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 F26EE106564A for ; Fri, 22 Jun 2012 21:34:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 73D118FC1A for ; Fri, 22 Jun 2012 21:34:59 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q5MLYg4g012871; Sat, 23 Jun 2012 00:34:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q5MLYgKR045703; Sat, 23 Jun 2012 00:34:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q5MLYgIS045702; Sat, 23 Jun 2012 00:34:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 23 Jun 2012 00:34:42 +0300 From: Konstantin Belousov To: Kevin Oberman Message-ID: <20120622213442.GL2337@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vF/cWtzoMxUft0CZ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua 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: Fri, 22 Jun 2012 21:35:00 -0000 --vF/cWtzoMxUft0CZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 22, 2012 at 02:20:59PM -0700, Kevin Oberman wrote: > I am still missing something needed to get the KMS support for my > Sandybridge to work.It has been working fine until the KMS code was > merged into RELENG-9. >=20 > I updated my sources and built a new kernel this morning. I already > had WITH_KMS=3DYES and WITH_NEW_XORG=3DYES in my make.conf from building > prior to the patch. I can confirm that i915kms.ko is built and in > /boot/kernel/ >=20 > When I tried starting X, the screen never left vty mode. The keyboard > would no longer work, but I could do a clean shutdown via a network > connection. I examined the log and things went awry at: > [ 330.411] drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > [ 330.411] drmOpenDevice: node name is /dev/dri/card0 > [ 330.411] Failed to change owner or group for file /dev/dri! 2: No > such file or directory > [ 330.411] Failed to change owner or group for file /dev/dri/card0! > 2: No such file or directory > [ 330.411] drmOpenDevice: open result is -1, (No such file or directory) > [ 330.411] Failed to change owner or group for file /dev/dri/card0! > 2: No such file or directory > [ 330.411] drmOpenDevice: open result is -1, (No such file or directory) > [ 330.411] drmOpenDevice: Open failed > [ 330.411] drmOpenByBusid: drmOpenMinor returns -2 > where my old log showed: > [ 300.134] drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > [ 300.134] drmOpenDevice: node name is /dev/dri/card0 > [ 300.134] drmOpenDevice: open result is 10, (OK) > [ 300.134] drmOpenByBusid: drmOpenMinor returns 10 > [ 300.134] drmOpenByBusid: Interface 1.4 failed, trying 1.1 > [ 300.134] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 > [ 300.134] (II) intel(0): Creating default Display subsection in > Screen section > "Builtin Default intel Screen 0" for depth/fbbpp 24/32 > [ 300.134] (=3D=3D) intel(0): Depth 24, (--) framebuffer bpp 32 > [ 300.134] (=3D=3D) intel(0): RGB weight 888 > [ 300.134] (=3D=3D) intel(0): Default visual is TrueColor > [ 300.135] (II) intel(0): Integrated Graphics Chipset: Intel(R) > Sandybridge Mobile (GT2+) > [ 300.135] (--) intel(0): Chipset: "Sandybridge Mobile (GT2+)" >=20 > What am I missing? Show the verbose dmesg during the load of i915kms. --vF/cWtzoMxUft0CZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk/k5PIACgkQC3+MBN1Mb4g/QACgoxlc3roAvvOic3nI11877rQx 0G4AmwSyejbUHbrAbq9ppyI88K8tKA39 =cBzo -----END PGP SIGNATURE----- --vF/cWtzoMxUft0CZ--