Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370405 - No desktop effects in KDE4 - kwin segfaults after logging into session
Summary: No desktop effects in KDE4 - kwin segfaults after logging into session
Status: RESOLVED DUPLICATE of bug 350336
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 06:23 UTC by rafnov
Modified: 2011-07-19 12:22 UTC (History)
1 user (show)

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


Attachments
my xorg.conf (xorg.conf,2.80 KB, text/plain)
2011-06-07 06:26 UTC, rafnov
Details
Xorg.0.log (Xorg.0.log,13.42 KB, text/x-log)
2011-06-07 06:27 UTC, rafnov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rafnov 2011-06-07 06:23:49 UTC
I cannot enable desktop effects on my PC with recently installed KDE4. The checkbox is greyed out and the message says: "Desktop effects are unavailable for the reason:" and the reason is empty. I've tried to remove ~/.kde4, create new user, but with new start I always get kwin segfaults. Here is the gdb output from KDE4 dialog.

Application: KWin (kwin), signal: Segmentation fault
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb768d876 in nanosleep () from /lib/libc.so.6
#2  0xb768d694 in sleep () from /lib/libc.so.6
#3  0xb748f65e in ?? () from /usr/lib/libkdeui.so.5
#4  0xb75b4920 in ?? () from /usr/lib/libkdeui.so.5
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

I'll add some files as attachments.

Reproducible: Always
Comment 1 rafnov 2011-06-07 06:24:49 UTC
Portage 2.1.10 (default/linux/x86/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.38-tuxonice-r1 i686)
=================================================================
System uname: Linux-2.6.38-tuxonice-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 07 Jun 2011 04:45:02 +0000
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories:

gentoo
    location: /usr/portage
    sync: rsync://rsync6.pl.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/overlay
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="hda-intel"
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"
ARCH="x86"
AUTOCLEAN="yes"
CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words"
CAMERAS="ptp2"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="1"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/gnupg/qualified.txt /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DCCC_PATH="/usr/lib/distcc/bin"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/var/tmp/distfiles/"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --keep-going --verbose"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS=""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://ftp.vectranet.pl/gentoo/"
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"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.21/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.5.2/info"
INPUT_DEVICES="keyboard mouse"
KERNEL="linux"
LANG="pl_PL.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="pl"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="-j3 -s"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.21/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.5.2/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OPENGL_PROFILE="nvidia"
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin"
PHP_TARGETS="php5-3"
PKGDIR="/var/tmp/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="19"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="5"
PORTAGE_SANDBOX_COMPAT_LEVEL="16"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay"
PRELINK_PATH_MASK="/usr/lib/klibc:/usr/lib/libfreebl3.so:/usr/lib/libnssdbm3.so:/usr/lib/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PYTHONDONTWRITEBYTECODE="1"
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"
QT_PLUGIN_PATH="/usr/lib/kde4/plugins"
RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.5.2"
RPMDIR="/var/portage/rpm"
RUBYOPT="-rauto_gem"
RUBY_TARGETS="ruby18"
SHELL="/bin/bash"
SUDO_COMMAND="/usr/bin/emerge --info"
SUDO_GID="100"
SUDO_UID="1000"
SUDO_USER="erno"
SYNC="rsync://rsync6.pl.gentoo.org/gentoo-portage"
TERM="screen"
USE="7zip X aac acpi alsa apng atm audiofile automount bash-completion bzip2 cracklib crypt curl custom-optimization cxx dga dhcp dri dvd dvdr dvdread enca encode escreen extramodules fat filepicker firefox flac fortran ftp gdbm gif glut hddtemp ibam iconv idn imap imlib insecure-savers irc jpeg kde kdehiddenvisibility kernel-patch lame libwww lm_sensors mad maps mmx mmxext modules mozbranding moznopango mp3 mplayer mudflap multiuser musepack ncurses nls noamazon nodot nothemes nptl nptlonly nsplugin ntfs nvidia obex ogg opengl openmp pcre pdf png pop ppds pppd python qt-static qt3support readline sdl session slang sox sse sse2 ssl ssse3 suid symlink sysfs tabs thesaurus transmitter truetype unicode usb userlocales vdpau vim-pager visualization voice vorbis win32codecs x86 xcomposite xfs xorg xpm xrandr xv xvid" ALSA_CARDS="hda-intel" 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="braindump flow karbon kexi kpresenter krita tables words" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" 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" 
USER="root"
USERLAND="GNU"
USERNAME="root"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nvidia"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
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"
Comment 2 rafnov 2011-06-07 06:26:44 UTC
Created attachment 276095 [details]
my xorg.conf

May be messed up cause I've tried to reconfigure it.
Comment 3 rafnov 2011-06-07 06:27:55 UTC
Created attachment 276097 [details]
Xorg.0.log
Comment 4 rafnov 2011-06-07 06:30:00 UTC
(In reply to comment #0)
> I cannot enable desktop effects on my PC with recently installed KDE4. The
> checkbox is greyed out and the message says: "Desktop effects are unavailable
> for the reason:" and the reason is empty. I've tried to remove ~/.kde4, create
> new user, but with new start I always get kwin segfaults. Here is the gdb
> output from KDE4 dialog.
> 
> Application: KWin (kwin), signal: Segmentation fault
> #0  0xffffe424 in __kernel_vsyscall ()
> #1  0xb768d876 in nanosleep () from /lib/libc.so.6
> #2  0xb768d694 in sleep () from /lib/libc.so.6
> #3  0xb748f65e in ?? () from /usr/lib/libkdeui.so.5
> #4  0xb75b4920 in ?? () from /usr/lib/libkdeui.so.5
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> 
> I'll add some files as attachments.
> 
> Reproducible: Always

I've tried revdep-rebuild, emerge -uDN world and emerge -e world - didn't solve the problem.

I also get segfaults of some applications like glxgears or games-action/violetland but such game like games-fps/nexuiz works with good fps.
Comment 5 forrestfunk81 2011-06-18 14:48:45 UTC
I got the same problems. I'm running ~amd64, KDE 4.6.4 on a nvidia card.

I'm shure that after upgrading to KDE 4.6.4, i rebooted the system and everything worked fine. In the following days i updated nvidia-drivers (from 270.41.19 to 275.09.07), mesa (from 7.10.2-r1 to 7.10.3) and libdrm (from 2.4.25 to 2.4.26). Afterwards the desktop effects in kde didn't work, kwin and glxgears segfaulted.

So I tried every combination of nvidia-drivers, mesa and libdrm. I deleted ~/.kde4/ and rebooted before each try. Combinations with =nvidia-drivers-275.09.07 don't work.

When using the old nvidia-drivers-270.41.19 with a ~/.kde4/ which was used since the updates, desktop settings didn't work, too.
Comment 6 forrestfunk81 2011-06-18 15:50:13 UTC
Step by step I copied my old ~/.kde4/ files to the new user. The desktop effects with =nvidia-drivers-270.41.06 do work with kwinrc: 
[Compositing] 
...
OpenGLIsUnsafe=false 
...

but do not work with kwinrc: 
[Compositing] 
...
OpenGLIsUnsafe=true
...


When updating nvidia-drivers to version 275.09.07 and logging in to kde, kwinrc gets modified. In the compositing section OpenGLIsUnsafe is set to true and and Enabled is set to false.
Comment 7 Adrian Czerniak 2011-06-19 19:14:23 UTC
I have the same problem.
Comment 8 d-frog 2011-07-18 07:20:58 UTC
I had same problem , and solved it now.

I searched any info and find this article.
https://bbs.archlinux.org/viewtopic.php?pid=962143#p962143

In my case, just same this.

It seems that KDE desktop effects need exec permission at /tmp.
I recentry changed description about /tmp in /etc/fstab.

none  /tmp  tmpfs  nodev,nosuid,noexec  0 0

Since then, KDE stop desktop effects (but I had no sense).
So,I change description again.

none  /tmp  tmpfs  nodev,nosuid  0 0

cut "noexec" and restart.
open systemsettings and reconfigure DesktopEffects, all come back again.
Comment 9 rafnov 2011-07-19 06:48:01 UTC
Seems that nvidia driver indeed requires exec mount option for /tmp. I had no problem with KDE4 effects and noexec set up on a laptop with Intel card.
Thank you for that tip.
Comment 10 forrestfunk81 2011-07-19 08:18:24 UTC
The noexec-tmp workaround works for me, too. So this bug seems to be the same as #350336
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2011-07-19 12:22:24 UTC

*** This bug has been marked as a duplicate of bug 350336 ***