nvidia binary driver leaks vram like crazy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-331 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-346 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Using the nvidia-smi tool, you can see how much VRAM the binary driver is using for the card. However, with the current latest driver in Ubuntu 14.10, the results aren't good. Just using desktop apps (no OpenGL apart from what Unity and Chrome naturally use), and the driver has consumed over a GB of VRAM:
graeme@galvatron:~⟫ sudo nvidia-smi
[sudo] password for graeme:
Fri Jan 9 11:58:06 2015
+------
| NVIDIA-SMI 331.38 Driver Version: 331.38 |
|------
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|======
| 0 GeForce GTX 570 Off | 0000:01:00.0 N/A | N/A |
| 40% 43C N/A N/A / N/A | 1047MiB / 1279MiB | N/A Default |
+------
+------
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|======
| 0 Not Supported |
+------
However, you can tell that this is caused by some sort of driver leak, since if you jump to the fb console with ctl-alt-f1, and then alt-tab back to X, the VRAM usage drops dramatically:
graeme@galvatron:~⟫ sudo nvidia-smi
Fri Jan 9 11:58:27 2015
+------
| NVIDIA-SMI 331.38 Driver Version: 331.38 |
|------
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|======
| 0 GeForce GTX 570 Off | 0000:01:00.0 N/A | N/A |
| 40% 45C N/A N/A / N/A | 483MiB / 1279MiB | N/A Default |
+------
+------
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|======
| 0 Not Supported |
+------
The upshot of this is that, right now, I have to dump to the fb console and back before using any OpenGL apps, or they often fail with OpenGL memory allocation errors.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: nvidia-331 331.38-0ubuntu7
ProcVersionSign
Uname: Linux 3.16.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jan 9 12:01:56 2015
SourcePackage: nvidia-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
tags: |
added: vivid removed: utopic |
This version has expired