From owner-freebsd-x11@FreeBSD.ORG Fri Jul 8 09:20:44 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D384E10656E5 for ; Fri, 8 Jul 2011 09:20:44 +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 71CB38FC1E for ; Fri, 8 Jul 2011 09:20:44 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p689Ke7O063926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Jul 2011 12:20:40 +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.4/8.14.4) with ESMTP id p689KeV1004543; Fri, 8 Jul 2011 12:20:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p689KekF004542; Fri, 8 Jul 2011 12:20:40 +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: Fri, 8 Jul 2011 12:20:39 +0300 From: Kostik Belousov To: George Liaskos Message-ID: <20110708092039.GL48734@deviant.kiev.zoral.com.ua> References: <20110630162315.GV48734@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OMlFea0I0ZndCJkq" 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=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: x11@freebsd.org Subject: Re: Intel GPU kernel driver 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, 08 Jul 2011 09:20:45 -0000 --OMlFea0I0ZndCJkq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 08, 2011 at 01:22:08AM +0300, George Liaskos wrote: > On Thu, Jun 30, 2011 at 7:23 PM, Kostik Belousov wr= ote: > > [Please remove current@ when replying.] > > > > I created the first code drop for the ongoing GEM/KMS project. Please > > note that this is not an end-user release, and even _not_ a call for > > testing. The project is not finished yet, and I expect quite more > > efforts from me even after the scheduled project end, and from ports/x11 > > people, before the driver and usermode infrastructure will be ready for > > the general public consumption. > > > > That said, the patch is only of use for you now if you want to review, > > debug or otherwise help the project. The driver is known to be unstable, > > some parts are missing, some (esp. VM changes) are under the discussion > > and propably will be changed. > > > > If you have fix or useful bug analisys or suggestions for improvements, > > you are welcome. I will not answer to the support requests for this > > code now, please do not waste your time asking for it. > > > > The pointers to the patches, useful hints for debugging and bug > > reporting, and some notes are at the http://wiki.freebsd.org/Intel_GPU. > > I will maintain this page further. > > > > Current patch is ~50KLOC, it took quite an efforts to bring the code to > > the state where there is something to debug. Thanks for everybody who > > waited for it, and please be patient while the further work is done. > > >=20 > Hello Kostik, >=20 > I am trying to get my gm45 [0x2a428086] working with your > patches and i found a bug. >=20 > A call to agp_gen5_get_gtt_total_entries returns ENXIO, what i > found is that in my case (gcc1 & AGP_G4x_GCC1_SIZE_MASK) =3D=3D 0xb00. >=20 > I did a cross check with Linux and there isn't such a valid value defined > but the Linux code does not error on default case, it continues with our > agp_i965_get_gtt_total_entries() equivalent. >=20 > After this change, X starts but the image has artifacts. It's progress :) > Thank you for your work! >=20 > xorg log: http://pastebin.com/a0zak5LY Thank you for the report. It seems that this is a typo in the agpreg.h. Please try all.3.6.patch. Xorg log is the least useful. I need boot verbose dmesg to look at the agp state. Also, please show me the screenshot of the corrupted screen. --OMlFea0I0ZndCJkq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk4Wy+cACgkQC3+MBN1Mb4gibwCg6QYFPWmoR9lehVfYaI0gD6aY DhUAni+O+Pn/DoyvfUWuR62Xd4vJazKd =UVfO -----END PGP SIGNATURE----- --OMlFea0I0ZndCJkq--