

Code: Select all
kalarm
org.kde.pim.kalarm: Wake from suspend: use RTC (no CAP_WAKE_ALARM capability)
25.12.2rab0171610 wrote:First, are you on stable or testing?Which version of kalarm are you using?
There are currently two in the gentoo repo, 25.12.3 (testing) and 25.12.2 (stable).
Please share your build!Open disclosure: I am using my own custom ebuild for kalarm version 25.12.2 so that I can avoid mpv. (I am using vlc as a sound backend.)
I did try several files. They are all playable by any audio player.I am not able to replicate the issue you are having.
Have you tried different sound files?
(I usually stick to files that are in my home directory.)
Have you checked the volume level of 'Notification Sounds'?
SystemSettings -> Input & Output -> Sound
Check that the slide at the bottom labeled Notification Sounds under Playback Streams is not muted or that the volume
is not high enough.
I also see this message. It happens on startup, even before any alarm is played. I also see some messages when I edit an alarm (any one, not just the sound):This is not likely to be an issue since you are having trouble with freezing when trying to "try" a sound alarm.
Try running kalarm from the command line and see if there is any relevant ouput. Working normally, this is the only output that I see when setting an audio alarm and trying it:Is this only happening when trying an audio alarm? Try a display alarm and see if there is any output or the same issue occurs.Code: Select all
kalarm org.kde.pim.kalarm: Wake from suspend: use RTC (no CAP_WAKE_ALARM capability)
Code: Select all
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
Unsupported return type 4097 QPixmap in method "grab"
Unsupported return type 4097 QPixmap in method "grab"Yes, mpv from the command line works. In fact I replaced my sound alarms with command alarms that just run mpv.Since you are likely using mpv for sound, are you able to play the same sound file you are trying to use for the audio alarm with mpv from the command line?

Code: Select all
rm -rv ~/.cache/*
Code: Select all
>=media-video/mpv-0.37.0:=[libmpv]Code: Select all
-DENABLE_LIBMPV=OFF
-DENABLE_LIBVLC=ONCode: Select all
Remove hard dependency on mpv.
Add hard dependency on vlc.
Adjust CMake arguments accordingly.
--- a/kde-apps/kalarm/kalarm-25.12.2.ebuild
+++ b/kde-apps/kalarm/kalarm-25.12.2.ebuild
@@ -49,7 +49,7 @@
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
>=kde-frameworks/kwindowsystem-${KFMIN}:6[X?]
>=kde-frameworks/kxmlgui-${KFMIN}:6
- >=media-video/mpv-0.37.0:=[libmpv]
+ media-video/vlc
pim? (
>=kde-apps/akonadi-${PVCUT}:6=
>=kde-apps/akonadi-contacts-${PVCUT}:6=
@@ -68,8 +68,8 @@
src_configure() {
local mycmakeargs=(
- -DENABLE_LIBMPV=ON # default upstream
- -DENABLE_LIBVLC=OFF # OFF as long as it is Qt5-based
+ -DENABLE_LIBMPV=OFF # OFF as a local change
+ -DENABLE_LIBVLC=ON # ON as a local change
-DENABLE_AKONADI_PLUGIN=$(usex pim)
$(cmake_use_find_package speech KF6TextEditTextToSpeech)
-DWITHOUT_X11=$(usex !X)

