All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 172381] New: nouveau kernel module leaks memory on hibernate.
Date: Tue, 20 Sep 2016 22:33:23 +0000	[thread overview]
Message-ID: <bug-172381-2300@https.bugzilla.kernel.org/> (raw)

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

                 reply	other threads:[~2016-09-20 22:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-172381-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.