From owner-freebsd-current@FreeBSD.ORG Tue Jun 15 18:32:07 2010 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 AB77A1065674; Tue, 15 Jun 2010 18:32:07 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A5B888FC1B; Tue, 15 Jun 2010 18:32:06 +0000 (UTC) Received: by wyb34 with SMTP id 34so1698740wyb.13 for ; Tue, 15 Jun 2010 11:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=CVLqg0z0CHHzkpfUJ6qpmLEb+0PQ+2G1qmFDI/oL5E0=; b=BDB10as36ArFQbx/EeoniWla3PuN0emHrTA1qn9puZ90hvdySLVslYp3hIdSthVBgP nvJFYYHp253k9aVyyso8yAYu48arkyF3H/Vy+nxasFNVix0bj4n7vHSAu3mi2AzJaFHP LzX05dqKzOfw28YjKOdlaK9cumtdlPyR6G+sg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:organization:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=K8spxamGi6UCnEL4uzZrXB5Cu0b+G3loUEIUf98KtU01jnZxmu3kK2DcyEEF3O6K9m J7kyekdLW6Xy38T/szEGg+APg8Sr/JId5FdnoOLy9TmTZ8RuJZKAUQ9HhWUs8NLiNhaZ TzNUkmPAiL8wsDU7nmHGRl1ObtQUHiYbbk1gU= Received: by 10.227.135.204 with SMTP id o12mr7516820wbt.97.1276626725517; Tue, 15 Jun 2010 11:32:05 -0700 (PDT) Received: from acer.rene-ladan.nl (ip4da3ae31.direct-adsl.nl [77.163.174.49]) by mx.google.com with ESMTPS id t15sm9548284wbc.17.2010.06.15.11.32.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 15 Jun 2010 11:32:03 -0700 (PDT) Sender: =?UTF-8?Q?Ren=C3=A9_Ladan?= Message-ID: <4C17C71E.3060905@freebsd.org> Date: Tue, 15 Jun 2010 20:31:58 +0200 From: Rene Ladan Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; nl-NL; rv:1.9.1.9) Gecko/20100612 Thunderbird/3.0.4 MIME-Version: 1.0 To: Christian Zander References: <4C15A09B.8080501@FreeBSD.org> <201006140848.55979.jhb@freebsd.org> <4C169F5B.7040409@gmail.com> <20100614213122.GS28855@wolf.nvidia.com> In-Reply-To: <20100614213122.GS28855@wolf.nvidia.com> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Christian Zander , Doug Barton , "alc@freebsd.org" , Alan Cox , "freebsd-current@freebsd.org" Subject: Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and 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: Tue, 15 Jun 2010 18:32:07 -0000 On 14-06-2010 23:31, Christian Zander wrote: > On Mon, Jun 14, 2010 at 02:30:03PM -0700, Rene Ladan wrote: > (...) >>>>>>> I've asked the driver author if the calls to vm_page_wire() and >>>>>>> vm_page_unwire() can simply be removed but have not heard back yet. >>>>>>> >>>>>> >>>>>> Is there any news on this? I have updated to the latest current so I'm >>>>>> running the nv driver now, but I'd like to get the nvidia driver running >>>>>> again. >>>>>> >>>>>> >>>>> Yes, the unnecessary (and now problematic) wiring and unwiring calls will >>> be >>>>> removed in a future release of the driver. >>>> >>>> Excellent! Any ETA? Or are there patches against an existing version of >>>> the driver? >>> >>> I would just remove the calls to vm_page_wire() and vm_page_unwire() along >>> with the immediately adjacent calls to vm_page_{un,}lock_queues(). >>> >> Just to confirm, like the attached patch? >> > > Yes. > >> This is with a GeForce GT 240M, current/amd64 r209035, nvidia-driver >> 195.36.15 >> >> I haven't runtime-tested it yet... > Using the above configuration, X still locks up but now after showing the NVIDIA splash screen. Without the patch it locks up before that point. Pinging the computer doesn't work anymore, no panic or logs, a hard reset is required. Would disabling DRI and/or Accel in xorg.conf or updating the driver / operating system somehow help? Rene -- http://www.rene-ladan.nl/ GPG fingerprint = ADBC ECCD EB5F A6B4 549F 600D 8C9E 647A E564 2BFC (subkeys.pgp.net)