Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-15 Thread Rene Ladan
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

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-14 Thread John Baldwin
On Sunday 13 June 2010 11:23:07 pm Doug Barton wrote: On 06/13/10 19:09, Alan Cox wrote: On Sun, Jun 13, 2010 at 8:38 PM, Doug Bartondo...@freebsd.org wrote: On 06/01/10 08:26, John Baldwin wrote: I've asked the driver author if the calls to vm_page_wire() and vm_page_unwire() can

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-14 Thread Christian Zander
On Mon, Jun 14, 2010 at 05:48:55AM -0700, John Baldwin 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

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-14 Thread Doug Barton
On 06/14/10 14:30, Rene Ladan wrote: On 14-06-2010 14:48, John Baldwin wrote: On Sunday 13 June 2010 11:23:07 pm Doug Barton wrote: On 06/13/10 19:09, Alan Cox wrote: On Sun, Jun 13, 2010 at 8:38 PM, Doug Bartondo...@freebsd.org wrote: On 06/01/10 08:26, John Baldwin wrote: I've asked

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-14 Thread Rene Ladan
On 14-06-2010 14:48, John Baldwin wrote: On Sunday 13 June 2010 11:23:07 pm Doug Barton wrote: On 06/13/10 19:09, Alan Cox wrote: On Sun, Jun 13, 2010 at 8:38 PM, Doug Bartondo...@freebsd.org wrote: On 06/01/10 08:26, John Baldwin wrote: I've asked the driver author if the calls to

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-14 Thread Christian Zander
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

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-14 Thread Garrett Cooper
On Mon, Jun 14, 2010 at 2:31 PM, Christian Zander czan...@nvidia.com 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

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-14 Thread Doug Barton
On 06/14/10 19:14, Doug Barton wrote: Details, I'm running today's -current (r209174) and I've had it up for 4.5 hours already, which is 3 hours longer than I was able to run with anything 195.22 for months. I've done full normal use which includes lots of terminals, tbird, firefox, flash, etc.

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-13 Thread Doug Barton
On 06/01/10 08:26, John Baldwin 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

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-13 Thread Alan Cox
On Sun, Jun 13, 2010 at 8:38 PM, Doug Barton do...@freebsd.org wrote: On 06/01/10 08:26, John Baldwin 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

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-13 Thread Doug Barton
On 06/13/10 19:09, Alan Cox wrote: On Sun, Jun 13, 2010 at 8:38 PM, Doug Bartondo...@freebsd.org wrote: On 06/01/10 08:26, John Baldwin 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

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-01 Thread Garrett Cooper
On Sat, May 29, 2010 at 12:31 PM, Garrett Cooper yanef...@gmail.com wrote: On Sat, May 29, 2010 at 11:48 AM, datastream datastream.freecity datastream.freec...@gmail.com wrote: On Sun, May 30, 2010 at 2:11 AM, Doug Barton do...@freebsd.org wrote: On 05/26/10 09:51, Kostik Belousov wrote: I

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-06-01 Thread John Baldwin
On Saturday 29 May 2010 10:55:41 pm Craig Rodrigues wrote: On Sun, May 30, 2010 at 02:48:13AM +0800, datastream datastream.freecity wrote: http://www.nvnews.net/vbulletin/showthread.php?t=150719 NVIDIA-FreeBSD-x86_64-195.36.24 with r208117 in my T61 laptop works well. Hi, I did the

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-29 Thread Doug Barton
On 05/26/10 09:51, Kostik Belousov wrote: I did a quick glance over the driver, try this: http://people.freebsd.org/~kib/misc/nvidia-vm_page_lock.1.patch I did not even compiled the patched driver. Ok, I just tried this with an r208622 kernel and sources, and the system locks up as soon as I

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-29 Thread datastream datastream.freecity
On Sun, May 30, 2010 at 2:11 AM, Doug Barton do...@freebsd.org wrote: On 05/26/10 09:51, Kostik Belousov wrote: I did a quick glance over the driver, try this: http://people.freebsd.org/~kib/misc/nvidia-vm_page_lock.1.patchhttp://people.freebsd.org/%7Ekib/misc/nvidia-vm_page_lock.1.patch I

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-29 Thread Garrett Cooper
On Sat, May 29, 2010 at 11:48 AM, datastream datastream.freecity datastream.freec...@gmail.com wrote: On Sun, May 30, 2010 at 2:11 AM, Doug Barton do...@freebsd.org wrote: On 05/26/10 09:51, Kostik Belousov wrote: I did a quick glance over the driver, try this:

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-29 Thread Craig Rodrigues
On Sun, May 30, 2010 at 02:48:13AM +0800, datastream datastream.freecity wrote: http://www.nvnews.net/vbulletin/showthread.php?t=150719 NVIDIA-FreeBSD-x86_64-195.36.24 with r208117 in my T61 laptop works well. Hi, I did the following: - updated r208649 - applied following patch to

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-27 Thread Doug Barton
On 05/26/10 09:51, Kostik Belousov wrote: I did a quick glance over the driver, try this: http://people.freebsd.org/~kib/misc/nvidia-vm_page_lock.1.patch I did not even compiled the patched driver. cc -pipe -g -g -g -DNV_VERSION_STRING=\195.36.15\ -D__KERNEL__ -DNVRM -O -Werror -D_KERNEL

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-27 Thread Kostik Belousov
On Thu, May 27, 2010 at 11:54:27AM -0700, Doug Barton wrote: On 05/26/10 09:51, Kostik Belousov wrote: I did a quick glance over the driver, try this: http://people.freebsd.org/~kib/misc/nvidia-vm_page_lock.1.patch I did not even compiled the patched driver. cc -pipe -g -g -g

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-27 Thread Doug Barton
On 5/27/2010 12:12 PM, Kostik Belousov wrote: I think you have stale/wrong includes used by the build. I just checked that driver indeed builds with my patch. vm_page_lock() and vm_page_unlock() are the macros defined in vm/vm_page.h that are present since first Kip commit. As I reported

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-26 Thread Alan Cox
Garrett Cooper wrote: Just reporting the fact that nvidia-driver 195.22 is horribly broken between r206173 and r208486 (my machine consistency livelocks at X11 startup); the latest driver is still broken as well with the same symptoms. I realize that's a huge revision difference, and I'll

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-26 Thread Kostik Belousov
On Wed, May 26, 2010 at 11:23:02AM -0500, Alan Cox wrote: Garrett Cooper wrote: Just reporting the fact that nvidia-driver 195.22 is horribly broken between r206173 and r208486 (my machine consistency livelocks at X11 startup); the latest driver is still broken as well with the same

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-26 Thread Alan Cox
Kostik Belousov wrote: On Wed, May 26, 2010 at 11:23:02AM -0500, Alan Cox wrote: Garrett Cooper wrote: Just reporting the fact that nvidia-driver 195.22 is horribly broken between r206173 and r208486 (my machine consistency livelocks at X11 startup); the latest driver is still

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-26 Thread Doug Barton
On 5/26/2010 9:51 AM, Kostik Belousov wrote: I did a quick glance over the driver, try this: http://people.freebsd.org/~kib/misc/nvidia-vm_page_lock.1.patch I did not even compiled the patched driver. Kostik, Thanks for taking a look at this! I sent the following to Alexey recently in

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-26 Thread Garrett Cooper
On Wed, May 26, 2010 at 10:41 AM, Alan Cox a...@cs.rice.edu wrote: Kostik Belousov wrote: On Wed, May 26, 2010 at 11:23:02AM -0500, Alan Cox wrote: Garrett Cooper wrote:   Just reporting the fact that nvidia-driver 195.22 is horribly broken between r206173 and r208486 (my machine

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-26 Thread Kostik Belousov
On Wed, May 26, 2010 at 12:41:51PM -0500, Alan Cox wrote: Kostik Belousov wrote: On Wed, May 26, 2010 at 11:23:02AM -0500, Alan Cox wrote: Garrett Cooper wrote: Just reporting the fact that nvidia-driver 195.22 is horribly broken between r206173 and r208486 (my machine

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-26 Thread Ryan Stone
I'm by no means an expert in this area, but isn't removing the locking on free a bad thing? Looking at the code, it seems that vm_page_unwire() only requires the page to be locked if it is managed. As it was acquired by contigmalloc, the page should be unmanaged so that should be ok. I am

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-26 Thread Alan Cox
On 5/26/2010 2:56 PM, Ryan Stone wrote: I'm by no means an expert in this area, but isn't removing the locking on free a bad thing? Looking at the code, it seems that vm_page_unwire() only requires the page to be locked if it is managed. As it was acquired by contigmalloc, the page

nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-25 Thread Garrett Cooper
Just reporting the fact that nvidia-driver 195.22 is horribly broken between r206173 and r208486 (my machine consistency livelocks at X11 startup); the latest driver is still broken as well with the same symptoms. I realize that's a huge revision difference, and I'll definitely try and track

Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and

2010-05-25 Thread Vrachnis Ilias-Dimitrios
On 05/26/2010 12:00 AM, Garrett Cooper wrote: Just reporting the fact that nvidia-driver 195.22 is horribly broken between r206173 and r208486 (my machine consistency livelocks at X11 startup); the latest driver is still broken as well with the same symptoms. I realize that's a huge