Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538866 - x11-drivers/ati-drivers-14.12-r3 - memory leak in X
Summary: x11-drivers/ati-drivers-14.12-r3 - memory leak in X
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-04 22:47 UTC by Beau V.C. Bellamy
Modified: 2017-02-23 22:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beau V.C. Bellamy 2015-02-04 22:47:56 UTC
x11-drivers/ati-drivers-14.12 seems to cause X to leak memory every few minutes until OOM-killer kills X.  On a system that has 16GB RAM and 8GB of swap it takes about a day to fill up the memory.  This does not occur with ati-drivers-14.4_p1.
The system has an AMD Cayman XT [Radeon HD 6970] with three monitors of differing resolution.  Upgrading xorg-server to 1.16.3-r1 did not help.


Reproducible: Always
Comment 1 Beau V.C. Bellamy 2015-02-04 22:51:23 UTC
#emerge --info
Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.18.5-gentoo-krios x86_64)
=================================================================
System uname: Linux-3.18.5-gentoo-krios-x86_64-AMD_FX-tm-9370_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16381164 total,  11239392 free
KiB Swap:    8388600 total,   8335380 free
Timestamp of tree: Tue, 03 Feb 2015 19:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r4, 1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo proaudio science multimedia seden steam-overlay bitcoin virtualization qemu-init Beau-s-Repo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula googleearth AdobeFlash-11.x AdobeFlash-10.1 AdobeFlash-10.3 Oracle-BCLA-JavaSE google-chrome skype-4.0.0.7-copyright baudline"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/science /var/lib/layman/multimedia /var/lib/layman/seden /var/lib/layman/steam /var/lib/layman/bitcoin /var/lib/layman/virtualization /var/lib/layman/qemu-init /usr/portage/local/beau"
USE="32bit 3dnow 3dnowext X X509 a52 aac aacplus acl acpi aio alsa amd64 amr amrnb amrwb ao apache2 armadillo audiofile automount autotrace avahi avi bash-completion berkdb bittorrent bluetooth bmp branding bt bzip2 c++0x cairo caps cdda cddax cddb cdio cdparanoia cdr celt cleartype cli consolekit cracklib crypt cups curl cxx daap dbus declarative desktopglobe dirac djvu dri dts dv dvb dvd dvdr dvdread dvdrw ebook emboss encode exceptions exif faac faad fam fame festival ffmpeg fftw firefox fits flac fontconfig foomaticdb fortran fpx freetts fuse g726 g729 gd gdbm geoip ggi gif git glitz glx gmp gnutls gnutlst google-gadgets gpg gphoto2 gpm gs gsm gstreamer gtk handbook haptic hardened hdf5 hdri hpn htmlhandbook iconv id3tag ieee1394 ilbc imagemagick imlib iproute2 ipv6 iscsi jack jackmidi java javascript jbig jit joystick jpeg jpeg2k json kde kdeenablefinal kdehiddenvisibility kerberos kig-scripting kipi kpathsea ladspa lame lapack lash lasi lastfm latex lcms ldap libav libnotify libsamplerate libv4l2 llvm lm_sensors logitech-mouse loop-aes lqr lv2 lxc lzma lzo mad matroska metis mikmod mjpeg mmap mmsi mmx mng modplug modules mp3 mp3rtp mp3tunes mp4 mpeg mplayer mtp multilib multimedia musepack musicbrainz mysql mythtv ncurses network networkmanager nforce2 nptl nptlonly nsplugin nspluginwrapper nuv nvidia odbc ofa ogg okular openal opencl openct openexr opengl openmp opus pam pango pch pcre pcsc-lite pdf phonon pic pkcs11 plasma png policykit postscript povray ppds pulseaudio python qalculate qimageblitz qmail qscintilla qt3support qt4 qthelp quad quicktime qwt rar rdesktop rdp readline real reports rss rtmp samba sasl scanner schroedinger sctp sdl seccomp semantic-desktop session shout silk skey smartcard smp snappy sndfile sparse speex spell spice srtp sse sse2 sse3 sse4_1 ssh ssl ssse3 startup-notification subversion supernodal svg synaptics tcpd telepathy tetex theora threads thumbnail tiff tools truetype udev udisks uhd uml unicode upower usb utempter uuid v4l2 vaapi vala vcd vcdinfo vcdx vdpau video vorbis vpx wavpack webkit wicd wifi wma-fixed wmf wxwidgets x264 xa xattr xcb xcomposite xine xinerama xls xml xorg xpm xrandr xscreensaver xv xvid xvmc yv12 zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="maestro3 ymfpci aica asihpi darla20 darla24 echo3g emi26 emu1212 emu1616 emu1820 gina20 gina24 hdsp hdspm indigo indigoio korg1212 layla20 layla24 mia mixart mona msnd-pinnacle pcxhr usb-usx2y vx222 wavefront" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" DVB_CARDS="cx23885" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64 multiboot" INPUT_DEVICES="evdev joystick keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm mips" QEMU_USER_TARGETS="x86_64 i386 arm mips" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon r600 fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 2 ChaosEngine 2015-02-25 11:08:36 UTC
I can confirm this on my setup. It looks like it's only ati-drivers based since changing xorg or gkernel doesn't help much. Googling for solution does not yield results
Comment 3 Hannes Schweizer 2015-02-28 15:09:44 UTC
Confirmed as well. After tracking down the leak, I've kept the xorg-server-1.15/ati-drivers-14.9 combo, which worked pretty well. Just recently after xorg-server-1.16 hit the stable x86_64 tree I gave it another shot, but the leak is still there in ati-drivers-14.12-r3.
Comment 4 ChaosEngine 2015-02-28 17:59:15 UTC
I've inserted ticket to AMD forum for this.

http://forums.amd.com/game/messageview.cfm?catid=488&threadid=184490
Comment 5 gromnie 2015-03-17 04:57:41 UTC
I'm seeing no issue with ati-drivers-14.12-r3 with xorg-server-1.16.4-r2. Try to confirm with said packages.
Comment 6 pascal.brueckner 2015-03-17 14:08:23 UTC
Can confirm this bug with ati-drivers-14.12-r3 and xorg-server-1.16.4-r2.
Comment 7 Pistos 2015-04-22 17:56:15 UTC
Confirmed with ati-drivers-14.12-r3 and xorg-server-1.16.4 .
Comment 8 Hannes Schweizer 2015-04-24 21:05:54 UTC
Still present with x11-drivers/ati-drivers-15.1 and x11-base/xorg-server-1.16.4.

I'll switch to the open source driver for now, since the upcoming AMDGPU driver won't support my aging HD6950 anyway (http://www.phoronix.com/scan.php?page=news_item&px=No-Catalyst-15.4-Beta-Linux). Hopefully the power saving features of the open source driver have significantly improved in the meantime.
Comment 9 Matt Turner gentoo-dev 2017-02-23 22:55:08 UTC
ati-drivers is dead, and will not be supported for X.