|
|
#1 | |
|
Registered User
Join Date: Aug 2008
Posts: 47
|
I seem to be seeing a slow memory leak in the nvidia drivers, as far back as some of the 169's iirc. I've been running KDE 4.1 and svn-trunk for a while now, and have noticed X continually eats up more and more memory, and won't free any of it till X is fully restarted. I end up with X using 800MB+ Virt, and 300-400MB RES ram, and restarting KDE didn't help, I had to CTRL+ALT+BS or use the kdm restart script to get the memory back (even though no X apps besides kdm were running, X wouldn't free most of its used ram).
I've attached a compressed nvidia bug log if it helps any (generated after running for a little while, after restarting X) edit: if theres a better way to help diagnose it, running extra programs, let me know ![]() edit2: forgot to mention, I'm currently running the 177.70 drivers and seen the same thing with the 67 and 68 drivers. |
|
|
|
|
|
|
#2 | |
|
Gentoo Linux addict
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
|
confirmed !
I've seen this kind of behavior, too you see it most obviously if you're running an compositing-manager (compiz(-fusion), kwin of kde4, ...) for a very long time with loads of animations (open-, close-animation, etc.) then the resource usage e.g. will go up from RES: 107m -> 178m switching to a non-compositing window-manager makes it somewhat better but this isn't an option if you're dependent on compositing, also re-launching compiz doesn't help the only "solution" so far seems to be to kill X and/or restart X and unload and reload the nvidia module then it's as fast as from the start ![]() any ideas from the nvidia-developers; AaronP, ... ? can you reproduce this ? many thanks in advance ![]()
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming) ![]() gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN) gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1) Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330 |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Aug 2008
Posts: 84
|
I'm seeing the same thing, although I don't know exactly when it started.
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Sep 2008
Posts: 44
|
the problem went away for me after disabling vsync and using a correct value for pixmapcachesize.
|
|
|
|
|
|
|
#5 | |
|
Gentoo Linux addict
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
|
Quote:
many thanks in advance ![]()
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming) ![]() gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN) gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1) Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330 |
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Sep 2008
Posts: 44
|
oh and i forgot something, i also added this to my "/etc/X11/xinit/xinitrc"
Code:
export QT_NO_GLIB=1 nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1 correct pixmapcachesize i mean the following: lots of ppl suggest various settings for it, for example 2000000, i used that, but then i thought.. hmm isnt that too high for my 128 mb ram? so im using 70000 now, and this is much better. initialpixmapplacement=2 does the following: it trys to fill your video ram before it touches your systemram, so _maybe_ if you set the pixmapcachesize higher than your videoram (in conjunction with pixmapplacement=2) , after some while it starts to fill up your systemram to, but just forgets too release it again, so that the memory usage is slowly growing.... i have no clue if this is right or whatsoever maybe im completely wrong even at the basics... |
|
|
|
|
|
|
#7 | ||
|
Gentoo Linux addict
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
|
Quote:
oh, don't bother ![]() I'll give it a try & let you guys know if it helps if it improves things you were on the right track Quote:
thanks ![]()
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming) ![]() gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN) gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1) Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330 |
||
|
|
|
|
|
#8 |
|
Registered User
Join Date: Sep 2008
Posts: 44
|
ya i meant seventy thousand(70.000), but i found another typo, i didnt mean 2.000.000 , i meant 200.000
![]() |
|
|
|
|
|
#9 |
|
Registered User
Join Date: Aug 2008
Posts: 84
|
So how do you determine the appropriate pixmapcachesize for a given amount of video RAM?
|
|
|
|
|
|
#10 |
|
Gentoo Linux addict
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
|
ok, @nvidia:
after 14 hours and more of operation with compiz-fusion and disabled animations it only consumed 10 mb more 107 -> 117 mb so there definitely seems to be a direct correlation between consumed memory and amount&time animations in the compositing window-manager was used ![]() ![]()
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming) ![]() gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN) gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1) Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330 |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NVIDIA Drivers Receive Windows 8 Certification | News | Latest Tech And Game Headlines | 0 | 06-01-12 05:30 AM |
| Radeon 9700 not all that? | sancheuz | Other Desktop Graphics Cards | 200 | 10-12-02 09:31 PM |
| Nvidia Stereo Drivers | Soudontsay | NVIDIA Windows Graphics Drivers | 2 | 08-26-02 10:48 AM |
| nvidia drivers in a motherboard with AGP 1.0 (motherboard MVP3+) | knocker | NVIDIA Linux | 1 | 08-19-02 01:57 AM |
| NVIDIA 2960 Drivers & RH 7.3 W/2.4.18-5 | XASCompuGuy | NVIDIA Linux | 6 | 08-02-02 11:53 AM |