From owner-freebsd-x11@FreeBSD.ORG Sun Jul 10 18:34:32 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 07890106566B for ; Sun, 10 Jul 2011 18:34:32 +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 817C78FC0C for ; Sun, 10 Jul 2011 18:34:30 +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 p6AIYIQ5003522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 10 Jul 2011 21:34:18 +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 p6AIYIdJ073736; Sun, 10 Jul 2011 21:34:18 +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 p6AIYIlP073735; Sun, 10 Jul 2011 21:34:18 +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: Sun, 10 Jul 2011 21:34:18 +0300 From: Kostik Belousov To: George Liaskos Message-ID: <20110710183418.GI43872@deviant.kiev.zoral.com.ua> References: <20110708092039.GL48734@deviant.kiev.zoral.com.ua> <20110708110243.GT48734@deviant.kiev.zoral.com.ua> <20110708182040.GC48734@deviant.kiev.zoral.com.ua> <20110708184413.GD48734@deviant.kiev.zoral.com.ua> <20110709174612.GN48734@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OfrWf2Fun5Ae4m0Y" 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,URIBL_RED 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: Sun, 10 Jul 2011 18:34:32 -0000 --OfrWf2Fun5Ae4m0Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 10, 2011 at 09:19:41PM +0300, George Liaskos wrote: > On Sat, Jul 9, 2011 at 8:46 PM, Kostik Belousov wro= te: > > On Sat, Jul 09, 2011 at 12:18:53AM +0300, George Liaskos wrote: > >> > Can you boot some Linux with kernel modesetting enabled on it ? > >> > >> Ok, i believe i got everything. I did a modprobe -v drm debug=3D6 > >> http://pastebin.com/iEihVxQt > >> > >> > What version of ddx driver do you use ? > >> > >> head > > > > I am not completely sure what is going on, but driver tries to operate > > with modelines that have 0 as vertical refresh. > > > > Do you have a Xorg config set ? Try to specify some reasonable range > > for the monitor vertical refresh on the LVDS output. Or specify the > > mode using xrandr after X started. >=20 > Some progress, when a second monitor is connected a simple xrandr -q > makes everything to work great! >=20 > http://i.imgur.com/uStjz.jpg You did not specified, whether you hard-coded the mode line, or vsync range in the Xorg config. Did it magically started to work on its own after CRT was attached to the VGA connector ? >=20 > Is it possible to be a bug in drm edid parser? I found some patches from = 2009 > for linux but the code has changed significantly, just a thought. >=20 > If you have any idea how to debug this please let me know. There are two potential sources of the problem: First is that I still do not activate the BIOS BAR, relying only on the IGD opregion to look for the VBT table. It is quite possible that there are two VBT tables on your machine, and the one that I parse right now is unmaintained. Look at the dev/drm/intel_bios.c, function intel_parse_bios(), the #if 1 block. Second, iic bus glue for DisplayPort is not yet finished. Since you have DisplayPort connector reported as present, it might affect you. Probably not since machine did not paniced on driver load. Feel free to submit patches, or wait until I get to the issues. Right now the priority is to get VM changes into tree, and stabilize GEM. >=20 > log: http://pastebin.com/WxSbbTm4 >=20 >=20 > Regards, > George --OfrWf2Fun5Ae4m0Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk4Z8KkACgkQC3+MBN1Mb4jjVgCcC5eneOSIMEpzitr45uqVmG5M MfoAoL7EwY4TKZDCo1qKQx75nZ0y1ltt =kIZ8 -----END PGP SIGNATURE----- --OfrWf2Fun5Ae4m0Y--