From owner-freebsd-x11@FreeBSD.ORG Fri Jul 8 11:02:49 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 0940C1065670 for ; Fri, 8 Jul 2011 11:02:49 +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 98C928FC12 for ; Fri, 8 Jul 2011 11:02:48 +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 p68B2iD5072401 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Jul 2011 14:02:44 +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 p68B2inj046465; Fri, 8 Jul 2011 14:02:44 +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 p68B2hsa046464; Fri, 8 Jul 2011 14:02:43 +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 14:02:43 +0300 From: Kostik Belousov To: George Liaskos Message-ID: <20110708110243.GT48734@deviant.kiev.zoral.com.ua> References: <20110630162315.GV48734@deviant.kiev.zoral.com.ua> <20110708092039.GL48734@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L7npE7OS0H62/Ik/" Content-Disposition: inline In-Reply-To: <20110708092039.GL48734@deviant.kiev.zoral.com.ua> 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 11:02:49 -0000 --L7npE7OS0H62/Ik/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 08, 2011 at 12:20:39PM +0300, Kostik Belousov wrote: > On Fri, Jul 08, 2011 at 01:22:08AM +0300, George Liaskos wrote: > > On Thu, Jun 30, 2011 at 7:23 PM, Kostik Belousov = wrote: > > > [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 f= or > > > 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 unstab= le, > > > some parts are missing, some (esp. VM changes) are under the discussi= on > > > and propably will be changed. > > > > > > If you have fix or useful bug analisys or suggestions for improvement= s, > > > 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_GP= U. > > > 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 defin= ed > > 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 >=20 > Thank you for the report. >=20 > 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. Please use all.3.7.patch. >=20 > Also, please show me the screenshot of the corrupted screen. --L7npE7OS0H62/Ik/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk4W49MACgkQC3+MBN1Mb4h3xACdHqq6JWO4OEEAcvYv6udVI5aF FJYAnA/D3o1VngACrsVxCfKphKhpuwwm =fLJ0 -----END PGP SIGNATURE----- --L7npE7OS0H62/Ik/--