[Bug 172381] New: nouveau kernel module leaks memory on hibernate.

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Sep 20 22:33:23 UTC 2016


https://bugzilla.kernel.org/show_bug.cgi?id=172381

            Bug ID: 172381
           Summary: nouveau kernel module leaks memory on hibernate.
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.8rc6
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri at kernel-bugs.osdl.org
          Reporter: me at hussam.eu.org
        Regression: No

On hibernate, it seems that nouveau pushes vram into physical ram instead of
swap (possibly on the assumption that it is going to be swaped to disk on
hibernation).
In my case, I have 4GB physical ram and vram = 2GB.
   - Hibernate only works if amount of physical ram in use is less than 2G (4 -
2 = 2), otherwise I get an "error -12 creating hibernation image" "PM: Not
enough free memory".
   - If hibernate works, on resume, vram is not freed from physical memory.
rmmoding nouveau frees 500+ MB of physical ram.
   - So far, I have reproduced this on kernels 4.4 to 4.8rc6 (I have not
attempted older kernels).
   - Cards tested are 630GT (fermi) and 730GT (kepler).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list