From owner-freebsd-ports@FreeBSD.ORG Sun Feb 15 08:17:50 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F37151065673 for ; Sun, 15 Feb 2009 08:17:49 +0000 (UTC) (envelope-from yanefbsd@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 C4B7F8FC16 for ; Sun, 15 Feb 2009 08:17:49 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so1300856rvb.43 for ; Sun, 15 Feb 2009 00:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=znxREzG73rDEPGYiolK+ehqRu1yTF+8cy/FikYlNKe0=; b=dxpxML6HGDTTvY62if0J7rCoQPinZ8VTTqETK059Waki3ZmFyNZlLIEBn+mAuTvbLs Uht7i3r5vw6CzveoKUCqxphiMko0+xwJHb5RfJnzs+6AYCxrLdw4wylVkQTpky82n8mg MlVIQhd4WNETkFvbWeqmeQvCzyc7UXHQfUky4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=GFQl9exjPlMZc4kVWhCQ5zu0hnpfLw0i02AoWqUI0mI0/NIkDM5Jsr52q85hLbdZ8O rClnqsnKi8hDs29Blt1+fn49fDfMjPN9VUx5y8ItGzcqUREfcYh0q4ynSzlAf+BG5pKA i2Fu/ZDawrVUhCvhgL4WNQX3E2BzEqrxXVNxM= MIME-Version: 1.0 Received: by 10.114.157.1 with SMTP id f1mr1596945wae.43.1234685869305; Sun, 15 Feb 2009 00:17:49 -0800 (PST) In-Reply-To: <83e5fb980902081638h420cc74fk2fd4a68ba7df9c39@mail.gmail.com> References: <20090205202022.L1221@qroenaqrq.6qbyyneqvnyhc.pbz> <498C90F4.3030209@FreeBSD.org> <83e5fb980902061420j777c6ce5ra643f27eaf20f5cd@mail.gmail.com> <7d6fde3d0902081508o102d8f9bmca336b41cddd52a3@mail.gmail.com> <83e5fb980902081638h420cc74fk2fd4a68ba7df9c39@mail.gmail.com> Date: Sun, 15 Feb 2009 00:17:49 -0800 Message-ID: <7d6fde3d0902150017m501860e2r449eac6a735d5a55@mail.gmail.com> From: Garrett Cooper To: Diego Depaoli Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports Subject: Re: Xorg disaster X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 08:17:50 -0000 On Sun, Feb 8, 2009 at 4:38 PM, Diego Depaoli wrote: > On Mon, Feb 9, 2009 at 12:08 AM, Garrett Cooper wrote: >> >> I updated nvidia-driver to the latest version, and submitted a >> patch, but ran into issues with graphics/mesa-demos (until recently >> when someone fixed the build CFLAGS -- rnoland?). > > patch your Makefile patch to allow build on -current > > @@ -87,6 +87,10 @@ > ${REINPLACE_CMD} -e \ > 's/suser(CURTHREAD)/priv_check(CURTHREAD, PRIV_DRIVER)/' \ > ${WRKSRC}/src/nvidia_os.c > + ${REINPLACE_CMD} -e \ > + 's/minor(/dev2unit(/g' \ > + ${WRKSRC}/src/nvidia_dev.c \ > + ${WRKSRC}/src/nvidia_subr.c > > worked for me > >> It's MUCH better than the current ports version. They fixed a >> driver regression, so my displays no longer seize up with high CPU >> usage while compiling and no longer freeze after playing movies with >> mplayer. > Looks like you're right, but I need more testing time. After rebuilding my kernel I see what you mean. That wasn't the case when I originally posted the patch, so someone changed some API's... -Garrett