Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2019 21:35:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238698] x11/nvidia-driver: mem leak
Message-ID:  <bug-238698-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238698

            Bug ID: 238698
           Summary: x11/nvidia-driver: mem leak
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

Looks like mem leak in x11/nvidia-driver, x11/nvidia-driver-340.
Then slim launch xorg it consume 6 gb (top: SIZE) with x11/nvidia-driver an=
d 3
gb with x11/nvidia-driver-340.
On same config with amdgpu and scfb 100-300mb.

FreeBSD rimwks 12.0-STABLE FreeBSD 12.0-STABLE #0 r346795M: Sun Apr 28 01:4=
3:38
MSK 2019     root@rimwks:/usr/obj/usr/src/amd64.amd64/sys/RIM_WKS  amd64
xorg-server-1.19.6_11,1

I already try with generic kernel and with empty device settings:
Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
EndSection


Now on my desktop:
nvidia-smi
Wed Jun 19 00:31:39 2019=20=20=20=20=20=20=20
+--------------------------------------------------------------------------=
---+
| NVIDIA-SMI 390.87                 Driver Version: 390.87                 =
   |
|-------------------------------+----------------------+-------------------=
---+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. E=
CC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute =
M. |
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D|
|   0  GeForce GT 1030     Off  | 00000000:2D:00.0  On |                  N=
/A |
| 32%   43C    P0    N/A /  30W |    939MiB /  1992MiB |      4%      Defau=
lt |
+-------------------------------+----------------------+-------------------=
---+

+--------------------------------------------------------------------------=
---+
| Processes:                                                       GPU Memo=
ry |
|  GPU       PID   Type   Process name                             Usage   =
   |
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D|
|    0      1444      G   /usr/local/bin/mpv                            13M=
iB |
|    0     37232      G   /usr/local/lib/firefox/firefox                 7M=
iB |
|    0     48627      G   /usr/local/bin/mpv                            15M=
iB |
|    0     51747      G   /usr/local/bin/mpv                            15M=
iB |
|    0     66792      G   /usr/local/lib/firefox/firefox                 1M=
iB |
|    0     77564      G   /usr/local/bin/Xorg                          847M=
iB |
|    0     95186      G   /usr/local/bin/mpv                            13M=
iB |
+--------------------------------------------------------------------------=
---+


last pid: 29609;  load averages:  0.82,  0.76,  0.75=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
    up 37+22:47:24  00:28:31
153 processes: 1 running, 151 sleeping, 1 zombie
CPU:  2.1% user,  0.0% nice,  1.1% system,  0.0% interrupt, 96.8% idle
Mem: 1962M Active, 7144M Inact, 5923M Laundry, 12G Wired, 1550M Buf, 4495M =
Free
Swap: 64G Total, 20G Used, 44G Free, 31% Inuse, 156K In

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMM=
AND
77564 root          2  20  -15    25G   463M select  15  17.2H   1.87% Xorg

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238698-7788>