View previous topic :: View next topic |
Author |
Message |
EugeneTheJeep Tux's lil' helper
Joined: 17 May 2017 Posts: 101
|
Posted: Sun Dec 03, 2017 1:10 pm Post subject: KDE Plasma 5 sometimes freezes |
|
|
At least I think it's KDE. The only thing I can do is power off and power back on when it happens.
The mouse cursor freezes and mouse buttons + keyboard shortcuts quit working
I've noticed a pattern of it happening under these three conditions:
1. When closing the Android emulator (qemu based) while using Android Studio
2. When running JavaFX applications under IntelliJ IDEA.
3. When quickly accessing the taskbar, such as switching between already running applications, or quickly navigating through the start menu to open a new application (sometimes even when there are no applications open after a fresh boot, but this is much rarer)
It could be happening under other conditions and I just haven't identified it. I'm not even really sure if it's KDE; it could be X, vid card drivers, or even hardware for all I know
The only other thing I've noticed is that if there is something running on a separate thread like a video or music, it will continue playing, although its performance will sometimes degrade. But it makes me wonder if it's the UI thread locking up.
Here is emerge --info in case it is somehow relevant:
Code: |
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.4.1
KiB Mem: 8101032 total, 625752 free
KiB Swap: 8388604 total, 8388340 free
Timestamp of repository gentoo: Sat, 02 Dec 2017 13:00:01 +0000
Head commit of repository gentoo: b67c325ecc94f396e968e326e6acdf092aa3adf5
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash: 4.3_p48-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.24.3::gentoo
dev-lang/python: 2.7.14::gentoo, 3.5.4::gentoo
dev-util/cmake: 3.8.2::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.10-r4::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils: 2.29.1-r1::gentoo
sys-devel/gcc: 6.4.0::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.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.25-r9::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
jeep-overlay
location: /var/lib/layman/jeep-overlay
masters: gentoo
priority: 50
steam-overlay
location: /var/lib/layman/steam-overlay
masters: gentoo
priority: 50
vmware
location: /var/lib/layman/vmware
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-O2 -pipe -march=native"
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 xattr"
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 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 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" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Sun Dec 03, 2017 1:51 pm Post subject: |
|
|
If this is a fatal freeze, I would first and foremost assume the issue with the driver. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21595
|
Posted: Sun Dec 03, 2017 5:51 pm Post subject: |
|
|
If music continues to play correctly, that suggests the system has not panicked. In turn, that says you should be able to ssh in and perform a graceful shutdown (at least, graceful with regard to filesystem remounts - your X session may be irrecoverably broken if a graphics driver has failed). If you have ACPI enabled, you could also use ACPI soft-off to trigger a shutdown.
I see that you have VIDEO_CARDS="nvidia" in your emerge --info. Can you reproduce this problem on an untainted kernel? |
|
Back to top |
|
|
EugeneTheJeep Tux's lil' helper
Joined: 17 May 2017 Posts: 101
|
Posted: Sun Dec 03, 2017 11:30 pm Post subject: |
|
|
Quote: | If this is a fatal freeze, I would first and foremost assume the issue with the driver. |
I don't think it's fatal, but it looks like the problem still points to the driver.
Quote: | music continues to play correctly, that suggests the system has not panicked. In turn, that says you should be able to ssh in and perform a graceful shutdown (at least, graceful with regard to filesystem remounts - your X session may be irrecoverably broken if a graphics driver has failed). |
I haven't attempted a remote ssh shutdown so I added sshd to the default runlevel and will do so the next time it happens.
Quote: | If you have ACPI enabled, you could also use ACPI soft-off to trigger a shutdown. |
I do have ACPI enabled, and I can shut down the computer by pressing and holding the front power button, shutting down all hardware including PSU. (I don't know if this is technically a soft-off)
Quote: | I see that you have VIDEO_CARDS="nvidia" in your emerge --info. Can you reproduce this problem on an untainted kernel? |
I will compile a kernel configured for noveau and will test the system with those drivers to see if there is any change. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21595
|
Posted: Mon Dec 04, 2017 1:00 am Post subject: |
|
|
Holding the power button for an extended period requests the firmware to hard kill the system. That is not a soft-off, and should be done only as a last resort. A soft-off would be to press the button for a duration similar to when you turn the machine on. If properly configured, it will then run its normal shutdown process, stopping services, unmounting filesystems, and so on. |
|
Back to top |
|
|
EugeneTheJeep Tux's lil' helper
Joined: 17 May 2017 Posts: 101
|
Posted: Mon Dec 04, 2017 1:24 am Post subject: |
|
|
Correction, I had ACPI enabled in the kernel, but did not have acpid on the default runlevel. I added it and will attempt a soft-off on the next lockup. |
|
Back to top |
|
|
BobWya Apprentice
Joined: 12 Aug 2012 Posts: 228 Location: Cambridge,UK
|
Posted: Mon Dec 04, 2017 6:02 pm Post subject: |
|
|
EugeneTheJeep wrote: | Correction, I had ACPI enabled in the kernel, but did not have acpid on the default runlevel. I added it and will attempt a soft-off on the next lockup. |
Or perhaps: Magic SysRq ??
I've got a problem with kwin_x11 dying on a regular basis on my laptop... Hmmm....
In my experience the plasmashell process is very vulnerable to interface lockups... E.g. if a network drive mount hangs.
In both cases the mouse and keyboard still work though... So obviously I can restart the offending process or just use a simple keep-alive script...
Bob _________________ system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850 |
|
Back to top |
|
|
davidm Guru
Joined: 26 Apr 2009 Posts: 557 Location: US
|
Posted: Mon Dec 04, 2017 7:03 pm Post subject: |
|
|
I rarely get freezes or any problems unless I hit some strange corner case. One I notice now occurring is if I have a image slideshow for my wallpaper on one of my activities. This seems to correlate to some strange lockup situation where I lose the keyboard and mouse input after some time of non-use. Possibly 100% cpu use. I should look into this further and see if there is a bug report and try to isolate it more.
But what you might want to do is streamline things a bit and turn off any weird features or non default option temporarily and see if it still does it. Try to isolate it down to some corner case. It took me a long time to realize my issue was related to the slideshow desktop background. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Tue Dec 05, 2017 6:57 am Post subject: |
|
|
I have seen (last time 20 min ago) the #3 from your list. Menu remained opened and frozen, as well as some notifications from task bar.
It came back to life 10 min later. (Konsole was still working, so I was doing some work) |
|
Back to top |
|
|
noremac n00b
Joined: 23 Dec 2004 Posts: 53 Location: Australia
|
Posted: Thu Apr 05, 2018 9:31 am Post subject: |
|
|
I've also got problems with Plasma freezing randomly. I've switched from nvidia drivers to neavou, but it still hangs (about once every two days). I've not been able to track down what triggers it. I can ssh into the machine ok and do a reboot. What log files should I be looking at to pinpoint the error? _________________ In a world with out fences or walls who needs gates or windows? |
|
Back to top |
|
|
Section_8 l33t
Joined: 22 May 2004 Posts: 627
|
Posted: Thu Apr 05, 2018 12:22 pm Post subject: |
|
|
I also get occasional desktop freezes (plasma 5 and nvidia). They are pretty rare (maybe once a week) and I haven't been able to correlate them to anything specific. The mouse cursor functions, but everything else is frozen. I can always just CTL-ALT-F1 to a vterm and restart xdm. Sometimes CTL-ALT-DEL will open the sddm restart screen and I can just logoff and back on. |
|
Back to top |
|
|
Tolstoi l33t
Joined: 20 May 2004 Posts: 678
|
Posted: Mon Jan 07, 2019 7:14 pm Post subject: |
|
|
On my laptop mouse and keyboard freeze quite frequently that it's really annoying meanwhile because it occurs nearly every two days. I have to use the power button to shut down because the keyboard doesn't work. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Mon Jan 28, 2019 10:34 pm Post subject: |
|
|
Tolstoi wrote: | On my laptop mouse and keyboard freeze quite frequently that it's really annoying meanwhile because it occurs nearly every two days. I have to use the power button to shut down because the keyboard doesn't work. |
same here! _________________ this is a strange strange world. |
|
Back to top |
|
|
|