View previous topic :: View next topic |
Author |
Message |
johnny99 Apprentice
Joined: 24 Oct 2005 Posts: 249 Location: Berkeley, California
|
Posted: Sat May 05, 2018 6:59 am Post subject: plasma black background plasmashell crash starting drkonqi |
|
|
When kde plasma starts my session starts but plasmashell crashes (even as a new user).
But I see a back background with a fancy cursor, and Alt-F2 opens the launcher and things run fine.
I just don't have a desktop lower panel, background, etc.
I opened a Konsole, and ran plasmashell, capturing the following error:
https://pastebin.com/KXJxpbWW
/etc/portage/make.conf
Code: |
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
VIDEO_CARDS="nouveau" #nvidia nvidia intel""
INPUT_DEVICES="evdev"
ALSA_CARDS="hda-intel"
USE="-gles -qt4 -xattr acl alsa avahi bluetooth bindist bluetooth consolekit cups dbus development dvd dvdnav dvdr dvdread -gnome -gnome-keyring kde kde-meta mmx mp3 openrc pam policykit smbclient sqlite sse sse2 zeroconf -systemd -systemd-units"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
ACCEPT_LICENSE="*"
|
emerge --info
Code: |
Portage 2.3.24 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r11, 4.9.95-gentoo x86_64)
=================================================================
System uname: Linux-4.9.95-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.4.1
KiB Mem: 1982524 total, 146656 free
KiB Swap: 4095996 total, 4067340 free
Timestamp of repository gentoo: Sun, 29 Apr 2018 17:15:01 +0000
Head commit of repository gentoo: 6d2e6ff1182df719b2c695f6d7af88ce5c5e5d21
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash: 4.4_p12::gentoo
dev-lang/perl: 5.24.3-r1::gentoo
dev-lang/python: 2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake: 3.9.6::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.4.1-r2::gentoo
sys-apps/openrc: 0.34.11::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils: 2.29.1-r1::gentoo
sys-devel/gcc: 6.4.0-r1::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc: 2.25-r11::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-metamanifest: no
sync-rsync-extra-opts:
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 avahi berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative development dri dts dvd dvdnav dvdr dvdread emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kde-meta kipi kwallet lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp openrc pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt5 readline sdl seccomp semantic-desktop smbclient spell sqlite sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xcb xcomposite xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nouveau" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
|
|
Back to top |
|
|
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1179
|
Posted: Sat May 05, 2018 7:12 am Post subject: |
|
|
I hate to answer without the experience exactly with solving this issue but if it is the same as this link here https://forum.kde.org/viewtopic.php?f=309&t=150956. You might need to make Change to the discoverable or notification settings of KDE. I know that is vague, but if that helps you to figure it out maybe or someone else can chime in . Once you make changes it could make sense to reinstall the package for plasma. |
|
Back to top |
|
|
johnny99 Apprentice
Joined: 24 Oct 2005 Posts: 249 Location: Berkeley, California
|
Posted: Sat May 05, 2018 3:37 pm Post subject: |
|
|
The link only suggests to run with gdb with correct flags:
Code: | gdb /usr/bin/plasmashell |
The output does not give me a clear answer, and there is no solution.
I am also using plasma 5.11 (5.12 is not stable)
The link below shows output from running:
Code: | gdb /usr/bin/plasmashell |
https://pastebin.com/TvZFVgWu
File ends in:
Code: |
Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault.
0x00007fffcd6383dd in ?? () from /usr/lib64/dri/nouveau_dri.so
|
Searching.... |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21657
|
Posted: Sat May 05, 2018 4:41 pm Post subject: |
|
|
That is progress. Now you need to collect a backtrace for the crash, so that you can see how it reached the specific faulting instruction. Rebuild nouveau_dri and plasmashell with debugging symbols. Crash it again in gdb, run bt to get a backtrace, and pastebin the result. You may need to rebuild other packages with debug symbols too, but start with just these two. |
|
Back to top |
|
|
johnny99 Apprentice
Joined: 24 Oct 2005 Posts: 249 Location: Berkeley, California
|
Posted: Sat May 05, 2018 5:15 pm Post subject: |
|
|
I rebuilt the kernel, stepping up default debug level from 3 to 5.
'Device Drivers' -> Graphics support -> Nouveau (NVIDIA) cards ->
Maximum debug level: 5
Default debug level :3 <- Changed to 5
How do I rebuild necessary packages with debug symbols?
Since we are talking plasmashell, I think that would include all plasma, kde5, and qt5 packages.
Code: |
echo '# DEBUG nouveau plasmashell' >> /etc/portage/package.use
eix qt -I |grep '\[I\]' | sed 's|\[I\] \(.*\)|\1 debug|g' >> /etc/portage/package.use
eix kde -I |grep '\[I\]' | sed 's|\[I\] \(.*\)|\1 debug|g' >> /etc/portage/package.use
eix plasma -I |grep '\[I\]' | sed 's|\[I\] \(.*\)|\1 debug|g' >> /etc/portage/package.use
emerge -uatvDN @world
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc -ta
|
This will take all day to build.
I will post more once complete. |
|
Back to top |
|
|
johnny99 Apprentice
Joined: 24 Oct 2005 Posts: 249 Location: Berkeley, California
|
Posted: Mon May 07, 2018 2:37 pm Post subject: |
|
|
oom killer stopped qtwebengine from building for a while.
This was an old system so I also ran:
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc -ta
Now the system comes up with out crashing, and debug flags enabled.
I will collect and post system info tonight.
I guess Next I need to rebuild with debug logs off. |
|
Back to top |
|
|
johnny99 Apprentice
Joined: 24 Oct 2005 Posts: 249 Location: Berkeley, California
|
Posted: Wed May 09, 2018 5:05 pm Post subject: |
|
|
With the nouveau driver and debug symbols, everything booted, but it was just too slow, even with most plasma features turned off.
I rebuilt the system without debug symbols and the performance is still unusable.
I switched back to x11-drivers/nvidia-drivers:304.137, using an old working xorg.conf, and the speed is faster.
The performance is not as good as profile 13.0.
The system becomes unusable with Plasma System Settings->Hardware->Displays->Composer->Rendering Backend->Opengl*
This must be set to XRander to make the desktop usable. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|