I've tried building Mesa-git 31f1863ace73d31a579e5c36252a957818ad09cf, and when I run KDE Plasma 5.8 session, it shows that about 4 Gigabytes of RAM is used. Memory isn't freed if I shut down KDE session and kill display manager, the only way to get it back is rebooting. IceWM session works fine. With Mesa-git of July 22nd memory footprint in KDE was about 600 megabytes. Distro: openSUSE 42.2 Hardware: AMD RX480
There was a leak introduced with bbc29393d3beaf6344c7188547b4ff61b63946ae which was be resolved by 914f11e75b8ebe8a0faab76ce25fe185ab580eee. Can you give that a try?
(In reply to Emil Velikov from comment #1) > There was a leak introduced with bbc29393d3beaf6344c7188547b4ff61b63946ae > which was be resolved by 914f11e75b8ebe8a0faab76ce25fe185ab580eee. > > Can you give that a try? Tried building the 914f11e75b8ebe8a0faab76ce25fe185ab580eee, looks like it's not the case, memory usage is still ridiculously high. Btw, i noticed that KDE starts really slow, and there is unusually much disk activity. Maybe it's somehow related to on-disk shader cache?
Hi all, I also have this issue, and I have bisected it to the commit Emil mentions, but I can confirm that the suggested fix doesn't work. Thanks, Sarnex
https://patchwork.freedesktop.org/patch/169225/ fixes it for Nick.
Thanks for the report, should be fixed in Git: Module: Mesa Branch: master Commit: 57132d126f2e129fc2959dcc2c0a8126389d07ba URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=57132d126f2e129fc2959dcc2c0a8126389d07ba Author: Michel Dänzer <michel.daenzer@amd.com> Date: Thu Jul 27 11:12:24 2017 +0900 st/mesa: Fix inversed test in st_api_destroy_drawable
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.