https://bugs.kde.org/show_bug.cgi?id=520009

            Bug ID: 520009
           Summary: [KDE Plasma 6.6.4] Login sound missing on cold boot,
                    but works after re-login
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.4
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Notifications
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Created attachment 192172
  --> https://bugs.kde.org/attachment.cgi?id=192172&action=edit
Visual boot chart (systemd-analyze plot) illustrating the race condition
between audio services and the session.

On Fedora 44 KDE (Plasma 6.6.4), the system login sound fails to play during
the very first login after a cold boot. However, if the user logs out and logs
back in without restarting, the login sound plays normally.

Analysis of the provided systemd logs suggests a race condition:
pipewire.service, wireplumber.service, and pipewire-pulse.service are started
at the exact same second (e.g., 18:35:15) that the user session initializes. It
appears the desktop environment attempts to play the login notification before
WirePlumber has finished initializing the audio sinks or hardware (like the
camera/UVC video detection shown in logs).

Version-Release number of selected component:
plasma-workspace-6.6.4

Reproducible: Always

Steps to Reproduce:
1.Power on the computer (cold boot).
2.Log in to the KDE Plasma session via the login manager.
3.Observe that no login sound is played.
4.Log out of the current session.
5.Log in again.
6.Observe that the login sound plays correctly this time.
Actual Results:
Silence on the first login after boot.

Expected Results:
The login sound should play reliably on the first login, ensuring the audio
stack is ready before the sound event is triggered.

Additional Information:
I have attached startup_debug.log, audio_startup_debug.log, and
fedora_boot_order.svg which show the overlapping start times of the multimedia
services.

Operating System: Fedora Linux 44
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.10.3
Kernel Version: 6.19.14-300.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 13th Gen Intel® Core™ i5-13420H
Memory: 16 GiB of RAM (15.1 GiB usable)
Graphics Processor: Intel® Graphics
Manufacturer: LENOVO
Product Name: 21KG
System Version: ThinkBook 14 G6 IRL-SE

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to