From owner-freebsd-current@FreeBSD.ORG Thu Dec 24 14:26:09 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA45D1065695; Thu, 24 Dec 2009 14:26:08 +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 B06CD8FC21; Thu, 24 Dec 2009 14:26:08 +0000 (UTC) Received: from [192.168.1.4] (adsl-156-16-112.bna.bellsouth.net [70.156.16.112]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id nBOEQ4SS029385 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 24 Dec 2009 09:26:04 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: ticso@cicely.de In-Reply-To: <20091224104625.GY2260@cicely7.cicely.de> References: <4B2FF2D9.3030005@FreeBSD.org> <4B303AA1.3000603@FreeBSD.org> <20091223144435.GA18018@tops.skynet.lt> <20091224104625.GY2260@cicely7.cicely.de> Content-Type: text/plain Organization: FreeBSD Date: Thu, 24 Dec 2009 08:25:58 -0600 Message-Id: <1261664758.2280.36.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: Gleb Kurtsou , Doug Barton , "b. f." , freebsd-current@freebsd.org Subject: Re: powerd and nvidia drivers not playing nicely together (Was: Re: Systems running hot?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 14:26:09 -0000 On Thu, 2009-12-24 at 11:46 +0100, Bernd Walter wrote: > On Wed, Dec 23, 2009 at 04:44:35PM +0200, Gleb Kurtsou wrote: > > On (21/12/2009 19:18), Doug Barton wrote: > > > b. f. wrote: > > > > On 12/21/09, Doug Barton wrote: > > > >> b. f. wrote: > > > >>>> no X! So I think to myself, what else did I change last night.... oh > > > > > > > >>> acpi_perf? acpi_throttle? acpi_thermal? acpi_video? > > > >> I haven't done anything special with the acpi stuff. The only thing > > > >> that looks relevant from dmesg is: acpi_tz0: on acpi0 > > > >> > > > > > > > > Yes, but which components show up in 'sysctl -a | grep -ie acpi' ? > > > > > > It's a long list, but here you go: > > > http://people.freebsd.org/~dougb/acpi-grep.txt > > > > > > >>> Which nvidia driver? > > > >> The latest. > > > > > > > > Which video card? > > > > > > nvidia0: > > I had similar problems with GeForce 8400M. GPU temperature could get up > > to 100C in X, which increased CPU temperature in its turn. I use > > powerd, and had lockups with *_cx_lowest settings. I run amd64, i386 was > > just fine on the same notebook. > > It is not just nvidia. > I'm using two plain old PCI Matrox G400 and whenever I start X with > powerd enabled I have a full freeze within 24 hours. > It doesn't seem to be a problem to start powerd once X is runnning. > Maybe it is something like tuning some delay loop with reduced clock > rate, which then isn't long enough with increased speed. FWIW, I run powerd on any machine that is capable. I don't think that it works on my box that has older opteron and the agp mga in it, or at least I haven't figured out the right settings for that one. i.e. cpufreq doesn't attach... I do run it on my core2duo's that I use for radeon, intel and nouveau work and I've not seen any issues. One of those boxes just works, the other doesn't use est since the BIOS doesn't provide P-State information. powerd still runs reliably on both. Also an atom 330 w/ intel gfx, which shows up as dual hyper-threaded cores. I have seen powerd hang a box, but it has been a while. IIRC, the box that I had the issue on was a dual Xeon, and when the frequencies went too low or perhaps got out of sync, it would lock up. I never attributed the issue to X or drm. It has been well over a year since I had access to that box, so I might be mis-remembering some details. robert. -- Robert Noland FreeBSD