All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 78366] New: [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore)
@ 2014-05-07  1:45 bugzilla-daemon
  2014-05-07  9:04 ` [Bug 78366] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2014-05-07  1:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1501 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 2833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 78366] [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore)
  2014-05-07  1:45 [Bug 78366] New: [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore) bugzilla-daemon
@ 2014-05-07  9:04 ` bugzilla-daemon
  2014-05-12  5:09 ` bugzilla-daemon
  2014-05-12 14:43 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2014-05-07  9:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 621 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78366

--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
(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 only
be triggered without LLVM...

BTW, you can still enable LLVM via the environment variable R600_LLVM=1 or
R600_DEBUG=llvm.

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

[-- Attachment #1.2: Type: text/html, Size: 1585 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 78366] [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore)
  2014-05-07  1:45 [Bug 78366] New: [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore) bugzilla-daemon
  2014-05-07  9:04 ` [Bug 78366] " bugzilla-daemon
@ 2014-05-12  5:09 ` bugzilla-daemon
  2014-05-12 14:43 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2014-05-12  5:09 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 870 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78366

Roc Vallès Domènech <vallesroc@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #2 from Roc Vallès Domènech <vallesroc@gmail.com> ---
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 using
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:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2543 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 78366] [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore)
  2014-05-07  1:45 [Bug 78366] New: [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore) bugzilla-daemon
  2014-05-07  9:04 ` [Bug 78366] " bugzilla-daemon
  2014-05-12  5:09 ` bugzilla-daemon
@ 2014-05-12 14:43 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2014-05-12 14:43 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 429 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78366

--- Comment #3 from Alex Deucher <agd5f@yahoo.com> ---
(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.

[-- Attachment #1.2: Type: text/html, Size: 1484 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-12 14:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-07  1:45 [Bug 78366] New: [r600g] Memory leak desktop usage RV770 (HD4850) with 10.1.2 (related to not using LLVM anymore) bugzilla-daemon
2014-05-07  9:04 ` [Bug 78366] " bugzilla-daemon
2014-05-12  5:09 ` bugzilla-daemon
2014-05-12 14:43 ` bugzilla-daemon

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.