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@xxxxxxxxxxxxxxxxxxxx Reporter: me@xxxxxxxxxxxxx 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. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel