Announcement

Collapse
No announcement yet.

xorg-server memory leak

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    xorg-server memory leak

    If your lucid has been slowing down and become sluggish lately (like mine) this may be the reason:

    http://www.phoronix.com/scan.php?pag...item&px=ODE3MA

    With a partial fix here:

    https://wiki.ubuntu.com/X/Testing/GEMLeak


    Hope this is useful
    HP Pavilion dv6 core i7 (Main)
    4 GB Ram
    Kubuntu 18.10

    #2
    Re: xorg-server memory leak

    At first blush, this would appear to explain what I have been seeing and the timing seems appropriate. Only when I look at the finer details of the problem including the troubleshooting that is being asked, it would appear that this is an issue around compositing. For some reason I am not allowed to run with compositing on -- I just assume it's my older hardware. But this, I think, would preclude me from the testing of this particular bug fix as well as suggesting that I have a separate problem, would it not?

    Comment


      #3
      Re: xorg-server memory leak

      I don't know. I had have my kwin effects turned off and my machine got very sluggush after a few hours.:
      fintan@fintanws2:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
      175607608 object bytes
      fintan@fintanws2:~$

      Now I am reading:
      fintan@fintanws2:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
      73207808 object bytes
      fintan@fintanws2:~$

      So it seams to having some effect. I'll check again in a few hours
      HP Pavilion dv6 core i7 (Main)
      4 GB Ram
      Kubuntu 18.10

      Comment


        #4
        Re: xorg-server memory leak

        Now I am showing:
        fintan@fintanws2:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
        74719232 object bytes
        fintan@fintanws2:~$
        HP Pavilion dv6 core i7 (Main)
        4 GB Ram
        Kubuntu 18.10

        Comment


          #5
          Re: xorg-server memory leak

          Hi,

          uptime.
          16:28:06 up 5:03, 1 user, load average: 0.01, 0.04, 0.06

          Code:
          bytes.
          767008768 object bytes
          Code:
          Tasks: 171 total,  1 running, 170 sleeping,  0 stopped,  0 zombie
          Cpu(s): 19.9%us, 10.9%sy, 0.0%ni, 69.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
          Mem:  2060072k total, 2004928k used,  55144k free,  89620k buffers
          Swap: 2000088k total,   748k used, 1999340k free,  726940k cached

          I guess i'm in ...

          Using standard 10.04 Xorg.

          Distributor ID: Ubuntu
          Description: Ubuntu Trusty Tahr (development branch)
          Release: 14.04
          Codename: trusty

          Comment


            #6
            Re: xorg-server memory leak

            Humm ........mine isent geting slugesh yet but that # keeps growing ??

            vinny@desktop:~$ top
            top - 12:02:15 up 1 day, 14:03, 1 user, load average: 1.99, 1.28, 0.84
            Tasks: 166 total, 2 running, 163 sleeping, 0 stopped, 1 zombie
            Cpu(s): 17.0%us, 4.4%sy, 0.0%ni, 78.5%id, 0.0%wa, 0.2%hi, 0.0%si, 0.0%st
            Mem: 2028556k total, 1749260k used, 279296k free, 219600k buffers
            Swap: 1108444k total, 344k used, 1108100k free, 910344k cached

            PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
            4837 vinny 20 0 235m 55m 30m S 16 2.8 1:19.84 bangarang
            1819 vinny 20 0 276m 30m 21m S 14 1.5 27:18.68 kwin
            883 root 20 0 131m 40m 17m R 11 2.1 28:15.41 Xorg
            4997 vinny 20 0 371m 71m 25m S 3 3.6 0:20.38 firefox-bin
            1824 vinny 20 0 306m 46m 24m S 0 2.3 9:23.14 plasma-desktop
            2001 vinny 20 0 68204 19m 14m S 0 1.0 0:12.77 knetworkmanager
            2057 vinny 20 0 2544 1224 908 S 0 0.1 7:20.32 top
            the load avarage is way up though......................and the bytes

            vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
            511193088 object bytes
            vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
            567255040 object bytes
            vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
            596127744 object bytes
            vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
            653246464 object bytes
            vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
            806178816 object bytes
            vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
            896225280 object bytes
            vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
            975949824 object bytes
            vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
            987090944 object bytes
            vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
            1110401024 object bytes
            vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
            1201147904 object bytes
            vinny@desktop:~$
            I started keeping this record of the bytes last night (4-22-2010) it is now 12:06PM-4-23-2010
            I will keep this up untill the system dose/dosenot become unstable and post at what point
            (how meney day's - the bytes count-what hapend ect,ect,) it becoms unusable!!

            as of NOW it is NOT slowing down to a noteseble point .......and the onley queshtonable thing is the high load avarage??


            VINNY

            i7 4core HT 8MB L3 2.9GHz
            16GB RAM
            Nvidia GTX 860M 4GB RAM 1152 cuda cores

            Comment


              #7
              Re: xorg-server memory leak

              See Re: Lucid Release Schedule, Plans, KDE 4.4 concerning the "major mem leak in X"
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Re: xorg-server memory leak

                at up 1 day 16 and 1/2 hower's bytes now at......

                vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
                1201147904 object bytes
                vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
                1211969536 object bytes
                vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
                1301073920 object bytes
                vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
                1402470400 object bytes
                vinny@desktop:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
                1473843200 object bytes
                vinny@desktop:~$
                and vid is starting to get chopey if I have say bangrang runing full screen and activate the cube.
                normaley it will play just fine like that.........and load avrages are going way up......1.88 as told by top (it should be around 0.08-0.18)with just bangarang and firefox runing

                I'd say at miner inconvenyence stage ........

                VINNY



                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Re: xorg-server memory leak

                  Okay:
                  fintan@fintanws2:~$ uptime
                  21:27:59 up 14:28, 1 user, load average: 1.06, 1.08, 1.10
                  fintan@fintanws2:~$
                  then:
                  fintan@fintanws2:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
                  74014720 object bytes
                  fintan@fintanws2:~$
                  Stable for now
                  HP Pavilion dv6 core i7 (Main)
                  4 GB Ram
                  Kubuntu 18.10

                  Comment


                    #10
                    Re: xorg-server memory leak

                    grep: /sys/kernel/debug/dri/0/gem_objects: No such file or directory

                    ?

                    Did have the memory leak, though... was up to 600-700 MB when I noticed. I installed the xorg from aforementioned PPA and it went away.

                    Comment


                      #11
                      Re: xorg-server memory leak

                      Originally posted by abalone
                      grep: /sys/kernel/debug/dri/0/gem_objects: No such file or directory
                      Unless you mistyped above, it's:
                      Code:
                      grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
                      Windows no longer obstructs my view.
                      Using Kubuntu Linux since March 23, 2007.
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment


                        #12
                        Re: xorg-server memory leak

                        Not mistyped. I don't have a /sys/kernel/debug/dri.

                        Comment


                          #13
                          Re: xorg-server memory leak

                          Yep, me too:
                          Code:
                          dibl@lucid:~$ grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
                          grep: /sys/kernel/debug/dri/0/gem_objects: No such file or directory
                          there's no "dri" directory under /sys/kernel/debug:

                          Code:
                          dibl@lucid:/sys/kernel/debug$ ls
                          bdi gpio hid kprobes mce pktcdvd sched_features tracing usb x86

                          Comment


                            #14
                            Re: xorg-server memory leak

                            Originally posted by abalone
                            Not mistyped. I don't have a /sys/kernel/debug/dri.
                            Ah. But, you still have to include the quoted search "pattern" for grep.
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Re: xorg-server memory leak

                              I did; there isn't anywhere for grep to grep...

                              Comment

                              Working...
                              X