xorg memory leak

Bug #726268 reported by Marco
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-180 (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-180 (openSUSE)
New
Undecided
Unassigned

Bug Description

Binary package hint: xorg

i'm using kde 4.6.0 with nvidia 270.29 and my xorg process take 795,2 mega of RAM...i suspect to have memory leak

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6~3ubuntu8
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] È una directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 270.29 Wed Feb 23 16:18:35 PST 2011
 GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-3ubuntu3)
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: kwin
Date: Sun Feb 27 23:46:54 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: kubuntu
DkmsStatus: nvidia-current, 270.29, 2.6.38-5-generic, x86_64: installed
GconfCompiz:

GraphicsCard:
 nVidia Corporation G96 [GeForce 9600M GT] [10de:0649] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Device [1025:015e]
MachineType: Acer Aspire 6930G
ProcEnviron:
 LANGUAGE=it_IT
 LANG=it_IT.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-5-generic root=UUID=6ee0db09-7b6a-4c19-a436-f2f961fe672c ro quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: xorg
dmi.bios.date: 07/28/2009
dmi.bios.vendor: Acer
dmi.bios.version: v0.3238
dmi.board.name: Makalu
dmi.board.vendor: Acer
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: Acer
dmi.chassis.type: 1
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAcer:bvrv0.3238:bd07/28/2009:svnAcer:pnAspire6930G:pvrNotApplicable:rvnAcer:rnMakalu:rvrNotApplicable:cvnAcer:ct1:cvrN/A:
dmi.product.name: Aspire 6930G
dmi.product.version: Not Applicable
dmi.sys.vendor: Acer
peripherals:

version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1~git20110215.cc1636b6-0ubuntu2
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu8
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu11
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu5

Revision history for this message
Marco (0m3g4) wrote :
bugbot (bugbot)
affects: xorg (Ubuntu) → nvidia-graphics-drivers-180 (Ubuntu)
Revision history for this message
Uros Dukanac (dukiii) wrote :

Just to confirm that i have same problem: OpenSuse 11.4 64 bit, NVidia drivers 270.41.06-5.1

Here is an output for 5 days of standard usage:

XOrg: 29436K / 75625K / 241952K / 313420K / 371412K
Plasma desktop: 29788K / 81688K / 88208K / 89252K /93828K
Kwin: 31188K / 36984K / 37708K /50812K / 58028K

Even if I do nothing at all allocated memory gets bigger. I'm using NVidia drivers 270.41... provided via Yast repositories. When I logout or restart system memory usage drops to~25000K, but after 3 - 4 days it gets too slow to work with, even with 8GB RAM on 6 core CPU.

These processes listed, after 3 days, are the top memory consumers.

Revision history for this message
frEEk (jknopp) wrote :

I'm experiencing similar symptoms with a partially same setup.
Nvidia 9600GS with current (270) driver. xorg process starts out about 200M but steadily climps and after a day or 2 hits a gig. Unfortunately if I then run out of memory, xorg is targetted by the kernel for a kill and I lose my session.
Previous to 11.04, if i ran out of ram it would kill Firefox or some other application, and leave my session running. I can only assume that the reason for xorg being targeted is the amount of memory it is using (ideally the kernel should pop up a dialogue under memory limit conditions giving the opportunity to decide which app to kill... or at least know that x isn't a good choice).
Suffice it to say, this is a rather destructive bug. I don't much like losing work due to an X session ending.

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: New → Confirmed
Revision history for this message
Liviu Mirea (liviu-mirea) wrote :

I'm having the same problem on Ubuntu 11.04 64b with Gnome 2 and the proprietary nVidia drivers for a nVidia 9600 GT. I've also tried the latest nVidia and X versions from the xorg-edgers PPA, but to no avail. The Xorg process starts at ~50MB and after a while it randomly jumps to 500-700MB in a matter of minutes. There doesn't seem to be a certain program that causes it. Closing all of my programs doesn't solve anything, but a log-out does (I'm guessing it restarts the X server). I'll be happy to post any logs if someone is interested.

Revision history for this message
tangboyun (tangboyun) wrote :

Same problem on Kubuntu 11.10 64bit.
Nvidia Go7400 with current (280.13) driver.
The Xorg process takes up 700~800MB memory after a few hours.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.