Summary: | x11-drivers/nvidia-drivers-290.20-r1: gnome-terminal and gnome-screenshot hang on exit with 100% CPU usage | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ira Moss <genx> |
Component: | [OLD] GNOME | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | gnome, jer, serge, spock, tango, xarthisius |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ira Moss
2012-03-22 00:20:13 UTC
*** This bug has been marked as a duplicate of bug 398723 *** Reopening; this bug seems to be somewhat different from bug #398723 after all (see comments in #398723). Please try on a new created user account with a new homedir My drivers were updated yesterday to nvidia-drivers-295.20-r1 from the previous stable version and this bug showed up. I can confirm that switching to xorg's opengl and restarting X (I run startx from a console) solves the problem. My other observations when using nvidia's opengl are, 1. A single gnome-terminal seems to be spawned all on its own. 2. A Bash (Zombie) process is associated with each running gnome-terminal (no gnome-terminal actually running on the desktop). 3. Every gnome-terminal I start fails to exit properly and consumes 96% to 110% of my CPU's. I run several gnome-terminals at the same time to login and do maintenance on other systems on my network every couple of days. This morning 2 CPU's were maxed and 2 were being used heavily. The system monitor showed 2 gnome-terminals running and 2 Bash Zombies. The previous stable version of nvidia-drivers did not appear to have this problem. Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 2.6.37-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-r4-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-gentoo-2.0.3 Timestamp of tree: Thu, 22 Mar 2012 05:15:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo sunrise x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL Q3AEULA ut2003 AdobeFlash-10.3 LOKI-EULA teamspeak3" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=amdfam10 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://mirror.usu.edu/mirrors/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/sunrise /usr/local/portage" SYNC="rsync://thetangos/gentoo-portage" USE="X aac aalib acl acpi alsa amd64 artworkextra berkdb bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups cxx dbus device-mapper dlloaders dri dvd dvdr dvix dvix4linux eds encode esd exif extras faac faad fbcon fbcondecor ffmpeg firefox flac fortran gd gdbm gdu gif gnome gnome-keyring gnutls gpm gstreamer gtk guile iconv imagemagick imlib java jepg2k jpeg lame libnotify libwww mad mikmod mmx modules mp3 mpeg mudflap multilib nautilus ncurses networking nls nptl nptlonly nsplugin ntp nvidia ogg openal opengl openmp openxr oss pam pcre pdf png policykit pppd pulseaudio python quicktime readline sdl seamonkey session spell sqlite sqlite3 sse sse2 ssl svg sysfs tcpd tiff tng truetype udev unicode usb v4l v4l2 vcd vdpau vorbis wmf xinerama xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS (In reply to comment #4) > My drivers were updated yesterday to nvidia-drivers-295.20-r1 from the > previous stable version and this bug showed up. I can confirm that > switching to xorg's opengl and restarting X (I run startx from a console) > solves the problem. > > My other observations when using nvidia's opengl are, > > 1. A single gnome-terminal seems to be spawned all on its own. > 2. A Bash (Zombie) process is associated with each running gnome-terminal > (no gnome-terminal actually running on the desktop). > 3. Every gnome-terminal I start fails to exit properly and consumes 96% to > 110% of my CPU's. > Maybe this is being shown under Gentoo because we are applying and old patch to launch gnome-terminal as login shell by default even if upstream (and other distributions) disables it: /usr/portage/x11-terms/gnome-terminal/files/gnome-terminal-2.22.0-default_shell.patch More information Yesterday I also added the pulseaudio use flag in anticipation of Gnome3 becoming stable and ran emerge -avNuD world to pull in the required packages. I had resisted using pulseaudio before as it just did not function all that well with my system and hardware. So to try and pin-point the cause of this problem I did some more testing. 1. Mask x11-drivers/nvidia-drivers-295.20-r1. 2. Revert back to the last stable nvidia-drivers. 3. Log out and reset nvidia and opengl to nvidia. 4. Restart X and start a gnome-terminal. 5. Exit the gnome-terminal. Problem continued to be present (gnome-terminal fails to exit properly) Next Step 1. Disable pulseaudio use flag. 2. Emerge -avNuD world. 3. Emerge -C all packages pulled in by pulseaudio and kill all related process. 4. Logout and restart X. 5. Started a gnome-terminal and exited the terminal. Problem solved as gnome-terminal exited properly. Next Step 1. Unmasked x11-drivers/nvidia-drivers-295.20-r1 and reinstall them. 2. Log out and reset nvidia and opengl to nvidia. 3. Restart X and start a gnome-terminal. 4. Exit the gnome-terminal (gnome-terminal continues to exit properly). So this appears to be a problem related to pulseaudio and nvidia opengl. (In reply to comment #5) > (In reply to comment #4) > > My drivers were updated yesterday to nvidia-drivers-295.20-r1 from the > > previous stable version and this bug showed up. I can confirm that > > switching to xorg's opengl and restarting X (I run startx from a console) > > solves the problem. > > > > My other observations when using nvidia's opengl are, > > > > 1. A single gnome-terminal seems to be spawned all on its own. > > 2. A Bash (Zombie) process is associated with each running gnome-terminal > > (no gnome-terminal actually running on the desktop). > > 3. Every gnome-terminal I start fails to exit properly and consumes 96% to > > 110% of my CPU's. > > > > Maybe this is being shown under Gentoo because we are applying and old patch > to launch gnome-terminal as login shell by default even if upstream (and > other distributions) disables it: > /usr/portage/x11-terms/gnome-terminal/files/gnome-terminal-2.22.0- > default_shell.patch Hmm, that is interesting. Though, I have not seen the same results... in that I too (because of stablization) upgraded yesterday to the 295 rev of the nvidia drivers... However... I have had this problem with the 290 rev for quite some time. It wasn't until recently when I found that my opengl was not using xorg-x11 (funny... blender will really not even start right without opengl :-) ) that I realized this problem. Now I'm confused... In that you didn't see this problem with the 290 drivers and opengl enabled... but I did? i.e. I have had the problem with both 290 and 295 (In reply to comment #6) > More information > > Yesterday I also added the pulseaudio use flag in anticipation of Gnome3 > becoming stable and ran emerge -avNuD world to pull in the required > packages. I had resisted using pulseaudio before as it just did not > function all that well with my system and hardware. So to try and pin-point > the cause of this problem I did some more testing. > > 1. Mask x11-drivers/nvidia-drivers-295.20-r1. > 2. Revert back to the last stable nvidia-drivers. > 3. Log out and reset nvidia and opengl to nvidia. > 4. Restart X and start a gnome-terminal. > 5. Exit the gnome-terminal. > > Problem continued to be present (gnome-terminal fails to exit properly) > > Next Step > 1. Disable pulseaudio use flag. > 2. Emerge -avNuD world. > 3. Emerge -C all packages pulled in by pulseaudio and kill all related > process. > 4. Logout and restart X. > 5. Started a gnome-terminal and exited the terminal. > > Problem solved as gnome-terminal exited properly. > > Next Step > 1. Unmasked x11-drivers/nvidia-drivers-295.20-r1 and reinstall them. > 2. Log out and reset nvidia and opengl to nvidia. > 3. Restart X and start a gnome-terminal. > 4. Exit the gnome-terminal (gnome-terminal continues to exit properly). > > So this appears to be a problem related to pulseaudio and nvidia opengl. Tango, just to help narrow this down too...What does your profile look like? i.e. eselect list profile? I ask because, yes... I too had not wanted to run puslseaudio for quite sometime, but... it was pulled in automatically for me a few months ago... i.e. # eselect profile list Available profile symlink targets: [1] default/linux/amd64/10.0 [2] default/linux/amd64/10.0/selinux [3] default/linux/amd64/10.0/desktop [4] default/linux/amd64/10.0/desktop/gnome * [5] default/linux/amd64/10.0/desktop/kde [6] default/linux/amd64/10.0/developer [7] default/linux/amd64/10.0/no-multilib [8] default/linux/amd64/10.0/server [9] hardened/linux/amd64 [10] hardened/linux/amd64/selinux [11] hardened/linux/amd64/no-multilib [12] hardened/linux/amd64/no-multilib/selinux my make.conf does not explicity have pulseaudio... however an emerge --info yields that I have it as a use flag. I'm not sure if this really matters or not, but my help narrow down some issues. I'll have to try a recompile as well without pulse. in looking through.../usr/portage/profiles/targets/desktop/gnome/make.defaults... it does have pulseaudio now... (In reply to comment #7) > Hmm, that is interesting. Though, I have not seen the same results... in > that I too (because of stablization) upgraded yesterday to the 295 rev of > the nvidia drivers... However... I have had this problem with the 290 rev > for quite some time. It wasn't until recently when I found that my opengl > was not using xorg-x11 (funny... blender will really not even start right > without opengl :-) ) that I realized this problem. Now I'm confused... In > that you didn't see this problem with the 290 drivers and opengl enabled... > but I did? I never had the problem with the 290 series of drivers because I did not have pulseaudio enabled and installed until after the 295 update. If you look at how I tested for this you will see that I continued to experience the problem when I reverted back to the 290 series with pulseaudio installed. After I completely removed pulseaudio both the 290 and 295 drivers worked without any problems when using nvidia's opengl. I use the default-amd64 profile not the gnome-desktop profile. While I suspect the gnome-desktop profile enables pulseaudio by default I haven't verified this. I am confused why an audio application can have this kind of effect on a video application, but then I am not a programmer nor do I fully understand how they all play together. # eselect profile list Available profile symlink targets: [1] default/linux/amd64/10.0 * [2] default/linux/amd64/10.0/selinux [3] default/linux/amd64/10.0/desktop [4] default/linux/amd64/10.0/desktop/gnome [5] default/linux/amd64/10.0/desktop/kde [6] default/linux/amd64/10.0/developer [7] default/linux/amd64/10.0/no-multilib [8] default/linux/amd64/10.0/server [9] hardened/linux/amd64 [10] hardened/linux/amd64/selinux [11] hardened/linux/amd64/no-multilib [12] hardened/linux/amd64/no-multilib/selinux My system is stable and working great right now. I am using nvidia-drivers-295.20-r1 with nvidia's opengl enabled and pulseaudio has been completely removed from my system. Also I think the forms would be a better place to discuss this problem rather than here, until a solution or cause for it can be determined. I know there is a bug here somewhere, but where is the question. (In reply to comment #5) > Maybe this is being shown under Gentoo because we are applying and old patch > to launch gnome-terminal as login shell by default even if upstream (and > other distributions) disables it: > /usr/portage/x11-terms/gnome-terminal/files/gnome-terminal-2.22.0- > default_shell.patch Maybe this is the problem but how would I go about testing this theory? How do I remove the patch and build gnome-terminal without it? I no nothing about writing ebuilds, but I do have basic understanding of how to use an overlay. You can try to edit ebuild and add a comment "#" just before "epatch" line. Then re-emerge gnome-terminal with "emerge -1 --digest gnome-terminal" (In reply to comment #12) > You can try to edit ebuild and add a comment "#" just before "epatch" line. > Then re-emerge gnome-terminal with "emerge -1 --digest gnome-terminal" Followed your instructions and rebuilt gnome-terminal without the patch. Re-enabled the pulseaudio USE flag and ran emerge -avNuD world. I did a complete system reboot and after logging in and checking gnome-terminal the problem reappears. It seems that if I use nvidia's opengl and have pulseaudio installed the gnome-terminal (and possibly other gnome apps) will fail to exit properly. It's likely possible this is related to something similar to bug #407593, given how much of the GNOME desktop is composited in OpenGL now days. I looked through mesa and the reference headers and saw a few more functions that mesa implemented differently from the spec. On my computer, I solved this by altered "Sound theme" to "No sounds" in Sound Preferences! This is werid! Maybe a bug of gentoo. (In reply to comment #15) > On my computer, I solved this by altered "Sound theme" to "No sounds" in > Sound Preferences! This is werid! Maybe a bug of gentoo. Are you using HDMI audio? If this issue is still occurring please run nvidia-bug-report.sh and e-mail the output along with a description of the issue to linux-bugs@nvidia.com |