HighMemory

Differences between revisions 36 and 37
Revision 36 as of 2010-04-21 20:29:57
Size: 3450
Editor: cpe-065-190-158-029
Comment:
Revision 37 as of 2010-04-21 21:06:28
Size: 3719
Editor: pool-71-114-231-221
Comment:
Deletions are marked like this. Additions are marked like this.
Line 53: Line 53:
|| Jamie Strandboge || Gnome || Radeon 7500 || ati || (testing) || no || || || Jamie Strandboge || Gnome || Radeon 7500 || ati/KMS/DRI2 || Yes || No || Using the following from the bug shows that gem objects are increasing, but not X memory: {{{pid=`pidof X` ; for t in `seq 1 10`; do eog /usr/share/backgrounds ; echo `grep "object bytes" /sys/kernel/debug/dri/0/gem_objects` `ps ocomm,vsz,rss $pid |grep X`; done}}} ||

Testing major GEM memory leak

Recently in Lucid, a major memory leak was introduced into the X.org server which causes the computer to get slower and slower over time. This is reported as bug 565981. This does not affect cards using proprietary drivers or not using DRI2. Intel will always be affected since DRI2 is used with and without KMS, ATI uses DRI1 without KMS.

One possible solution is to roll back the GLX 1.4 enablement patches, and the patch which caused the memory leak to appear.

Installing the test packages

Please do the following to upgrade to the proposed X server with the fix:

  •   sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
      sudo apt-get update
      sudo apt-get dist-upgrade

After that, reboot and log in.

Testing

Please work with your system normally for a few hours with compiz enabled (at which point the current lucid X.org server should feel really sluggish), as well as check functionaly and performance of:

  • Video playback (fullscreen and windowed)
  • Games (extremetuxracer, sauerbraten, etc.)
  • compiz (quickly change desktops and move windows around)
  • Flash movies
  • etc.

Please verify that glxinfo | grep "GLX version" says "1.2", not "1.4".

Reverting back to lucid packages

sudo apt-get install ppa-purge
sudo ppa-purge ppa:ubuntu-x-swat/x-updates

Feedback

Your name

Desktop

Chipset

Driver (fglrx vs. ati, etc.)

Bug fixed?

Any regressions?

Comments

Martin Pitt

GNOME/UNE

GMA945

intel

(testing)

No

Didier Roche

GNOME/UNE

GMA945 (on both netbooks)

intel

Yes

Not yet (after one workday)

Ken VanDine

GNOME

GM45

intel

Yes

No

Ken VanDine

UNE

945GME

intel

Yes

No

Sebastien Bacher

GNOME

intel 965

intel

(testing)

testing

C de-Avillez

GNOME

amd64

ati

(testing)

testing

PedroVillavicencio

GNOME

82G33

intel

(testing)

(testing)

Stefan Lesicnik

GNOME

GeForce GTX 260M

nvidia

(testing)

(testing

Apparently nvidia driver bypasses xserver glx, so not good testcase (works ok though)

Robert Hooker

Gnome/UNE

945GME

intel/fbdev

Yes

No

Robert Hooker

Gnome/UNE

915GM

intel/fbdev

Yes

No

Robert Hooker

Gnome/UNE

G33

intel/fbdev

Yes

No

Robert Hooker

Gnome

HD3400M

ati

Yes

No

Robert Hooker

Gnome

SIS 760GX

sis

Yes

No

Updating to the xserver in x-updates on this machine fixes the problem where clutter based apps (such as gnome-games) fail to start when using Software Rasterizer (bug: 561734)

Jamie Strandboge

Gnome

Radeon 7500

ati/KMS/DRI2

Yes

No

Using the following from the bug shows that gem objects are increasing, but not X memory: pid=`pidof X` ; for t in `seq 1 10`; do eog /usr/share/backgrounds ; echo `grep "object bytes" /sys/kernel/debug/dri/0/gem_objects` `ps ocomm,vsz,rss $pid |grep X`; done

Murat Gunes

GNOME

GMA945

intel

(testing)

(testing)

Dave Lentz

GNOME/KDE

RV710/RadeonHD4550

ati

yes

(testing)

BrianMurray

Gnome

RV730 PRO/RadeonHD4650

ati

(testing)

Erik Andersen

Gnome

Nvidia Geforce 7300s

nvidia

(testing)

We'll see

Erik, the nvidia/fglrx drivers are not affected. Please read the description above and then delete this entry.

RickSpencer

Gnome

Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)

-intel

Seems so

No

X/Troubleshooting/HighMemory (last edited 2012-04-14 02:29:48 by static-50-53-79-63)