|
|
#1 | |
|
Registered User
Join Date: Oct 2007
Posts: 5
|
Hi, I'm running Xorg 7.3 with the new 100.14.19 driver, on the recently-branched RELENG_7. I noticed that the nvidia driver seems to be slowly but surely leaking kernel memory. Currently, with a 2-day uptime and not really anything running:
$ vmstat -m | grep nvidia nvidia 2314 69111K - 534373 16,32,64,128,256,512,1024,2048,4096 Up from about 8MB when the system was first booted. If it goes long enough, it will grow to upwards of 100MB. Sometimes during heavy OpenGL use it will burst upwards of 150MB (but go back down afterward). Eventually it bursts high enough that I suffer a kmem_map too small panic. I'm not sure if this started with 100.14.19, or if I just happened to be paying more attention to kernel memory due to my work with tuning ZFS (which is very kmem-intensive). The burst allocations during intensive use make sense, but it seems like sometimes when a process exits not all of its resources are being freed. Simple OpenGL apps like xscreensaver are OK, but I can provoke the behavior easily by running games in Wine -- every successive launch / exit cycle eats more memory. Is anyone else experiencing this? |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Oct 2007
Posts: 5
|
I run the same setup, my uptime is 12 days at the moment.
Everything works as it should, after applying this patch. http://www.nvnews.net/vbulletin/showthread.php?t=99604 I can play Lincity, Xmoto and Scorched3D simultaniously, and never use more than +/- 64 MB. However, Wine gives me regular headaches, too. |
|
|
|
|
|
|
#3 | |
|
Registered User
Join Date: Oct 2007
Posts: 5
|
Quote:
![]() After some further testing it does seem to be just Wine that I encounter the issue with. Running WoW, logging in, and exiting in a loop causes the memory usage to rise steadily. Apparently something is not releasing all its resources, becuase I noticed that I was unable to kldunload nvidia after stopping the X server. I normally can do that even after having used X for a while, as long as I stop everything first. Is there any way to get a debug dump of what resources the nvidia driver is holding and what process it thinks they're associated with? |
|
|
|
|
|
|
#4 | |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
What's the best way to get wine setup on FreeBSD 7.x?
|
|
|
|
|
|
|
#5 | |
|
Registered User
Join Date: Jan 2004
Posts: 53
|
Quote:
cd /usr/ports/emulators/wine make clean install && make clean winecfg (mainly to configure the audio to use OSS) This should be enough to run software such as Pharaoh. ![]() Is this all you need? |
|
|
|
|
|
|
#6 | |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
@Harvey Pooka: I think so, yes. Thanks for the pointers.
@cb1: does the problem only reproduce with WoW or with other Windows applications, as well? |
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Oct 2007
Posts: 5
|
@Harvey Pooka: Yes, that's exactly what I'm doing. Tweaked a few sound options in winecfg but that's it.
@zander: Well I'm not currently running any other Windows applications with it, but will see what I can set up to test it with. Do you mean specifically OpenGL using apps or any app at all? |
|
|
|
|
|
#8 |
|
Registered User
Join Date: Oct 2007
Posts: 5
|
Well shoot. I made the mistake of upgrading to the latest version of wine, and now i can't reproduce the problem anymore
![]() wine-0.9.47,1 works fine 0.9.44,1 is what I had before. I think I'll try rolling back to that, as just because wine isn't tickling it doesn't mean that it's not still there. |
|
|
|
|
|
#9 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
@cb1: I meant any readily available Windows application that's simple to install and doesn't need a user account, etc., to run.
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... | interzoneuk | NVIDIA Linux | 0 | 06-26-12 04:51 AM |
| xorg locks-up with newest nvidia drivers w/ vdpau. | theroot | NVIDIA Linux | 1 | 06-24-12 11:04 AM |
| Nvidia driver stopped working after X restart and Kernel taint msgs during boot | mikejuni | NVIDIA Linux | 10 | 05-21-12 08:30 PM |
| Lucid rt kernel can't load latest nvidia driver module, but generic does. | marcod | NVIDIA Linux | 0 | 05-02-12 06:23 AM |
| Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) | Katchina404 | NVIDIA Linux | 9 | 01-12-03 08:49 AM |