From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 78366] New: [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore) Date: Wed, 07 May 2014 01:45:25 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0801382441==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4EA166E328 for ; Tue, 6 May 2014 18:45:25 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0801382441== Content-Type: multipart/alternative; boundary="1399427125.CE5CB87C0.7379"; charset="us-ascii" --1399427125.CE5CB87C0.7379 Date: Wed, 7 May 2014 01:45:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=78366 Priority: medium Bug ID: 78366 Assignee: dri-devel@lists.freedesktop.org Summary: [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore) Severity: major Classification: Unclassified OS: Linux (All) Reporter: vallesroc@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: 10.1 Component: Drivers/Gallium/r600 Product: Mesa A long time ago (months? over a year?), I used to have this issue where mesa would cause the system to leak memory over time by just idling or browsing the web (kde, firefox) and at some point (just hours) it'd be bad enough (on 8GB RAM) that over 4GB swap would be used and system would be really slow because of that. Sorting processes by ram usage (on eg: top) would show no culprits; the memory was being leaked kernelside. Not even restarting X would fix the problem: A reboot was always necessary. The issue disappeared once I started building mesa with LLVM support... until now. 10.1.2 disables LLVM for RV770, which among other things fixes games such as DOTA2, but the problem is suddenly back, making me pretty sure it's linked to not using LLVM's shader compiler (or same thing, has to do with how shaders are compiled without LLVM). -- You are receiving this mail because: You are the assignee for the bug. --1399427125.CE5CB87C0.7379 Date: Wed, 7 May 2014 01:45:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 78366
Assignee dri-devel@lists.freedesktop.org
Summary [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore)
Severity major
Classification Unclassified
OS Linux (All)
Reporter vallesroc@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version 10.1
Component Drivers/Gallium/r600
Product Mesa

A long time ago (months? over a year?), I used to have this issue where mesa
would cause the system to leak memory over time by just idling or browsing the
web (kde, firefox) and at some point (just hours) it'd be bad enough (on 8GB
RAM) that over 4GB swap would be used and system would be really slow because
of that.

Sorting processes by ram usage (on eg: top) would show no culprits; the memory
was being leaked kernelside. Not even restarting X would fix the problem: A
reboot was always necessary.

The issue disappeared once I started building mesa with LLVM support... until
now.

10.1.2 disables LLVM for RV770, which among other things fixes games such as
DOTA2, but the problem is suddenly back, making me pretty sure it's linked to
not using LLVM's shader compiler (or same thing, has to do with how shaders are
compiled without LLVM).


You are receiving this mail because:
  • You are the assignee for the bug.
--1399427125.CE5CB87C0.7379-- --===============0801382441== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0801382441==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 78366] [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore) Date: Wed, 07 May 2014 09:04:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0555668333==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EAFFB6E4AF for ; Wed, 7 May 2014 02:04:08 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0555668333== Content-Type: multipart/alternative; boundary="1399453447.0a66631.25141"; charset="us-ascii" --1399453447.0a66631.25141 Date: Wed, 7 May 2014 09:04:07 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D78366 --- Comment #1 from Michel D=C3=A4nzer --- (In reply to comment #1) > Sorting processes by ram usage (on eg: top) would show no culprits; the > memory was being leaked kernelside. Not even restarting X would fix the > problem: A reboot was always necessary. That would be a kernel bug then. But it's hard to imagine how that could on= ly be triggered without LLVM... BTW, you can still enable LLVM via the environment variable R600_LLVM=3D1 or R600_DEBUG=3Dllvm. --=20 You are receiving this mail because: You are the assignee for the bug. --1399453447.0a66631.25141 Date: Wed, 7 May 2014 09:04:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 1 on bug 78366<= /a> from Michel D=C3=A4nzer
(In reply to comment #1=
)
> Sorting processes by ram usage (on eg: top) woul=
d show no culprits; the
> memory was being leaked kernelside. Not even restarting X would fix the
> problem: A reboot was always necessary.

That would be a kernel bug then. But it's hard to imagine how that could on=
ly
be triggered without LLVM...

BTW, you can still enable LLVM via the environment variable R600_LLVM=3D1 or
R600_DEBUG=3Dllvm.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1399453447.0a66631.25141-- --===============0555668333== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0555668333==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 78366] [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore) Date: Mon, 12 May 2014 05:09:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1317410501==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 22A516E3AB for ; Sun, 11 May 2014 22:09:57 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1317410501== Content-Type: multipart/alternative; boundary="1399871397.C50Fc0.28163"; charset="us-ascii" --1399871397.C50Fc0.28163 Date: Mon, 12 May 2014 05:09:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D78366 Roc Vall=C3=A8s Dom=C3=A8nech changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NOTOURBUG --- Comment #2 from Roc Vall=C3=A8s Dom=C3=A8nech --- After trying with older mesa/llvm and experimenting around, I've figured out it's not the same thing I used to have. Apparently, memory is recovered by closing Firefox. Top doesn't show it usi= ng that much memory, but it somehow does in less traceable ways. Damn firefox 29... I'm seriously considering moving to chromium now. Closing this bug. --=20 You are receiving this mail because: You are the assignee for the bug. --1399871397.C50Fc0.28163 Date: Mon, 12 May 2014 05:09:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Roc Vall=C3=A8s Dom=C3=A8nech changed bug 78366<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- NOTOURBUG

Comment= # 2 on bug 78366<= /a> from Roc Vall=C3=A8s Dom=C3=A8nech
After trying with older mesa/llvm and experimenting around, I'=
ve figured out
it's not the same thing I used to have.

Apparently, memory is recovered by closing Firefox. Top doesn't show it usi=
ng
that much memory, but it somehow does in less traceable ways.

Damn firefox 29... I'm seriously considering moving to chromium now.

Closing this bug.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1399871397.C50Fc0.28163-- --===============1317410501== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1317410501==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 78366] [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore) Date: Mon, 12 May 2014 14:43:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0625969870==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C0ACB6E8CF for ; Mon, 12 May 2014 07:43:04 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0625969870== Content-Type: multipart/alternative; boundary="1399905784.2cdF201.14895"; charset="us-ascii" --1399905784.2cdF201.14895 Date: Mon, 12 May 2014 14:43:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=78366 --- Comment #3 from Alex Deucher --- (In reply to comment #2) > > Apparently, memory is recovered by closing Firefox. Top doesn't show it > using that much memory, but it somehow does in less traceable ways. Server side resources: http://www.freedesktop.org/wiki/Software/xrestop/ -- You are receiving this mail because: You are the assignee for the bug. --1399905784.2cdF201.14895 Date: Mon, 12 May 2014 14:43:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 78366 from
(In reply to comment #2)
> 
> Apparently, memory is recovered by closing Firefox. Top doesn't show it
> using that much memory, but it somehow does in less traceable ways.

Server side resources:
http://www.freedesktop.org/wiki/Software/xrestop/


You are receiving this mail because:
  • You are the assignee for the bug.
--1399905784.2cdF201.14895-- --===============0625969870== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0625969870==--