|
|
#1 | |
|
Registered User
Join Date: Sep 2009
Posts: 57
|
Hi,
I am using an ION platform running ubuntu 9.10 and driver version 256.35 to decode an H.264 encoded file repeatedly, running top shows the total system memory used creeping up slowly at a rate of about 8 meg per 15 minutes or so. I suspect that this is being chewed up by XOrg although I cant say for sure. I also tested with mplayer VDPAU patched version 4789364 and the results are the same. Without any video playing, the total system memory looks to be stable. I updated xorg-server package and current version is 2:1.6.4-2ubuntu4.3. Has anybody else seen this problem? Thanks |
|
|
|
|
|
|
#2 | |
|
FFmpeg developer
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
|
|
|
|
|
|
|
|
#3 | |
|
Registered User
Join Date: Sep 2009
Posts: 57
|
Quote:
http://ubuntuforums.org/showthread.php?t=1478329 http://numberedhumanindustries.wordp...fedoras-fault/ http://us.generation-nt.co/help/bug+...s+nv+xaa+c/?or |
|
|
|
|
|
|
#4 | |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
seaweed,
You don't mention what application you're seeing this problem in. Is it a custom application? When you see the repro in MPlayer, can you describe your display configuration, and also provide a bug report? You mentioned that Xorg grows in size. Do you have a compositing manager active? Xorg shouldn't be involved if not. If you do, could you try disabling it, and seeing if that solves the problem? Thanks. |
|
|
|
|
|
|
#5 | |
|
Registered User
Join Date: Sep 2009
Posts: 57
|
Quote:
|
|
|
|
|
|
|
#6 | |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
seaweed, sorry for the slow response. I'll try to repro the issue today or tomorrow.
Note: I took a look at those links you posted. I don't think any of them are relevant to this issue. The first link seems to be a random "I think have a memory leak" post, and I didn't see any particular common source nor mention of the NVIDIA driver. The 2nd is a core X server issue outside of NVIDIA's control. The 3rd is just a list of bugs from a search, and I think the first entry is the same thing as your 2nd link, and the others didn't seem related. |
|
|
|
|
|
|
#7 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
seaweed, I believe I've repro'd your problem; on my ION using MPlayer, /proc/meminfo's MemFree went from ~600M to ~300M overnight.
Can you confirm the following: * Using xrandr or nvidia-settings to change your video resolution doesn't free the leaked memory. * What about if you VT-switch away? * What about if you log out of X? * Killing the X server does free the leaked memory. Thanks. |
|
|
|
|
|
#8 |
|
FFmpeg developer
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
|
|
|
|
|
|
|
#9 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
Carl, the test I performed ran MPlayer for about 2 seconds at a time, and then exited MPlayer and restarted it completely. This isn't a memory leak in MPlayer.
|
|
|
|
|
|
#10 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
seaweed,
What desktop environment are you using (and please can you supply a bug report which will include e.g. OS details etc.)? I believe I repro'd your problem under Gnome. However, the problem also repros simply running xclock or glxgears for 1s at a time many times. Finally, it didn't repro on a bare X server. Can you try you application running just plain X and maybe a simple window manager and see if your problem goes away? Thanks. |
|
|
|
|
|
#11 | ||||
|
Registered User
Join Date: Sep 2009
Posts: 57
|
Quote:
Quote:
Quote:
Quote:
By the way, driver version 256.53 fixes a kernel memory leak, is that anyway related to what we are seeing? |
||||
|
|
|
|
|
#12 | ||
|
Registered User
Join Date: Sep 2009
Posts: 57
|
Quote:
xorg version : xorg-server 2:1.6.5+git20091107+server-1.6-branch.2dbcb06a-0ubuntu0sarvatt~karmic NVIDIA Driver version: 256.44 I ran the following script for about an hour #!/bin/bash while true; do glxgears -fullscreen & sleep 2 xkill -id $(xwininfo -name glxgears | grep "Window id" | cut -d' ' -f4) done Here is the results: before running script, with x running (all in MB): used : free: total: 44480 1494828 1539308 After running script, with x running : used : free: total: 544201 995107 1539308 After exiting to console: used : free: total: 544201 995107 1539308 After killing X: used : free: total: 454201 1085107 1539308 After restarting X: used : free: total: 507776 1031532 1539308 Quote:
|
||
|
|
|
![]() |
| Thread Tools | |
|
|