From owner-freebsd-x11@FreeBSD.ORG Sun Sep 28 00:20:14 2008 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 5702C106569E for ; Sun, 28 Sep 2008 00:20:14 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by mx1.freebsd.org (Postfix) with ESMTP id EB7448FC16 for ; Sun, 28 Sep 2008 00:20:13 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from laptop.xor.net (c122-106-7-184.rivrw1.nsw.optusnet.com.au [122.106.7.184]) by mail06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m8S0KBFi012243 for ; Sun, 28 Sep 2008 10:20:12 +1000 Message-ID: <48DECDC0.20709@ahhyes.net> Date: Sun, 28 Sep 2008 10:20:16 +1000 From: Alex User-Agent: Thunderbird 2.0.0.16 (X11/20080902) MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <48DD9ECD.40309@ahhyes.net> <1222524191.1662.3.camel@wombat.2hip.net> In-Reply-To: <1222524191.1662.3.camel@wombat.2hip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: DRI not working 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, 28 Sep 2008 00:20:14 -0000 Robert Noland wrote: > drm shouldn't be attaching to the second head. The 852/5 chips have the > same pci id on both heads, which none of the other chips do. Please try > the attached patch to sys/dev/drm/i915_drv.c and see if that improves > things. > > robert. > Hi Robert, Thank you for your reply, and patch, but it seems the patch will not apply cleanly. [root@laptop /usr/src/sys/dev/drm]# patch -p0 < i855-no-attach-sec.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: i915_drv.c |=================================================================== |--- i915_drv.c (revision 183406) |+++ i915_drv.c (working copy) -------------------------- Patching file i915_drv.c using Plan A... Hunk #1 failed at 85. 1 out of 1 hunks failed--saving rejects to i915_drv.c.rej done [root@laptop /usr/src/sys/dev/drm]# cat i915_drv.c.rej *************** *** 85,90 **** { drm_device_t *dev = device_get_softc(nbdev); bzero(dev, sizeof(drm_device_t)); i915_configure(dev); return drm_attach(nbdev, i915_pciidlist); --- 85,93 ---- { drm_device_t *dev = device_get_softc(nbdev); + if (device_get_unit(nbdev)) + return 0; + bzero(dev, sizeof(drm_device_t)); i915_configure(dev); return drm_attach(nbdev, i915_pciidlist); I added the 2 lines manually. So the function looks like this: static int i915_attach(device_t nbdev) { drm_device_t *dev = device_get_softc(nbdev); if (device_get_unit(nbdev)) return 0; bzero(dev, sizeof(drm_device_t)); i915_configure(dev); return drm_attach(nbdev, i915_pciidlist); } Will rebuild and test.. Thanks! From owner-freebsd-x11@FreeBSD.ORG Sun Sep 28 00:59:05 2008 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 A4C781065688 for ; Sun, 28 Sep 2008 00:59:05 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id 44FD58FC0A for ; Sun, 28 Sep 2008 00:59:04 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from laptop.xor.net (c122-106-7-184.rivrw1.nsw.optusnet.com.au [122.106.7.184]) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m8S0x1ZI025494; Sun, 28 Sep 2008 10:59:02 +1000 Message-ID: <48DED6DA.1020702@ahhyes.net> Date: Sun, 28 Sep 2008 10:59:06 +1000 From: Alex User-Agent: Thunderbird 2.0.0.16 (X11/20080902) MIME-Version: 1.0 To: rnoland@FreeBSD.org, freebsd-x11@FreeBSD.org References: <48DD9ECD.40309@ahhyes.net> <1222524191.1662.3.camel@wombat.2hip.net> In-Reply-To: <1222524191.1662.3.camel@wombat.2hip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: DRI not working 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, 28 Sep 2008 00:59:05 -0000 > > drm shouldn't be attaching to the second head. The 852/5 chips have the > same pci id on both heads, which none of the other chips do. Please try > the attached patch to sys/dev/drm/i915_drv.c and see if that improves > things. > > robert. > Hi Robert, Same deal I'm afraid. I'll try and provide as much information about the hardware as I can (info taken after i915_drv.c was modified) From dmesg: ----------------- [alex@laptop /usr/home/alex]$ dmesg |grep agp agp0: on vgapci0 agp0: detected 892k stolen memory agp0: aperture size is 128M [alex@laptop /usr/home/alex]$ dmesg |grep drm drm0: on vgapci0 info: [drm] AGP at 0xf0000000 128MB info: [drm] Initialized i915 1.5.0 20060119 drm1: on vgapci1 from pciconf -lv: ----------------------- vgapci0@pci0:0:2:0: class=0x030000 card=0x01641028 chip=0x35828086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x01641028 chip=0x35828086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device' class = display From Xorg log: --------------------- (II) [drm] DRM interface version 1.2 (II) [drm] DRM open master succeeded. (II) intel(0): [drm] Using the DRM lock SAREA also for drawables. (II) intel(0): [drm] framebuffer mapped by ddx driver (II) intel(0): [drm] added 1 reserved context for kernel (II) intel(0): X context handle = 0x1 (II) intel(0): [drm] installed DRM signal handler (**) intel(0): Framebuffer compression enabled (**) intel(0): Tiling enabled (==) intel(0): Write-combining range (0xfaf80000,0x80000) was already clear (==) intel(0): VideoRam: 131072 KB (II) intel(0): Attempting memory allocation with tiled buffers. (WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages failed (Cannot allocate memory) (WW) intel(0): xf86AllocateGARTMemory: allocation of 4 pages failed (Cannot allocate memory) (WW) intel(0): Disabling HW cursor because the cursor memory allocation failed. (II) intel(0): Tiled allocation successful. (--) intel(0): DRI is disabled because it needs HW cursor, 2D accel and AGPGART. =========================== Could the problem be the agpgart? From owner-freebsd-x11@FreeBSD.ORG Sun Sep 28 04:12:40 2008 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18A51106564A; Sun, 28 Sep 2008 04:12:40 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E3D818FC12; Sun, 28 Sep 2008 04:12:39 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8S4Cdv6083298; Sun, 28 Sep 2008 04:12:39 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8S4CdKa083294; Sun, 28 Sep 2008 04:12:39 GMT (envelope-from edwin) Date: Sun, 28 Sep 2008 04:12:39 GMT Message-Id: <200809280412.m8S4CdKa083294@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-x11@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/127692: x11-drivers/xf86-video-i810 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, 28 Sep 2008 04:12:40 -0000 Synopsis: x11-drivers/xf86-video-i810 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 Responsible-Changed-By: edwin Responsible-Changed-When: Sun Sep 28 04:12:39 UTC 2008 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=127692 From owner-freebsd-x11@FreeBSD.ORG Sun Sep 28 07:24:33 2008 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 43AB11065689 for ; Sun, 28 Sep 2008 07:24:33 +0000 (UTC) (envelope-from sziszi@bsd.hu) Received: from mail.rubicom.hu (mail.rubicom.hu [89.147.80.28]) by mx1.freebsd.org (Postfix) with ESMTP id EB5008FC1E for ; Sun, 28 Sep 2008 07:24:32 +0000 (UTC) (envelope-from sziszi@bsd.hu) Received: from localhost ([127.0.0.1] helo=mail.rubicom.hu) by mail.rubicom.hu with smtp (Exim 4.63) (envelope-from ) id 1Kjqdp-0002pI-Vc for freebsd-x11@freebsd.org; Sun, 28 Sep 2008 09:24:30 +0200 Received: from ip5993549e.rubicom.hu ([89.147.84.158] helo=baranyfelhocske.buza.adamsfamily.xx) by mail.rubicom.hu with esmtp (Exim 4.63) (envelope-from ) id 1Kjqdp-0002oy-6Z for freebsd-x11@freebsd.org; Sun, 28 Sep 2008 09:24:29 +0200 Received: from baranyfelhocske.buza.adamsfamily.xx (localhost [127.0.0.1]) by baranyfelhocske.buza.adamsfamily.xx (8.14.3/8.14.3) with ESMTP id m8S7OS3T002841 for ; Sun, 28 Sep 2008 09:24:28 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from sziszi@localhost) by baranyfelhocske.buza.adamsfamily.xx (8.14.3/8.14.3/Submit) id m8S7OSvB002840 for freebsd-x11@freebsd.org; Sun, 28 Sep 2008 09:24:28 +0200 (CEST) (envelope-from sziszi@bsd.hu) X-Authentication-Warning: baranyfelhocske.buza.adamsfamily.xx: sziszi set sender to sziszi@bsd.hu using -f Date: Sun, 28 Sep 2008 09:24:28 +0200 From: Szilveszter Adam To: freebsd-x11@freebsd.org Message-ID: <20080928072428.GA2414@baranyfelhocske.buza.adamsfamily.xx> References: <48DD9ECD.40309@ahhyes.net> <1222524191.1662.3.camel@wombat.2hip.net> <48DECDC0.20709@ahhyes.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48DECDC0.20709@ahhyes.net> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: DRI not working 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, 28 Sep 2008 07:24:33 -0000 On Sun, Sep 28, 2008 at 10:20:16AM +1000, Alex wrote: > Robert Noland wrote: > > drm shouldn't be attaching to the second head. The 852/5 chips have the > > same pci id on both heads, which none of the other chips do. Please try > > the attached patch to sys/dev/drm/i915_drv.c and see if that improves > > things. > > > > robert. > > > Hi Robert, > > Thank you for your reply, and patch, but it seems the patch will not > apply cleanly. Yes, it did not apply for me either (on -CURRENT) but it was easy enough to add. > > Will rebuild and test.. For me, it changed the probe and attach messages a bit, but unfortunately, that did not bring any improvement: the xorg driver still claims to see two cards. -- Regards: Szilveszter ADAM Budapest Hungary From owner-freebsd-x11@FreeBSD.ORG Mon Sep 29 11:07:00 2008 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 C519E1065692 for ; Mon, 29 Sep 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B44988FC25 for ; Mon, 29 Sep 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8TB70H9040999 for ; Mon, 29 Sep 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8TB70TW040995 for freebsd-x11@FreeBSD.org; Mon, 29 Sep 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Sep 2008 11:07:00 GMT Message-Id: <200809291107.m8TB70TW040995@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-x11@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-x11@FreeBSD.org 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: Mon, 29 Sep 2008 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/127692 x11 x11-drivers/xf86-video-i810 o ports/127436 x11 x11/xorg: xorg randomly uses 100% CPU with Intel + KDE o ports/126904 x11 x11/xorg startx fails on driver loading for nVidia GeF o ports/126812 x11 x11-drivers/xf86-video-ati - System freeze when exitin o ports/125883 x11 x11-fonts/xorg-fonts-cyrillic is installed, but fonts o ports/125661 x11 x11/xorg: startx fails after a couple of attempts o ports/124861 x11 Keyboard problems with xorg o ports/124220 x11 [amd64] x11-servers/xorg-server - X.org server runs in o ports/123137 x11 x11/libX11: missing ru_RU.UTF-8 locale o ports/122924 x11 XCreateImage fails in most recent x11/XOrg o ports/122830 x11 x11/xorg: Error in I830WaitLpRing() o ports/121360 x11 x11/xorg - Change default of ~/.xsession-errors to off o ports/121230 x11 [patch] ports/x11/xkeyboard-config WITHOUT_NLS support f ports/119091 x11 x11-drivers/xf86-video-intel 2.1.1 panics system o ports/119037 x11 x11: Can't type _ (Underscore) under X (gnome) o ports/118950 x11 x11-drivers/xf86-video-nv - xorg xf86 nv (nvidia) driv o ports/118645 x11 Xorg need realtime priority for mouse work nice o ports/118547 x11 [patch] x11/xdm fails with pam_krb5 f ports/118217 x11 xorg doesnt find usb mouse when initiated with devd, w f ports/117907 x11 x11-servers/mga_hal broken on 7.0-BETA (GLIBC error) o ports/117766 x11 x11-servers/xorg-server (7.3) crashes under heavy load o ports/117195 x11 ix11/Xorg 7.3 dumps core at exit (sig 11) f ports/116603 x11 x11/xorg server 7.3 hangs up o ports/116443 x11 x11-drivers/xf86-input-keyboard patch for USB jp106 ke o ports/116359 x11 x11/xorg - screen blinks with PCI-E nvidia card and ve s ports/115536 x11 [new port] x11/xorg-base port for a minimal X.Org inst o ports/115020 x11 New port: graphics/osmesa - Mesa's off-screen renderin f ports/114827 x11 Xorg server crashes when starting astro/google-earth o ports/113106 x11 x11/xorg - Xorg 7.2 + Mach64 + dri produces error mess f ports/106370 x11 Screen corruption when using Direct Rendering on a PCI 30 problems total. From owner-freebsd-x11@FreeBSD.ORG Tue Sep 30 00:39:52 2008 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 CE221106568D for ; Tue, 30 Sep 2008 00:39:52 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6A28FC17 for ; Tue, 30 Sep 2008 00:39:52 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.31] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m8U0dQA6019495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 29 Sep 2008 20:39:26 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: freebsd-x11 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-B2UtqHrr49FVOXgx2UHC" Organization: FreeBSD Date: Mon, 29 Sep 2008 20:39:20 -0400 Message-Id: <1222735160.1683.6.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Subject: [CFT] intel g33 & g45 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: Tue, 30 Sep 2008 00:39:53 -0000 --=-B2UtqHrr49FVOXgx2UHC Content-Type: multipart/mixed; boundary="=-wiW6gBe9c/Wv+42eHvNg" --=-wiW6gBe9c/Wv+42eHvNg Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Attached is a patch to agp_i810 that should correctly handle that g33 / q33 intel chipsets. It also should add support for the g45 series chips (x4500). I don't have any of this hardware to test, so I need some feedback, either way. This also changes the 945 code slightly, so that is also worth testing. I am running on a 945gm now. This is against -CURRENT, but may apply to STABLE as well. robert. --=-wiW6gBe9c/Wv+42eHvNg Content-Disposition: attachment; filename=agp_i810-g33-g45.patch Content-Type: text/x-patch; name=agp_i810-g33-g45.patch; charset=UTF-8 Content-Transfer-Encoding: base64 SW5kZXg6IGFncF9pODEwLmMNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCi0tLSBhZ3BfaTgxMC5jCShyZXZpc2lvbiAx ODMxOTMpDQorKysgYWdwX2k4MTAuYwkod29ya2luZyBjb3B5KQ0KQEAgLTcwLDYgKzcwLDcgQEAN CiAJQ0hJUF9JOTE1LAkvKiA5MTVHLzkxNUdNICovDQogCUNISVBfSTk2NSwJLyogRzk2NSAqLw0K IAlDSElQX0czMywJLyogRzMzL1EzMy9RMzUgKi8NCisJQ0hJUF9HNFgsCS8qIEc0NS9RNDUgKi8N CiB9Ow0KIA0KIC8qIFRoZSBpODEwIHRocm91Z2ggaTg1NSBoYXZlIHRoZSByZWdpc3RlcnMgYXQg QkFSIDEsIGFuZCB0aGUgR0FUVCBnZXRzDQpAQCAtMTMzLDcgKzEzNCw3IEBADQogCXsweDI1NjI4 MDg2LCBDSElQX0k4MzAsIDB4MDAwMjAwMDAsDQogCSAgICAiSW50ZWwgODI4NDVNICg4NDVNIEdN Q0gpIFNWR0EgY29udHJvbGxlciJ9LA0KIAl7MHgzNTgyODA4NiwgQ0hJUF9JODU1LCAweDAwMDIw MDAwLA0KLQkgICAgIkludGVsIDgyODUyLzUifSwNCisJICAgICJJbnRlbCA4Mjg1Mi84NTVHTSBT VkdBIGNvbnRyb2xsZXIifSwNCiAJezB4MjU3MjgwODYsIENISVBfSTg1NSwgMHgwMDAyMDAwMCwN CiAJICAgICJJbnRlbCA4Mjg2NUcgKDg2NUcgR01DSCkgU1ZHQSBjb250cm9sbGVyIn0sDQogCXsw eDI1ODI4MDg2LCBDSElQX0k5MTUsIDB4MDAwMjAwMDAsDQpAQCAtMTU0LDE4ICsxNTUsMjYgQEA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19TVE9MRU5f MzUyTQkweGQwDQorDQorLyoNCiAgKiBOVklESUEgbkZvcmNlL25Gb3JjZTIgcmVnaXN0ZXJzDQog ICovDQogI2RlZmluZQlBR1BfTlZJRElBXzBfQVBCQVNFCQkweDEwDQo= --=-wiW6gBe9c/Wv+42eHvNg-- --=-B2UtqHrr49FVOXgx2UHC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjhdTgACgkQM4TrQ4qfROP7awCfX8drIwILIR866dzOHBvt6bbi pM0Amwdx+gwZ5Z7+cBa8VdmkkqbTQpNB =tWtR -----END PGP SIGNATURE----- --=-B2UtqHrr49FVOXgx2UHC-- From owner-freebsd-x11@FreeBSD.ORG Tue Sep 30 01:16:41 2008 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 4C16F1065686 for ; Tue, 30 Sep 2008 01:16:41 +0000 (UTC) (envelope-from jasonh@borisch.com) Received: from mail.borisch.com (mx1.borisch.com [209.255.13.26]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF058FC17 for ; Tue, 30 Sep 2008 01:16:40 +0000 (UTC) (envelope-from jasonh@borisch.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from 192.168.200.38 ([192.168.200.38]) by exchange2k3.exchange.borisch.com ([192.168.0.232]) with Microsoft Exchange Server HTTP-DAV ; Tue, 30 Sep 2008 01:04:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook Web Access 6.5.7651.60 X-MimeCtl: Produced By Microsoft Exchange V6.5.7651.60 Content-class: urn:content-classes:message X-Mailer: Microsoft Outlook Web Access 6.5.7651.60 X-MimeCtl: Produced By Microsoft Exchange V6.5.7651.60 Date: Mon, 29 Sep 2008 21:04:34 -0400 Message-ID: <1ACA0690-FE43-4E4A-A279-D73085D68E13@mimectl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: xf86-video-intel Thread-Index: AckimH9WvpaIRUtHTOSKQnek7xiyow== From: "Jason J. Hellenthal" To: Cc: Subject: xf86-video-intel 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: Tue, 30 Sep 2008 01:16:41 -0000 Evening List, =20 I'm not subscribed to this list so please CC me upon follow-up or reply. =20 Version 2.4.2 of the Intel driver is giving me pretty weird errors. like = "something something something 0 vs. 2" and other errors like buffer = under runs and space wanted 31767 got 30164. Is this some sort of memory = leak in the driver or such ?. anyone have a clue when the next version = hopefully a repaired version will come out? cant compile previous = versions of the driver below 2.4 and last version of xf86-video-i810 = that I can use is 1.6.5 and no higher. Hardware that I am running on is = a Dell Dimension 4500S 1G of ram and 1.8Gz proc with a i845G built-in = card. This card currently does not work with that driver. =20 =20 =20 -- J. Hellenthal (892) Aerospace Special Operations Support Borisch Manufacturing Corporation =20 http://www.Borisch.com/ =20 jasonh@Borisch.com = =20 "... as we enjoy great advantages from the inventions of others, we = should be glad of an opportunity to serve others by any invention of = ours; and this we should do freely and generously." -- Benjamin Franklin =20 P Only print if necessary =20 From owner-freebsd-x11@FreeBSD.ORG Tue Sep 30 09:12:40 2008 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 5971B1065686 for ; Tue, 30 Sep 2008 09:12:40 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id 2F1578FC1A for ; Tue, 30 Sep 2008 09:12:40 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2352665rvf.43 for ; Tue, 30 Sep 2008 02:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=DyyrmjiKAEi865vvLLFzlsr51hL/ULFFN41eThJQfhM=; b=kZWskWXJJV2ml0pHY7ULJJvrRzAG3EMzi6B7Xv63bK+BKc1nIad5irtbenzDFcRzb3 vANmpXl5neFWfraJzMdsQO/QH8Ph0oA2c8LPd8Fje0FEf+CXd2Lz+bn5OU5YV1woex3J GB/jUmjXc3i2uPu6Dtq+8HLLetUza3jtaSwiw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TjlF0vcmJkReDp7bjMSN1hkI8m8bZTHUYEf0oDo/Y3iKhml/tkwweZCZKjaPFv3qds GZY2KdvJtL2RzZf8MaGLElNWTjpnrj6K+nvOrloUeShMp0HDJmV5L89J7hfuzp17+ZIL LK/8B+1NN2xMOnVWiWNqBhWT9L2YRaDCkRmgM= Received: by 10.140.135.19 with SMTP id i19mr3213266rvd.169.1222765958725; Tue, 30 Sep 2008 02:12:38 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Tue, 30 Sep 2008 02:12:38 -0700 (PDT) Message-ID: <3a142e750809300212v73b440celfc716a402693d34a@mail.gmail.com> Date: Tue, 30 Sep 2008 11:12:38 +0200 From: "Paul B. Mahol" To: "Jason J. Hellenthal" In-Reply-To: <1ACA0690-FE43-4E4A-A279-D73085D68E13@mimectl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1ACA0690-FE43-4E4A-A279-D73085D68E13@mimectl> Cc: x11@freebsd.org Subject: Re: xf86-video-intel 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: Tue, 30 Sep 2008 09:12:40 -0000 On 9/30/08, Jason J. Hellenthal wrote: > Evening List, > > I'm not subscribed to this list so please CC me upon follow-up or reply. > > Version 2.4.2 of the Intel driver is giving me pretty weird errors. like > "something something something 0 vs. 2" and other errors like buffer under > runs and space wanted 31767 got 30164. Is this some sort of memory leak in I have similar experience on CURRENT. My problems are related to DRI recent changes in CURRENT and are not specific to wich driver i use: intel or i810. (both drivers works fine if DRI is disabled in xorg.confm except that intel have strange bad bug when switching vtys) > the driver or such ?. anyone have a clue when the next version hopefully a > repaired version will come out? cant compile previous versions of the driver > below 2.4 and last version of xf86-video-i810 that I can use is 1.6.5 and no i810 driver is obsolete but it should work with your card, i810 is marked as broken because it does not build with last libdrm. (and probably will not work at all with newer Xorg server ....) Currently, you can, if you want, downgrade to older libdrm, and i180 will build (just remove line with BROKEN= .... from its Makefile). > higher. Hardware that I am running on is a Dell Dimension 4500S 1G of ram > and 1.8Gz proc with a i845G built-in card. This card currently does not work > with that driver. From owner-freebsd-x11@FreeBSD.ORG Tue Sep 30 09:45:36 2008 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 996321065690 for ; Tue, 30 Sep 2008 09:45:36 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id 6C8E48FC0A for ; Tue, 30 Sep 2008 09:45:36 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2363824rvf.43 for ; Tue, 30 Sep 2008 02:45:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=qFBiUKxAaKRJX8XtFkvQynPN4gXEOtDwuZdMF2tSvwM=; b=IWDcumyToAmWGbIOSnTz5jnlvzU26my7JKmHvWXpmi0GyLqWwE0C7oILgZgZx8pess KItNssiy9wHww7hhTrV5l/qZXr+Pt4HFEdNxQ7vp0jOYjYGKqMjQdWgX6SRi8aHjurCI GltdUbgKa+vaOeI9hRgkWoDiLnAKo84oJoMUI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=o1MEF6JJ9YHefjL1AeaLK3Pwj2cL2qu43Iy4JaaZdpQgrUFAbgKDMoxQo5UfGNmbDx p2EBr/32UU8DRn5o+/svKGj2PM7UbjfgPuTPVAIe/5qLWC32IurNie+vrfjnQiBO5xQw jy6KhOcugG6JJj2zydaAwOX9aOn3z4K8yqiI8= Received: by 10.141.115.6 with SMTP id s6mr3220697rvm.239.1222767934847; Tue, 30 Sep 2008 02:45:34 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Tue, 30 Sep 2008 02:45:34 -0700 (PDT) Message-ID: <3a142e750809300245w8d9e720w5da705ced21aec6a@mail.gmail.com> Date: Tue, 30 Sep 2008 11:45:34 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1222735160.1683.6.camel@wombat.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222735160.1683.6.camel@wombat.2hip.net> Cc: freebsd-x11 Subject: Re: [CFT] intel g33 & g45 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: Tue, 30 Sep 2008 09:45:36 -0000 On 9/30/08, Robert Noland wrote: > Attached is a patch to agp_i810 that should correctly handle that g33 / > q33 intel chipsets. It also should add support for the g45 series chips > (x4500). I don't have any of this hardware to test, so I need some > feedback, either way. > > This also changes the 945 code slightly, so that is also worth testing. > I am running on a 945gm now. > > This is against -CURRENT, but may apply to STABLE as well. Patching doesnt work on CURRENT for me: # cd /sys/dev/agp # patch -C < /home/paul/src/freebsd/agp_i810-g33-g45.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: agp_i810.c |=================================================================== |--- agp_i810.c (revision 183193) |+++ agp_i810.c (working copy) -------------------------- Patching file agp_i810.c using Plan A... Hunk #1 failed at 70. Hunk #2 failed at 134. Hunk #3 failed at 155. Hunk #4 failed at 485. Hunk #5 failed at 501. Hunk #6 failed at 512. Hunk #7 failed at 530. Hunk #8 failed at 567. Hunk #9 failed at 657. Hunk #10 failed at 674. 10 out of 10 hunks failed--saving rejects to agp_i810.c.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: agpreg.h |=================================================================== |--- agpreg.h (revision 183193) |+++ agpreg.h (working copy) -------------------------- Patching file agpreg.h using Plan A... Hunk #1 failed at 215. Hunk #2 failed at 259. 2 out of 2 hunks failed--saving rejects to agpreg.h.rej done From owner-freebsd-x11@FreeBSD.ORG Tue Sep 30 09:50:12 2008 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 18E481065694; Tue, 30 Sep 2008 09:50:12 +0000 (UTC) (envelope-from ray@one.com.au) Received: from smtp1.dnsmadeeasy.com (smtp1.dnsmadeeasy.com [205.234.170.134]) by mx1.freebsd.org (Postfix) with ESMTP id E2FEB8FC22; Tue, 30 Sep 2008 09:50:11 +0000 (UTC) (envelope-from ray@one.com.au) Received: from smtp1.dnsmadeeasy.com (localhost [127.0.0.1]) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP id 04D68321806; Tue, 30 Sep 2008 09:50:16 +0000 (UTC) X-Authenticated-Name: raynewman X-Transit-System: In case of SPAM please contact abuse@dnsmadeeasy.com Received: from [10.10.10.13] (CPE-121-210-192-140.qld.bigpond.net.au [121.210.192.140]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP; Tue, 30 Sep 2008 09:50:15 +0000 (UTC) Message-Id: <49116C4C-B153-405A-A1D8-9B4B45606982@one.com.au> From: Ray Newman To: John Hein In-Reply-To: <18615.61491.957269.935152@gromit.timing.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 30 Sep 2008 19:49:52 +1000 References: <7FD401C4-3F70-4B91-9235-0EEA290C3967@one.com.au> <18615.61491.957269.935152@gromit.timing.com> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-x11@freebsd.org, freebsd-questions@freebsd.org, xorg@lists.freedesktop.org Subject: Re: Dual (zaphod) head on Intel i810 does not work for FreeBSD V7.0 Release 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: Tue, 30 Sep 2008 09:50:12 -0000 I've now spent a month trying to make this work. Sure it "sort of" works until we try to do consistent graphics work with wish under kde; then we CANNOT get consistent results with and without the second screen. IS THERE ANY WAY TO START THIS MESS LOOKING LIKE ONE SCREEN. IT JUST DOESN'T WORK. Ray Newman On 29/08/2008, at 10:48 PM, John Hein wrote: > Ray Newman wrote at 17:56 +1000 on Aug 29, 2008: >> Under FreeBSD V6.2 Release (X 6.9.0 and i810 1.4.1) with this >> xorg.conf, this log file >> is produced and the dual screen config works. > . > . >> Under FreeBSD V7.0 Release (X 1.4.0 and i810 1.6.5) with this >> xorg.conf which is nearly >> identical with the previous one, this log file is produced and the >> dual screen doesn't work. >> It seems to get the primary and secondary screens totally confused. > > What if you try x11-drivers/xf86-video-intel instead of > x11-drivers/xf86-video-i810? > From owner-freebsd-x11@FreeBSD.ORG Tue Sep 30 12:20:16 2008 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 6CC0D106568F for ; Tue, 30 Sep 2008 12:20:16 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 430BF8FC1A for ; Tue, 30 Sep 2008 12:20:16 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.31] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m8UCK0LU022812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Sep 2008 08:20:00 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Paul B. Mahol" In-Reply-To: <3a142e750809300245w8d9e720w5da705ced21aec6a@mail.gmail.com> References: <1222735160.1683.6.camel@wombat.2hip.net> <3a142e750809300245w8d9e720w5da705ced21aec6a@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-I/IEXNn/Vbuvbvs77AIq" Organization: FreeBSD Date: Tue, 30 Sep 2008 08:19:54 -0400 Message-Id: <1222777194.1683.29.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: [CFT] intel g33 & g45 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: Tue, 30 Sep 2008 12:20:16 -0000 --=-I/IEXNn/Vbuvbvs77AIq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-09-30 at 11:45 +0200, Paul B. Mahol wrote: > On 9/30/08, Robert Noland wrote: > > Attached is a patch to agp_i810 that should correctly handle that g33 / > > q33 intel chipsets. It also should add support for the g45 series chip= s > > (x4500). I don't have any of this hardware to test, so I need some > > feedback, either way. > > > > This also changes the 945 code slightly, so that is also worth testing. > > I am running on a 945gm now. > > > > This is against -CURRENT, but may apply to STABLE as well. >=20 > Patching doesnt work on CURRENT for me: >=20 > # cd /sys/dev/agp > # patch -C < /home/paul/src/freebsd/agp_i810-g33-g45.patch > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: agp_i810.c > |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > |--- agp_i810.c (revision 183193) > |+++ agp_i810.c (working copy) > -------------------------- > Patching file agp_i810.c using Plan A... > Hunk #1 failed at 70. > Hunk #2 failed at 134. > Hunk #3 failed at 155. > Hunk #4 failed at 485. > Hunk #5 failed at 501. > Hunk #6 failed at 512. > Hunk #7 failed at 530. > Hunk #8 failed at 567. > Hunk #9 failed at 657. > Hunk #10 failed at 674. > 10 out of 10 hunks failed--saving rejects to agp_i810.c.rej > Hmm... The next patch looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: agpreg.h > |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > |--- agpreg.h (revision 183193) > |+++ agpreg.h (working copy) > -------------------------- > Patching file agpreg.h using Plan A... > Hunk #1 failed at 215. > Hunk #2 failed at 259. > 2 out of 2 hunks failed--saving rejects to agpreg.h.rej > done wombat% pwd /home/rnoland/freebsd/src/sys/dev/agp wombat% patch -C < ~/agp_i810-g33-g45.patch=20 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: agp_i810.c |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |--- agp_i810.c (revision 183193) |+++ agp_i810.c (working copy) -------------------------- Patching file agp_i810.c using Plan A... Hunk #1 succeeded at 70. Hunk #2 succeeded at 134. Hunk #3 succeeded at 155. Hunk #4 succeeded at 485. Hunk #5 succeeded at 501. Hunk #6 succeeded at 512. Hunk #7 succeeded at 530. Hunk #8 succeeded at 567. Hunk #9 succeeded at 657. Hunk #10 succeeded at 674. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: agpreg.h |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |--- agpreg.h (revision 183193) |+++ agpreg.h (working copy) -------------------------- Patching file agpreg.h using Plan A... Hunk #1 succeeded at 215. Hunk #2 succeeded at 259. done I just checked it against my current cvs checkout of src. Maybe it was corrupted by the mailer. I'll put it up at http://people.freebsd.org/~rnoland/agp_i810-g33-g45.patch robert. --=-I/IEXNn/Vbuvbvs77AIq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjiGWoACgkQM4TrQ4qfROOZ+ACfXjIEE+UJYLxL53qbCfIdNBmI +lIAn3Ov7Ylsue+lkqhSQbmQHn+Q1E5V =bBcN -----END PGP SIGNATURE----- --=-I/IEXNn/Vbuvbvs77AIq-- From owner-freebsd-x11@FreeBSD.ORG Tue Sep 30 15:52:23 2008 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 A2457106568C for ; Tue, 30 Sep 2008 15:52:23 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 6A6BC8FC1C for ; Tue, 30 Sep 2008 15:52:23 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m8UFq76V023814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Sep 2008 11:52:07 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Paul B. Mahol" In-Reply-To: <1222777194.1683.29.camel@wombat.2hip.net> References: <1222735160.1683.6.camel@wombat.2hip.net> <3a142e750809300245w8d9e720w5da705ced21aec6a@mail.gmail.com> <1222777194.1683.29.camel@wombat.2hip.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-cjK0xkkHoKevQzuKxXNj" Organization: FreeBSD Date: Tue, 30 Sep 2008 11:52:01 -0400 Message-Id: <1222789921.1740.4.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: [CFT] intel g33 & g45 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: Tue, 30 Sep 2008 15:52:23 -0000 --=-cjK0xkkHoKevQzuKxXNj Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-09-30 at 08:19 -0400, Robert Noland wrote: > > > This is against -CURRENT, but may apply to STABLE as well. I have checked and it does apply to RELENG_7 cleanly as well, though the agp code is located in sys/pci on 7. patch is http://people.freebsd.org/~rnoland/agp_i810-g33-g45.patch robert. --=-cjK0xkkHoKevQzuKxXNj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjiSyEACgkQM4TrQ4qfROPI4QCfSGeYRcN8nYh1Mu2OKGTjXn1a qHwAni3u1xQt46We9fiMy6Z8cTjc39Dk =mPxA -----END PGP SIGNATURE----- --=-cjK0xkkHoKevQzuKxXNj-- From owner-freebsd-x11@FreeBSD.ORG Tue Sep 30 18:49:21 2008 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 592E7106568D for ; Tue, 30 Sep 2008 18:49:21 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 2A47B8FC20 for ; Tue, 30 Sep 2008 18:49:21 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so133931rvf.43 for ; Tue, 30 Sep 2008 11:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=u2mbxHGxrpbV/rUJH1p/kdQFKG/I1NdkU3WK2kxdNo8=; b=g+/3ZG7cqGOLTzWz8lzINimTuTn3hkaqoNXiKxileX5d7adf1wKmc0weKtL4gkpAV0 XnH8hY0aYtqxEfNaN9w/nWf71K8+gmUJpfiS7GVrJQW6+cG23ahZOV/IEWYlO/I3xx0L lfxuHBe655UpOksXXSb/l4sXsl/5lweR2/isw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=orqFMuOnKiC/RvcA6H3Pk5qtsDpHRluFAQ3o5uQ7rlB9yZQL4teIW4KCo+/INXuOkN 4NpTC3X53LGrLTJgK2AJvSVZlocPkZ8i4XKxPEkqB2TYfDAHUDm0V9/hcCTyUgZPhyGk 1h6VXzh2ngdZ4aRGJIZXAfPKu41E4iPn7FnaE= Received: by 10.140.161.11 with SMTP id j11mr3748006rve.134.1222800560857; Tue, 30 Sep 2008 11:49:20 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Tue, 30 Sep 2008 11:49:20 -0700 (PDT) Message-ID: <3a142e750809301149qdb252c5j743878ccffbc8b7b@mail.gmail.com> Date: Tue, 30 Sep 2008 20:49:20 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1222789921.1740.4.camel@wombat.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222735160.1683.6.camel@wombat.2hip.net> <3a142e750809300245w8d9e720w5da705ced21aec6a@mail.gmail.com> <1222777194.1683.29.camel@wombat.2hip.net> <1222789921.1740.4.camel@wombat.2hip.net> Cc: freebsd-x11 Subject: Re: [CFT] intel g33 & g45 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: Tue, 30 Sep 2008 18:49:21 -0000 On 9/30/08, Robert Noland wrote: > On Tue, 2008-09-30 at 08:19 -0400, Robert Noland wrote: >> > > This is against -CURRENT, but may apply to STABLE as well. > > I have checked and it does apply to RELENG_7 cleanly as well, though the > agp code is located in sys/pci on 7. > > patch is http://people.freebsd.org/~rnoland/agp_i810-g33-g45.patch That one works fine. (Old one have bogus whitespace diff) Old problem is still there (DRI broken on i945GM, unloading agp causes panic). (I rebuilded both agp and drm modules) Output is more verbose: agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M agp0: AGP_I810_PGTBL_CTL: 3ffc0001 agp0: AGP_I855_GCC1: 0x30 agp0: AGP_I915_MSAC: 0xd9 agp0: Aperture resource size: 268435456 bytes drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xe0000000 256MB info: [drm] Initialized i915 1.6.0 20080312 drm0: [ITHREAD] I think problem started after vgapci0 and vgapci1 appeared in dmesg output. How to make sure that Xorg use vgapci0 and not vgapci1? Do you have same card/output like mine? From owner-freebsd-x11@FreeBSD.ORG Tue Sep 30 19:02:24 2008 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 65C401065689 for ; Tue, 30 Sep 2008 19:02:24 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 3A3858FC16 for ; Tue, 30 Sep 2008 19:02:24 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m8UJ1xCX024937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Sep 2008 15:01:59 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Paul B. Mahol" In-Reply-To: <3a142e750809301149qdb252c5j743878ccffbc8b7b@mail.gmail.com> References: <1222735160.1683.6.camel@wombat.2hip.net> <3a142e750809300245w8d9e720w5da705ced21aec6a@mail.gmail.com> <1222777194.1683.29.camel@wombat.2hip.net> <1222789921.1740.4.camel@wombat.2hip.net> <3a142e750809301149qdb252c5j743878ccffbc8b7b@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Lp3aSWK8RUQ1bt3QSiOe" Organization: FreeBSD Date: Tue, 30 Sep 2008 15:01:53 -0400 Message-Id: <1222801313.1740.25.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: [CFT] intel g33 & g45 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: Tue, 30 Sep 2008 19:02:24 -0000 --=-Lp3aSWK8RUQ1bt3QSiOe Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-09-30 at 20:49 +0200, Paul B. Mahol wrote: > On 9/30/08, Robert Noland wrote: > > On Tue, 2008-09-30 at 08:19 -0400, Robert Noland wrote: > >> > > This is against -CURRENT, but may apply to STABLE as well. > > > > I have checked and it does apply to RELENG_7 cleanly as well, though th= e > > agp code is located in sys/pci on 7. > > > > patch is http://people.freebsd.org/~rnoland/agp_i810-g33-g45.patch >=20 > That one works fine. (Old one have bogus whitespace diff) >=20 > Old problem is still there (DRI broken on i945GM, unloading agp causes pa= nic). > (I rebuilded both agp and drm modules) Yes, this wasn't expected to fix whatever is going on with 945gm. The issue with uloading agp is that some of the agp resources are being freed by drm, either on it's own or by calling into agp. I haven't figured out which module is actually to blame yet, but I don't think that it is related to the issues that your seeing. > Output is more verbose: >=20 > agp0: on vgapci0 > agp0: detected 7932k stolen memory > agp0: aperture size is 256M > agp0: AGP_I810_PGTBL_CTL: 3ffc0001 > agp0: AGP_I855_GCC1: 0x30 > agp0: AGP_I915_MSAC: 0xd9 This is just because I'm dumping the card registers in the patch, I'll disable that when I commit it. > agp0: Aperture resource size: 268435456 bytes > drm0: on vgapci0 > vgapci0: child drm0 requested pci_enable_busmaster > info: [drm] AGP at 0xe0000000 256MB > info: [drm] Initialized i915 1.6.0 20080312 > drm0: [ITHREAD] >=20 >=20 > I think problem started after vgapci0 and vgapci1 appeared in dmesg outpu= t. drm isn't attaching to vgapci1, except on 852/5 cards which have the same pci id on both heads. > How to make sure that Xorg use vgapci0 and not vgapci1? >=20 > Do you have same card/output like mine? pretty much. vgapci0: port 0xeff8-0xefff mem 0xfea00000-0xfeafffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7676k stolen memory agp0: aperture size is 256M agp0: AGP_I810_PGTBL_CTL: 7ff80001 agp0: AGP_I855_GCC1: 0x30 agp0: AGP_I915_MSAC: 0x00 agp0: Aperture resource size: 268435456 bytes acpi_video0: on vgapci0 vgapci1: mem 0xfeb00000-0xfebfffff at device 2.1 on pci0 acpi_video1: on vgapci1 evaluation of \\_SB_.PCI0.VID2._DOD makes no sense ... drm0: on vgapci0 info: [drm] MSI enabled 1 message(s) vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xe0000000 256MB info: [drm] Initialized i915 1.6.0 20080730 drm0: [ITHREAD] robert. --=-Lp3aSWK8RUQ1bt3QSiOe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjid6EACgkQM4TrQ4qfROPsigCeOI+jEjMYh+y9oVAUSFPOMsZU hjUAn0Q0xqRkYqLbf08N9Yr/GKUOUBxU =raWd -----END PGP SIGNATURE----- --=-Lp3aSWK8RUQ1bt3QSiOe-- From owner-freebsd-x11@FreeBSD.ORG Wed Oct 1 11:51:39 2008 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 6D6FF1065693 for ; Wed, 1 Oct 2008 11:51:39 +0000 (UTC) (envelope-from samspeed@mail.ru) Received: from mx45.mail.ru (mx45.mail.ru [194.67.23.236]) by mx1.freebsd.org (Postfix) with ESMTP id C47408FC1C for ; Wed, 1 Oct 2008 11:51:38 +0000 (UTC) (envelope-from samspeed@mail.ru) Received: from f132.mail.ru (f132.mail.ru [194.67.57.113]) by mx45.mail.ru (mPOP.Fallback_MX) with ESMTP id 3E751E0077AA for ; Wed, 1 Oct 2008 15:37:32 +0400 (MSD) Received: from mail by f132.mail.ru with local id 1Kl01K-000I1Y-00 for freebsd-x11@freebsd.org; Wed, 01 Oct 2008 15:37:30 +0400 Received: from [80.82.44.194] by win.mail.ru with HTTP; Wed, 01 Oct 2008 15:37:30 +0400 From: =?koi8-r?Q?=E1=CE=C4=D2=C5=CA_=F3=CD=C1=C7=C9=CE?= To: freebsd-x11 Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: 192.168.168.7 via proxy [80.82.44.194] Date: Wed, 01 Oct 2008 15:37:30 +0400 References: <1222789921.1740.4.camel@wombat.2hip.net> In-Reply-To: <1222789921.1740.4.camel@wombat.2hip.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Spam: Not detected X-Mras: OK Subject: glxgears crash xorg on Asus EEE PC 900 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?koi8-r?Q?=E1=CE=C4=D2=C5=CA_=F3=CD=C1=C7=C9=CE?= List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 11:51:39 -0000 Please help, about month can't run 3D on my EEE PC 900. If I run glxgears from xterm on my eeepc, xorg hang on some seconds and then crash with following error: --------------------- ........ Ring at virtual 0x28800000 head 0x1e0 tail 0x2a70 count 2596 Ring at virtual 0x28800000 head 0x1e0 tail 0x2a70 count 2596 Ring end space: 120680 wanted 131064 FatalError re-entered, aborting lockup --------------------- Xorg compiled 2 week ago System - Freebsd last night CURRENT with http://people.freebsd.org/~rnoland/agp_i810-g33-g45.patch xorg pkg xorg-7.3_2 X.Org complete distribution metaport xorg-apps-7.3 X.org apps meta-port xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds xorg-docs-1.4,1 X.org documentation files xorg-drivers-7.3_3 X.org drivers meta-port xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts xorg-fonts-7.3_1 X.org fonts meta-port xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts xorg-fonts-truetype-7.3 X.Org TrueType fonts xorg-fonts-type1-7.3 X.Org Type1 fonts xorg-libraries-7.3_2 X.org libraries meta-port xorg-protos-7.3_2 X.org protos meta-port xorg-server-1.4.2,1 X.Org X server and related programs xorg.conf ...... cut ...... Section "Device" Identifier "Radeon" Driver "intel" Option "RenderAccel" "on" Option "GARTSize" "128" EndSection Section "Screen" Identifier "Screen 1" Device "Intel" Monitor "Notebook Screen" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1024x600" ViewPort 0 0 EndSubsection Subsection "Display" Depth 8 Modes "1024x600" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1024x600" ViewPort 0 0 EndSubsection EndSection ........ end cut ..... dmesg Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #4: Wed Oct 1 01:54:49 MSD 2008 root@samnote.vvt:/usr/obj/usr/src/sys/EEE Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) M processor 900MHz (900.10-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff AMD Features=0x100000 real memory = 2138570752 (2039 MB) avail memory = 2089725952 (1992 MB) kbd1 at kbdmux0 ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7f700000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xec00-0xec07 mem 0xf7f00000-0xf7f7ffff,0xd0000000-0xdfffffff,0xf7ec0000-0xf7efffff irq 5 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M agp0: AGP_I810_PGTBL_CTL: 7ffc0001 agp0: AGP_I855_GCC1: 0x30 agp0: AGP_I915_MSAC: 0xd1 agp0: Aperture resource size: 268435456 bytes vgapci1: mem 0xf7f80000-0xf7ffffff at device 2.1 on pci0 hdac0: mem 0xf7eb8000-0xf7ebbfff irq 5 at device 27.0 on pci0 hdac0: hdac0: [ITHREAD] pcib1: irq 5 at device 28.0 on pci0 pci4: on pcib1 pcib2: irq 11 at device 28.1 on pci0 pci3: on pcib2 pci3: at device 0.0 (no driver attached) pcib3: irq 10 at device 28.2 on pci0 pci1: on pcib3 ath0: mem 0xfbef0000-0xfbefffff irq 10 at device 0.0 on pci1 ath0: [ITHREAD] ath0: WARNING: using obsoleted if_watchdog interface ath0: mac 14.2 phy 7.0 radio 10.2 pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.3 (no driver attached) ehci0: mem 0xf7eb7c00-0xf7eb7fff irq 3 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb0: EHCI version 1.0 usb0: wrong number of companions (4 != 0) usb0: on ehci0 usb0: USB revision 2.0 uhub0: on usb0 uhub0: 8 ports with 8 removable, self powered umass0: on uhub0 ugen0: on uhub0 pcib4: at device 30.0 on pci0 pci5: on pcib4 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_asus0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 battery0: on acpi0 acpi_acad0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 cpu0: on acpi0 acpi_throttle0: on cpu0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcf7ff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: parallel port not found. Timecounter "TSC" frequency 900097629 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to deny, logging unlimited ad2: FAILURE - SET_MULTI status=51 error=4 ad2: 3847MB at ata1-master UDMA66 ad3: FAILURE - SET_MULTI status=51 error=4 ad3: 15391MB at ata1-slave UDMA66 hdac0: pcm0: on hdac0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 976MB (1999872 512 byte sectors: 64H 32S/T 976C) Trying to mount root from ufs:/dev/ad3s1a ae0: mem 0xfbfc0000-0xfbffffff irq 11 at device 0.0 on pci3 ae0: pci device revision: 0xa0 ae0: chip id: 0x3 miibus0: on ae0 ukphy0: PHY 0 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ae0: Ethernet address: 00:22:15:3a:4c:b8 ae0: [FILTER] wlan0: Ethernet address: 00:15:af:b5:25:8b drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized i915 1.6.0 20080312 drm0: [ITHREAD] From owner-freebsd-x11@FreeBSD.ORG Wed Oct 1 12:00:45 2008 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 85E7110656A1 for ; Wed, 1 Oct 2008 12:00:45 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id 584CA8FC12 for ; Wed, 1 Oct 2008 12:00:45 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so466630rvf.43 for ; Wed, 01 Oct 2008 05:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=c3kwhOU2Cnc712O+Ih6iOAfioaOZDwuH7FgwlVIhALc=; b=f9PH/uUjV2R6XxYHtIVkTDfZfmg4O0WrqWRSqYEMNkMJMTiqxUFuSP/ziFnFcmrM6W JWwyQdRLIEvz8ZrkC7Gf/vXaxt6Oz4tXJuuzuAiJYjbHmEylzGvcFg1KKbvJCCKZyNh7 DMnITGyarDDT98UaKVJwBOeBxaEuUALQUxmsU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hnzar8Wr82RS3hmV2Vn/zV59G6nkwJSx7DaQBwdgXxVJzFo74gD11CVccWH8Z38LP/ lHJpExORdO8DLSfMEOFdp71NXHznjfnWzAaMBR62olwm4dPu2tLO6a4VdvUboYKkita9 +iyH61TqHWiHVhlF38ZbRspE/knY/9W1altGc= Received: by 10.140.135.19 with SMTP id i19mr4324704rvd.169.1222862445050; Wed, 01 Oct 2008 05:00:45 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Wed, 1 Oct 2008 05:00:44 -0700 (PDT) Message-ID: <3a142e750810010500u30de62afy72e9e8ed040952b3@mail.gmail.com> Date: Wed, 1 Oct 2008 14:00:44 +0200 From: "Paul B. Mahol" To: "=?KOI8-R?B?4c7E0sXKIPPNwcfJzg==?=" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: base64 Content-Disposition: inline References: <1222789921.1740.4.camel@wombat.2hip.net> Cc: freebsd-x11 Subject: Re: glxgears crash xorg on Asus EEE PC 900 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: Wed, 01 Oct 2008 12:00:45 -0000 T24gMTAvMS8wOCwg4c7E0sXKIPPNwcfJziA8c2Ftc3BlZWRAbWFpbC5ydT4gd3JvdGU6Cj4gUGxl YXNlIGhlbHAsIGFib3V0IG1vbnRoIGNhbid0IHJ1biAzRCBvbiBteSBFRUUgUEMgOTAwLgo+IElm IEkgcnVuIGdseGdlYXJzIGZyb20geHRlcm0gb24gbXkgZWVlcGMsIHhvcmcgaGFuZyBvbiBzb21l IHNlY29uZHMgYW5kIHRoZW4KPiBjcmFzaCB3aXRoIGZvbGxvd2luZyBlcnJvcjoKPgo+IC0tLS0t LS0tLS0tLS0tLS0tLS0tLQo+IC4uLi4uLi4uCj4gUmluZyBhdCB2aXJ0dWFsIDB4Mjg4MDAwMDAg aGVhZCAweDFlMCB0YWlsIDB4MmE3MCBjb3VudCAyNTk2Cj4gUmluZyBhdCB2aXJ0dWFsIDB4Mjg4 MDAwMDAgaGVhZCAweDFlMCB0YWlsIDB4MmE3MCBjb3VudCAyNTk2Cj4gUmluZyBlbmQKPiBzcGFj ZTogMTIwNjgwIHdhbnRlZCAxMzEwNjQKPgo+IEZhdGFsRXJyb3IgcmUtZW50ZXJlZCwgYWJvcnR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EgaW50ZXJmYWNlPiBQSFkgMCBvbiBtaWlidXMwCj4gdWtwaHkw OiAgMTBiYXNlVCwgMTBiYXNlVC1GRFgsIDEwMGJhc2VUWCwgMTAwYmFzZVRYLUZEWCwgYXV0bwo+ IGFlMDogRXRoZXJuZXQgYWRkcmVzczogMDA6MjI6MTU6M2E6NGM6YjgKPiBhZTA6IFtGSUxURVJd Cj4gd2xhbjA6IEV0aGVybmV0IGFkZHJlc3M6IDAwOjE1OmFmOmI1OjI1OjhiCj4gZHJtMDogPElu dGVsIGk5MTVHTT4gb24gdmdhcGNpMAo+IHZnYXBjaTA6IGNoaWxkIGRybTAgcmVxdWVzdGVkIHBj aV9lbmFibGVfYnVzbWFzdGVyCj4gaW5mbzogW2RybV0gQUdQIGF0IDB4ZDAwMDAwMDAgMjU2TUIK PiBpbmZvOiBbZHJtXSBJbml0aWFsaXplZCBpOTE1IDEuNi4wIDIwMDgwMzEyCj4gZHJtMDogW0lU SFJFQURdCj4KPgo+Cj4KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fXwo+IGZyZWVic2QteDExQGZyZWVic2Qub3JnIG1haWxpbmcgbGlzdAo+IGh0dHA6Ly9s aXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2ZyZWVic2QteDExCj4gVG8gdW5zdWJz Y3JpYmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QteDExLXVuc3Vic2NyaWJlQGZyZWVic2Qu b3JnIgo+Cg== From owner-freebsd-x11@FreeBSD.ORG Wed Oct 1 12:18:31 2008 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 20823106568B for ; Wed, 1 Oct 2008 12:18:31 +0000 (UTC) (envelope-from samspeed@mail.ru) Received: from f80.mail.ru (f80.mail.ru [194.67.57.180]) by mx1.freebsd.org (Postfix) with ESMTP id ABB6B8FC29 for ; Wed, 1 Oct 2008 12:18:30 +0000 (UTC) (envelope-from samspeed@mail.ru) Received: from mail by f80.mail.ru with local id 1Kl0ey-000DTI-00; Wed, 01 Oct 2008 16:18:28 +0400 Received: from [80.82.44.194] by win.mail.ru with HTTP; Wed, 01 Oct 2008 16:18:28 +0400 From: =?koi8-r?Q?=E1=CE=C4=D2=C5=CA_=F3=CD=C1=C7=C9=CE?= To: Paul B. Mahol Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: 192.168.168.7 via proxy [80.82.44.194] Date: Wed, 01 Oct 2008 16:18:28 +0400 In-Reply-To: <3a142e750810010500u30de62afy72e9e8ed040952b3@mail.gmail.com> References: <3a142e750810010500u30de62afy72e9e8ed040952b3@mail.gmail.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Spam: Not detected X-Mras: OK Cc: freebsd-x11 Subject: Re[2]: glxgears crash xorg on Asus EEE PC 900 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?koi8-r?Q?=E1=CE=C4=D2=C5=CA_=F3=CD=C1=C7=C9=CE?= List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 12:18:31 -0000 > On 10/1/08, áÎÄÒÅÊ óÍÁÇÉÎ wrote: > > Please help, about month can't run 3D on my EEE PC 900. > > If I run glxgears from xterm on my eeepc, xorg hang on some seconds and then > > crash with following error: > > > > --------------------- > > ........ > > Ring at virtual 0x28800000 head 0x1e0 tail 0x2a70 count 2596 > > Ring at virtual 0x28800000 head 0x1e0 tail 0x2a70 count 2596 > > Ring end > > space: 120680 wanted 131064 > > > > FatalError re-entered, aborting > > lockup > > I have same problem on i945GM on completly another machine, and that > is related to Robert Noland pre-gem changes of drm/drm and drm/i915. > > You can build i915 and drm module before that change and DRI will work .... > Just cvsup versions that works. > I rebuilt system by "make buildkernel" , what else need to run dri ? > > --------------------- > > > > Xorg compiled 2 week ago > > System - Freebsd last night CURRENT with > > http://people.freebsd.org/~rnoland/agp_i810-g33-g45.patch > > > > > > xorg pkg > > > > xorg-7.3_2 X.Org complete distribution metaport > > xorg-apps-7.3 X.org apps meta-port > > xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds > > xorg-docs-1.4,1 X.org documentation files > > xorg-drivers-7.3_3 X.org drivers meta-port > > xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts > > xorg-fonts-7.3_1 X.org fonts meta-port > > xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts > > xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts > > xorg-fonts-truetype-7.3 X.Org TrueType fonts > > xorg-fonts-type1-7.3 X.Org Type1 fonts > > xorg-libraries-7.3_2 X.org libraries meta-port > > xorg-protos-7.3_2 X.org protos meta-port > > xorg-server-1.4.2,1 X.Org X server and related programs > > > > > > xorg.conf > > ...... cut ...... > > Section "Device" > > Identifier "Radeon" > > Driver "intel" > > Option "RenderAccel" "on" > > > > Option "GARTSize" "128" > > EndSection > > > > > > Section "Screen" > > Identifier "Screen 1" > > Device "Intel" > > Monitor "Notebook Screen" > > DefaultDepth 24 > > > > Subsection "Display" > > Depth 24 > > Modes "1024x600" > > ViewPort 0 0 > > > > EndSubsection > > Subsection "Display" > > Depth 8 > > Modes "1024x600" > > ViewPort 0 0 > > EndSubsection > > Subsection "Display" > > Depth 16 > > Modes "1024x600" > > ViewPort 0 0 > > EndSubsection > > EndSection > > ........ end cut ..... > > > > > > > > dmesg > > > > Copyright (c) 1992-2008 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > The Regents of the University of California. All rights reserved. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 8.0-CURRENT #4: Wed Oct 1 01:54:49 MSD 2008 > > root@samnote.vvt:/usr/obj/usr/src/sys/EEE > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Intel(R) Celeron(R) M processor 900MHz (900.10-MHz 686-class > > CPU) > > Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 > > > > Features=0xafe9fbff > > AMD Features=0x100000 > > real memory = 2138570752 (2039 MB) > > avail memory = 2089725952 (1992 MB) > > kbd1 at kbdmux0 > > ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, > > RF5413, RF2133, RF2425, RF2417) > > acpi0: on motherboard > > acpi0: [ITHREAD] > > acpi0: Power Button (fixed) > > acpi0: reservation of 0, a0000 (3) failed > > acpi0: reservation of 100000, 7f700000 (3) failed > > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > > acpi_ec0: port 0x62,0x66 on acpi0 > > pcib0: port 0xcf8-0xcff on acpi0 > > pci0: on pcib0 > > vgapci0: port 0xec00-0xec07 mem > > 0xf7f00000-0xf7f7ffff,0xd0000000-0xdfffffff,0xf7ec0000-0xf7efffff irq 5 at > > device 2.0 on pci0 > > agp0: on vgapci0 > > agp0: detected 7932k stolen memory > > agp0: aperture size is 256M > > agp0: AGP_I810_PGTBL_CTL: 7ffc0001 > > agp0: AGP_I855_GCC1: 0x30 > > agp0: AGP_I915_MSAC: 0xd1 > > agp0: Aperture resource size: 268435456 bytes > > vgapci1: mem 0xf7f80000-0xf7ffffff at device 2.1 on > > pci0 > > hdac0: mem > > 0xf7eb8000-0xf7ebbfff irq 5 at device 27.0 on pci0 > > hdac0: > > hdac0: [ITHREAD] > > pcib1: irq 5 at device 28.0 on pci0 > > pci4: on pcib1 > > pcib2: irq 11 at device 28.1 on pci0 > > pci3: on pcib2 > > pci3: at device 0.0 (no driver attached) > > pcib3: irq 10 at device 28.2 on pci0 > > pci1: on pcib3 > > ath0: mem 0xfbef0000-0xfbefffff irq 10 at device 0.0 on > > pci1 > > ath0: [ITHREAD] > > ath0: WARNING: using obsoleted if_watchdog interface > > ath0: mac 14.2 phy 7.0 radio 10.2 > > pci0: at device 29.0 (no driver attached) > > pci0: at device 29.1 (no driver attached) > > pci0: at device 29.2 (no driver attached) > > pci0: at device 29.3 (no driver attached) > > ehci0: mem 0xf7eb7c00-0xf7eb7fff > > irq 3 at device 29.7 on pci0 > > ehci0: [GIANT-LOCKED] > > ehci0: [ITHREAD] > > usb0: EHCI version 1.0 > > usb0: wrong number of companions (4 != 0) > > usb0: on ehci0 > > usb0: USB revision 2.0 > > uhub0: on usb0 > > uhub0: 8 ports with 8 removable, self powered > > umass0: on uhub0 > > ugen0: > addr 3> on uhub0 > > pcib4: at device 30.0 on pci0 > > pci5: on pcib4 > > isab0: at device 31.0 on pci0 > > isa0: on isab0 > > atapci0: port > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.2 on pci0 > > ata0: on atapci0 > > ata0: [ITHREAD] > > ata1: on atapci0 > > ata1: [ITHREAD] > > pci0: at device 31.3 (no driver attached) > > acpi_asus0: on acpi0 > > acpi_lid0: on acpi0 > > acpi_button0: on acpi0 > > acpi_button1: on acpi0 > > acpi_tz0: on acpi0 > > battery0: on acpi0 > > acpi_acad0: on acpi0 > > atrtc0: port 0x70-0x71 irq 8 on acpi0 > > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > > atkbd0: irq 1 on atkbdc0 > > kbd0 at atkbd0 > > atkbd0: [GIANT-LOCKED] > > atkbd0: [ITHREAD] > > psm0: irq 12 on atkbdc0 > > psm0: [GIANT-LOCKED] > > psm0: [ITHREAD] > > psm0: model IntelliMouse, device ID 3 > > cpu0: on acpi0 > > acpi_throttle0: on cpu0 > > pmtimer0 on isa0 > > orm0: at iomem 0xc0000-0xcf7ff pnpid ORM0000 on isa0 > > sc0: at flags 0x100 on isa0 > > sc0: VGA <16 virtual consoles, flags=0x300> > > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > > ppc0: parallel port not found. > > Timecounter "TSC" frequency 900097629 Hz quality 800 > > Timecounters tick every 1.000 msec > > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based > > forwarding enabled, default to deny, logging unlimited > > ad2: FAILURE - SET_MULTI status=51 error=4 > > ad2: 3847MB at ata1-master UDMA66 > > ad3: FAILURE - SET_MULTI status=51 error=4 > > ad3: 15391MB at ata1-slave UDMA66 > > hdac0: > > pcm0: on hdac0 > > da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: Removable Direct Access SCSI-0 device > > da0: 40.000MB/s transfers > > da0: 976MB (1999872 512 byte sectors: 64H 32S/T 976C) > > Trying to mount root from ufs:/dev/ad3s1a > > ae0: mem 0xfbfc0000-0xfbffffff > > irq 11 at device 0.0 on pci3 > > ae0: pci device revision: 0xa0 > > ae0: chip id: 0x3 > > miibus0: on ae0 > > ukphy0: PHY 0 on miibus0 > > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > ae0: Ethernet address: 00:22:15:3a:4c:b8 > > ae0: [FILTER] > > wlan0: Ethernet address: 00:15:af:b5:25:8b > > drm0: on vgapci0 > > vgapci0: child drm0 requested pci_enable_busmaster > > info: [drm] AGP at 0xd0000000 256MB > > info: [drm] Initialized i915 1.6.0 20080312 > > drm0: [ITHREAD] > > > > > > > > > > _______________________________________________ > > freebsd-x11@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > > > From owner-freebsd-x11@FreeBSD.ORG Wed Oct 1 21:30:50 2008 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 533F5106569C for ; Wed, 1 Oct 2008 21:30:50 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id 24F1C8FC1A for ; Wed, 1 Oct 2008 21:30:50 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so678341rvf.43 for ; Wed, 01 Oct 2008 14:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HhBwXf0TDXNTqQah2Mx+Z38AIFmdDzaik8kFCv6sMJ0=; b=lTn7HIfheQHmIzxCaPZGymHya+6cf8bLbALEQbmUZoAxNp9Cms507D444KblD9Dbuv m/y8SGdEcvn/xWIZsG0E43AKhM/xM8XkwRSHG0J1ksm6QPAo6x8TVte4QS46J9twAB1m A/Z+M2Mitm87T/X+zu4HcMpH0i3quFFGLV0ps= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Lc7bD34faJw4aBRjvtEXRHltkIBotv/NlVlYDOyDK97NWhusvTSXeOPv49Dtmms0GH nrXpnl5KKlSN/7j0SjV9Dmlv5uawz/RcBy3hAE4rV3TTrTyLNw+rH3nZXtQ3LJ2b1tls lvbE7OhQnoLb1hjW/aUXtafPhOI5lsO/okfow= Received: by 10.140.132.8 with SMTP id f8mr4741467rvd.198.1222896649782; Wed, 01 Oct 2008 14:30:49 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Wed, 1 Oct 2008 14:30:49 -0700 (PDT) Message-ID: <3a142e750810011430y2fb7e78egd7ae90d9558150ae@mail.gmail.com> Date: Wed, 1 Oct 2008 23:30:49 +0200 From: "Paul B. Mahol" To: "Andrej Smagin" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3a142e750810010500u30de62afy72e9e8ed040952b3@mail.gmail.com> Cc: freebsd-x11 Subject: Re: Re[2]: glxgears crash xorg on Asus EEE PC 900 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: Wed, 01 Oct 2008 21:30:50 -0000 On 10/1/08, Andrej Smagin wrote: > > > >> On 10/1/08, Andrej Smagin wrote: >> > Please help, about month can't run 3D on my EEE PC 900. >> > If I run glxgears from xterm on my eeepc, xorg hang on some seconds and >> > then >> > crash with following error: >> > >> > --------------------- >> > ........ >> > Ring at virtual 0x28800000 head 0x1e0 tail 0x2a70 count 2596 >> > Ring at virtual 0x28800000 head 0x1e0 tail 0x2a70 count 2596 >> > Ring end >> > space: 120680 wanted 131064 >> > >> > FatalError re-entered, aborting >> > lockup >> >> I have same problem on i945GM on completly another machine, and that >> is related to Robert Noland pre-gem changes of drm/drm and drm/i915. >> >> You can build i915 and drm module before that change and DRI will work >> .... >> Just cvsup versions that works. >> > > I rebuilt system by "make buildkernel" , what else need to run dri ? Well, just rebuilding kernel will not work... First fetch versions of right drm codes (not one from current HEAD) and just rebuild drm.ko and i915.ko module in your case. There is no need to rebuild/reinstall whole kernel. If you dont know how to fetch, and which versions to fetch just tell. From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 02:04:14 2008 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 51C5A1065687 for ; Thu, 2 Oct 2008 02:04:14 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 13A768FC13 for ; Thu, 2 Oct 2008 02:04:13 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m921aqfg031063 for ; Wed, 1 Oct 2008 19:36:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m921aqYE031060 for ; Wed, 1 Oct 2008 19:36:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 1 Oct 2008 19:36:52 -0600 (MDT) From: Warren Block To: x11@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Wed, 01 Oct 2008 19:36:52 -0600 (MDT) Cc: Subject: Radeon testing 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: Thu, 02 Oct 2008 02:04:14 -0000 I have access to five Radeon cards of differing ages and generations, all on machines with FreeBSD 7-stable of recent vintage. What testing or benchmarking utilities should be used? What would be useful for driver debugging? So far, only one can run the xscreensaver "carousel" full-screen without killing X. glxgears is not supposed to be a benchmark, and glxinfo reports a lot of information that may or may not be useful. Beyond dmesg, uname, and Xorg.0.log, what other information would be helpful? -Warren Block * Rapid City, South Dakota USA From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 02:45:29 2008 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 6EBD51065688 for ; Thu, 2 Oct 2008 02:45:29 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 371EC8FC1C for ; Thu, 2 Oct 2008 02:45:29 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m922j2bq037899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Oct 2008 22:45:02 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Warren Block In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-0GEAU3yK20xomBdx0rOl" Organization: FreeBSD Date: Wed, 01 Oct 2008 22:44:56 -0400 Message-Id: <1222915496.1684.26.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00, MIME_QP_LONG_LINE,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: x11@freebsd.org Subject: Re: Radeon testing 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: Thu, 02 Oct 2008 02:45:29 -0000 --=-0GEAU3yK20xomBdx0rOl Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-10-01 at 19:36 -0600, Warren Block wrote: > I have access to five Radeon cards of differing ages and generations,=20 > all on machines with FreeBSD 7-stable of recent vintage. =46rom a drm perspective, 7 still has really stale bits... I recently made updates to -CURRENT and I'm likely to do another one in the near future. (read, maybe as soon as tomorrow). I currently don't have access to any radeon hardware, so I have to rely on others to test code for me. It would be really handy to have someone who was able to test on hardware of various generations. > What testing or benchmarking utilities should be used? What would be=20 > useful for driver debugging? xscreensaver hacks are probably reasonable. There is also rendercheck, which isn't very exciting, but does perform a lot of tests. drm is certainly not the only relevant part, but I attempt to let other folks deal with the mesa (libGL) and X side of things. Those components are more portable and therefore issues that crop up there tend to effect the linux folks as well and they have a lot more resources to deal with those than we do. > So far, only one can run the xscreensaver "carousel" full-screen without=20 > killing X. glxgears is not supposed to be a benchmark, and glxinfo=20 > reports a lot of information that may or may not be useful. Beyond=20 > dmesg, uname, and Xorg.0.log, what other information would be helpful? Please define "killing X". As long as we are talking about kernel components, that is drm and has become my responsibility... What is useful information really depends on exactly what the failure is and/or what is being tested. Generally, dmesg, architecture (i386 or amd64) and some mechanism of identifying exactly what bits of code your running are useful along with X logs. Other times, I need drm debugging dumps and / or backtraces... robert. > -Warren Block * Rapid City, South Dakota USA > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --=-0GEAU3yK20xomBdx0rOl Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjkNagACgkQM4TrQ4qfROMKagCfRP6ReqKl2ldXwIZLz/baw+2K QecAn0r1ULgpp9lwPhdW5I476JoHh6Tq =ZOa/ -----END PGP SIGNATURE----- --=-0GEAU3yK20xomBdx0rOl-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 03:04:09 2008 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 5D5131065698 for ; Thu, 2 Oct 2008 03:04:09 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0722C8FC16 for ; Thu, 2 Oct 2008 03:04:08 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m9233ad9038003 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Oct 2008 23:03:36 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Szilveszter Adam In-Reply-To: <20080927165901.GA1508@baranyfelhocske.buza.adamsfamily.xx> References: <48DD9ECD.40309@ahhyes.net> <1222524191.1662.3.camel@wombat.2hip.net> <20080927165901.GA1508@baranyfelhocske.buza.adamsfamily.xx> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-yEPsvZF8QdKJ+jLqUQgf" Organization: FreeBSD Date: Wed, 01 Oct 2008 23:03:31 -0400 Message-Id: <1222916611.1684.35.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working 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: Thu, 02 Oct 2008 03:04:09 -0000 --=-yEPsvZF8QdKJ+jLqUQgf Content-Type: multipart/mixed; boundary="=-DLV2Li6YjPwN+a+or1uI" --=-DLV2Li6YjPwN+a+or1uI Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ok, can you guys give this patch a try? I think the memory failures are un-related and we probably need to try and figure that out separately. This patch should be rejecting the second head during the probe phase, so drm should not report *anything* about it. One of you said something about X also reporting both heads? If that is true and remains so with this patch, could you send me X logs? I'll try and get someone to look into the Intel 2d driver and see what is going on with it. This patch is against -CURRENT. If I need one for STABLE, let me know and I'll work out the difference. robert. =20 --=-DLV2Li6YjPwN+a+or1uI Content-Disposition: attachment; filename=i855-no-attach-sec-2.patch Content-Type: text/x-patch; name=i855-no-attach-sec-2.patch; charset=utf-8 Content-Transfer-Encoding: base64 SW5kZXg6IGRybVAuaA0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIGRybVAuaAkocmV2aXNpb24gMTgzMTkzKQ0K KysrIGRybVAuaAkod29ya2luZyBjb3B5KQ0KQEAgLTg4LDYgKzg4LDcgQEANCiAjaWYgX19GcmVl QlNEX3ZlcnNpb24gPj0gNTAwMDAwDQogI2luY2x1ZGUgPHN5cy9tdXRleC5oPg0KICNpbmNsdWRl IDxkZXYvcGNpL3BjaXZhci5oPg0KKyNpbmNsdWRlIDxkZXYvcGNpL3BjaXJlZy5oPg0KICNpbmNs dWRlIDxzeXMvc2VsaW5mby5oPg0KICNlbHNlIC8qIF9fRnJlZUJTRF92ZXJzaW9uID49IDUwMDAw MCAqLw0KICNpbmNsdWRlIDxwY2kvcGNpdmFyLmg+DQpJbmRleDogZHJtX2Rydi5jDQo9PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09DQotLS0gZHJtX2Rydi5jCShyZXZpc2lvbiAxODMxOTMpDQorKysgZHJtX2Rydi5jCSh3b3Jr aW5nIGNvcHkpDQpAQCAtMTczLDYgKzE3MywxMCBAQA0KIAlkZXZpY2UgPSBwY2lfZ2V0X2Rldmlj ZShkZXYpOw0KICNlbmRpZg0KIA0KKwlpZiAocGNpX2dldF9jbGFzcyhkZXYpICE9IFBDSUNfRElT UExBWQ0KKwkgICAgfHwgcGNpX2dldF9zdWJjbGFzcyhkZXYpICE9IFBDSVNfRElTUExBWV9WR0Ep DQorCQlyZXR1cm4gRU5YSU87DQorDQogCWlkX2VudHJ5ID0gZHJtX2ZpbmRfZGVzY3JpcHRpb24o dmVuZG9yLCBkZXZpY2UsIGlkbGlzdCk7DQogCWlmIChpZF9lbnRyeSAhPSBOVUxMKSB7DQogCQlk ZXZpY2Vfc2V0X2Rlc2MoZGV2LCBpZF9lbnRyeS0+bmFtZSk7DQo= --=-DLV2Li6YjPwN+a+or1uI-- --=-yEPsvZF8QdKJ+jLqUQgf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjkOgMACgkQM4TrQ4qfRONRdACfalpuE23eMhzJ88ihfc0CVaWt lu0AnjVzejI8x9sbhpK5VAqvnvgqozfl =Wdlp -----END PGP SIGNATURE----- --=-yEPsvZF8QdKJ+jLqUQgf-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 04:52:46 2008 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 103AD1065687 for ; Thu, 2 Oct 2008 04:52:46 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id B47318FC1A for ; Thu, 2 Oct 2008 04:52:45 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m924qTlN038566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Oct 2008 00:52:29 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: freebsd-x11 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-UyR3bT9Zp+poqaXmomXB" Organization: FreeBSD Date: Thu, 02 Oct 2008 00:52:23 -0400 Message-Id: <1222923143.1684.58.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Subject: latest drm patches 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: Thu, 02 Oct 2008 04:52:46 -0000 --=-UyR3bT9Zp+poqaXmomXB Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I have made new patch sets for both -CURRENT and -STABLE. They are located at: http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 Note that if your are using RELENG_7, you will need to be very current. i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at least 2008-09-20 15:56:02 -0400. This is a re-sync to git master, which seems to address many of the issues with the intel chipsets < 965. I'm still not certain exactly which change fixes them unfortunately. This update contains a lot of code cleanup and is post gem merge (no, we don't have gem support). It should prove much easier to read the code now. A lot of thanks goes to vehemens for that work. I have adapted the code to use cdevpriv for tracking per open file data, which is the reason that you need really current bits to use this patch. That alleviates the old ugly hack that we used to try and accomplish the task and helped to clean up the open / close behavior a good bit. This also replaces the hack that was put in place a year or so ago to prevent radeons from locking up with AIGLX enabled. I have had a couple of radeon testers report that it still works as expected, though I no longer have radeon hardware to test with myself. Other various fixes from the linux crew and Intel, many of which are muddled in with the gem merge. I am planning to push this into CURRENT pretty soon, possibly even sometime tomorrow once I have a chance to discuss with a few others. robert. --=-UyR3bT9Zp+poqaXmomXB Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjkU4cACgkQM4TrQ4qfROPBBACeITG/wBmLQDU1b/9V1M/EswBA z7wAn37VH5oVhYGSDZkKtWnRqUeXiG2/ =7Aun -----END PGP SIGNATURE----- --=-UyR3bT9Zp+poqaXmomXB-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 09:36:07 2008 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 1560D10657DD for ; Thu, 2 Oct 2008 09:36:07 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id D51428FC1F for ; Thu, 2 Oct 2008 09:36:06 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so895188rvf.43 for ; Thu, 02 Oct 2008 02:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0lTTsXCmdlmpQxISKwcQ7nwMFsxGlEULSsHuWCx/5sQ=; b=UwtQMqvTW61/cpL7GXz636YshIvAL1H1vosX2Bzfdmi1UUdl+WgqnYKgUIW+9N0vNK VIyMruCyy+1FDBSuLsBUtNZL6jM7oYEvEni/VX6ZF9qkkqk8MW9JpBUhsqkNmCYGSE8M dybR5jtH9qSnYhiqq/QfSAPh5R4bQDVSMYTzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ue+iVGA7DeayphOh6IgprGW2l67GjO0NK4wyVqJ5eDXNvQ+62wv0n9kwr/EK5HtyUU DCQSDO+L4uFhYmSqMw2UmVbCm/ZNKOPy3D8W8x8S42xHo5QRRr5WMv9Daq9MilQ0Z/fb 7tAd3UVsKUgt1TiZmcW0+JjjyWQV2bV+wbv5M= Received: by 10.140.166.21 with SMTP id o21mr5080808rve.254.1222940166057; Thu, 02 Oct 2008 02:36:06 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Thu, 2 Oct 2008 02:36:05 -0700 (PDT) Message-ID: <3a142e750810020236q1916db0bn42496a6ec98a1ba7@mail.gmail.com> Date: Thu, 2 Oct 2008 11:36:05 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1222923143.1684.58.camel@wombat.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222923143.1684.58.camel@wombat.2hip.net> Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 09:36:07 -0000 On 10/2/08, Robert Noland wrote: > I have made new patch sets for both -CURRENT and -STABLE. They are > located at: > > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 > > Note that if your are using RELENG_7, you will need to be very current. > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at least > 2008-09-20 15:56:02 -0400. > > This is a re-sync to git master, which seems to address many of the > issues with the intel chipsets < 965. I'm still not certain exactly > which change fixes them unfortunately. This update contains a lot of > code cleanup and is post gem merge (no, we don't have gem support). Why? From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 12:10:35 2008 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 E0D4B1065689 for ; Thu, 2 Oct 2008 12:10:35 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id A8F188FC15 for ; Thu, 2 Oct 2008 12:10:35 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m92CAJWx041109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 08:10:19 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Paul B. Mahol" In-Reply-To: <3a142e750810020236q1916db0bn42496a6ec98a1ba7@mail.gmail.com> References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810020236q1916db0bn42496a6ec98a1ba7@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-m9C5Bs8R7Tq1hiNxIPYH" Organization: FreeBSD Date: Thu, 02 Oct 2008 08:10:11 -0400 Message-Id: <1222949412.1684.71.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 12:10:36 -0000 --=-m9C5Bs8R7Tq1hiNxIPYH Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-10-02 at 11:36 +0200, Paul B. Mahol wrote: > On 10/2/08, Robert Noland wrote: > > I have made new patch sets for both -CURRENT and -STABLE. They are > > located at: > > > > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 > > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 > > > > Note that if your are using RELENG_7, you will need to be very current. > > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at least > > 2008-09-20 15:56:02 -0400. > > > > This is a re-sync to git master, which seems to address many of the > > issues with the intel chipsets < 965. I'm still not certain exactly > > which change fixes them unfortunately. This update contains a lot of > > code cleanup and is post gem merge (no, we don't have gem support). >=20 > Why? gem isn't stable yet, the intel guys are still working it out. It will require work on other areas of the kernel and I don't have time to keep re-implementing things over and over until the intel folks get something that they think is releasable on linux. Once it all settles down, we can look at exactly what we need to do. robert. --=-m9C5Bs8R7Tq1hiNxIPYH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjkuiMACgkQM4TrQ4qfROPhowCdEhEM+jSyG75CthlcdUGhb8sY pxcAn15/NUafJeW68sZDt7oC4FBycDOG =QuMz -----END PGP SIGNATURE----- --=-m9C5Bs8R7Tq1hiNxIPYH-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 13:56:28 2008 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 50637106564A; Thu, 2 Oct 2008 13:56:28 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from mail.netregistry.net (mail.netregistry.net [202.124.241.18]) by mx1.freebsd.org (Postfix) with ESMTP id 14A568FC1A; Thu, 2 Oct 2008 13:56:28 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from [218.185.51.132] (helo=[10.1.1.88]) by mail.netregistry.net protocol: esmtp (Exim 4.63 #1 (Debian)) id 1KlO8V-0002sv-96; Thu, 02 Oct 2008 23:22:31 +1000 Message-ID: <48E4CC06.1070802@ahhyes.net> Date: Thu, 02 Oct 2008 23:26:30 +1000 From: Alex User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Robert Noland Subject: Re: DRI not working 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: Thu, 02 Oct 2008 13:56:28 -0000 Robert Noland wrote: > Ok, can you guys give this patch a try? I think the memory failures are > un-related and we probably need to try and figure that out separately. > This patch should be rejecting the second head during the probe phase, > so drm should not report *anything* about it. > > One of you said something about X also reporting both heads? If that is > true and remains so with this patch, could you send me X logs? I'll try > and get someone to look into the Intel 2d driver and see what is going > on with it. > > This patch is against -CURRENT. If I need one for STABLE, let me know > and I'll work out the difference. > > robert. > > Hi Robert, The patch did not apply cleanly. I cvsup'd my entire source tree to RELENG_7 and the patch still wouldn't apply, so had to resort to inserting the code myself (perhaps I need a patch for STABLE) * Added #include to drmP.h * Added the following code to drm_probe() in drm_drv.c if (pci_get_class(dev) != PCIC_DISPLAY || pci_get_subclass(dev) != PCIS_DISPLAY_VGA) return ENXIO; Kernel build is now broken, code in drm_drv.c throws undefined references to PCIC_DISPLAY Any ideas? From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 14:34:57 2008 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 5906B106568B for ; Thu, 2 Oct 2008 14:34:57 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3EA8FC32 for ; Thu, 2 Oct 2008 14:34:56 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m92EYaw0041959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 10:34:36 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Alex In-Reply-To: <48E4CC06.1070802@ahhyes.net> References: <48E4CC06.1070802@ahhyes.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-KXuMrLSvxcTiEoEFUlqe" Organization: FreeBSD Date: Thu, 02 Oct 2008 10:34:30 -0400 Message-Id: <1222958070.12046.0.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working 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: Thu, 02 Oct 2008 14:34:57 -0000 --=-KXuMrLSvxcTiEoEFUlqe Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-10-02 at 23:26 +1000, Alex wrote: > Robert Noland wrote: >=20 > > Ok, can you guys give this patch a try? I think the memory failures ar= e > > un-related and we probably need to try and figure that out separately. > > This patch should be rejecting the second head during the probe phase, > > so drm should not report *anything* about it. > > > > One of you said something about X also reporting both heads? If that i= s > > true and remains so with this patch, could you send me X logs? I'll tr= y > > and get someone to look into the Intel 2d driver and see what is going > > on with it. > > > > This patch is against -CURRENT. If I need one for STABLE, let me know > > and I'll work out the difference. > > > > robert. > > =20 > >=20 > =20 > Hi Robert, >=20 > The patch did not apply cleanly. I cvsup'd my entire source tree to=20 > RELENG_7 and the patch still wouldn't apply, so had to resort to=20 > inserting the code myself (perhaps I need a patch for STABLE) >=20 > * Added >=20 > #include >=20 > to drmP.h >=20 > * Added the following code to drm_probe() in drm_drv.c >=20 > if (pci_get_class(dev) !=3D PCIC_DISPLAY > || pci_get_subclass(dev) !=3D PCIS_DISPLAY_VGA) > return ENXIO; >=20 >=20 > Kernel build is now broken, code in drm_drv.c throws undefined references= to=20 > PCIC_DISPLAY >=20 >=20 > Any ideas?=20 Hrm, ok... I'll rework the patch against STABLE. robert. >=20 >=20 --=-KXuMrLSvxcTiEoEFUlqe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjk2/YACgkQM4TrQ4qfROO00gCeK2urZ+1fmqtPWpWb0b+XBZnQ 3EIAn3Oc/UAV/hU3YKfeMow5OeIa7yNP =Mav7 -----END PGP SIGNATURE----- --=-KXuMrLSvxcTiEoEFUlqe-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 15:21:25 2008 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 B957A1065695 for ; Thu, 2 Oct 2008 15:21:25 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 6A7388FC18 for ; Thu, 2 Oct 2008 15:21:25 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m92FKuOu042338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 11:20:56 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Alex In-Reply-To: <48E4CC06.1070802@ahhyes.net> References: <48E4CC06.1070802@ahhyes.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FhQNtBxQ1DoBOgG6/x+m" Organization: FreeBSD Date: Thu, 02 Oct 2008 11:20:50 -0400 Message-Id: <1222960850.12046.6.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working 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: Thu, 02 Oct 2008 15:21:25 -0000 --=-FhQNtBxQ1DoBOgG6/x+m Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-10-02 at 23:26 +1000, Alex wrote: > Robert Noland wrote: >=20 > > Ok, can you guys give this patch a try? I think the memory failures ar= e > > un-related and we probably need to try and figure that out separately. > > This patch should be rejecting the second head during the probe phase, > > so drm should not report *anything* about it. > > > > One of you said something about X also reporting both heads? If that i= s > > true and remains so with this patch, could you send me X logs? I'll tr= y > > and get someone to look into the Intel 2d driver and see what is going > > on with it. > > > > This patch is against -CURRENT. If I need one for STABLE, let me know > > and I'll work out the difference. > > > > robert. > > =20 > >=20 > =20 > Hi Robert, >=20 > The patch did not apply cleanly. I cvsup'd my entire source tree to=20 > RELENG_7 and the patch still wouldn't apply, so had to resort to=20 > inserting the code myself (perhaps I need a patch for STABLE) >=20 > * Added >=20 > #include >=20 > to drmP.h >=20 > * Added the following code to drm_probe() in drm_drv.c >=20 > if (pci_get_class(dev) !=3D PCIC_DISPLAY > || pci_get_subclass(dev) !=3D PCIS_DISPLAY_VGA) > return ENXIO; >=20 >=20 > Kernel build is now broken, code in drm_drv.c throws undefined references= to=20 > PCIC_DISPLAY >=20 >=20 > Any ideas?=20 Patch against RELENG_7. http://people.freebsd.org/~rnoland/i855-no-attach-sec-3.patch robert. --=-FhQNtBxQ1DoBOgG6/x+m Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjk5tIACgkQM4TrQ4qfROOLqgCeJMmSYAAUfE7i0Ha+ovbJVCN4 sYkAn2pWc5iBTLfhSlg/Kd4siiJhONSm =5pyY -----END PGP SIGNATURE----- --=-FhQNtBxQ1DoBOgG6/x+m-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 15:27:37 2008 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 9CC18106568C; Thu, 2 Oct 2008 15:27:37 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from mail.netregistry.net (mail.netregistry.net [202.124.241.18]) by mx1.freebsd.org (Postfix) with ESMTP id 6442A8FC1B; Thu, 2 Oct 2008 15:27:37 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from [218.185.51.132] (helo=[10.1.1.88]) by mail.netregistry.net protocol: esmtp (Exim 4.63 #1 (Debian)) id 1KlQ5X-0004Jq-Qt; Fri, 03 Oct 2008 01:27:35 +1000 Message-ID: <48E4E95B.3020708@ahhyes.net> Date: Fri, 03 Oct 2008 01:31:39 +1000 From: Alex User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Robert Noland , freebsd-x11@freebsd.org References: <48E4CC06.1070802@ahhyes.net> <1222960850.12046.6.camel@squirrel.corp.cox.com> In-Reply-To: <1222960850.12046.6.camel@squirrel.corp.cox.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: DRI not working 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: Thu, 02 Oct 2008 15:27:37 -0000 Robert Noland wrote: > Patch against RELENG_7. > > http://people.freebsd.org/~rnoland/i855-no-attach-sec-3.patch > > robert. > Hi Robert, I'll have to try this when I get home from work, however the contents of the patch do look like they are changing the same things as the other patch. Would it be safe to conclude that I will still have the build errors regarding the undefined references in drm_drv.c to 'PCIC_DISPLAY'? From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 15:57:44 2008 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 91ED91065686 for ; Thu, 2 Oct 2008 15:57:44 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE458FC16 for ; Thu, 2 Oct 2008 15:57:43 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m92FvEXj042610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 11:57:14 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Alex In-Reply-To: <48E4E95B.3020708@ahhyes.net> References: <48E4CC06.1070802@ahhyes.net> <1222960850.12046.6.camel@squirrel.corp.cox.com> <48E4E95B.3020708@ahhyes.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8m370ZqqJHZIXI5Eobtb" Organization: FreeBSD Date: Thu, 02 Oct 2008 11:57:08 -0400 Message-Id: <1222963028.12046.10.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00, MIME_QP_LONG_LINE,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working 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: Thu, 02 Oct 2008 15:57:44 -0000 --=-8m370ZqqJHZIXI5Eobtb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-03 at 01:31 +1000, Alex wrote: > Robert Noland wrote: > > Patch against RELENG_7. > > > > http://people.freebsd.org/~rnoland/i855-no-attach-sec-3.patch > > > > robert. > > =20 > Hi Robert, >=20 > I'll have to try this when I get home from work, however the contents of=20 > the patch do look like they are changing the same things as the other=20 > patch. Would it be safe to conclude that I will still have the build=20 > errors regarding the undefined references in drm_drv.c to 'PCIC_DISPLAY'? I don't think so, but I don't have a RELENG_7 machine to build on right now. My guess is that the #include was inserted in the wrong place due to the massive #ifdef in the older code... robert. --=-8m370ZqqJHZIXI5Eobtb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjk71QACgkQM4TrQ4qfROP5FgCfbyTyEOBr/McmCCEGZ0tqFq5R I/oAn2xkKWSnsJAk/yc7+7P5XE7vP9Q3 =jAGt -----END PGP SIGNATURE----- --=-8m370ZqqJHZIXI5Eobtb-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 15:59:32 2008 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 03DCF106568D for ; Thu, 2 Oct 2008 15:59:32 +0000 (UTC) (envelope-from matt@chronos.org.uk) Received: from chronos.org.uk (chronos-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:12b::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2458FC18 for ; Thu, 2 Oct 2008 15:59:31 +0000 (UTC) (envelope-from matt@chronos.org.uk) Received: from workstation2.localnet (chronos@workstation2.local.chronos.org.uk [IPv6:2001:470:1f09:12b:217:31ff:fe4c:c03a] (may be forged)) (authenticated bits=0) by chronos.org.uk (8.14.3/8.14.3) with ESMTP id m92FxPLq004825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Oct 2008 16:59:25 +0100 (BST) (envelope-from matt@chronos.org.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 chronos.org.uk m92FxPLq004825 From: Matt Dawson To: freebsd-x11@freebsd.org Date: Thu, 2 Oct 2008 16:59:20 +0100 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.1; i386; ; ) References: <20081002120027.2D3C810657AE@hub.freebsd.org> In-Reply-To: <20081002120027.2D3C810657AE@hub.freebsd.org> X-Face: Uq{{&_!oO{M&ydj?-f%{D]bN7/|/]a+utod35[+IyH#R>F~YPffK,=?utf-8?q?=25=60=7D=25=0A?=FTMbmzo,]0X3K:N&{h7],FI{?EkORzB; f:V3"vKXsUNw5Yh`}ef4MZ*a4,=?utf-8?q?ObuJ=5F=26=5B1S=27zP=5CK0wcKZP=0A?==?utf-8?q?_=60=23L=25=5Dq*OUPQ-4T=3FHZ=7EAKX0=7D3W=25o=3DP?= X-Spam-Status: No, score=-2.5 required=3.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on central.local.chronos.org.uk X-Virus-Scanned: ClamAV 0.94/8371/Thu Oct 2 11:15:33 2008 on central.local.chronos.org.uk X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (chronos.org.uk [IPv6:2001:470:1f09:12b::1]); Thu, 02 Oct 2008 16:59:29 +0100 (BST) Subject: Re: freebsd-x11 Digest, Vol 251, Issue 4 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: Thu, 02 Oct 2008 15:59:32 -0000 --nextPart7893520.yxpz3Bz46M Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 02 October 2008 13:00:27 freebsd-x11-request@freebsd.org wrote: > I have made new patch sets for both -CURRENT and -STABLE. =A0They are > located at: > > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 Hi Robert, Does this patchset include the RS48x fixes that we tested a couple of week= s=20 ago? Regards, =2D-=20 Matt Dawson matt@chronos.org.uk MTD15-RIPE --nextPart7893520.yxpz3Bz46M Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjk790ACgkQAmT9uY8euiLXpgCcDrRRMh/laC0c0Pz6wOYO6T4G c0wAn3044aZi1k0TXAqqVD04kI5N6Qx6 =MlNp -----END PGP SIGNATURE----- --nextPart7893520.yxpz3Bz46M-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 16:02:57 2008 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 624821065691 for ; Thu, 2 Oct 2008 16:02:57 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 2BE8B8FC0C for ; Thu, 2 Oct 2008 16:02:57 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m92G2P2h042655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 12:02:25 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Matt Dawson In-Reply-To: <200810021659.25208.matt@chronos.org.uk> References: <20081002120027.2D3C810657AE@hub.freebsd.org> <200810021659.25208.matt@chronos.org.uk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-WAcclFwUH7cX4JHh0Mrh" Organization: FreeBSD Date: Thu, 02 Oct 2008 12:02:19 -0400 Message-Id: <1222963339.12046.12.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: freebsd-x11 Digest, Vol 251, Issue 4 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: Thu, 02 Oct 2008 16:02:57 -0000 --=-WAcclFwUH7cX4JHh0Mrh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-10-02 at 16:59 +0100, Matt Dawson wrote: > On Thursday 02 October 2008 13:00:27 freebsd-x11-request@freebsd.org wrot= e: > > I have made new patch sets for both -CURRENT and -STABLE. They are > > located at: > > > > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 > > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 >=20 > Hi Robert, > Does this patchset include the RS48x fixes that we tested a couple of we= eks=20 > ago? This includes *everything* that currently works, except for MSI support which I have a tiny bit more work to do before I commit. robert. > Regards, --=-WAcclFwUH7cX4JHh0Mrh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjk8IsACgkQM4TrQ4qfROO3ngCgiQMH4DPFTyH3Rz6sg6/o7uKo zJkAniU74xYmJJpqUOqQk90XGDWVbpY0 =Qtnp -----END PGP SIGNATURE----- --=-WAcclFwUH7cX4JHh0Mrh-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 16:45:57 2008 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 D54DA1065689 for ; Thu, 2 Oct 2008 16:45:57 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 9E5B48FC38 for ; Thu, 2 Oct 2008 16:45:57 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m92GjbtN042887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 12:45:37 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Alex In-Reply-To: <48E4E95B.3020708@ahhyes.net> References: <48E4CC06.1070802@ahhyes.net> <1222960850.12046.6.camel@squirrel.corp.cox.com> <48E4E95B.3020708@ahhyes.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-XbAGzuKvuq6RQ6G8ZpFf" Organization: FreeBSD Date: Thu, 02 Oct 2008 12:45:32 -0400 Message-Id: <1222965932.12046.14.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00, MIME_QP_LONG_LINE,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working 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: Thu, 02 Oct 2008 16:45:57 -0000 --=-XbAGzuKvuq6RQ6G8ZpFf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-03 at 01:31 +1000, Alex wrote: > Robert Noland wrote: > > Patch against RELENG_7. > > > > http://people.freebsd.org/~rnoland/i855-no-attach-sec-3.patch > > > > robert. > > =20 > Hi Robert, >=20 > I'll have to try this when I get home from work, however the contents of=20 > the patch do look like they are changing the same things as the other=20 > patch. Would it be safe to conclude that I will still have the build=20 > errors regarding the undefined references in drm_drv.c to 'PCIC_DISPLAY'? Ok, I found a RELENG_7 test box. It does apply and build cleanly. robert. --=-XbAGzuKvuq6RQ6G8ZpFf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjk+qwACgkQM4TrQ4qfROOOmgCdEQzfXABFwJnvH7yi2Y4KwvnW pwsAoIoSkX2rRxI5wK+z2Vy0gtzqXedS =9IC6 -----END PGP SIGNATURE----- --=-XbAGzuKvuq6RQ6G8ZpFf-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 19:30:06 2008 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B20F01065693 for ; Thu, 2 Oct 2008 19:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 872E18FC14 for ; Thu, 2 Oct 2008 19:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m92JU6ZS054977 for ; Thu, 2 Oct 2008 19:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m92JU68P054974; Thu, 2 Oct 2008 19:30:06 GMT (envelope-from gnats) Date: Thu, 2 Oct 2008 19:30:06 GMT Message-Id: <200810021930.m92JU68P054974@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Toomas Aas Cc: Subject: Re: ports/127692: x11-drivers/xf86-video-i810 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Toomas Aas List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 19:30:06 -0000 The following reply was made to PR ports/127692; it has been noted by GNATS. From: Toomas Aas To: bug-followup@FreeBSD.org, baillie.joshua@gmail.com Cc: Subject: Re: ports/127692: x11-drivers/xf86-video-i810 Date: Thu, 02 Oct 2008 22:07:40 +0300 xf86-video-i810 compiled fine on my machine yesterday (ports cvsupped 2008-09-30) FreeBSD boeing.kodu.lan 6.3-STABLE FreeBSD 6.3-STABLE #0: Sun Jul 20 21:48:13 EEST 2008 toomas@originaal.kodu.lan:/usr/obj/usr/src/sys/ORIGINAAL i386 From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 19:58:57 2008 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 F2DDE1065691 for ; Thu, 2 Oct 2008 19:58:57 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id C639C8FC2A for ; Thu, 2 Oct 2008 19:58:57 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1207121wfg.7 for ; Thu, 02 Oct 2008 12:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ByQd2kPvKCm8v3z3TrJK85GTiKH0usi00ttYb5oeFas=; b=DKFYr0YCkJT1COWgDnglVKzStu1GA8SeDSpuL5DHkvNnEz2B3W5anj3Ki6HaefMPjI rpeSxavQ/R9aZgObUee74G2/tKqw8jWz37CkrWKenZgNCQKM2Ji/S/u1WUMddTDnpfnf JHFzcuu4fI3bOJJdFeX12eRBXGZcELUSTO2Jc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=exdBWjQTCII6HYpyc2e+stz3wDcuGysGEExxETawwLu+nBslH5zyDb/3+4VUhTZViA PnjOkGucrpz5LWGKiRD5UIeqR8tCw6KK0ZbMo9O3RxlOAxqeiLtH8l7HKjDhS2gjhZTB 1yAfxiN5OrWZceeSI2/sTJa9zZZMTyuw98CNE= Received: by 10.140.128.3 with SMTP id a3mr35565rvd.195.1222977537391; Thu, 02 Oct 2008 12:58:57 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Thu, 2 Oct 2008 12:58:57 -0700 (PDT) Message-ID: <3a142e750810021258v40fd9e53l39e4dacf414d3e@mail.gmail.com> Date: Thu, 2 Oct 2008 21:58:57 +0200 From: "Paul B. Mahol" To: "Toomas Aas" In-Reply-To: <200810021930.m92JU68P054974@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810021930.m92JU68P054974@freefall.freebsd.org> Cc: freebsd-x11@freebsd.org Subject: Re: ports/127692: x11-drivers/xf86-video-i810 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: Thu, 02 Oct 2008 19:58:58 -0000 On 10/2/08, Toomas Aas wrote: > The following reply was made to PR ports/127692; it has been noted by GNATS. > > From: Toomas Aas > To: bug-followup@FreeBSD.org, baillie.joshua@gmail.com > Cc: > Subject: Re: ports/127692: x11-drivers/xf86-video-i810 > Date: Thu, 02 Oct 2008 22:07:40 +0300 > > xf86-video-i810 compiled fine on my machine yesterday (ports cvsupped That is because your machine doesnt have libdrm-2.3.1 installed. > 2008-09-30) > > FreeBSD boeing.kodu.lan 6.3-STABLE FreeBSD 6.3-STABLE #0: Sun Jul 20 > 21:48:13 EEST 2008 > toomas@originaal.kodu.lan:/usr/obj/usr/src/sys/ORIGINAAL i386 > > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 20:29:06 2008 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 B9F491065686 for ; Thu, 2 Oct 2008 20:29:06 +0000 (UTC) (envelope-from sziszi@bsd.hu) Received: from mail.rubicom.hu (mail.rubicom.hu [89.147.80.28]) by mx1.freebsd.org (Postfix) with ESMTP id 3F4C88FC22 for ; Thu, 2 Oct 2008 20:29:06 +0000 (UTC) (envelope-from sziszi@bsd.hu) Received: from localhost ([127.0.0.1] helo=mail.rubicom.hu) by mail.rubicom.hu with smtp (Exim 4.63) (envelope-from ) id 1KlUnH-0006nC-Tq for freebsd-x11@freebsd.org; Thu, 02 Oct 2008 22:29:03 +0200 Received: from ip5993549e.rubicom.hu ([89.147.84.158] helo=baranyfelhocske.buza.adamsfamily.xx) by mail.rubicom.hu with esmtp (Exim 4.63) (envelope-from ) id 1KlUnH-0006mu-Fn for freebsd-x11@freebsd.org; Thu, 02 Oct 2008 22:29:03 +0200 Received: from baranyfelhocske.buza.adamsfamily.xx (localhost [127.0.0.1]) by baranyfelhocske.buza.adamsfamily.xx (8.14.3/8.14.3) with ESMTP id m92KT3g7003469 for ; Thu, 2 Oct 2008 22:29:03 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from sziszi@localhost) by baranyfelhocske.buza.adamsfamily.xx (8.14.3/8.14.3/Submit) id m92KT35m003468 for freebsd-x11@freebsd.org; Thu, 2 Oct 2008 22:29:03 +0200 (CEST) (envelope-from sziszi@bsd.hu) X-Authentication-Warning: baranyfelhocske.buza.adamsfamily.xx: sziszi set sender to sziszi@bsd.hu using -f Date: Thu, 2 Oct 2008 22:29:03 +0200 From: Szilveszter Adam To: freebsd-x11@freebsd.org Message-ID: <20081002202903.GB1831@baranyfelhocske.buza.adamsfamily.xx> References: <48DD9ECD.40309@ahhyes.net> <1222524191.1662.3.camel@wombat.2hip.net> <20080927165901.GA1508@baranyfelhocske.buza.adamsfamily.xx> <1222916611.1684.35.camel@wombat.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1222916611.1684.35.camel@wombat.2hip.net> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: DRI not working 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: Thu, 02 Oct 2008 20:29:06 -0000 Hello Robert, Sorry for only getting back to you now; I compiled up a kernel with your patch in the morning but then had to rush off to work. Patch applied cleanly to my recent -CURRENT sources. On Wed, Oct 01, 2008 at 11:03:31PM -0400, Robert Noland wrote: > Ok, can you guys give this patch a try? I think the memory failures are > un-related and we probably need to try and figure that out separately. > This patch should be rejecting the second head during the probe phase, > so drm should not report *anything* about it. That's quite correct, drm is now not attaching to vgapci1. dmesg after patch (may wrap): vgapci0: port 0x1800-0x1807 mem 0xe0000000-0xe7ffffff,0xd0000000-0xd007ffff irq 11 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xe0000000 128MB info: [drm] Initialized i915 1.6.0 20080312 vgapci1: mem 0xe8000000-0xefffffff,0xd0080000-0xd00fffff at device 2.1 on pci0 So, no trace of drm attaching in the second case. Unfortunately, this is about all the patch changed :-( the intel(4) driver still thinks that this card is not even capable of hw-accelerated 2d. > One of you said something about X also reporting both heads? If that is > true and remains so with this patch, could you send me X logs? I'll try > and get someone to look into the Intel 2d driver and see what is going > on with it. No, looking at the log only the primary one is used now, so that's ok. The problem spot seems to be this: (II) [drm] DRM interface version 1.2 (II) [drm] DRM open master succeeded. (II) intel(0): [drm] Using the DRM lock SAREA also for drawables. (II) intel(0): [drm] framebuffer mapped by ddx driver (II) intel(0): [drm] added 1 reserved context for kernel (II) intel(0): X context handle = 0x1 (II) intel(0): [drm] installed DRM signal handler (**) intel(0): Framebuffer compression enabled (**) intel(0): Tiling enabled (==) intel(0): Write-combining range (0xd0000000,0x80000) was already clear (==) intel(0): VideoRam: 131072 KB (II) intel(0): Attempting memory allocation with tiled buffers. (WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages failed (Cannot allocate memory) <= THIS (WW) intel(0): xf86AllocateGARTMemory: allocation of 4 pages failed (Cannot allocate memory) <= THIS TOO (WW) intel(0): Disabling HW cursor because the cursor memory allocation failed. (II) intel(0): Tiled allocation successful. (--) intel(0): DRI is disabled because it needs HW cursor, 2D accel and AGPGART. Any ideas? The full log is available. -- Regards: Szilveszter ADAM Budapest Hungary From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 20:38:49 2008 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 EAFE4106568A for ; Thu, 2 Oct 2008 20:38:48 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id BE6728FC21 for ; Thu, 2 Oct 2008 20:38:48 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1138647rvf.43 for ; Thu, 02 Oct 2008 13:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=UxUBzxZS7VSermiKf663dDBaZRpNKUcmWALdtcNMZaQ=; b=wB0cleGSiyUO2yYfh/cUSi7ilPtgKpQHqlmAVsGSKu5ZagNser3mLn2yEODms1s9PI CtDnPH6SNxhWdaDa+tMM1UpoF/MVPHzqydlDknH4MGhrz7WSwlJ9y6nnAv9KyHHAFj/E S+zQD8IMfXGGoGICKBKWF0/TTOL8NXfss7qXQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ggaDkPYOpNU6y7Mw3gn/k3B7JfC8bVlJ7geAcRxfz8T9XwtLlyoYZM7peR6v/BK25G 4OLpPYX8xLay6IcAqtFYCNW9Ci0XGTVlJiWmGNTKzrQGeCvydc9zXx/UwEMo+WlMSyAy R82DXwWg5T1Q52IwrWIpNtVoogBCzUIaMfjGA= Received: by 10.141.63.20 with SMTP id q20mr62872rvk.291.1222979928223; Thu, 02 Oct 2008 13:38:48 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Thu, 2 Oct 2008 13:38:48 -0700 (PDT) Message-ID: <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> Date: Thu, 2 Oct 2008 22:38:48 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1222923143.1684.58.camel@wombat.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222923143.1684.58.camel@wombat.2hip.net> Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 20:38:49 -0000 On 10/2/08, Robert Noland wrote: > I have made new patch sets for both -CURRENT and -STABLE. They are > located at: > > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 > > Note that if your are using RELENG_7, you will need to be very current. > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at least > 2008-09-20 15:56:02 -0400. > > This is a re-sync to git master, which seems to address many of the > issues with the intel chipsets < 965. I'm still not certain exactly > which change fixes them unfortunately. This update contains a lot of > code cleanup and is post gem merge (no, we don't have gem support). It > should prove much easier to read the code now. A lot of thanks goes to > vehemens for that work. I have adapted the code to use cdevpriv for > tracking per open file data, which is the reason that you need really > current bits to use this patch. That alleviates the old ugly hack that > we used to try and accomplish the task and helped to clean up the open / > close behavior a good bit. This also replaces the hack that was put in > place a year or so ago to prevent radeons from locking up with AIGLX > enabled. I have had a couple of radeon testers report that it still > works as expected, though I no longer have radeon hardware to test with > myself. Other various fixes from the linux crew and Intel, many of > which are muddled in with the gem merge. > > I am planning to push this into CURRENT pretty soon, possibly even > sometime tomorrow once I have a chance to discuss with a few others. Wow, something is broken again (glxgears doenst work again). I checked twice (with two versions of agp) Only new is that this error is being displayed: error: [drm:pid1716:i915_mem_init_heap] *ERROR* called with no initialization I checked modules from git(again), and they still works, new (actually old) lor is still there: info: [drm] Initialized i915 1.6.0 20080730 drm0: [ITHREAD] lock order reversal: (sleepable after non-sleepable) 1st 0xc3ddc060 drmdev (drmdev) @ /usr/home/pbanicev/src/freebsd/gitdrm/drm/bsd-core/drm/../drm_drv.c:713 2nd 0xc41409e4 user map (user map) @ /usr/src/sys/vm/vm_glue.c:179 KDB: stack backtrace: db_trace_self_wrapper(c06d0902,e658ba48,c050a705,4,c06cc438,...) at db_trace_self_wrapper+0x26 kdb_backtrace(4,c06cc438,c06e98c2,c3c52728,e658baa4,...) at kdb_backtrace+0x29 _witness_debugger(c06d31e8,c41409e4,c06e9dba,c3c52728,c06e98c2,...) at _witness_debugger+0x25 witness_checkorder(c41409e4,9,c06e98c2,b3,0,...) at witness_checkorder+0x810 _sx_xlock(c41409e4,0,c06e98c2,b3,e658bb08,...) at _sx_xlock+0x85 _vm_map_lock_read(c41409a0,c06e98c2,b3,c050a964,c3fd9280,...) at _vm_map_lock_read+0x4d useracc(8114090,8,1,c440a895,c3c56ea8,...) at useracc+0x65 i915_cmdbuffer(c3ddc000,c3fd9280,c415cb00,2c9,0,...) at i915_cmdbuffer+0x384 drm_ioctl(c4165000,8018644b,c3fd9280,3,c4158d20,...) at drm_ioctl+0x32b giant_ioctl(c4165000,8018644b,c3fd9280,3,c4158d20,...) at giant_ioctl+0x6e devfs_ioctl_f(c4012658,8018644b,c3fd9280,c4164800,c4158d20,...) at devfs_ioctl_f+0xf8 kern_ioctl(c4158d20,4,8018644b,c3fd9280,204140,...) at kern_ioctl+0x1dd ioctl(c4158d20,e658bcf8,c,16,c0702c70,...) at ioctl+0x134 syscall(e658bd38) at syscall+0x283 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x283c9a43, esp = 0xbfbfdb2c, ebp = 0xbfbfdb48 --- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 21:10:22 2008 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 87E7F1065692 for ; Thu, 2 Oct 2008 21:10:22 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4C89C8FC1C for ; Thu, 2 Oct 2008 21:10:22 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m92LA57F044138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 17:10:05 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Paul B. Mahol" In-Reply-To: <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-QXk8GY/dIHaUAwUyGiuu" Organization: FreeBSD Date: Thu, 02 Oct 2008 17:09:59 -0400 Message-Id: <1222981799.12046.41.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 21:10:22 -0000 --=-QXk8GY/dIHaUAwUyGiuu Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-10-02 at 22:38 +0200, Paul B. Mahol wrote: > On 10/2/08, Robert Noland wrote: > > I have made new patch sets for both -CURRENT and -STABLE. They are > > located at: > > > > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 > > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 > > > > Note that if your are using RELENG_7, you will need to be very current. > > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at least > > 2008-09-20 15:56:02 -0400. > > > > This is a re-sync to git master, which seems to address many of the > > issues with the intel chipsets < 965. I'm still not certain exactly > > which change fixes them unfortunately. This update contains a lot of > > code cleanup and is post gem merge (no, we don't have gem support). It > > should prove much easier to read the code now. A lot of thanks goes to > > vehemens for that work. I have adapted the code to use cdevpriv for > > tracking per open file data, which is the reason that you need really > > current bits to use this patch. That alleviates the old ugly hack that > > we used to try and accomplish the task and helped to clean up the open = / > > close behavior a good bit. This also replaces the hack that was put in > > place a year or so ago to prevent radeons from locking up with AIGLX > > enabled. I have had a couple of radeon testers report that it still > > works as expected, though I no longer have radeon hardware to test with > > myself. Other various fixes from the linux crew and Intel, many of > > which are muddled in with the gem merge. > > > > I am planning to push this into CURRENT pretty soon, possibly even > > sometime tomorrow once I have a chance to discuss with a few others. >=20 > Wow, something is broken again (glxgears doenst work again). I checked tw= ice (with two versions of agp) Are you sure that your -CURRENT meets the requirements that I stated? There are only two commits difference between what is in git and that patch. One of them requires having the new bits, though it may not produce coherent errors if it isn't present. > Only new is that this error is being displayed: >=20 > error: [drm:pid1716:i915_mem_init_heap] *ERROR* called with no initializa= tion >=20 >=20 >=20 > I checked modules from git(again), and they still works, new (actually ol= d) lor is still there: >=20 > info: [drm] Initialized i915 1.6.0 20080730 > drm0: [ITHREAD] > lock order reversal: (sleepable after non-sleepable) > 1st 0xc3ddc060 drmdev (drmdev) @ /usr/home/pbanicev/src/freebsd/gitdrm/d= rm/bsd-core/drm/../drm_drv.c:713 > 2nd 0xc41409e4 user map (user map) @ /usr/src/sys/vm/vm_glue.c:179 > KDB: stack backtrace: > db_trace_self_wrapper(c06d0902,e658ba48,c050a705,4,c06cc438,...) at db_tr= ace_self_wrapper+0x26 > kdb_backtrace(4,c06cc438,c06e98c2,c3c52728,e658baa4,...) at kdb_backtrace= +0x29 > _witness_debugger(c06d31e8,c41409e4,c06e9dba,c3c52728,c06e98c2,...) at _w= itness_debugger+0x25 > witness_checkorder(c41409e4,9,c06e98c2,b3,0,...) at witness_checkorder+0x= 810 > _sx_xlock(c41409e4,0,c06e98c2,b3,e658bb08,...) at _sx_xlock+0x85 > _vm_map_lock_read(c41409a0,c06e98c2,b3,c050a964,c3fd9280,...) at _vm_map_= lock_read+0x4d > useracc(8114090,8,1,c440a895,c3c56ea8,...) at useracc+0x65 > i915_cmdbuffer(c3ddc000,c3fd9280,c415cb00,2c9,0,...) at i915_cmdbuffer+0x= 384 > drm_ioctl(c4165000,8018644b,c3fd9280,3,c4158d20,...) at drm_ioctl+0x32b > giant_ioctl(c4165000,8018644b,c3fd9280,3,c4158d20,...) at giant_ioctl+0x6= e > devfs_ioctl_f(c4012658,8018644b,c3fd9280,c4164800,c4158d20,...) at devfs_= ioctl_f+0xf8 > kern_ioctl(c4158d20,4,8018644b,c3fd9280,204140,...) at kern_ioctl+0x1dd > ioctl(c4158d20,e658bcf8,c,16,c0702c70,...) at ioctl+0x134 > syscall(e658bd38) at syscall+0x283 > Xint0x80_syscall() at Xint0x80_syscall+0x20 > --- syscall (54, FreeBSD ELF32, ioctl), eip =3D 0x283c9a43, esp =3D 0xbfb= fdb2c, ebp =3D 0xbfbfdb48 --- Hrm, I'm not seeing this either... I'll try and reproduce... robert. --=-QXk8GY/dIHaUAwUyGiuu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjlOKcACgkQM4TrQ4qfRONl1QCfTN6X1G783oogs5I1xgSk6FYL ABYAnA/ST3wZnbPYPPynQHyNQ81ssSms =O0Fo -----END PGP SIGNATURE----- --=-QXk8GY/dIHaUAwUyGiuu-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 21:16:06 2008 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 A8CF110656B5 for ; Thu, 2 Oct 2008 21:16:06 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by mx1.freebsd.org (Postfix) with ESMTP id 765028FC29 for ; Thu, 2 Oct 2008 21:16:06 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1153148rvf.43 for ; Thu, 02 Oct 2008 14:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=NbdED+11buIAM0k1z4BYvSkRkoTQhtJzX9PzHJSoszo=; b=TEsErcXxxycKFUD0UQR9a6+TEBsiKwLL99/4VnXJWkxDbyrgY8p7zGfxicuZoaWT9l +Kb+80SmLsiMpOMNjxscHSkAWo2MUQXarF1YdXpsDBPbE81e2q9qmMnOP8FZRzVl3zeD vGfiw6SNYThdpw6UDmAkTbTD6j8utItqehF8g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=YapjrCcwN6OmnjC0jvww1WtRAyac486luFnQsCvFIf+MsWPJyyKie5wXyNw3Tw/OG8 2CJ5KgnJkZpb+79oa85gLDoQ8O33LHrI8mzMRT0VZqPOtGYGEtqheW5fLFpjmMfEeFi7 ExKln6fEzAAi0wwcoD8J7O+4l0/S2EWqbsooU= Received: by 10.141.33.21 with SMTP id l21mr135327rvj.9.1222982166053; Thu, 02 Oct 2008 14:16:06 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Thu, 2 Oct 2008 14:16:05 -0700 (PDT) Message-ID: <3a142e750810021416s4f03d475u2620ed2d74d40d73@mail.gmail.com> Date: Thu, 2 Oct 2008 23:16:05 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1222981799.12046.41.camel@squirrel.corp.cox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> <1222981799.12046.41.camel@squirrel.corp.cox.com> Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 21:16:06 -0000 On 10/2/08, Robert Noland wrote: > On Thu, 2008-10-02 at 22:38 +0200, Paul B. Mahol wrote: >> On 10/2/08, Robert Noland wrote: >> > I have made new patch sets for both -CURRENT and -STABLE. They are >> > located at: >> > >> > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 >> > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 >> > >> > Note that if your are using RELENG_7, you will need to be very current. >> > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at least >> > 2008-09-20 15:56:02 -0400. >> > >> > This is a re-sync to git master, which seems to address many of the >> > issues with the intel chipsets < 965. I'm still not certain exactly >> > which change fixes them unfortunately. This update contains a lot of >> > code cleanup and is post gem merge (no, we don't have gem support). It >> > should prove much easier to read the code now. A lot of thanks goes to >> > vehemens for that work. I have adapted the code to use cdevpriv for >> > tracking per open file data, which is the reason that you need really >> > current bits to use this patch. That alleviates the old ugly hack that >> > we used to try and accomplish the task and helped to clean up the open / >> > close behavior a good bit. This also replaces the hack that was put in >> > place a year or so ago to prevent radeons from locking up with AIGLX >> > enabled. I have had a couple of radeon testers report that it still >> > works as expected, though I no longer have radeon hardware to test with >> > myself. Other various fixes from the linux crew and Intel, many of >> > which are muddled in with the gem merge. >> > >> > I am planning to push this into CURRENT pretty soon, possibly even >> > sometime tomorrow once I have a chance to discuss with a few others. >> >> Wow, something is broken again (glxgears doenst work again). I checked >> twice (with two versions of agp) > > Are you sure that your -CURRENT meets the requirements that I stated? FreeBSD dhcppc1 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Sun Sep 28 11:46:55 CEST 2008 > There are only two commits difference between what is in git and that > patch. One of them requires having the new bits, though it may not > produce coherent errors if it isn't present. > >> Only new is that this error is being displayed: >> >> error: [drm:pid1716:i915_mem_init_heap] *ERROR* called with no >> initialization >> >> >> >> I checked modules from git(again), and they still works, new (actually >> old) lor is still there: >> >> info: [drm] Initialized i915 1.6.0 20080730 >> drm0: [ITHREAD] >> lock order reversal: (sleepable after non-sleepable) >> 1st 0xc3ddc060 drmdev (drmdev) @ >> /usr/home/pbanicev/src/freebsd/gitdrm/drm/bsd-core/drm/../drm_drv.c:713 >> 2nd 0xc41409e4 user map (user map) @ /usr/src/sys/vm/vm_glue.c:179 >> KDB: stack backtrace: >> db_trace_self_wrapper(c06d0902,e658ba48,c050a705,4,c06cc438,...) at >> db_trace_self_wrapper+0x26 >> kdb_backtrace(4,c06cc438,c06e98c2,c3c52728,e658baa4,...) at >> kdb_backtrace+0x29 >> _witness_debugger(c06d31e8,c41409e4,c06e9dba,c3c52728,c06e98c2,...) at >> _witness_debugger+0x25 >> witness_checkorder(c41409e4,9,c06e98c2,b3,0,...) at >> witness_checkorder+0x810 >> _sx_xlock(c41409e4,0,c06e98c2,b3,e658bb08,...) at _sx_xlock+0x85 >> _vm_map_lock_read(c41409a0,c06e98c2,b3,c050a964,c3fd9280,...) at >> _vm_map_lock_read+0x4d >> useracc(8114090,8,1,c440a895,c3c56ea8,...) at useracc+0x65 >> i915_cmdbuffer(c3ddc000,c3fd9280,c415cb00,2c9,0,...) at >> i915_cmdbuffer+0x384 >> drm_ioctl(c4165000,8018644b,c3fd9280,3,c4158d20,...) at drm_ioctl+0x32b >> giant_ioctl(c4165000,8018644b,c3fd9280,3,c4158d20,...) at giant_ioctl+0x6e >> devfs_ioctl_f(c4012658,8018644b,c3fd9280,c4164800,c4158d20,...) at >> devfs_ioctl_f+0xf8 >> kern_ioctl(c4158d20,4,8018644b,c3fd9280,204140,...) at kern_ioctl+0x1dd >> ioctl(c4158d20,e658bcf8,c,16,c0702c70,...) at ioctl+0x134 >> syscall(e658bd38) at syscall+0x283 >> Xint0x80_syscall() at Xint0x80_syscall+0x20 >> --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x283c9a43, esp = >> 0xbfbfdb2c, ebp = 0xbfbfdb48 --- > > Hrm, I'm not seeing this either... I'll try and reproduce... There is one more (I belive this one is also old one) lock order reversal: (Giant after non-sleepable) 1st 0xc3ddc060 drmdev (drmdev) @ /usr/home/pbanicev/src/freebsd/gitdrm/drm/bsd-core/drm/../drm_drv.c:713 2nd 0xc0743c70 Giant (Giant) @ /usr/src/sys/kern/kern_sx.c:580 KDB: stack backtrace: db_trace_self_wrapper(c06d0902,e64cd9e4,c050a705,4,c06cc438,...) at db_trace_self_wrapper+0x26 kdb_backtrace(4,c06cc438,c06ce089,c3c511a0,e64cda40,...) at kdb_backtrace+0x29 _witness_debugger(c06d31e8,c0743c70,c06c8802,c3c511a0,c06ce089,...) at _witness_debugger+0x25 witness_checkorder(c0743c70,9,c06ce089,244,0,...) at witness_checkorder+0x810 _mtx_lock_flags(c0743c70,0,c06ce089,244,0,...) at _mtx_lock_flags+0xc4 _sx_xlock_hard(c4028744,c4024d20,0,c06e98c2,b3,...) at _sx_xlock_hard+0x225 _sx_xlock(c4028744,0,c06e98c2,b3,e64cdb08,...) at _sx_xlock+0xc0 _vm_map_lock_read(c4028700,c06e98c2,b3,c050a964,c4930440,...) at _vm_map_lock_read+0x4d useracc(8a32130,8,1,c440a895,c3c56ea8,...) at useracc+0x65 i915_cmdbuffer(c3ddc000,c4930440,c4775880,2c9,0,...) at i915_cmdbuffer+0x384 drm_ioctl(c4165000,8018644b,c4930440,3,c4024d20,...) at drm_ioctl+0x32b giant_ioctl(c4165000,8018644b,c4930440,3,c4024d20,...) at giant_ioctl+0x6e devfs_ioctl_f(c401d230,8018644b,c4930440,c477e200,c4024d20,...) at devfs_ioctl_f+0xf8 kern_ioctl(c4024d20,5,8018644b,c4930440,504140,...) at kern_ioctl+0x1dd ioctl(c4024d20,e64cdcf8,c,c06d40c2,c0702c70,...) at ioctl+0x134 syscall(e64cdd38) at syscall+0x283 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x28676a43, esp = 0xbfbfe3d4, ebp = 0xbfbfe3f0 --- > > robert. > > From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 21:27:41 2008 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 B4BBC1065678 for ; Thu, 2 Oct 2008 21:27:41 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id 85B448FC08 for ; Thu, 2 Oct 2008 21:27:41 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1157826rvf.43 for ; Thu, 02 Oct 2008 14:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=j13Vn7dr8hJU8KW1QDKJSsDLrAcFrNl5cpJTpl7FMtQ=; b=FV042pxXrFnS5gXwHcGVj7ux72nNujJ5vU2Axm+wCepn3QQjEDWCWKa/DXskIOQ8W/ 4dGY5EPm5+ZnYE1hxq0eEBZaiHj2cyUgqybq7A0ZKrr2rP5qr516RNi2g9IlZnPJTiaO RONCpjgJz/k3LX8P1FNE9yRQVXgdDWvEVUztI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Hl3o0pjupfeQhukeKuhHRWVTi3RNn28dwgo6lKLuPNhex16Kne90AA7PonrkcUfzAU 06v0rqjSIDMN35C2KzLcCtJdBKFkZXaWqlth/XklKHxISK78ywK3B/kHUhCy84d/Fg+O wkUHicKy8LrPbLfboIUPLNhysiyX6yBeBTjik= Received: by 10.140.185.1 with SMTP id i1mr96303rvf.264.1222982861137; Thu, 02 Oct 2008 14:27:41 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Thu, 2 Oct 2008 14:27:41 -0700 (PDT) Message-ID: <3a142e750810021427m1e11e573ub568cdba7620c877@mail.gmail.com> Date: Thu, 2 Oct 2008 23:27:41 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1222981799.12046.41.camel@squirrel.corp.cox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> <1222981799.12046.41.camel@squirrel.corp.cox.com> Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 21:27:41 -0000 On 10/2/08, Robert Noland wrote: > On Thu, 2008-10-02 at 22:38 +0200, Paul B. Mahol wrote: >> On 10/2/08, Robert Noland wrote: >> > I have made new patch sets for both -CURRENT and -STABLE. They are >> > located at: >> > >> > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 >> > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 >> > >> > Note that if your are using RELENG_7, you will need to be very current. >> > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at least >> > 2008-09-20 15:56:02 -0400. >> > >> > This is a re-sync to git master, which seems to address many of the >> > issues with the intel chipsets < 965. I'm still not certain exactly >> > which change fixes them unfortunately. This update contains a lot of >> > code cleanup and is post gem merge (no, we don't have gem support). It >> > should prove much easier to read the code now. A lot of thanks goes to >> > vehemens for that work. I have adapted the code to use cdevpriv for >> > tracking per open file data, which is the reason that you need really >> > current bits to use this patch. That alleviates the old ugly hack that >> > we used to try and accomplish the task and helped to clean up the open / >> > close behavior a good bit. This also replaces the hack that was put in >> > place a year or so ago to prevent radeons from locking up with AIGLX >> > enabled. I have had a couple of radeon testers report that it still >> > works as expected, though I no longer have radeon hardware to test with >> > myself. Other various fixes from the linux crew and Intel, many of >> > which are muddled in with the gem merge. >> > >> > I am planning to push this into CURRENT pretty soon, possibly even >> > sometime tomorrow once I have a chance to discuss with a few others. >> >> Wow, something is broken again (glxgears doenst work again). I checked >> twice (with two versions of agp) > > Are you sure that your -CURRENT meets the requirements that I stated? > There are only two commits difference between what is in git and that > patch. One of them requires having the new bits, though it may not > produce coherent errors if it isn't present. > Comparing files from my git and from /sys/dev/drm, git have few file less. So versions are different. Note that my git was cloned yesterday, and I did not updated it. >> Only new is that this error is being displayed: >> >> error: [drm:pid1716:i915_mem_init_heap] *ERROR* called with no >> initialization >> >> >> >> I checked modules from git(again), and they still works, new (actually >> old) lor is still there: >> >> info: [drm] Initialized i915 1.6.0 20080730 >> drm0: [ITHREAD] >> lock order reversal: (sleepable after non-sleepable) >> 1st 0xc3ddc060 drmdev (drmdev) @ >> /usr/home/pbanicev/src/freebsd/gitdrm/drm/bsd-core/drm/../drm_drv.c:713 >> 2nd 0xc41409e4 user map (user map) @ /usr/src/sys/vm/vm_glue.c:179 >> KDB: stack backtrace: >> db_trace_self_wrapper(c06d0902,e658ba48,c050a705,4,c06cc438,...) at >> db_trace_self_wrapper+0x26 >> kdb_backtrace(4,c06cc438,c06e98c2,c3c52728,e658baa4,...) at >> kdb_backtrace+0x29 >> _witness_debugger(c06d31e8,c41409e4,c06e9dba,c3c52728,c06e98c2,...) at >> _witness_debugger+0x25 >> witness_checkorder(c41409e4,9,c06e98c2,b3,0,...) at >> witness_checkorder+0x810 >> _sx_xlock(c41409e4,0,c06e98c2,b3,e658bb08,...) at _sx_xlock+0x85 >> _vm_map_lock_read(c41409a0,c06e98c2,b3,c050a964,c3fd9280,...) at >> _vm_map_lock_read+0x4d >> useracc(8114090,8,1,c440a895,c3c56ea8,...) at useracc+0x65 >> i915_cmdbuffer(c3ddc000,c3fd9280,c415cb00,2c9,0,...) at >> i915_cmdbuffer+0x384 >> drm_ioctl(c4165000,8018644b,c3fd9280,3,c4158d20,...) at drm_ioctl+0x32b >> giant_ioctl(c4165000,8018644b,c3fd9280,3,c4158d20,...) at giant_ioctl+0x6e >> devfs_ioctl_f(c4012658,8018644b,c3fd9280,c4164800,c4158d20,...) at >> devfs_ioctl_f+0xf8 >> kern_ioctl(c4158d20,4,8018644b,c3fd9280,204140,...) at kern_ioctl+0x1dd >> ioctl(c4158d20,e658bcf8,c,16,c0702c70,...) at ioctl+0x134 >> syscall(e658bd38) at syscall+0x283 >> Xint0x80_syscall() at Xint0x80_syscall+0x20 >> --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x283c9a43, esp = >> 0xbfbfdb2c, ebp = 0xbfbfdb48 --- > > Hrm, I'm not seeing this either... I'll try and reproduce... > > robert. > > From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 21:30:12 2008 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 EFA181065686 for ; Thu, 2 Oct 2008 21:30:12 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id BD9178FC1E for ; Thu, 2 Oct 2008 21:30:12 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m92LTuSO044252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 17:29:56 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Paul B. Mahol" In-Reply-To: <3a142e750810021416s4f03d475u2620ed2d74d40d73@mail.gmail.com> References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> <1222981799.12046.41.camel@squirrel.corp.cox.com> <3a142e750810021416s4f03d475u2620ed2d74d40d73@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-G7Zpq65+cyk35tQk1s5g" Organization: FreeBSD Date: Thu, 02 Oct 2008 17:29:50 -0400 Message-Id: <1222982990.12046.46.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 21:30:13 -0000 --=-G7Zpq65+cyk35tQk1s5g Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-10-02 at 23:16 +0200, Paul B. Mahol wrote: > On 10/2/08, Robert Noland wrote: > > On Thu, 2008-10-02 at 22:38 +0200, Paul B. Mahol wrote: > >> On 10/2/08, Robert Noland wrote: > >> > I have made new patch sets for both -CURRENT and -STABLE. They are > >> > located at: > >> > > >> > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 > >> > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 > >> > > >> > Note that if your are using RELENG_7, you will need to be very curre= nt. > >> > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at le= ast > >> > 2008-09-20 15:56:02 -0400. > >> > > >> > This is a re-sync to git master, which seems to address many of the > >> > issues with the intel chipsets < 965. I'm still not certain exactly > >> > which change fixes them unfortunately. This update contains a lot o= f > >> > code cleanup and is post gem merge (no, we don't have gem support). = It > >> > should prove much easier to read the code now. A lot of thanks goes= to > >> > vehemens for that work. I have adapted the code to use cdevpriv for > >> > tracking per open file data, which is the reason that you need reall= y > >> > current bits to use this patch. That alleviates the old ugly hack t= hat > >> > we used to try and accomplish the task and helped to clean up the op= en / > >> > close behavior a good bit. This also replaces the hack that was put= in > >> > place a year or so ago to prevent radeons from locking up with AIGLX > >> > enabled. I have had a couple of radeon testers report that it still > >> > works as expected, though I no longer have radeon hardware to test w= ith > >> > myself. Other various fixes from the linux crew and Intel, many of > >> > which are muddled in with the gem merge. > >> > > >> > I am planning to push this into CURRENT pretty soon, possibly even > >> > sometime tomorrow once I have a chance to discuss with a few others. > >> > >> Wow, something is broken again (glxgears doenst work again). I checked > >> twice (with two versions of agp) > > > > Are you sure that your -CURRENT meets the requirements that I stated? >=20 > FreeBSD dhcppc1 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Sun Sep 28 > 11:46:55 CEST 2008 Hrm, ok... You say that git from yesterday is working. I pushed one of the 2 differences last night, so let's try this. cd into your git directory git pull cd bsd-core && make clean && make all install Hopefully that will tell us which one has the issue. robert. > > There are only two commits difference between what is in git and that > > patch. One of them requires having the new bits, though it may not > > produce coherent errors if it isn't present. > > > >> Only new is that this error is being displayed: > >> > >> error: [drm:pid1716:i915_mem_init_heap] *ERROR* called with no > >> initialization > >> > >> > >> > >> I checked modules from git(again), and they still works, new (actually > >> old) lor is still there: > >> > >> info: [drm] Initialized i915 1.6.0 20080730 > >> drm0: [ITHREAD] > >> lock order reversal: (sleepable after non-sleepable) > >> 1st 0xc3ddc060 drmdev (drmdev) @ > >> /usr/home/pbanicev/src/freebsd/gitdrm/drm/bsd-core/drm/../drm_drv.c:71= 3 > >> 2nd 0xc41409e4 user map (user map) @ /usr/src/sys/vm/vm_glue.c:179 > >> KDB: stack backtrace: > >> db_trace_self_wrapper(c06d0902,e658ba48,c050a705,4,c06cc438,...) at > >> db_trace_self_wrapper+0x26 > >> kdb_backtrace(4,c06cc438,c06e98c2,c3c52728,e658baa4,...) at > >> kdb_backtrace+0x29 > >> _witness_debugger(c06d31e8,c41409e4,c06e9dba,c3c52728,c06e98c2,...) at > >> _witness_debugger+0x25 > >> witness_checkorder(c41409e4,9,c06e98c2,b3,0,...) at > >> witness_checkorder+0x810 > >> _sx_xlock(c41409e4,0,c06e98c2,b3,e658bb08,...) at _sx_xlock+0x85 > >> _vm_map_lock_read(c41409a0,c06e98c2,b3,c050a964,c3fd9280,...) at > >> _vm_map_lock_read+0x4d > >> useracc(8114090,8,1,c440a895,c3c56ea8,...) at useracc+0x65 > >> i915_cmdbuffer(c3ddc000,c3fd9280,c415cb00,2c9,0,...) at > >> i915_cmdbuffer+0x384 > >> drm_ioctl(c4165000,8018644b,c3fd9280,3,c4158d20,...) at drm_ioctl+0x32= b > >> giant_ioctl(c4165000,8018644b,c3fd9280,3,c4158d20,...) at giant_ioctl+= 0x6e > >> devfs_ioctl_f(c4012658,8018644b,c3fd9280,c4164800,c4158d20,...) at > >> devfs_ioctl_f+0xf8 > >> kern_ioctl(c4158d20,4,8018644b,c3fd9280,204140,...) at kern_ioctl+0x1d= d > >> ioctl(c4158d20,e658bcf8,c,16,c0702c70,...) at ioctl+0x134 > >> syscall(e658bd38) at syscall+0x283 > >> Xint0x80_syscall() at Xint0x80_syscall+0x20 > >> --- syscall (54, FreeBSD ELF32, ioctl), eip =3D 0x283c9a43, esp =3D > >> 0xbfbfdb2c, ebp =3D 0xbfbfdb48 --- > > > > Hrm, I'm not seeing this either... I'll try and reproduce... >=20 > There is one more (I belive this one is also old one) >=20 > lock order reversal: (Giant after non-sleepable) > 1st 0xc3ddc060 drmdev (drmdev) @ > /usr/home/pbanicev/src/freebsd/gitdrm/drm/bsd-core/drm/../drm_drv.c:713 > 2nd 0xc0743c70 Giant (Giant) @ /usr/src/sys/kern/kern_sx.c:580 > KDB: stack backtrace: > db_trace_self_wrapper(c06d0902,e64cd9e4,c050a705,4,c06cc438,...) at > db_trace_self_wrapper+0x26 > kdb_backtrace(4,c06cc438,c06ce089,c3c511a0,e64cda40,...) at kdb_backtrace= +0x29 > _witness_debugger(c06d31e8,c0743c70,c06c8802,c3c511a0,c06ce089,...) at > _witness_debugger+0x25 > witness_checkorder(c0743c70,9,c06ce089,244,0,...) at witness_checkorder+0= x810 > _mtx_lock_flags(c0743c70,0,c06ce089,244,0,...) at _mtx_lock_flags+0xc4 > _sx_xlock_hard(c4028744,c4024d20,0,c06e98c2,b3,...) at _sx_xlock_hard+0x2= 25 > _sx_xlock(c4028744,0,c06e98c2,b3,e64cdb08,...) at _sx_xlock+0xc0 > _vm_map_lock_read(c4028700,c06e98c2,b3,c050a964,c4930440,...) at > _vm_map_lock_read+0x4d > useracc(8a32130,8,1,c440a895,c3c56ea8,...) at useracc+0x65 > i915_cmdbuffer(c3ddc000,c4930440,c4775880,2c9,0,...) at i915_cmdbuffer+0x= 384 > drm_ioctl(c4165000,8018644b,c4930440,3,c4024d20,...) at drm_ioctl+0x32b > giant_ioctl(c4165000,8018644b,c4930440,3,c4024d20,...) at giant_ioctl+0x6= e > devfs_ioctl_f(c401d230,8018644b,c4930440,c477e200,c4024d20,...) at > devfs_ioctl_f+0xf8 > kern_ioctl(c4024d20,5,8018644b,c4930440,504140,...) at kern_ioctl+0x1dd > ioctl(c4024d20,e64cdcf8,c,c06d40c2,c0702c70,...) at ioctl+0x134 > syscall(e64cdd38) at syscall+0x283 > Xint0x80_syscall() at Xint0x80_syscall+0x20 > --- syscall (54, FreeBSD ELF32, ioctl), eip =3D 0x28676a43, esp =3D > 0xbfbfe3d4, ebp =3D 0xbfbfe3f0 --- >=20 > > > > robert. > > > > --=-G7Zpq65+cyk35tQk1s5g Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjlPU4ACgkQM4TrQ4qfROO9JACdEaXxlZhRqc+fBn4iWYslzyQG CtUAmwZkHQ4UDjymcvstWkls1cYUh6Mw =L4Ra -----END PGP SIGNATURE----- --=-G7Zpq65+cyk35tQk1s5g-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 21:38:49 2008 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 C2F12106568D for ; Thu, 2 Oct 2008 21:38:49 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id 928308FC19 for ; Thu, 2 Oct 2008 21:38:49 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1162289rvf.43 for ; Thu, 02 Oct 2008 14:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Wy8/KbShXH7yy3zchhU3A1o5Zj7xh8iflY0XdPbpKZ0=; b=wOPxzdZ6JuZYe9tS+DxLD6xl60f9ZeaYOVBxxLsFtcPmlHx6qLP8eVkW3mdxEEcM+t +eZfxM5vV6EBeRlYRTUqHYeE4Nk17dUT2KONkCiPS8XVbSsXLlZLqHzHFTmHxs78sfv/ 9KdeHy5I/WofhCYGVG089svCiZZNx2GXSgwYw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ctS3bSCeB2d1FkhH701MSruwt6sCkp7ymRFX4eAqb4PZUWkZ2oKf2u855cqmadLHPK Ni2xIJNmtWEyoVgqRGpWkBXOdAj9h8+MnuuTnlTSDMMMkXAo+sU5aQ9UAwhRir4xrLjR yg9zomW709wu3LPG3BohWsCAHq5+Awf7zbwfQ= Received: by 10.140.136.5 with SMTP id j5mr141208rvd.27.1222983528865; Thu, 02 Oct 2008 14:38:48 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Thu, 2 Oct 2008 14:38:48 -0700 (PDT) Message-ID: <3a142e750810021438x3243a313j131d1411181f4fe9@mail.gmail.com> Date: Thu, 2 Oct 2008 23:38:48 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1222982990.12046.46.camel@squirrel.corp.cox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> <1222981799.12046.41.camel@squirrel.corp.cox.com> <3a142e750810021416s4f03d475u2620ed2d74d40d73@mail.gmail.com> <1222982990.12046.46.camel@squirrel.corp.cox.com> Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 21:38:49 -0000 On 10/2/08, Robert Noland wrote: > On Thu, 2008-10-02 at 23:16 +0200, Paul B. Mahol wrote: >> On 10/2/08, Robert Noland wrote: >> > On Thu, 2008-10-02 at 22:38 +0200, Paul B. Mahol wrote: >> >> On 10/2/08, Robert Noland wrote: >> >> > I have made new patch sets for both -CURRENT and -STABLE. They are >> >> > located at: >> >> > >> >> > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 >> >> > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 >> >> > >> >> > Note that if your are using RELENG_7, you will need to be very >> >> > current. >> >> > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at >> >> > least >> >> > 2008-09-20 15:56:02 -0400. >> >> > >> >> > This is a re-sync to git master, which seems to address many of the >> >> > issues with the intel chipsets < 965. I'm still not certain exactly >> >> > which change fixes them unfortunately. This update contains a lot of >> >> > code cleanup and is post gem merge (no, we don't have gem support). >> >> > It >> >> > should prove much easier to read the code now. A lot of thanks goes >> >> > to >> >> > vehemens for that work. I have adapted the code to use cdevpriv for >> >> > tracking per open file data, which is the reason that you need really >> >> > current bits to use this patch. That alleviates the old ugly hack >> >> > that >> >> > we used to try and accomplish the task and helped to clean up the >> >> > open / >> >> > close behavior a good bit. This also replaces the hack that was put >> >> > in >> >> > place a year or so ago to prevent radeons from locking up with AIGLX >> >> > enabled. I have had a couple of radeon testers report that it still >> >> > works as expected, though I no longer have radeon hardware to test >> >> > with >> >> > myself. Other various fixes from the linux crew and Intel, many of >> >> > which are muddled in with the gem merge. >> >> > >> >> > I am planning to push this into CURRENT pretty soon, possibly even >> >> > sometime tomorrow once I have a chance to discuss with a few others. >> >> >> >> Wow, something is broken again (glxgears doenst work again). I checked >> >> twice (with two versions of agp) >> > >> > Are you sure that your -CURRENT meets the requirements that I stated? >> >> FreeBSD dhcppc1 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Sun Sep 28 >> 11:46:55 CEST 2008 > > Hrm, ok... You say that git from yesterday is working. I pushed one of > the 2 differences last night, so let's try this. > > cd into your git directory > git pull > cd bsd-core && make clean && make all install > > Hopefully that will tell us which one has the issue. OK: > git pull remote: Counting objects: 7, done. remote: Compressing objects: 100% (4/4), done. remote: Total 4 (delta 3), reused 0 (delta 0) Unpacking objects: 100% (4/4), done. >From git://anongit.freedesktop.org/git/mesa/drm 073cb5e..81952c7 master -> origin/master Updating 073cb5e..81952c7 Fast forward bsd-core/drm_vm.c | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) Let we see would this change break something :) ... From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 21:47:14 2008 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 B123C106568C for ; Thu, 2 Oct 2008 21:47:14 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id 7FF768FC1E for ; Thu, 2 Oct 2008 21:47:14 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1165396rvf.43 for ; Thu, 02 Oct 2008 14:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=gI8seYX/2sYZFDo8g40G23ucxtzqkyCtQOGmflESB3k=; b=tEh09iVhVMeMdgFgj7dnzMavsnUNzd7H4/V0dc3gj5wDSiLNEohIMnVmvhIcKCfWh1 bZSrKolTwCSaUFWcxpm20c1JiPOJyb13AF3eaPCXVFF1/B49RsFcswOwPKPn45grs5up qu1sIPLvCwGIB/QaFMRHBrRyH0sow50tyheQE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jUVDmk+oYOhL008dgvf2Q+WZWK4oy4a0iqQQIK63kX7+dckp2zInKw/F13yrLZMigi 4L8pR2uR5QCsyiqbKNKUNPnSJv+LyFF0Zqdhv6YfANPkGi551DnUh9JXfUxx6B0D8N6S FnGAoMmmihyuguZzbpeC/csLSx0XkEHXIrgiI= Received: by 10.141.76.1 with SMTP id d1mr103700rvl.269.1222984034193; Thu, 02 Oct 2008 14:47:14 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Thu, 2 Oct 2008 14:47:14 -0700 (PDT) Message-ID: <3a142e750810021447m7e0ba1e4v2d3d8bb676dac5c3@mail.gmail.com> Date: Thu, 2 Oct 2008 23:47:14 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <3a142e750810021438x3243a313j131d1411181f4fe9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> <1222981799.12046.41.camel@squirrel.corp.cox.com> <3a142e750810021416s4f03d475u2620ed2d74d40d73@mail.gmail.com> <1222982990.12046.46.camel@squirrel.corp.cox.com> <3a142e750810021438x3243a313j131d1411181f4fe9@mail.gmail.com> Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 21:47:14 -0000 On 10/2/08, Paul B. Mahol wrote: > On 10/2/08, Robert Noland wrote: >> On Thu, 2008-10-02 at 23:16 +0200, Paul B. Mahol wrote: >>> On 10/2/08, Robert Noland wrote: >>> > On Thu, 2008-10-02 at 22:38 +0200, Paul B. Mahol wrote: >>> >> On 10/2/08, Robert Noland wrote: >>> >> > I have made new patch sets for both -CURRENT and -STABLE. They are >>> >> > located at: >>> >> > >>> >> > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 >>> >> > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 >>> >> > >>> >> > Note that if your are using RELENG_7, you will need to be very >>> >> > current. >>> >> > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at >>> >> > least >>> >> > 2008-09-20 15:56:02 -0400. >>> >> > >>> >> > This is a re-sync to git master, which seems to address many of the >>> >> > issues with the intel chipsets < 965. I'm still not certain exactly >>> >> > which change fixes them unfortunately. This update contains a lot >>> >> > of >>> >> > code cleanup and is post gem merge (no, we don't have gem support). >>> >> > It >>> >> > should prove much easier to read the code now. A lot of thanks goes >>> >> > to >>> >> > vehemens for that work. I have adapted the code to use cdevpriv for >>> >> > tracking per open file data, which is the reason that you need >>> >> > really >>> >> > current bits to use this patch. That alleviates the old ugly hack >>> >> > that >>> >> > we used to try and accomplish the task and helped to clean up the >>> >> > open / >>> >> > close behavior a good bit. This also replaces the hack that was put >>> >> > in >>> >> > place a year or so ago to prevent radeons from locking up with AIGLX >>> >> > enabled. I have had a couple of radeon testers report that it still >>> >> > works as expected, though I no longer have radeon hardware to test >>> >> > with >>> >> > myself. Other various fixes from the linux crew and Intel, many of >>> >> > which are muddled in with the gem merge. >>> >> > >>> >> > I am planning to push this into CURRENT pretty soon, possibly even >>> >> > sometime tomorrow once I have a chance to discuss with a few others. >>> >> >>> >> Wow, something is broken again (glxgears doenst work again). I checked >>> >> twice (with two versions of agp) >>> > >>> > Are you sure that your -CURRENT meets the requirements that I stated? >>> >>> FreeBSD dhcppc1 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Sun Sep 28 >>> 11:46:55 CEST 2008 >> >> Hrm, ok... You say that git from yesterday is working. I pushed one of >> the 2 differences last night, so let's try this. >> >> cd into your git directory >> git pull >> cd bsd-core && make clean && make all install >> >> Hopefully that will tell us which one has the issue. > > OK: > >> git pull > remote: Counting objects: 7, done. > remote: Compressing objects: 100% (4/4), done. > remote: Total 4 (delta 3), reused 0 (delta 0) > Unpacking objects: 100% (4/4), done. > From git://anongit.freedesktop.org/git/mesa/drm > 073cb5e..81952c7 master -> origin/master > Updating 073cb5e..81952c7 > Fast forward > bsd-core/drm_vm.c | 21 ++++++++++++--------- > 1 files changed, 12 insertions(+), 9 deletions(-) > > Let we see would this change break something :) ... It did not, DRI works again. From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 21:52:59 2008 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 3888E106569C for ; Thu, 2 Oct 2008 21:52:59 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id F17CF8FC12 for ; Thu, 2 Oct 2008 21:52:58 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m92LqgqC044363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 17:52:43 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Paul B. Mahol" In-Reply-To: <3a142e750810021447m7e0ba1e4v2d3d8bb676dac5c3@mail.gmail.com> References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> <1222981799.12046.41.camel@squirrel.corp.cox.com> <3a142e750810021416s4f03d475u2620ed2d74d40d73@mail.gmail.com> <1222982990.12046.46.camel@squirrel.corp.cox.com> <3a142e750810021438x3243a313j131d1411181f4fe9@mail.gmail.com> <3a142e750810021447m7e0ba1e4v2d3d8bb676dac5c3@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BaIqkeBthkFjW8+glLRg" Organization: FreeBSD Date: Thu, 02 Oct 2008 17:52:37 -0400 Message-Id: <1222984357.12046.48.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 21:52:59 -0000 --=-BaIqkeBthkFjW8+glLRg Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-10-02 at 23:47 +0200, Paul B. Mahol wrote: > On 10/2/08, Paul B. Mahol wrote: > > On 10/2/08, Robert Noland wrote: > >> On Thu, 2008-10-02 at 23:16 +0200, Paul B. Mahol wrote: > >>> On 10/2/08, Robert Noland wrote: > >>> > On Thu, 2008-10-02 at 22:38 +0200, Paul B. Mahol wrote: > >>> >> On 10/2/08, Robert Noland wrote: > >>> >> > I have made new patch sets for both -CURRENT and -STABLE. They = are > >>> >> > located at: > >>> >> > > >>> >> > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 > >>> >> > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 > >>> >> > > >>> >> > Note that if your are using RELENG_7, you will need to be very > >>> >> > current. > >>> >> > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be a= t > >>> >> > least > >>> >> > 2008-09-20 15:56:02 -0400. > >>> >> > > >>> >> > This is a re-sync to git master, which seems to address many of = the > >>> >> > issues with the intel chipsets < 965. I'm still not certain exa= ctly > >>> >> > which change fixes them unfortunately. This update contains a l= ot > >>> >> > of > >>> >> > code cleanup and is post gem merge (no, we don't have gem suppor= t). > >>> >> > It > >>> >> > should prove much easier to read the code now. A lot of thanks = goes > >>> >> > to > >>> >> > vehemens for that work. I have adapted the code to use cdevpriv= for > >>> >> > tracking per open file data, which is the reason that you need > >>> >> > really > >>> >> > current bits to use this patch. That alleviates the old ugly ha= ck > >>> >> > that > >>> >> > we used to try and accomplish the task and helped to clean up th= e > >>> >> > open / > >>> >> > close behavior a good bit. This also replaces the hack that was= put > >>> >> > in > >>> >> > place a year or so ago to prevent radeons from locking up with A= IGLX > >>> >> > enabled. I have had a couple of radeon testers report that it s= till > >>> >> > works as expected, though I no longer have radeon hardware to te= st > >>> >> > with > >>> >> > myself. Other various fixes from the linux crew and Intel, many= of > >>> >> > which are muddled in with the gem merge. > >>> >> > > >>> >> > I am planning to push this into CURRENT pretty soon, possibly ev= en > >>> >> > sometime tomorrow once I have a chance to discuss with a few oth= ers. > >>> >> > >>> >> Wow, something is broken again (glxgears doenst work again). I che= cked > >>> >> twice (with two versions of agp) > >>> > > >>> > Are you sure that your -CURRENT meets the requirements that I state= d? > >>> > >>> FreeBSD dhcppc1 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Sun Sep 28 > >>> 11:46:55 CEST 2008 > >> > >> Hrm, ok... You say that git from yesterday is working. I pushed one o= f > >> the 2 differences last night, so let's try this. > >> > >> cd into your git directory > >> git pull > >> cd bsd-core && make clean && make all install > >> > >> Hopefully that will tell us which one has the issue. > > > > OK: > > > >> git pull > > remote: Counting objects: 7, done. > > remote: Compressing objects: 100% (4/4), done. > > remote: Total 4 (delta 3), reused 0 (delta 0) > > Unpacking objects: 100% (4/4), done. > > From git://anongit.freedesktop.org/git/mesa/drm > > 073cb5e..81952c7 master -> origin/master > > Updating 073cb5e..81952c7 > > Fast forward > > bsd-core/drm_vm.c | 21 ++++++++++++--------- > > 1 files changed, 12 insertions(+), 9 deletions(-) > > > > Let we see would this change break something :) ... >=20 > It did not, DRI works again. Sigh... ok, please try applying the following patch in REVERSE to your kernel tree. http://people.freebsd.org/~rnoland/0001--FreeBSD-This-eliminates-a-potentia= l-panic-but-can.patch robert. --=-BaIqkeBthkFjW8+glLRg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjlQqUACgkQM4TrQ4qfROPY3wCdF7zv+ArgZ7Pfk3IhlVBahwm2 GnYAoIdEsaGxaHfN3qb4ukW8Po6KdKDB =NIt+ -----END PGP SIGNATURE----- --=-BaIqkeBthkFjW8+glLRg-- From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 22:41:24 2008 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 13D4410656B2 for ; Thu, 2 Oct 2008 22:41:24 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id D37508FC23 for ; Thu, 2 Oct 2008 22:41:23 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1185312rvf.43 for ; Thu, 02 Oct 2008 15:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=hU3wbeE/+75R/mZ8EwvLyQVeQu+x/FANIT2rImbagmk=; b=hzsZI3uur7VpKaclmBT4PpO0ZikvEaP6hD/1MoO1HmAg1eqqteXkAEJ9Fy7T0WzOJD ji7jvf478Pmcuau8F2Hd5km6W5nQqOK0O7VPBriTJpRrO2SykZqtHk/T5mXUg6SVj0cs Fm0a+GLaOrCx9F+5LmllBFQIVEv70mv1jn/A4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TwGi+gjZtFwiZncUIo+eQr0223XbRHeLLhRPWBoawaR0cK4aUAwPBeyBnUS1Xof2kj f9j/+AI7UhFl11KSbpCt+9vZk9daWa7DIg+rngQ4wlGHR+avLyYr0otZi+dHEA5XiepT 2zEHp1+Mq3WIrEU+gm3nlt6IOI6xbpSsXobF8= Received: by 10.140.136.6 with SMTP id j6mr126368rvd.231.1222987283221; Thu, 02 Oct 2008 15:41:23 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Thu, 2 Oct 2008 15:41:23 -0700 (PDT) Message-ID: <3a142e750810021541t622f5c7eoa9dc6be6eca34d8@mail.gmail.com> Date: Fri, 3 Oct 2008 00:41:23 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1222984357.12046.48.camel@squirrel.corp.cox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> <1222981799.12046.41.camel@squirrel.corp.cox.com> <3a142e750810021416s4f03d475u2620ed2d74d40d73@mail.gmail.com> <1222982990.12046.46.camel@squirrel.corp.cox.com> <3a142e750810021438x3243a313j131d1411181f4fe9@mail.gmail.com> <3a142e750810021447m7e0ba1e4v2d3d8bb676dac5c3@mail.gmail.com> <1222984357.12046.48.camel@squirrel.corp.cox.com> Cc: freebsd-x11 Subject: Re: latest drm patches 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: Thu, 02 Oct 2008 22:41:24 -0000 On 10/2/08, Robert Noland wrote: > On Thu, 2008-10-02 at 23:47 +0200, Paul B. Mahol wrote: >> On 10/2/08, Paul B. Mahol wrote: >> > On 10/2/08, Robert Noland wrote: >> >> On Thu, 2008-10-02 at 23:16 +0200, Paul B. Mahol wrote: >> >>> On 10/2/08, Robert Noland wrote: >> >>> > On Thu, 2008-10-02 at 22:38 +0200, Paul B. Mahol wrote: >> >>> >> On 10/2/08, Robert Noland wrote: >> >>> >> > I have made new patch sets for both -CURRENT and -STABLE. They >> >>> >> > are >> >>> >> > located at: >> >>> >> > >> >>> >> > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 >> >>> >> > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 >> >>> >> > >> >>> >> > Note that if your are using RELENG_7, you will need to be very >> >>> >> > current. >> >>> >> > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at >> >>> >> > least >> >>> >> > 2008-09-20 15:56:02 -0400. >> >>> >> > >> >>> >> > This is a re-sync to git master, which seems to address many of >> >>> >> > the >> >>> >> > issues with the intel chipsets < 965. I'm still not certain >> >>> >> > exactly >> >>> >> > which change fixes them unfortunately. This update contains a >> >>> >> > lot >> >>> >> > of >> >>> >> > code cleanup and is post gem merge (no, we don't have gem >> >>> >> > support). >> >>> >> > It >> >>> >> > should prove much easier to read the code now. A lot of thanks >> >>> >> > goes >> >>> >> > to >> >>> >> > vehemens for that work. I have adapted the code to use cdevpriv >> >>> >> > for >> >>> >> > tracking per open file data, which is the reason that you need >> >>> >> > really >> >>> >> > current bits to use this patch. That alleviates the old ugly >> >>> >> > hack >> >>> >> > that >> >>> >> > we used to try and accomplish the task and helped to clean up the >> >>> >> > open / >> >>> >> > close behavior a good bit. This also replaces the hack that was >> >>> >> > put >> >>> >> > in >> >>> >> > place a year or so ago to prevent radeons from locking up with >> >>> >> > AIGLX >> >>> >> > enabled. I have had a couple of radeon testers report that it >> >>> >> > still >> >>> >> > works as expected, though I no longer have radeon hardware to >> >>> >> > test >> >>> >> > with >> >>> >> > myself. Other various fixes from the linux crew and Intel, many >> >>> >> > of >> >>> >> > which are muddled in with the gem merge. >> >>> >> > >> >>> >> > I am planning to push this into CURRENT pretty soon, possibly >> >>> >> > even >> >>> >> > sometime tomorrow once I have a chance to discuss with a few >> >>> >> > others. >> >>> >> >> >>> >> Wow, something is broken again (glxgears doenst work again). I >> >>> >> checked >> >>> >> twice (with two versions of agp) >> >>> > >> >>> > Are you sure that your -CURRENT meets the requirements that I >> >>> > stated? >> >>> >> >>> FreeBSD dhcppc1 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Sun Sep 28 >> >>> 11:46:55 CEST 2008 >> >> >> >> Hrm, ok... You say that git from yesterday is working. I pushed one of >> >> the 2 differences last night, so let's try this. >> >> >> >> cd into your git directory >> >> git pull >> >> cd bsd-core && make clean && make all install >> >> >> >> Hopefully that will tell us which one has the issue. >> > >> > OK: >> > >> >> git pull >> > remote: Counting objects: 7, done. >> > remote: Compressing objects: 100% (4/4), done. >> > remote: Total 4 (delta 3), reused 0 (delta 0) >> > Unpacking objects: 100% (4/4), done. >> > From git://anongit.freedesktop.org/git/mesa/drm >> > 073cb5e..81952c7 master -> origin/master >> > Updating 073cb5e..81952c7 >> > Fast forward >> > bsd-core/drm_vm.c | 21 ++++++++++++--------- >> > 1 files changed, 12 insertions(+), 9 deletions(-) >> > >> > Let we see would this change break something :) ... >> >> It did not, DRI works again. > > Sigh... ok, please try applying the following patch in REVERSE to your > kernel tree. > > http://people.freebsd.org/~rnoland/0001--FreeBSD-This-eliminates-a-potential-panic-but-can.patch Bingo, reversing that patch fixed problem. I reversed it on top of patch from this thread. I'm interested what comit really fixed drm module unloading. From owner-freebsd-x11@FreeBSD.ORG Fri Oct 3 00:15:09 2008 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 68339106568A for ; Fri, 3 Oct 2008 00:15:09 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 2C9D28FC16 for ; Fri, 3 Oct 2008 00:15:09 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m930Eb74045025 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 20:14:38 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Paul B. Mahol" In-Reply-To: <3a142e750810021541t622f5c7eoa9dc6be6eca34d8@mail.gmail.com> References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> <1222981799.12046.41.camel@squirrel.corp.cox.com> <3a142e750810021416s4f03d475u2620ed2d74d40d73@mail.gmail.com> <1222982990.12046.46.camel@squirrel.corp.cox.com> <3a142e750810021438x3243a313j131d1411181f4fe9@mail.gmail.com> <3a142e750810021447m7e0ba1e4v2d3d8bb676dac5c3@mail.gmail.com> <1222984357.12046.48.camel@squirrel.corp.cox.com> <3a142e750810021541t622f5c7eoa9dc6be6eca34d8@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-6vvzVdFaBVfkjov8X9I2" Organization: FreeBSD Date: Thu, 02 Oct 2008 20:14:32 -0400 Message-Id: <1222992872.1647.3.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: latest drm patches 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, 03 Oct 2008 00:15:09 -0000 --=-6vvzVdFaBVfkjov8X9I2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-03 at 00:41 +0200, Paul B. Mahol wrote: > On 10/2/08, Robert Noland wrote: > > On Thu, 2008-10-02 at 23:47 +0200, Paul B. Mahol wrote: > >> On 10/2/08, Paul B. Mahol wrote: > >> > On 10/2/08, Robert Noland wrote: > >> >> On Thu, 2008-10-02 at 23:16 +0200, Paul B. Mahol wrote: > >> >>> On 10/2/08, Robert Noland wrote: > >> >>> > On Thu, 2008-10-02 at 22:38 +0200, Paul B. Mahol wrote: > >> >>> >> On 10/2/08, Robert Noland wrote: > >> >>> >> > I have made new patch sets for both -CURRENT and -STABLE. Th= ey > >> >>> >> > are > >> >>> >> > located at: > >> >>> >> > > >> >>> >> > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.= bz2 > >> >>> >> > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.= bz2 > >> >>> >> > > >> >>> >> > Note that if your are using RELENG_7, you will need to be ver= y > >> >>> >> > current. > >> >>> >> > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should b= e at > >> >>> >> > least > >> >>> >> > 2008-09-20 15:56:02 -0400. > >> >>> >> > > >> >>> >> > This is a re-sync to git master, which seems to address many = of > >> >>> >> > the > >> >>> >> > issues with the intel chipsets < 965. I'm still not certain > >> >>> >> > exactly > >> >>> >> > which change fixes them unfortunately. This update contains = a > >> >>> >> > lot > >> >>> >> > of > >> >>> >> > code cleanup and is post gem merge (no, we don't have gem > >> >>> >> > support). > >> >>> >> > It > >> >>> >> > should prove much easier to read the code now. A lot of than= ks > >> >>> >> > goes > >> >>> >> > to > >> >>> >> > vehemens for that work. I have adapted the code to use cdevp= riv > >> >>> >> > for > >> >>> >> > tracking per open file data, which is the reason that you nee= d > >> >>> >> > really > >> >>> >> > current bits to use this patch. That alleviates the old ugly > >> >>> >> > hack > >> >>> >> > that > >> >>> >> > we used to try and accomplish the task and helped to clean up= the > >> >>> >> > open / > >> >>> >> > close behavior a good bit. This also replaces the hack that = was > >> >>> >> > put > >> >>> >> > in > >> >>> >> > place a year or so ago to prevent radeons from locking up wit= h > >> >>> >> > AIGLX > >> >>> >> > enabled. I have had a couple of radeon testers report that i= t > >> >>> >> > still > >> >>> >> > works as expected, though I no longer have radeon hardware to > >> >>> >> > test > >> >>> >> > with > >> >>> >> > myself. Other various fixes from the linux crew and Intel, m= any > >> >>> >> > of > >> >>> >> > which are muddled in with the gem merge. > >> >>> >> > > >> >>> >> > I am planning to push this into CURRENT pretty soon, possibly > >> >>> >> > even > >> >>> >> > sometime tomorrow once I have a chance to discuss with a few > >> >>> >> > others. > >> >>> >> > >> >>> >> Wow, something is broken again (glxgears doenst work again). I > >> >>> >> checked > >> >>> >> twice (with two versions of agp) > >> >>> > > >> >>> > Are you sure that your -CURRENT meets the requirements that I > >> >>> > stated? > >> >>> > >> >>> FreeBSD dhcppc1 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Sun Sep 28 > >> >>> 11:46:55 CEST 2008 > >> >> > >> >> Hrm, ok... You say that git from yesterday is working. I pushed on= e of > >> >> the 2 differences last night, so let's try this. > >> >> > >> >> cd into your git directory > >> >> git pull > >> >> cd bsd-core && make clean && make all install > >> >> > >> >> Hopefully that will tell us which one has the issue. > >> > > >> > OK: > >> > > >> >> git pull > >> > remote: Counting objects: 7, done. > >> > remote: Compressing objects: 100% (4/4), done. > >> > remote: Total 4 (delta 3), reused 0 (delta 0) > >> > Unpacking objects: 100% (4/4), done. > >> > From git://anongit.freedesktop.org/git/mesa/drm > >> > 073cb5e..81952c7 master -> origin/master > >> > Updating 073cb5e..81952c7 > >> > Fast forward > >> > bsd-core/drm_vm.c | 21 ++++++++++++--------- > >> > 1 files changed, 12 insertions(+), 9 deletions(-) > >> > > >> > Let we see would this change break something :) ... > >>=20 > >> It did not, DRI works again. > > > > Sigh... ok, please try applying the following patch in REVERSE to your > > kernel tree. > > > > http://people.freebsd.org/~rnoland/0001--FreeBSD-This-eliminates-a-pote= ntial-panic-but-can.patch >=20 > Bingo, reversing that patch fixed problem. > I reversed it on top of patch from this thread. >=20 > I'm interested what comit really fixed drm module unloading. git commit 828ae3f6b88b5a69a56b2961307e40ed95edea29 was one, but the effected code never made it into src. I think the one you are referring to is probably 739b01dde43c40398d9b0d177e9d330e06cdc2ae robert. --=-6vvzVdFaBVfkjov8X9I2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjlY+gACgkQM4TrQ4qfRONhyQCfWLoVRM7T57QLyJ+6dJztGoWE rTUAnAhc6ujR0UCVXi3mN1gzhGICO5ex =OwbC -----END PGP SIGNATURE----- --=-6vvzVdFaBVfkjov8X9I2-- From owner-freebsd-x11@FreeBSD.ORG Fri Oct 3 03:09:56 2008 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 705161065693 for ; Fri, 3 Oct 2008 03:09:56 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from mail10.syd.optusnet.com.au (mail10.syd.optusnet.com.au [211.29.132.191]) by mx1.freebsd.org (Postfix) with ESMTP id 0FCBF8FC1A for ; Fri, 3 Oct 2008 03:09:55 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from laptop.xor.net (c122-106-7-184.rivrw1.nsw.optusnet.com.au [122.106.7.184]) by mail10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9339qC4010551 for ; Fri, 3 Oct 2008 13:09:53 +1000 Message-ID: <48E58D05.7010003@ahhyes.net> Date: Fri, 03 Oct 2008 13:09:57 +1000 From: Alex User-Agent: Thunderbird 2.0.0.16 (X11/20080916) MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <48E4CC06.1070802@ahhyes.net> <1222960850.12046.6.camel@squirrel.corp.cox.com> <48E4E95B.3020708@ahhyes.net> <1222965932.12046.14.camel@squirrel.corp.cox.com> In-Reply-To: <1222965932.12046.14.camel@squirrel.corp.cox.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: DRI not working 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, 03 Oct 2008 03:09:56 -0000 Robert Noland wrote: > Ok, I found a RELENG_7 test box. It does apply and build cleanly. > > robert. > > Hi Robert, Thank you for the patch. The patch applied cleanly and I was able to rebuild cleanly as well. Unfortunately I am seeing the same symptoms as Szilveszter. DRM is no longer attaching to both heads, which is good. So perhaps the remainder of the issue is with the intel driver? From dmesg: ========== vgapci0: port 0xc000-0xc007 mem 0xf0000000-0xf7ffffff,0xfaf80000-0xfaffffff irq 11 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 892k stolen memory agp0: aperture size is 128M drm0: on vgapci0 info: [drm] AGP at 0xf0000000 128MB info: [drm] Initialized i915 1.5.0 20060119 vgapci1: mem 0xe8000000-0xefffffff,0xfaf00000-0xfaf7ffff at device 2.1 on pci0 pci0: at device 29.0 (no driver attached) From Xorg logs: ============ (II) intel(0): I830CheckAvailableMemory: 964608 kB available drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenByBusid: drmOpenMinor returns 8 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (II) [drm] DRM interface version 1.2 (II) [drm] DRM open master succeeded. (II) intel(0): [drm] Using the DRM lock SAREA also for drawables. (II) intel(0): [drm] framebuffer mapped by ddx driver (II) intel(0): [drm] added 1 reserved context for kernel (II) intel(0): X context handle = 0x1 (II) intel(0): [drm] installed DRM signal handler (**) intel(0): Framebuffer compression enabled (**) intel(0): Tiling enabled (==) intel(0): Write-combining range (0xfaf80000,0x80000) was already clear (==) intel(0): VideoRam: 131072 KB (II) intel(0): Attempting memory allocation with tiled buffers. (WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages failed (Cannot allocate memory) (WW) intel(0): xf86AllocateGARTMemory: allocation of 4 pages failed (Cannot allocate memory) (WW) intel(0): Disabling HW cursor because the cursor memory allocation failed. (II) intel(0): Tiled allocation successful. (--) intel(0): DRI is disabled because it needs HW cursor, 2D accel and AGPGART. Let us know if you discover anything else. I really appreciate your time spent on this. Thanks again! Alex From owner-freebsd-x11@FreeBSD.ORG Fri Oct 3 12:01:43 2008 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 A818F106568D for ; Fri, 3 Oct 2008 12:01:43 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 7DB468FC2B for ; Fri, 3 Oct 2008 12:01:43 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m93C1KS3048252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Oct 2008 08:01:20 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Alex In-Reply-To: <48E58D05.7010003@ahhyes.net> References: <48E4CC06.1070802@ahhyes.net> <1222960850.12046.6.camel@squirrel.corp.cox.com> <48E4E95B.3020708@ahhyes.net> <1222965932.12046.14.camel@squirrel.corp.cox.com> <48E58D05.7010003@ahhyes.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-0l4Ci0DhKn3YduBYqNpB" Organization: FreeBSD Date: Fri, 03 Oct 2008 08:01:14 -0400 Message-Id: <1223035274.1647.5.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00, MIME_QP_LONG_LINE,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working 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, 03 Oct 2008 12:01:43 -0000 --=-0l4Ci0DhKn3YduBYqNpB Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-03 at 13:09 +1000, Alex wrote: > Robert Noland wrote: > > Ok, I found a RELENG_7 test box. It does apply and build cleanly. > > > > robert. > > > > =20 >=20 > Hi Robert, >=20 > Thank you for the patch. The patch applied cleanly and I was able to=20 > rebuild cleanly as well. >=20 > Unfortunately I am seeing the same symptoms as Szilveszter. DRM is no=20 > longer attaching to both heads, which is good. So perhaps the remainder=20 > of the issue is with the intel driver? >=20 > From dmesg: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > vgapci0: port 0xc000-0xc007 mem=20 > 0xf0000000-0xf7ffffff,0xfaf80000-0xfaffffff irq 11 at device 2.0 on pci0 > agp0: on vgapci0 > agp0: detected 892k stolen memory > agp0: aperture size is 128M > drm0: on vgapci0 > info: [drm] AGP at 0xf0000000 128MB > info: [drm] Initialized i915 1.5.0 20060119 > vgapci1: mem=20 > 0xe8000000-0xefffffff,0xfaf00000-0xfaf7ffff at device 2.1 on pci0 > pci0: at device 29.0 (no driver attached) >=20 > From Xorg logs: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > (II) intel(0): I830CheckAvailableMemory: 964608 kB available > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 8, (OK) > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 8, (OK) =20 > drmOpenByBusid: Searching for BusID pci:0000:00:02.0 =20 > drmOpenDevice: node name is /dev/dri/card0 =20 > drmOpenDevice: open result is 8, (OK) =20 > drmOpenByBusid: drmOpenMinor returns 8 =20 > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 =20 > (II) [drm] DRM interface version 1.2 =20 > (II) [drm] DRM open master succeeded. =20 > (II) intel(0): [drm] Using the DRM lock SAREA also for drawables. > (II) intel(0): [drm] framebuffer mapped by ddx driver =20 > (II) intel(0): [drm] added 1 reserved context for kernel =20 > (II) intel(0): X context handle =3D 0x1 =20 > (II) intel(0): [drm] installed DRM signal handler =20 > (**) intel(0): Framebuffer compression=20 > enabled = =20 >=20 > (**) intel(0): Tiling=20 > enabled = =20 >=20 > (=3D=3D) intel(0): Write-combining range (0xfaf80000,0x80000) was already= =20 > clear =20 > (=3D=3D) intel(0): VideoRam: 131072=20 > KB = =20 >=20 > (II) intel(0): Attempting memory allocation with tiled=20 > buffers. = =20 >=20 > (WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages=20 > failed = =20 >=20 > (Cannot allocate=20 > memory) = =20 >=20 > (WW) intel(0): xf86AllocateGARTMemory: allocation of 4 pages=20 > failed = =20 >=20 > (Cannot allocate=20 > memory) = =20 Ok, so both of you are seeing the same memory failures with tiling enabled. Let me check with some of the intel guys and see if they have any insight. robert. > (WW) intel(0): Disabling HW cursor because the cursor memory allocation=20 > failed. =20 > (II) intel(0): Tiled allocation=20 > successful. = =20 >=20 > (--) intel(0): DRI is disabled because it needs HW cursor, 2D accel and=20 > AGPGART. >=20 > Let us know if you discover anything else. I really appreciate your time=20 > spent on this. >=20 > Thanks again! > Alex >=20 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --=-0l4Ci0DhKn3YduBYqNpB Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjmCYoACgkQM4TrQ4qfROPpNQCfZz/i7jbYhpdPc3tfclrikVBI NmIAn0nrRVaWR6Zr4TEgqA+bWGsfnttu =3OmN -----END PGP SIGNATURE----- --=-0l4Ci0DhKn3YduBYqNpB-- From owner-freebsd-x11@FreeBSD.ORG Fri Oct 3 12:43:43 2008 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 58BA81065687 for ; Fri, 3 Oct 2008 12:43:43 +0000 (UTC) (envelope-from matt@chronos.org.uk) Received: from chronos.org.uk (chronos-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:12b::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4EB2E8FC2C for ; Fri, 3 Oct 2008 12:43:42 +0000 (UTC) (envelope-from matt@chronos.org.uk) Received: from workstation2.localnet (chronos@workstation2.local.chronos.org.uk [IPv6:2001:470:1f09:12b:217:31ff:fe4c:c03a] (may be forged)) (authenticated bits=0) by chronos.org.uk (8.14.3/8.14.3) with ESMTP id m93ChVfV085090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 3 Oct 2008 13:43:31 +0100 (BST) (envelope-from matt@chronos.org.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 chronos.org.uk m93ChVfV085090 From: Matt Dawson To: freebsd-x11@freebsd.org Date: Fri, 3 Oct 2008 13:43:24 +0100 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.1; i386; ; ) References: <20081002120027.2D3C810657AE@hub.freebsd.org> In-Reply-To: <20081002120027.2D3C810657AE@hub.freebsd.org> X-Face: Uq{{&_!oO{M&ydj?-f%{D]bN7/|/]a+utod35[+IyH#R>F~YPffK,=?utf-8?q?=25=60=7D=25=0A?=FTMbmzo,]0X3K:N&{h7],FI{?EkORzB; f:V3"vKXsUNw5Yh`}ef4MZ*a4,=?utf-8?q?ObuJ=5F=26=5B1S=27zP=5CK0wcKZP=0A?==?utf-8?q?_=60=23L=25=5Dq*OUPQ-4T=3FHZ=7EAKX0=7D3W=25o=3DP?= X-Spam-Status: No, score=-2.5 required=3.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on central.local.chronos.org.uk X-Virus-Scanned: ClamAV 0.94/8372/Thu Oct 2 16:21:47 2008 on central.local.chronos.org.uk X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (chronos.org.uk [IPv6:2001:470:1f09:12b::1]); Fri, 03 Oct 2008 13:43:37 +0100 (BST) Subject: Re: freebsd-x11 Digest, Vol 251, Issue 4 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, 03 Oct 2008 12:43:43 -0000 --nextPart1813207.erhbqbdNH5 Content-Type: multipart/mixed; boundary="Boundary-01=_tNh5IeOl8vpK8TO" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_tNh5IeOl8vpK8TO Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 02 October 2008 13:00:27 freebsd-x11-request@freebsd.org wrote: > I have made new patch sets for both -CURRENT and -STABLE. =A0They are > located at: > > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 > > Note that if your are using RELENG_7, you will need to be very current. > i.e. on or after 2008-09-29 16:20:13 -0400. =A0CURRENT should be at least > 2008-09-20 15:56:02 -0400. Results from 7-STABLE csupped last night on my myriad of Radions are attach= ed.=20 The only issues I have are with the Xpress 200 chipset, but since this warn= s=20 you that it may kick your cat, run off with your significant other and roam= =20 the streets at night eating babies any time you try to do anything in 3D, I= =20 expect this is normal. =2D-=20 Matt Dawson matt@chronos.org.uk MTD15-RIPE --Boundary-01=_tNh5IeOl8vpK8TO Content-Type: text/plain; charset="iso-8859-15"; name="Xpress200_DRM_report" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Xpress200_DRM_report" Xorg.0.log (--) PCI:*(1:5:0) ATI Technologies Inc RS485 [Radeon Xpress 1100 IGP] rev 0= , Mem @ 0xd0000000/28, 0xfeaf0000/16, I/O @ 0xd800/8, BIOS @ 0xfeac0000/17 [...] (II) Primary Device is: PCI 01:05:0 (--) Chipset ATI Radeon XPRESS 200M 5975 (PCIE) found [...] (II) RADEON(0): Direct rendering enabled (II) RADEON(0): Render acceleration enabled for R300/R400/R500 type cards. (II) RADEON(0): num pipes is 3 dmesg vgapci0: port 0xd800-0xd8ff mem 0xd0000000-0xdffff= fff,0xfeaf0000-0xfeafffff irq 17 at device 5.0 on pci1 =20 drm0: on vgapci0=20 [...] info: [drm] Setting GART location based on new memory map info: [drm] Loading R300 Microcode info: [drm] Num pipes: 3 info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] pciconf -lv vgapci0@pci0:1:5:0: class=3D0x030000 card=3D0x0f641019 chip=3D0x5975100= 2 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'Radeon XPRESS 200M SERIES' class =3D display subclass =3D VGA 125-138 fps on engine demo glexcess completes but with artifacts --Boundary-01=_tNh5IeOl8vpK8TO Content-Type: text/plain; charset="iso-8859-15"; name="X850_DRM_report" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="X850_DRM_report" Xorg.0.log (--) PCI:*(3:0:0) ATI Technologies Inc R480 [Radeon X850XT (PCIE)] (Primary= ) rev 0, Mem @ 0xa0000000/28, 0xd0000000/16, I/O @ 0xc000/8, BIOS @ 0xdfee0= 000/17 (--) PCI: (3:0:1) ATI Technologies Inc R480 [Radeon X850XT (PCIE)] (Seconda= ry) rev 0, Mem @ 0xc8000000/16 [...] (II) Primary Device is: PCI 03:00:0 (WW) RADEON: No matching Device section for instance (BusID PCI:3:0:1) found (--) Chipset ATI Radeon X850 XT (R480) (PCIE) found [...] (II) RADEON(0): Direct rendering enabled (II) RADEON(0): Render acceleration enabled for R300/R400/R500 type cards. (II) RADEON(0): num pipes is 4 dmesg vgapci0: child drm0 requested pci_enable_busmaster = = =20 info: [drm] Initialized radeon 1.29.0 20080613 = = =20 vgapci1: mem 0xc8000000-0xc800ffff at device 0.1 o= n pci3 [...] info: [drm] Setting GART location based on new memory map info: [drm] Loading R400 Microcode info: [drm] Num pipes: 4 info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] pciconf -lv vgapci0@pci0:3:0:0: class=3D0x030000 card=3D0x0b121002 chip=3D0x5d52100= 2 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'Radeon X850 Series' class =3D display subclass =3D VGA vgapci1@pci0:3:0:1: class=3D0x038000 card=3D0x0b131002 chip=3D0x5d72100= 2 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'Radeon X850 Series - Secondary' class =3D display 310 fps on engine demo glexcess completes without issue --Boundary-01=_tNh5IeOl8vpK8TO Content-Type: text/plain; charset="iso-8859-15"; name="9700_DRM_report" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="9700_DRM_report" Xorg.0.log (--) PCI:*(1:0:0) ATI Technologies Inc Radeon R300 ND [Radeon 9700 Pro] rev= 0, Mem @ 0xd0000000/27, 0xe1000000/16, I/O @ 0x9000/8 (--) PCI: (1:0:1) ATI Technologies Inc Radeon R300 [Radeon 9700 Pro] (Secon= dary) rev 0, Mem @ 0xd8000000/27, 0xe1010000/16 [...] (II) Primary Device is: PCI 01:00:0 (--) Assigning device section with no busID to primary device (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found (--) Chipset ATI Radeon 9700 Pro ND (AGP) found [...] (II) RADEON(0): Direct rendering enabled (II) RADEON(0): Render acceleration enabled for R300/R400/R500 type cards. (II) RADEON(0): num pipes is 2 dmesg vgapci0: port 0x9000-0x90ff mem 0xd0000000-0xd7fff= fff,0xe1000000-0xe100ffff irq 16 at device 0.0 on pci1 =20 drm0: on vgapci0 = =20 vgapci0: child drm0 requested pci_enable_busmaster = =20 info: [drm] AGP at 0xc0000000 256MB = =20 info: [drm] Initialized radeon 1.29.0 20080613 [...] info: [drm] Setting GART location based on new memory map = =20 info: [drm] Loading R300 Microcode = =20 info: [drm] Num pipes: 2 = =20 info: [drm] writeback test succeeded in 1 usecs = =20 drm0: [ITHREAD] pciconf -lv vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x00041002 chip=3D0x4e44100= 2 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'Radeon 9700/Pro, 9500 Series (R300)' class =3D display subclass =3D VGA vgapci1@pci0:1:0:1: class=3D0x038000 card=3D0x00051002 chip=3D0x4e64100= 2 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'Radeon 9700/Pro, 9500 (R300) Series - Secondary' class =3D display 245 fps on engine demo glexcess completes without issue --Boundary-01=_tNh5IeOl8vpK8TO Content-Type: text/plain; charset="iso-8859-15"; name="X850_SMP_DRM_report" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="X850_SMP_DRM_report" Xorg.0.log (--) PCI:*(3:0:0) ATI Technologies Inc R480 [Radeon X850XT (PCIE)] (Primary= ) rev 0, Mem @ 0xa0000000/28, 0xd0000000/16, I/O @ 0xb000/8, BIOS @ 0xdfde0= 000/17 (--) PCI: (3:0:1) ATI Technologies Inc R480 [Radeon X850XT (PCIE)] (Seconda= ry) rev 0, Mem @ 0xc8000000/16 [...] (II) Primary Device is: PCI 03:00:0 (WW) RADEON: No matching Device section for instance (BusID PCI:3:0:1) found (--) Chipset ATI Radeon X850 XT (R480) (PCIE) found [...] (II) RADEON(0): Direct rendering enabled (II) RADEON(0): Render acceleration enabled for R300/R400/R500 type cards. (II) RADEON(0): num pipes is 4 dmesg vgapci0: port 0xb000-0xb0ff mem 0xa0000000-0xaffff= fff,0xd0000000-0xd000ffff irq 16 at device 0.0 on pci3 = =20 drm0: on vgapci0 = = =20 vgapci0: child drm0 requested pci_enable_busmaster = = =20 info: [drm] Initialized radeon 1.29.0 20080613=20 [...] info: [drm] Setting GART location based on new memory map info: [drm] Loading R400 Microcode info: [drm] Num pipes: 4 info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] pciconf -lv vgapci0@pci0:3:0:0: class=3D0x030000 card=3D0x0b121002 chip=3D0x5d52100= 2 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'Radeon X850 Series' class =3D display subclass =3D VGA vgapci1@pci0:3:0:1: class=3D0x038000 card=3D0x0b131002 chip=3D0x5d72100= 2 rev=3D0x00 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'Radeon X850 Series - Secondary' class =3D display 330 fps on engine demo glexcess completes without issue --Boundary-01=_tNh5IeOl8vpK8TO Content-Type: text/plain; charset="iso-8859-15"; name="9200_DRM_report" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="9200_DRM_report" Xorg.0.log (--) PCI:*(1:0:0) ATI Technologies Inc RV280 [Radeon 9200] rev 1, Mem @ 0xd= 0000000/27, 0xe1000000/16, I/O @ 0x9000/8 (--) PCI: (1:0:1) ATI Technologies Inc RV280 [Radeon 9200] (Secondary) rev = 1, Mem @ 0xd8000000/27, 0xe1010000/16 [...] (II) Primary Device is: PCI 01:00:0 (--) Assigning device section with no busID to primary device (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found (--) Chipset ATI Radeon 9200 5961 (AGP) found [...] (II) RADEON(0): Direct rendering enabled (II) RADEON(0): Render acceleration enabled for R200 type cards. dmesg vgapci0: port 0x9000-0x90ff mem 0xd0000000-0xd7fff= fff,0xe1000000-0xe100ffff irq 16 at device 0.0 on pci1 =20 drm0: on vgapci0 = =20 vgapci0: child drm0 requested pci_enable_busmaster = =20 info: [drm] AGP at 0xc0000000 256MB = =20 info: [drm] Initialized radeon 1.29.0 20080613 [...] info: [drm] Setting GART location based on new memory map = =20 info: [drm] Loading R200 Microcode = =20 info: [drm] writeback test succeeded in 1 usecs = =20 drm0: [ITHREAD] pciconf -lv vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x013218bc chip=3D0x5961100= 2 rev=3D0x01 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'RV280 ATI RADEON 9200 se agp' class =3D display subclass =3D VGA vgapci1@pci0:1:0:1: class=3D0x038000 card=3D0x013318bc chip=3D0x5941100= 2 rev=3D0x01 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' device =3D 'RV280 ATI Radeon 9200 - Secondary' class =3D display 120 FPS on engine demo glexcess completes without issue --Boundary-01=_tNh5IeOl8vpK8TO-- --nextPart1813207.erhbqbdNH5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjmE3IACgkQAmT9uY8euiIbHgCggshUNPs1bfpqHAvA4Y5zke8p DtwAoIX9LrxnOTp87PCB0ckhMqJDM82g =HO+Q -----END PGP SIGNATURE----- --nextPart1813207.erhbqbdNH5-- From owner-freebsd-x11@FreeBSD.ORG Fri Oct 3 13:09:28 2008 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 404571065690 for ; Fri, 3 Oct 2008 13:09:28 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 08C008FC1E for ; Fri, 3 Oct 2008 13:09:27 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m93D8wSl048517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Oct 2008 09:08:58 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Matt Dawson In-Reply-To: <200810031343.30527.matt@chronos.org.uk> References: <20081002120027.2D3C810657AE@hub.freebsd.org> <200810031343.30527.matt@chronos.org.uk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-jP3ByAUOIRtO+x2QnBAx" Organization: FreeBSD Date: Fri, 03 Oct 2008 09:08:51 -0400 Message-Id: <1223039331.1647.7.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: freebsd-x11 Digest, Vol 251, Issue 4 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, 03 Oct 2008 13:09:28 -0000 --=-jP3ByAUOIRtO+x2QnBAx Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-03 at 13:43 +0100, Matt Dawson wrote: > On Thursday 02 October 2008 13:00:27 freebsd-x11-request@freebsd.org wrot= e: > > I have made new patch sets for both -CURRENT and -STABLE. They are > > located at: > > > > http://people.freebsd.org/~rnoland/drm-update-7-100108.patch.bz2 > > http://people.freebsd.org/~rnoland/drm-update-8-100108.patch.bz2 > > > > Note that if your are using RELENG_7, you will need to be very current. > > i.e. on or after 2008-09-29 16:20:13 -0400. CURRENT should be at least > > 2008-09-20 15:56:02 -0400. >=20 > Results from 7-STABLE csupped last night on my myriad of Radions are atta= ched.=20 > The only issues I have are with the Xpress 200 chipset, but since this wa= rns=20 > you that it may kick your cat, run off with your significant other and ro= am=20 > the streets at night eating babies any time you try to do anything in 3D,= I=20 > expect this is normal. Cool, thanks for the report. robert. --=-jP3ByAUOIRtO+x2QnBAx Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjmGWMACgkQM4TrQ4qfROPauwCdHSMRq6KgbgYHkV/ehETeF8k5 j/oAn2mCFtTwOyfFlNEPFa0dxLh3ltfX =iS/7 -----END PGP SIGNATURE----- --=-jP3ByAUOIRtO+x2QnBAx-- From owner-freebsd-x11@FreeBSD.ORG Fri Oct 3 15:55:42 2008 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 1ED0010656AA for ; Fri, 3 Oct 2008 15:55:42 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id D6DFC8FC16 for ; Fri, 3 Oct 2008 15:55:41 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m93FtGYw049267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Oct 2008 11:55:16 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Paul B. Mahol" In-Reply-To: <1222984357.12046.48.camel@squirrel.corp.cox.com> References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> <1222981799.12046.41.camel@squirrel.corp.cox.com> <3a142e750810021416s4f03d475u2620ed2d74d40d73@mail.gmail.com> <1222982990.12046.46.camel@squirrel.corp.cox.com> <3a142e750810021438x3243a313j131d1411181f4fe9@mail.gmail.com> <3a142e750810021447m7e0ba1e4v2d3d8bb676dac5c3@mail.gmail.com> <1222984357.12046.48.camel@squirrel.corp.cox.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nHybolvamBL7RJXSHdfH" Organization: FreeBSD Date: Fri, 03 Oct 2008 11:55:11 -0400 Message-Id: <1223049311.55363.8.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: latest drm patches 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, 03 Oct 2008 15:55:42 -0000 --=-nHybolvamBL7RJXSHdfH Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ok, I've rebuilt the patches without the commit that was causing the Intel issues. I will be committing this to CURRENT sometime later today. Please remember that you need very recent STABLE or CURRENT to use these patches. http://people.freebsd.org/~rnoland/drm-update-7-100308.patch.bz2 http://people.freebsd.org/~rnoland/drm-update-8-100308.patch.bz2 robert. --=-nHybolvamBL7RJXSHdfH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjmQF8ACgkQM4TrQ4qfROOxtACfdID86eAjVboY1HLZBsdTxZs/ 0MAAn2935aBXGv8GhUFklgPV2EHTW6rk =R95M -----END PGP SIGNATURE----- --=-nHybolvamBL7RJXSHdfH-- From owner-freebsd-x11@FreeBSD.ORG Fri Oct 3 17:21:36 2008 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 2CEFF1065689 for ; Fri, 3 Oct 2008 17:21:36 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 017288FC18 for ; Fri, 3 Oct 2008 17:21:35 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m93HLEit049599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Oct 2008 13:21:15 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Alex In-Reply-To: <48E58D05.7010003@ahhyes.net> References: <48E4CC06.1070802@ahhyes.net> <1222960850.12046.6.camel@squirrel.corp.cox.com> <48E4E95B.3020708@ahhyes.net> <1222965932.12046.14.camel@squirrel.corp.cox.com> <48E58D05.7010003@ahhyes.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ye7xGYi7LnlnswYsI9ND" Organization: FreeBSD Date: Fri, 03 Oct 2008 13:21:09 -0400 Message-Id: <1223054469.55363.16.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00, MIME_QP_LONG_LINE,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working 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, 03 Oct 2008 17:21:36 -0000 --=-ye7xGYi7LnlnswYsI9ND Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-03 at 13:09 +1000, Alex wrote: > Robert Noland wrote: > > Ok, I found a RELENG_7 test box. It does apply and build cleanly. > > > > robert. > > > > =20 >=20 > Hi Robert, >=20 > Thank you for the patch. The patch applied cleanly and I was able to=20 > rebuild cleanly as well. >=20 > Unfortunately I am seeing the same symptoms as Szilveszter. DRM is no=20 > longer attaching to both heads, which is good. So perhaps the remainder=20 > of the issue is with the intel driver? >=20 > From dmesg: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > vgapci0: port 0xc000-0xc007 mem=20 > 0xf0000000-0xf7ffffff,0xfaf80000-0xfaffffff irq 11 at device 2.0 on pci0 > agp0: on vgapci0 > agp0: detected 892k stolen memory > agp0: aperture size is 128M > drm0: on vgapci0 > info: [drm] AGP at 0xf0000000 128MB > info: [drm] Initialized i915 1.5.0 20060119 > vgapci1: mem=20 > 0xe8000000-0xefffffff,0xfaf00000-0xfaf7ffff at device 2.1 on pci0 > pci0: at device 29.0 (no driver attached) >=20 > From Xorg logs: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > (II) intel(0): I830CheckAvailableMemory: 964608 kB available > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 8, (OK) > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 8, (OK) =20 > drmOpenByBusid: Searching for BusID pci:0000:00:02.0 =20 > drmOpenDevice: node name is /dev/dri/card0 =20 > drmOpenDevice: open result is 8, (OK) =20 > drmOpenByBusid: drmOpenMinor returns 8 =20 > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 =20 > (II) [drm] DRM interface version 1.2 =20 > (II) [drm] DRM open master succeeded. =20 > (II) intel(0): [drm] Using the DRM lock SAREA also for drawables. > (II) intel(0): [drm] framebuffer mapped by ddx driver =20 > (II) intel(0): [drm] added 1 reserved context for kernel =20 > (II) intel(0): X context handle =3D 0x1 =20 > (II) intel(0): [drm] installed DRM signal handler =20 > (**) intel(0): Framebuffer compression=20 > enabled = =20 >=20 > (**) intel(0): Tiling=20 > enabled = =20 >=20 > (=3D=3D) intel(0): Write-combining range (0xfaf80000,0x80000) was already= =20 > clear =20 > (=3D=3D) intel(0): VideoRam: 131072=20 > KB = =20 >=20 > (II) intel(0): Attempting memory allocation with tiled=20 > buffers. = =20 >=20 > (WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages=20 > failed = =20 >=20 > (Cannot allocate=20 > memory) = =20 >=20 > (WW) intel(0): xf86AllocateGARTMemory: allocation of 4 pages=20 > failed = =20 >=20 > (Cannot allocate=20 > memory) = =20 Ok, I'm not entirely sure which component is causing this issue... To start chasing it, here is what I need one or both of you to try. Boot with X disabled, then: kldload i915 sysctl hw.dri.0.debug=3D1 startx and send me the logs (should be in /var/log/messages) with the debugging info. We need to figure out why the memory allocations are failing... Hopefully this will point us in the right direction, though I don't believe that drm is at fault. robert. > (WW) intel(0): Disabling HW cursor because the cursor memory allocation=20 > failed. =20 > (II) intel(0): Tiled allocation=20 > successful. = =20 >=20 > (--) intel(0): DRI is disabled because it needs HW cursor, 2D accel and=20 > AGPGART. >=20 > Let us know if you discover anything else. I really appreciate your time=20 > spent on this. >=20 > Thanks again! > Alex >=20 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --=-ye7xGYi7LnlnswYsI9ND Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjmVIUACgkQM4TrQ4qfROMhxACeL9bC9EItAEtjKhGA0tl3JZ2K E/AAnRXO/cazravEXzLsd/CogEHsKtUI =XmXC -----END PGP SIGNATURE----- --=-ye7xGYi7LnlnswYsI9ND-- From owner-freebsd-x11@FreeBSD.ORG Fri Oct 3 20:22:02 2008 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 2AAA81065699 for ; Fri, 3 Oct 2008 20:22:02 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id AEBA78FC18 for ; Fri, 3 Oct 2008 20:22:01 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1602434rvf.43 for ; Fri, 03 Oct 2008 13:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ooEMahf9PQFMYP7MC0sifitLxGf4SpkPmmWPVDsPJBI=; b=n9tOGx9xBgWFOGvwbjFv5k/z6Io4ze0biRv6Co/YdCS6G1YFR9D/HrHup3pq3xyBKH 1xl4vRfzWKkk/AO+A4GhtLdSVE2a8sp14Z3elVqmpYUvSp1mFzzR27mpLYwQ3S6zYypq nFASJCXg2ArrKmwZzSFWXv6sPLznFxWrHoVmI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=sdeUNWLp8oWWjZQNDq/VzBwklanynDu6AzIBeEgKKD+NWw6r+2cRnR6A88eWvspDe6 lZWnyT4LDOUBl5tFQB1aU6hUa3Fs9pPXz5PJJ1TmKBEdUvnVZXFm6kwNqQ05bcTglg6Q PYWvPN+TmNiwGTgvTMF0W54/BR9qm01EJSsko= Received: by 10.141.35.21 with SMTP id n21mr959818rvj.115.1223065321228; Fri, 03 Oct 2008 13:22:01 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Fri, 3 Oct 2008 13:22:01 -0700 (PDT) Message-ID: <3a142e750810031322y3844275fg3a0716ab407f2f89@mail.gmail.com> Date: Fri, 3 Oct 2008 22:22:01 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1223049311.55363.8.camel@squirrel.corp.cox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222923143.1684.58.camel@wombat.2hip.net> <3a142e750810021338m304e773mdef29261f655ba04@mail.gmail.com> <1222981799.12046.41.camel@squirrel.corp.cox.com> <3a142e750810021416s4f03d475u2620ed2d74d40d73@mail.gmail.com> <1222982990.12046.46.camel@squirrel.corp.cox.com> <3a142e750810021438x3243a313j131d1411181f4fe9@mail.gmail.com> <3a142e750810021447m7e0ba1e4v2d3d8bb676dac5c3@mail.gmail.com> <1222984357.12046.48.camel@squirrel.corp.cox.com> <1223049311.55363.8.camel@squirrel.corp.cox.com> Cc: freebsd-x11 Subject: Re: latest drm patches 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, 03 Oct 2008 20:22:02 -0000 On 10/3/08, Robert Noland wrote: > Ok, I've rebuilt the patches without the commit that was causing the > Intel issues. I will be committing this to CURRENT sometime later > today. Please remember that you need very recent STABLE or CURRENT to > use these patches. > > http://people.freebsd.org/~rnoland/drm-update-7-100308.patch.bz2 > http://people.freebsd.org/~rnoland/drm-update-8-100308.patch.bz2 > Tested recent CURRENT, DRI on 945GM works. Thanks. From owner-freebsd-x11@FreeBSD.ORG Sat Oct 4 00:57:00 2008 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 347961065699; Sat, 4 Oct 2008 00:57:00 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by mx1.freebsd.org (Postfix) with ESMTP id AF8B28FC12; Sat, 4 Oct 2008 00:56:59 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from laptop.xor.net (c122-106-7-184.rivrw1.nsw.optusnet.com.au [122.106.7.184]) by mail01.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m940uv8b017104; Sat, 4 Oct 2008 10:56:57 +1000 Message-ID: <48E6BF5D.7060704@ahhyes.net> Date: Sat, 04 Oct 2008 10:57:01 +1000 From: Alex User-Agent: Thunderbird 2.0.0.16 (X11/20080916) MIME-Version: 1.0 To: Robert Noland References: <48E4CC06.1070802@ahhyes.net> <1222960850.12046.6.camel@squirrel.corp.cox.com> <48E4E95B.3020708@ahhyes.net> <1222965932.12046.14.camel@squirrel.corp.cox.com> <48E58D05.7010003@ahhyes.net> <1223054469.55363.16.camel@squirrel.corp.cox.com> In-Reply-To: <1223054469.55363.16.camel@squirrel.corp.cox.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-x11@FreeBSD.org Subject: Re: DRI not working 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, 04 Oct 2008 00:57:00 -0000 Robert Noland wrote: > Ok, I'm not entirely sure which component is causing this issue... To > start chasing it, here is what I need one or both of you to try. Boot > with X disabled, then: > > kldload i915 > sysctl hw.dri.0.debug=1 > startx > > and send me the logs (should be in /var/log/messages) with the debugging > info. We need to figure out why the memory allocations are failing... > Hopefully this will point us in the right direction, though I don't > believe that drm is at fault. > > robert. > Hi Robert, As requested, here is the log. Oct 4 10:52:04 laptop login: ROOT LOGIN (root) ON ttyv0 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open] open_count = 0 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open_helper] pid = 826, minor = 0 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] 8192 13 0xc40f9000 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2 0xc40f9000/0x2000 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_firstopen] Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0246400, nr=0x00, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0246400, nr=0x00, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] open_count = 1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] pid = 826, device = 0xc3b8a680, open_count = 1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_lastclose] Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open] open_count = 0 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open_helper] pid = 826, minor = 0 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] 8192 13 0xc40f9000 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2 0xc40f9000/0x2000 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_firstopen] Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0246400, nr=0x00, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0246400, nr=0x00, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] open_count = 1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] pid = 826, device = 0xc3b8a680, open_count = 1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_lastclose] Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open] open_count = 0 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open_helper] pid = 826, minor = 0 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] 8192 13 0xc40f9000 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2 0xc40f9000/0x2000 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_firstopen] Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0106407, nr=0x07, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0086401, nr=0x01, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0086401, nr=0x01, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0106407, nr=0x07, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0186415, nr=0x15, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset = 0x00000000, size = 0x00002000, type = 2 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Found kernel map 2 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2 0xc40f9000/0x2000 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0086426, nr=0x26, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0086426, nr=0x26, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0086420, nr=0x20, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ctxbitmap_next] drm_ctxbitmap_next bit : 1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addctx] 1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0x80086422, nr=0x22, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0x8008642a, nr=0x2a, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_lock] 1 (pid 826) requests lock (0x00000000), flags = 0x00000000 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_lock] 1 has lock Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0x8004667e, nr=0x7e, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0x8004667d, nr=0x7d, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0x8004667c, nr=0x7c, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0246400, nr=0x00, dev 0xc3b8a680, auth=1 Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0xc0246400, nr=0x00, dev 0xc3b8a680, auth=1 Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0x80086408, nr=0x08, dev 0xc3b8a680, auth=1 Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] no function Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0x80086408, nr=0x08, dev 0xc3b8a680, auth=1 Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] no function Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] pid=826, cmd=0x80086408, nr=0x08, dev 0xc3b8a680, auth=1 Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] no function Thats all there is. From owner-freebsd-x11@FreeBSD.ORG Sat Oct 4 01:46:00 2008 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 39C811065687 for ; Sat, 4 Oct 2008 01:46:00 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 085078FC23 for ; Sat, 4 Oct 2008 01:45:59 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m941jbEQ051877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Oct 2008 21:45:38 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Alex In-Reply-To: <48E6BF5D.7060704@ahhyes.net> References: <48E4CC06.1070802@ahhyes.net> <1222960850.12046.6.camel@squirrel.corp.cox.com> <48E4E95B.3020708@ahhyes.net> <1222965932.12046.14.camel@squirrel.corp.cox.com> <48E58D05.7010003@ahhyes.net> <1223054469.55363.16.camel@squirrel.corp.cox.com> <48E6BF5D.7060704@ahhyes.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Qsax8j+Xaczg7hw5g0E3" Organization: FreeBSD Date: Fri, 03 Oct 2008 21:45:32 -0400 Message-Id: <1223084732.1619.3.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00, MIME_QP_LONG_LINE,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@FreeBSD.org Subject: Re: DRI not working 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, 04 Oct 2008 01:46:00 -0000 --=-Qsax8j+Xaczg7hw5g0E3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2008-10-04 at 10:57 +1000, Alex wrote: > Robert Noland wrote: > > Ok, I'm not entirely sure which component is causing this issue... To > > start chasing it, here is what I need one or both of you to try. Boot > > with X disabled, then: > > > > kldload i915 > > sysctl hw.dri.0.debug=3D1 > > startx > > > > and send me the logs (should be in /var/log/messages) with the debuggin= g > > info. We need to figure out why the memory allocations are failing... > > Hopefully this will point us in the right direction, though I don't > > believe that drm is at fault. > > > > robert. > > =20 > Hi Robert, >=20 > As requested, here is the log. >=20 > Oct 4 10:52:04 laptop login: ROOT LOGIN (root) ON=20 > ttyv0 = =20 > =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open] open_count =3D=20 > 0 = =20 > =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open_helper] pid =3D 826,=20 > minor =3D 0 = =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset =3D=20 > 0x00000000, size =3D 0x00002000, type =3D=20 > 2 =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] 8192 13=20 > 0xc40f9000 = =20 > =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2=20 > 0xc40f9000/0x2000 = =20 > Oct 4 10:52:49 laptop kernel:=20 > [drm:pid826:drm_firstopen] = =20 > =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0246400, nr=3D0x00, dev 0xc3b8a680,=20 > auth=3D1 =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0246400, nr=3D0x00, dev 0xc3b8a680,=20 > auth=3D1 =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] open_count =3D=20 > 1 = =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] pid =3D 826, device= =20 > =3D 0xc3b8a680, open_count =3D 1 = =20 > Oct 4 10:52:49 laptop kernel:=20 > [drm:pid826:drm_lastclose] = =20 > =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open] open_count =3D=20 > 0 = =20 > =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open_helper] pid =3D 826,=20 > minor =3D 0 = =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset =3D=20 > 0x00000000, size =3D 0x00002000, type =3D=20 > 2 =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] 8192 13=20 > 0xc40f9000 = =20 > =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2=20 > 0xc40f9000/0x2000 = =20 > Oct 4 10:52:49 laptop kernel:=20 > [drm:pid826:drm_firstopen] = =20 > =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0246400, nr=3D0x00, dev 0xc3b8a680,=20 > auth=3D1 =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0246400, nr=3D0x00, dev 0xc3b8a680,=20 > auth=3D1 =20 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] open_count =3D 1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] pid =3D 826, device= =20 > =3D 0xc3b8a680, open_count =3D 1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_lastclose] > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open] open_count =3D 0 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open_helper] pid =3D 826,=20 > minor =3D 0 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset =3D=20 > 0x00000000, size =3D 0x00002000, type =3D 2 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] 8192 13 0xc40f9000 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2=20 > 0xc40f9000/0x2000 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_firstopen] > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0106407, nr=3D0x07, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0086401, nr=3D0x01, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0086401, nr=3D0x01, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0106407, nr=3D0x07, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0186415, nr=3D0x15, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset =3D=20 > 0x00000000, size =3D 0x00002000, type =3D 2 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Found kernel map 2 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2=20 > 0xc40f9000/0x2000 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0086426, nr=3D0x26, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0086426, nr=3D0x26, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0086420, nr=3D0x20, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ctxbitmap_next]=20 > drm_ctxbitmap_next bit : 1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addctx] 1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0x80086422, nr=3D0x22, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0x8008642a, nr=3D0x2a, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_lock] 1 (pid 826)=20 > requests lock (0x00000000), flags =3D 0x00000000 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_lock] 1 has lock > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0x8004667e, nr=3D0x7e, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0x8004667d, nr=3D0x7d, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0x8004667c, nr=3D0x7c, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0246400, nr=3D0x00, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0xc0246400, nr=3D0x00, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0x80086408, nr=3D0x08, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] no function > Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0x80086408, nr=3D0x08, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] no function > Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] pid=3D826,=20 > cmd=3D0x80086408, nr=3D0x08, dev 0xc3b8a680, auth=3D1 > Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] no function >=20 > Thats all there is. I really expected to see the failures there... I need to go poke agp and see if we can get useful information out of that. robert. --=-Qsax8j+Xaczg7hw5g0E3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjmyrwACgkQM4TrQ4qfRONL2gCeLMjqkR7zsnG/0vJZi2Y4XyWJ gCgAnjQCEDxA7QHXpOIrFHr8AE9b64mT =GK63 -----END PGP SIGNATURE----- --=-Qsax8j+Xaczg7hw5g0E3-- From owner-freebsd-x11@FreeBSD.ORG Sat Oct 4 15:39:48 2008 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 A813710656D2 for ; Sat, 4 Oct 2008 15:39:44 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 2B7118FC0A for ; Sat, 4 Oct 2008 15:39:44 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m94FdSs4055874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 4 Oct 2008 11:39:28 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: freebsd-x11 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-TRF2jykoSi0EI9YXiOLT" Organization: FreeBSD Date: Sat, 04 Oct 2008 11:39:21 -0400 Message-Id: <1223134762.1619.32.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Subject: drm MSI support 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, 04 Oct 2008 15:39:48 -0000 --=-TRF2jykoSi0EI9YXiOLT Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I would like to get some initial feedback on this patch. It enables MSI on capable cards. (I'm using it on my i965gm) The guys at Intel have done this in the Linux driver. I have implemented it in our infrastructure code which means that we will enable it on any hardware that reports capable. The Intel guys have explicitly blacklisted a couple of 945 class devices, stating that they report capable but don't appear to work. While I would like to get verification that these chips don't work, don't be surprised if it doesn't work if you have chips 2772 or 27a2. I have not implemented the blacklist bits yet. The Linux crew has never enabled MSI on radeon hardware, though several devices appear to report capable. When I inquired as to why they hadn't done so, they just stated that they hadn't gotten around to it. I'm particularly interested to see how this works on radeons. In order to use this patch, you need to be running CURRENT as I had to make a few other changes to vgapci to get this working. You can see if you hardware is capable by running pciconf -lvc. You will see something like this: vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x01f91028 chip=3D0x2a02808= 6 rev=3D0x0c hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Mobile 965 Express Integrated Graphics Controller' class =3D display subclass =3D VGA cap 05[90] =3D MSI supports 1 message=20 cap 01[d0] =3D powerspec 3 supports D0 D3 current D0 When drm loads it will also report that it has enabled MSI. Please send me reports of what chips do/don't work. The patch is located at: http://people.freebsd.org/~rnoland/drm-msi.patch robert. --=-TRF2jykoSi0EI9YXiOLT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjnjikACgkQM4TrQ4qfROOdFQCdH/S+KFs8+H1Fv5SIBb5yRNuI 794An2VMyk6+Y9WgVvyvv+KkKSQYCeOJ =04Od -----END PGP SIGNATURE----- --=-TRF2jykoSi0EI9YXiOLT-- From owner-freebsd-x11@FreeBSD.ORG Sat Oct 4 16:46:14 2008 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 C9AE61065692 for ; Sat, 4 Oct 2008 16:46:14 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 796698FC0C for ; Sat, 4 Oct 2008 16:46:14 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m94GjnVH056234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 4 Oct 2008 12:45:49 -0400 (EDT) (envelope-from rnoland@2hip.net) From: Robert Noland To: freebsd-x11 In-Reply-To: <1223134762.1619.32.camel@wombat.2hip.net> References: <1223134762.1619.32.camel@wombat.2hip.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-P66IemGaPojMqSsxTHM2" Organization: 2Hip Networks Date: Sat, 04 Oct 2008 12:45:43 -0400 Message-Id: <1223138743.1619.35.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Subject: Re: drm MSI support 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, 04 Oct 2008 16:46:14 -0000 --=-P66IemGaPojMqSsxTHM2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2008-10-04 at 11:39 -0400, Robert Noland wrote: > I would like to get some initial feedback on this patch. It enables MSI > on capable cards. (I'm using it on my i965gm) The guys at Intel have > done this in the Linux driver. I have implemented it in our > infrastructure code which means that we will enable it on any hardware > that reports capable. The Intel guys have explicitly blacklisted a > couple of 945 class devices, stating that they report capable but don't > appear to work. While I would like to get verification that these chips > don't work, don't be surprised if it doesn't work if you have chips 2772 > or 27a2. I have not implemented the blacklist bits yet. >=20 > The Linux crew has never enabled MSI on radeon hardware, though several > devices appear to report capable. When I inquired as to why they hadn't > done so, they just stated that they hadn't gotten around to it. I'm > particularly interested to see how this works on radeons. >=20 > In order to use this patch, you need to be running CURRENT as I had to > make a few other changes to vgapci to get this working. You can see if > you hardware is capable by running pciconf -lvc. You will see something > like this: CURRENT needs to be at least: r183194 | rnoland | 2008-09-19 15:11:35 -0400 (Fri, 19 Sep 2008) | 6 lines pci_setup_intr() will only enable MSI/MSI-X for direct children. Add methods to vga_pci.c to request on behalf of it's children. This causes vgapci to show up as the interrupt owner in vmstat -i, rather than the child device. Approved by: jhb(mentor) robert. > vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x01f91028 chip=3D0x2a028= 086 > rev=3D0x0c hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D 'Mobile 965 Express Integrated Graphics Controller' > class =3D display > subclass =3D VGA > cap 05[90] =3D MSI supports 1 message=20 > cap 01[d0] =3D powerspec 3 supports D0 D3 current D0 >=20 > When drm loads it will also report that it has enabled MSI. >=20 > Please send me reports of what chips do/don't work. >=20 > The patch is located at: >=20 > http://people.freebsd.org/~rnoland/drm-msi.patch >=20 > robert. --=-P66IemGaPojMqSsxTHM2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjnnbcACgkQM4TrQ4qfROOU4ACeMHVRPWz69q95j0CGFRsCjGwE RF8AnRdgO0qBaOnCaQKKbGlZ6fDm5HCo =ExEn -----END PGP SIGNATURE----- --=-P66IemGaPojMqSsxTHM2-- From owner-freebsd-x11@FreeBSD.ORG Sat Oct 4 18:19:25 2008 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 C114F1065687 for ; Sat, 4 Oct 2008 18:19:25 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 93F468FC08 for ; Sat, 4 Oct 2008 18:19:25 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1936733rvf.43 for ; Sat, 04 Oct 2008 11:19:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Lii8cNQHuFHv8lwzLTmHM3lW3VIKApY1vOddvwnyRTg=; b=ZTxQ6+abHMlS3ty/dd9j5nn1+crW0PEf/nKVQNUnMaWiRATccfsQ3JO8tvrnE83Dnu t6m0K/7YQJekWkbulfmS7egBj6QCtkX450ESNQ12WoEXgkhYnkcomhc+CrwK/JFqa8Fl fg9aRerKIUYJGSkXWQsT3c/ARZ6bW50K8PCCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=IqUJljoqDmWAjqiLHzEJ2V8z+408ZcO3x4v0oHaV+uSG84n5QZzPTrBCDlu5Ga1Saz bFbvrGktLH5npjWr3Y4vWzl/ucUw0mXvEmWHi7/CxTZ2GeWALm0gnKoDcWTQWLbfduPi Lrzn/42eWs1W0L8UeWfbg1bklungKQhhVRnNI= Received: by 10.140.125.4 with SMTP id x4mr1557474rvc.229.1223144362068; Sat, 04 Oct 2008 11:19:22 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Sat, 4 Oct 2008 11:19:22 -0700 (PDT) Message-ID: <3a142e750810041119wc63cdf7u85149c88c5182696@mail.gmail.com> Date: Sat, 4 Oct 2008 20:19:22 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1223138743.1619.35.camel@wombat.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1223134762.1619.32.camel@wombat.2hip.net> <1223138743.1619.35.camel@wombat.2hip.net> Cc: freebsd-x11 Subject: Re: drm MSI support 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, 04 Oct 2008 18:19:25 -0000 On 10/4/08, Robert Noland wrote: > On Sat, 2008-10-04 at 11:39 -0400, Robert Noland wrote: >> I would like to get some initial feedback on this patch. It enables MSI >> on capable cards. (I'm using it on my i965gm) The guys at Intel have >> done this in the Linux driver. I have implemented it in our >> infrastructure code which means that we will enable it on any hardware >> that reports capable. The Intel guys have explicitly blacklisted a >> couple of 945 class devices, stating that they report capable but don't >> appear to work. While I would like to get verification that these chips >> don't work, don't be surprised if it doesn't work if you have chips 2772 >> or 27a2. I have not implemented the blacklist bits yet. >> >> The Linux crew has never enabled MSI on radeon hardware, though several >> devices appear to report capable. When I inquired as to why they hadn't >> done so, they just stated that they hadn't gotten around to it. I'm >> particularly interested to see how this works on radeons. >> >> In order to use this patch, you need to be running CURRENT as I had to >> make a few other changes to vgapci to get this working. You can see if >> you hardware is capable by running pciconf -lvc. You will see something >> like this: > > CURRENT needs to be at least: > r183194 | rnoland | 2008-09-19 15:11:35 -0400 (Fri, 19 Sep 2008) | 6 > lines > > pci_setup_intr() will only enable MSI/MSI-X for direct children. Add > methods > to vga_pci.c to request on behalf of it's children. This causes vgapci > to show > up as the interrupt owner in vmstat -i, rather than the child device. > > Approved by: jhb(mentor) > > robert. > >> vgapci0@pci0:0:2:0: class=0x030000 card=0x01f91028 chip=0x2a028086 >> rev=0x0c hdr=0x00 >> vendor = 'Intel Corporation' >> device = 'Mobile 965 Express Integrated Graphics Controller' >> class = display >> subclass = VGA >> cap 05[90] = MSI supports 1 message >> cap 01[d0] = powerspec 3 supports D0 D3 current D0 >> >> When drm loads it will also report that it has enabled MSI. >> >> Please send me reports of what chips do/don't work. vgapci0@pci0:0:2:0: class=0x030000 card=0x30a2103c chip=0x27a28086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 945GM/GU Express Integrated Graphics Controller' class = display subclass = VGA cap 05[90] = MSI supports 1 message cap 01[d0] = powerspec 2 supports D0 D3 current D0 drm0: on vgapci0 info: [drm] MSI enabled 1 message(s) vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xe0000000 256MB info: [drm] Initialized i915 1.6.0 20080730 drm0: [ITHREAD] vgapci0: child drm0 requested pci_disable_busmaster info: [drm] MSI released drm0: detached It decrease framerate of glxgears 10x. stellarium performance is even worse (worse than using software rendering when DRI is disabled). From owner-freebsd-x11@FreeBSD.ORG Sat Oct 4 18:31:38 2008 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 DDD5C1065695 for ; Sat, 4 Oct 2008 18:31:38 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id B36848FC0A for ; Sat, 4 Oct 2008 18:31:38 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.109] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m94IVDTY056648 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Oct 2008 14:31:13 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Paul B. Mahol" In-Reply-To: <3a142e750810041119wc63cdf7u85149c88c5182696@mail.gmail.com> References: <1223134762.1619.32.camel@wombat.2hip.net> <1223138743.1619.35.camel@wombat.2hip.net> <3a142e750810041119wc63cdf7u85149c88c5182696@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-v/ztb80ezidumJoLFhTu" Organization: FreeBSD Date: Sat, 04 Oct 2008 14:31:06 -0400 Message-Id: <1223145067.1619.46.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: drm MSI support 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, 04 Oct 2008 18:31:39 -0000 --=-v/ztb80ezidumJoLFhTu Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2008-10-04 at 20:19 +0200, Paul B. Mahol wrote: > On 10/4/08, Robert Noland wrote: > > On Sat, 2008-10-04 at 11:39 -0400, Robert Noland wrote: > >> I would like to get some initial feedback on this patch. It enables M= SI > >> on capable cards. (I'm using it on my i965gm) The guys at Intel have > >> done this in the Linux driver. I have implemented it in our > >> infrastructure code which means that we will enable it on any hardware > >> that reports capable. The Intel guys have explicitly blacklisted a > >> couple of 945 class devices, stating that they report capable but don'= t > >> appear to work. While I would like to get verification that these chi= ps > >> don't work, don't be surprised if it doesn't work if you have chips 27= 72 > >> or 27a2. I have not implemented the blacklist bits yet. > >> > >> The Linux crew has never enabled MSI on radeon hardware, though severa= l > >> devices appear to report capable. When I inquired as to why they hadn= 't > >> done so, they just stated that they hadn't gotten around to it. I'm > >> particularly interested to see how this works on radeons. > >> > >> In order to use this patch, you need to be running CURRENT as I had to > >> make a few other changes to vgapci to get this working. You can see if > >> you hardware is capable by running pciconf -lvc. You will see somethi= ng > >> like this: > > > > CURRENT needs to be at least: > > r183194 | rnoland | 2008-09-19 15:11:35 -0400 (Fri, 19 Sep 2008) | 6 > > lines > > > > pci_setup_intr() will only enable MSI/MSI-X for direct children. Add > > methods > > to vga_pci.c to request on behalf of it's children. This causes vgapci > > to show > > up as the interrupt owner in vmstat -i, rather than the child device. > > > > Approved by: jhb(mentor) > > > > robert. > > > >> vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x01f91028 chip=3D0x2a= 028086 > >> rev=3D0x0c hdr=3D0x00 > >> vendor =3D 'Intel Corporation' > >> device =3D 'Mobile 965 Express Integrated Graphics Controller' > >> class =3D display > >> subclass =3D VGA > >> cap 05[90] =3D MSI supports 1 message > >> cap 01[d0] =3D powerspec 3 supports D0 D3 current D0 > >> > >> When drm loads it will also report that it has enabled MSI. > >> > >> Please send me reports of what chips do/don't work. >=20 > vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x30a2103c chip=3D0x27a28= 086 > rev=3D0x03 hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D 'Mobile 945GM/GU Express Integrated Graphics Controlle= r' > class =3D display > subclass =3D VGA > cap 05[90] =3D MSI supports 1 message > cap 01[d0] =3D powerspec 2 supports D0 D3 current D0 >=20 >=20 > drm0: on vgapci0 > info: [drm] MSI enabled 1 message(s) > vgapci0: child drm0 requested pci_enable_busmaster > info: [drm] AGP at 0xe0000000 256MB > info: [drm] Initialized i915 1.6.0 20080730 > drm0: [ITHREAD] > vgapci0: child drm0 requested pci_disable_busmaster > info: [drm] MSI released > drm0: detached >=20 > It decrease framerate of glxgears 10x. > stellarium performance is even worse (worse than using software > rendering when DRI is disabled). I expect that you aren't getting interrupts, vmstat -ia will tell you. Yours is one of the cards that Intel blacklisted though, so it's not entirely unexpected. robert. > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --=-v/ztb80ezidumJoLFhTu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjntmoACgkQM4TrQ4qfROM/TwCePXrrdFtdrU1DqujQtIwKjFo6 gfEAnjBnXfqJB1lVzT7R1qpVmpVp1i+I =cYb1 -----END PGP SIGNATURE----- --=-v/ztb80ezidumJoLFhTu--