View previous topic :: View next topic |
Author |
Message |
TheComet n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Apr 2015 Posts: 15
|
Posted: Wed Dec 07, 2016 12:22 pm Post subject: Memory leaks in nvidia driver |
|
|
I am unsure who to contact or where to report, so I'll start here. Maybe you can refer me.
On my journey to learning the vulkan API I have discovered memory leaks in my graphics driver. See this thread for details on how to reproduce it:
https://forums.khronos.org/showthread.php/13307-Memory-leaks-in-vulkan?p=41530
A quick summary: I do the simplest thing possible, namely create and immediately destroy a vulkan instance. By keeping track of malloc() and free() calls I noticed that 45 calls to malloc() cannot be matched to their respective calls to free(). Further, by creating two instances (instead of one) and then destroying them again, I find that the memory leak count remains at 45 instead of going up to the expected 90. This tells me that there must be some kind of global state not being cleaned up.
A report of each leak with backtraces can be found here: http://pastebin.com/td5iX7Z0
I have reproduced this issue on two separate machines, both running gentoo linux.
System 1: nVidia GTX 580 using x11-drivers/nvidia-drivers-375.20-r1, kernel 4.4.26, x86_64
System 2: nVidia GT 520M using x11-drivers/nvidia-drivers-375.20-r1, kernel 4.4.21, x86_64
A second person has reproduce the issue (see thread) on his W10 machine with no leaks.
Who can I report this to? How can I help fix this? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
roarinelk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/838331152404721ec919a4.jpg)
Joined: 04 Mar 2004 Posts: 520
|
Posted: Wed Dec 07, 2016 4:50 pm Post subject: |
|
|
Write a mail with detailed steps on how to reproduce it to linux-bugs@nvidia.com and/or post in [1]
The nvidia devs don't respond immediately, but they usually do respond eventually.
[1] https://devtalk.nvidia.com/default/board/98/linux |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|