New: start X with nouveau uses a lot of memory
http://bugs.freedesktop.org/show_bug.cgi?id=14922
Summary: start X with nouveau uses a lot of memory
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Created an attachment (id=14985)
--> (http://bugs.freedesktop.org/attachment.cgi?id=14985)
some tests
I compared memory usage between nouveau and the blob : when I start with nouveau, it uses ~500M more than with the other. But I can't find where this memory is gone. No process in the userspace seems to have used it.
When I kill X, I get my memory back. See the attachment for some figures.
videocard : 7800 GS AGP (256 Mo)
Kernel : 2.6.24-gentoo-r2
X: 1.4.0.90 plus some patches (I'm an gentoo user : 1.4.0.90-r3) libdrm, x11-drm, mesa, nouveau from git (last build : 09/03/08 in the morning)
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
A message that is not in the archive (sent off-list or not yet received): bug-14922-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 14922] start X with nouveau uses a lot of memory
http://bugs.freedesktop.org/show_bug.cgi?id=14922
--- Comment #1 from Olivier Huber <[email protected]> 2008-03-15 04:26:46 PST --- I found that this memory was the AGP Aperture. I check my bios, and it was set
to 512 Mo. So I set it to 128 and my memory usage has decrease (see attachment
for details).
I have checked that this memory is seen by the kernel as used by creating a big file in ram :
dd if=dev/zero of =/var/tmp/portage/test bs=400M and it begins to swap. (/var/tmp/portage/ is mount in tmpfs)
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14922] start X with nouveau uses a lot of memory
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14922
Eric Smith <eric225125-/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eric225125-/[email protected]
--- Comment #2 from Eric Smith <eric225125-/[email protected]> 2008-07-03 09:49:40 PST --- I also have this problem with my 6800gt. Is this the correct behaviour of AGP
Aperture? Isn't it supposed to only used memory as needed?
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 14922] start X with nouveau uses a lot of memory
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=14922
Stephane Marchesin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #3 from Stephane Marchesin <[email protected]> 2008-07-17 16:10:10 PST --- Yes it's proper behaviour. You can map lots of memory, that doesn't always mean
you're using it, or even that it's allocated.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.