From owner-freebsd-x11@FreeBSD.ORG Fri Aug 29 20:29:58 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 417301065670 for ; Fri, 29 Aug 2008 20:29:58 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 0D51B8FC17 for ; Fri, 29 Aug 2008 20:29:57 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1350028rvf.43 for ; Fri, 29 Aug 2008 13:29: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=d9GK9w4bbuUqTiA4JT1J/u5F4lNzHhfAVkclG1cFNB8=; b=xSEn7oFV8bwI01kppaPV6aZ719uAOxE7xWKSqz6KQDNixgtC8lluxuWtYCOCD1HZ2Y hXmuZW2mV9AjAJ5HGlW5jY9u0V+8JWE7J9UTDiqSIRMK5TWmIGS/9fe4cPjHTpf5BGJ+ nf1x1qopm7vw5Y4XIhFZDLfgbaWZciAO+0rBU= 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=xmfB+v+bg3hgk2z4xvAJDyT22xpbFYfc4RfSw5qdFLWaQuB+Xazmxa4HLbt0CQGCti YSJzrt6ZfSYFZxcXei3ViXMufQRI+fiIDyzris857Ub4Xg/8jCg7sFPOeEyOejK3DhKz NlhsFRaeFoNBoAZEpIUpYs9eAwvpSExzN3mcw= Received: by 10.140.207.2 with SMTP id e2mr1738099rvg.187.1220041797389; Fri, 29 Aug 2008 13:29:57 -0700 (PDT) Received: by 10.141.86.19 with HTTP; Fri, 29 Aug 2008 13:29:57 -0700 (PDT) Message-ID: <3a142e750808291329l1836bc9bv8e94bdd96bd343aa@mail.gmail.com> Date: Fri, 29 Aug 2008 22:29:57 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1220025309.37942.35.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: <48B1A590.2040701@gmail.com> <1219769914.58043.11.camel@squirrel.corp.cox.com> <3a142e750808270307k237c5660ha98e8bcdfbddc4dc@mail.gmail.com> <1219850374.61484.7.camel@squirrel.corp.cox.com> <3a142e750808281007r42bbe4d0u53be9c0074386c10@mail.gmail.com> <1219944411.61066.5.camel@squirrel.corp.cox.com> <3a142e750808281145m3d49839fv4665066d1791e4e6@mail.gmail.com> <1219953332.2212.4.camel@squirrel.corp.cox.com> <3a142e750808290354x2578a075r50ab0cd6edc21ed5@mail.gmail.com> <1220025309.37942.35.camel@squirrel.corp.cox.com> Cc: freebsd-x11 , jimmiejaz@gmail.com Subject: Re: [CFT] drm updates 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, 29 Aug 2008 20:29:58 -0000 On 8/29/08, Robert Noland wrote: > On Fri, 2008-08-29 at 12:54 +0200, Paul B. Mahol wrote: >> On 8/28/08, Robert Noland wrote: >> > On Thu, 2008-08-28 at 20:45 +0200, Paul B. Mahol wrote: >> >> On 8/28/08, Robert Noland wrote: >> >> > On Thu, 2008-08-28 at 19:07 +0200, Paul B. Mahol wrote: >> >> >> On 8/27/08, Robert Noland wrote: >> >> >> > On Wed, 2008-08-27 at 12:07 +0200, Paul B. Mahol wrote: >> >> >> >> On 8/26/08, Robert Noland wrote: >> >> >> >> > On Tue, 2008-08-26 at 17:51 +0200, Paul B. Mahol wrote: >> >> >> >> >> Here is more kernel debug info (after updating libdrm and >> >> >> >> >> testing >> >> >> >> >> with >> >> >> >> >> glxgears) >> >> >> >> > >> >> >> >> > I don't think that the two issues are related, but try this >> >> >> >> > patch... >> >> >> >> > It >> >> >> >> > should at least, resolve the issue below. >> >> >> >> > >> >> >> >> > robert. >> >> >> >> >> >> >> >> Issue bellow is fixed, previous problem still exist. >> >> >> >> >> >> >> >> textdump of panic when unloading drm attached. >> >> >> > >> >> >> > Ok, The locking semantics are a nightmare... Give this a try, it >> >> >> > should >> >> >> > correct both the previous issue as well as this one. >> >> >> > >> >> >> > robert. >> >> >> > >> >> >> >> >> >> Panic fixed, now only Xorg crashing when using glxgears (,...) >> >> >> remains >> >> >> ;) >> >> > >> >> > Ok, what hardware are you using again? Can you manually load drm >> >> > modules and set hw.dri.0.debug=1 and send me the debug output? >> >> > >> >> > robert. >> >> >> >> Hardware: "Mobile 945GM/GU Express Integrated Graphics Controller" >> >> Debug ouptut attached. >> > >> > Alright, try this... I was pointed at this from another thread, but >> > your trace confirms why it doesn't work, at least with your driver. >> > >> > robert. >> > >> >> Nothing improved with that patch, still crash with glxgears, and lock >> with stellarium. > > ok, I don't understand why I'm not seeing any of this on my 965gm... If > you want to send me another debug trace, I'll see if I can tell what is > going on now... Also, please send me a copy of your xorg.conf. Well, actually it is: agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M drm0: on vgapci0 > >> How to make sure that this is really drm problem and not i915, Xorg, >> mesa-ports that need recompiling? > > If you are using current ports tree, then nothing should need rebuilding > that I can think of. I have been using git libdrm and xf86-video-intel > driver, but what is in ports now should be fine I think. The updated > libdrm should only be required to get the new vblank code to allow it to > disable vblank interrupts. > > There is a bug which prevents vblanks irqs from being disabled after a > vt switch, but it shouldn't have a real impact on functionality. > > robert. > >