You are not logged in.
Hi, since last update I did, KDE 5 sometimes hangs for a while, like 20 seconds, usually before showing a dialog like "are you sure you want to delete this file" in dolphin or "save file before closing kwrite?" and stuff like that. But also sometimes when using bash in konsole.
Version info:
KDE Frameworks 5.35.0
Qt 5.9.0 (built against 5.9.0)
Any idea what this is?
Thanks!
Last edited by aardwolf (2017-06-26 21:46:16)
Offline
Are they all actions that require a sound to play, by chance? I've seen a slight delay sometimes the first time when the prompt happens when (I assume) KDE is initializing the Pulse sound library. Maybe there's something wrong with sound integration with your KDE?
I cannot reproduce your specific problem, by the way.
Offline
Not all involve sound. Another is locking the screen. It takes 10-20 seconds before the light blue overlay appears. The only thing in common is it's KDE related things, e.g. no problems at all with warning dialogs of geany or other non-KDE programs.
It started doing this since last pacman -Syu around a week ago.
EDIT: under "Phonon Audio and Video", under "Backend", there is only one backend: "Phonon VLC". Is that normal? Is my video player the main audio backend of KDE? What is the relationship between Phonon and Pulseaudio?
EDIT2: testing out audio notifications in the "Nofications" settings of KDE always works immediately, with the little play button in there. But consistently whenever opening kwrite, typing something in it, not saving, and closing kwrite, then it freezes while it takes 10 seconds for the "want to save?" dialog to appear.
Last edited by aardwolf (2017-06-26 23:12:51)
Offline
Do any of the things mentioned here[1] apply? Post the outputs of the commands I requested there, if it isn't something obvious like the network drive.
[1] https://bbs.archlinux.org/viewtopic.php?id=227577
Additionaly throw in a
hostnamectl status
Although likely to be slightly OT: Yes that VLC appears there is normal (vlc isn't just a video player it's also a media library to be used by other applications) Phonon is the common interface all KDE applications use to produce sound, Phonon and Pulseaudio only have cursory relation in that phonon will allow you to set the default output devices for KDE applications, actual playback still happens via the library (vlc in this case) there'd also be a gstreamer backend for phonon available. There are some historical and API stability reasons why Phonon exists and is capable of interfacing with different backends
Last edited by V1del (2017-06-26 23:34:28)
Offline
No network drive, and both Plasma Search and Gwenview work fine without delay for me
Which part of the printenv output is the interesting part for this?
"ls -l ~/.config/systemd/user": this file doesn't exist for me. Even the directory "~/.config/systemd" doesn't exist. systemd is indeed in use in my system though (unfortunately ;p).
hostnamectl status:
Static hostname: [redacted]
Icon name: computer-desktop
Chassis: desktop
Machine ID: [hex digits, redacted]
Boot ID: [hex digits, redacted]
Operating System: Arch Linux
Kernel: Linux 4.11.5-1-ARCH
Architecture: x86-64
Thanks!
Offline
Static hostname: [redacted]
That is as worthless as it gets in this context.
V1del asked for specific information and you only provide the generic part of the output.
Smells like a nofitication issue, still.
How does
notify-send test
behave? Instant notification?
Offline
The DBUS_SESSION_BUS_ADDRESS is the important bit. And what i wanted to find out with the hostnamectl is what you hostname is, since you redacted it I hope it is something different than localhost. Also we've been on 4.11.6 for a while, have you simply not updated yet or did you update and haven't rebooted into the new kernel? Do that if that is the case. You might want to post your pacman.log, and try to use [ code ] tags when posting command output or log files
Last edited by V1del (2017-06-27 08:10:39)
Offline
It started doing this since last pacman -Syu around a week ago.
Kernel: Linux 4.11.5-1-ARCH
That's odd. Are you ignoring packages? This should be kernel 4.11.6.
Offline
I also have the same problem, I'm on openbox but i use dolphin as file manager and every time i delete something it hangs out around 20 second before giving me the "are you sure you want to delete this file". This happens always the first time i delete a file in a specific dolphin session. I mean, if i close dolphin, and reopen a new one, the first time i delete somethin, the delay is there again.
my DBUS is
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
notify-send test doesn't give any sound at all.
PS: the sound per se, is working great, just it doesn't play any sound with notify-send.
At the moment I have disabled the confirmation dialog for deleting files under dolphin, but it's not a solution...
Last edited by kicka (2017-06-28 10:16:42)
Offline
There isn't supposed to be a sound, but some dialog would be great.
Openbox however doesn't provide a notification server at all, you'd install sth. linke dunst for that (the idea is that KDE tries to send a notification and times out on such failing attempt)
Offline
No dialog appears during notify-send either.
I looked at "dunst", seems to me like "tint2" (which i use).
The reason you came out with, seems reasonable, but i have this configuration (openbox/kde) since around 6 years now, openbox never managed notification, but KDE never bothered... Maybe with the last major upgrade (one month ago ...) it became more ... strictly... i don't know..
EDITED: My fault, "dunst" is not somethin like "tint2", but their screenshot is not clear enough in my opinion...
Last edited by kicka (2017-06-27 16:21:20)
Offline
Offline
OK, i installed dunst, loaded at startup, rebooted,...
[drums rolling music...]
Now dolphin doesn't hang up anymore!!!
PS:
In my quest for this problem solution I allready readed the post suggested by arojas, but nothin have worked,... till "dunst"!!
Thank you.
Last edited by kicka (2017-06-27 16:33:41)
Offline
Static hostname: [redacted]
That is as worthless as it gets in this context.
V1del asked for specific information and you only provide the generic part of the output.
Oops, nothing personal. It's not localhost but the name I gave this PC.
That's odd. Are you ignoring packages? This should be kernel 4.11.6.
Maybe it was 2 weeks ago Kernel is 4.11.6 now when running pacman -Syu again today.
Last edited by aardwolf (2017-06-27 19:43:03)
Offline
Did you try the behavior of notify-send?
Offline
Did you try the behavior of notify-send?
Oops, I intended to reply it but accidently removed that part while editing the post.
I wanted to say:
Bingo! That's it! notify-send test hangs for 10-20 seconds, then returns the prompt, with no message visible anywyere.
I don't actually care about the message But I care a lot about the hanging, especially as indeed it also happens on any tab autocompletion in konsole
Last edited by aardwolf (2017-06-27 22:04:07)
Offline
Offline
A post from 2002?
I did see the links to bugs above. I tried installing notify-osd as suggested in one, but so far notice no difference. Maybe after reboot it'll work...
Offline
Ok, bbq fucked me - i meant post #12 here ;-)
Afair you'll have to re-login at least.
Offline
no luck with notify-osd
how does such notification tool connect with KDE? Can I program a dummy tool that makes KDE happy?
Thanks.
Offline
First check your session bus:
echo $DBUS_SESSION_BUS_ADDRESS
Offline
Well, I found how to fix it now:
In "System Tray Settings", I had under "Entries" set notifications to "hidden".
If I enable them again, then everything is fast! But it does show those huge distracting annoying notifications boxes I don't want to see there, which I set to hidden for a reason!
edit: the output:
$echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus
Last edited by aardwolf (2017-06-27 22:26:17)
Offline
Hi, since last update I did, KDE 5 sometimes hangs for a while, like 20 seconds, usually before showing a dialog like "are you sure you want to delete this file" in dolphin or "save file before closing kwrite?" and stuff like that. But also sometimes when using bash in konsole.
Version info:
KDE Frameworks 5.35.0
Qt 5.9.0 (built against 5.9.0)Any idea what this is?
Thanks!
I've been waiting forever for help with this! I'm glad to see that, at least, someone else has the same issue. And yes, disabling popup notifications fixes the problem. Thing is I don't want popups though.
Last edited by Schala (2017-06-29 05:09:52)
Hardware: Gigabyte X570 AORUS Pro, AMD Ryzen 5900X, Nvidia GTX 1080, 32 GB DDR4 RAM
Choice software: Arch Linux 64-bit with KDE desktop / Windows 11 Home 64-bit
Offline
Since the issue seems to be related to having a notifcation-daemon installed, please verify if you have kdebase-runtime installed.
(like notify-osd kdebase-runtime provides noticiation-daemon )
If not, install it and check if that helps.
Last edited by Lone_Wolf (2017-06-29 12:29:51)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Very similar problem here also. I have Arch installed on two machines, and I keep them updated. They both exhibit the same behavior with KDE applications: Kate, Dolphin, Konsole, KDevelop, . . . The problem began nearly a month or so ago. I have LXDE as the desktop environment. Every time after starting any of these applications, the program will hang for some time, and it works ok after the hang. I have been updating everyday hoping there will be a fix, but not yet, so this is my first time actively trying to find a solution.
I also had problems with the nm-applet.
After reading through the posts and following links to similar problems I entered the following into konsole:
sudo pacman -S dunst notify-osd kdebase-runtime noticiation-daemon
Then I rebooted, so far the problem seems to have been resolved.
Last edited by Technicus (2017-07-03 00:31:21)
Offline