Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2009 01:38:39 +0100
From:      Diego Depaoli <trebestie@gmail.com>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Xorg disaster
Message-ID:  <83e5fb980902081638h420cc74fk2fd4a68ba7df9c39@mail.gmail.com>
In-Reply-To: <7d6fde3d0902081508o102d8f9bmca336b41cddd52a3@mail.gmail.com>
References:  <20090205202022.L1221@qroenaqrq.6qbyyneqvnyhc.pbz> <498C90F4.3030209@FreeBSD.org> <83e5fb980902061420j777c6ce5ra643f27eaf20f5cd@mail.gmail.com> <7d6fde3d0902081508o102d8f9bmca336b41cddd52a3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 9, 2009 at 12:08 AM, Garrett Cooper <yanefbsd@gmail.com> 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.

Regards

-- 
Diego Depaoli

P.S. Could be my problems were caused by a broken card since yesterday it died.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83e5fb980902081638h420cc74fk2fd4a68ba7df9c39>