Disconnecting and connecting sound when monitor in standby mode

So i have this sound when my screen goes off to power save (X minute after inactivity in power management) and every 10 sec it makes this reconnecting sound. How do i fix this? thanks

journalctl -f log this every time it makes the sound:
kde.plasmashell: requesting unexisting screen available rect -1

PC spec:

  • Intel 13600kf with amd 6700xt
  • dual monitor

Hi,

Can you send us the information from this command, it will gather information regarding the hardware of your system and drivers so we have an idea of it.

inxi -Fxxc0z | eos-sendlog

Just so I have an idea of the audio setup, I will assume you may have blutooth headphones or headphones connected to the PC and the sound is coming through these or a speaker? and the monitors have speakers in them?

Thanks for the reply!
https://0x0.st/X6lL.txt
yea, I have a pair of wired speaker as my main setup, and my monitor don’t have any speaker. It only makes the sound when monitor is turned off tho

In the sound settings is the graphics card set to off?

For me I have an entry for inactive cards from where I switched the Navi 21/23 to off. Mostly as my monitors have speakers and don’t want them accidentally playing audio via HDMI or DP. Your monitors don’t have speakers but I wondered if the GPU had anything to do with it.

I tried turning off GPU audio controller in sound settings, but the problem still persist. I guess it’s something to do with power management or monitor maybe?

Hello everyone,

I do indeed have the same problem.
It must have something to do with the graphics card because it started when I replaced my Nvidia card with an AMD RX 6600.
But it is difficult to diagnose because it only occurs when I am not interacting with the system

Welcome here :enos:

Issue is similar but not the same and unsolved.
First thing is to make sure configs are cleaned of:
https://discovery.endeavouros.com/audio/pipewire/2021/09/

rm -R ~/.config/pulse ~/.local/state/wireplumber ~/.local/state/pipewire

this will reset audiosystem user setup and recreate on next login.

Not sure what this would have to do with the display standby mode… as this is basically the hardware of the display doing this on its own.

In case Desktop settings of the used DE have some defaults set you can disable to see if it is the culprit.

If you talk about general system sleep mode it is a different story.
There it could be power save options in the way.

In both cases it would need more info about the hardware and used setup, Desktop Environment and setup done may you enable TLP and have power-profiles-daemon still running…

Thanks for the feedback.

No, I am not talking about system sleep. I have disabled it anyway because of kernel crashes in sleep mode.
In this case it is only about the standby of the monitor.

I’ll try the above…

I fixed it by reinstalling my whole EOS hehe… i’m too clueless tinkering with the driver

1 Like

and in case you have to make sure to remove everything you setup for the old GPU … And it is a known issue that you can have issues with replacing hardware like the GPU in cases… seems some hardware related detected configs could be left over in the system… or as io mentioned configs and settings you added manually or with tools…

None of the files above exist here.

Hm. It looks like there is no audio device left from the old card… at least not visible in KDE

none?

this 2 should exist always: ~/.config/pulse ~/.local/state/wireplumber

haha :slight_smile:

would say it’s easier to mut the speakers in a first step.

content of “state”:

“pulse” was empty … after playing around with some settings, one file was created.

image

what shows:
inxi -Aaz ?

and systemctl --user status pipewire-pulse

or:

systemctl --user status wireplumber

Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Biostar Microtech Intl Corp
    driver: snd_hda_intel v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:ab28 class-ID: 0403
  Device-3: Microsoft LifeCam Cinema driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3.4:8
    chip-ID: 045e:075d class-ID: 0102
  API: ALSA v: k6.11.6-arch1-1 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.2.6 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl

pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
     Active: active (running) since Sun 2024-11-10 13:41:20 CET; 1h 53min ago
 Invocation: 153d8591dda34fdaada11eafef163986
TriggeredBy: â—Ź pipewire-pulse.socket
   Main PID: 1238 (pipewire-pulse)
      Tasks: 3 (limit: 18847)
     Memory: 17.5M (peak: 23.3M)
        CPU: 5.454s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1238 /usr/bin/pipewire-pulse

wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-11-10 13:41:19 CET; 1h 54min ago
 Invocation: 7a67864daeab4b2ba3e1f0f53bfbeade
   Main PID: 1038 (wireplumber)
      Tasks: 6 (limit: 18847)
     Memory: 31.6M (peak: 33.7M)
        CPU: 13.070s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─1038 /usr/bin/wireplumber

Nov 10 15:26:08 santiago wireplumber[1038]: wp-state: <WpState:0x617c59929200> could not save stream-properties: Datei »/home/christoph/.local/state/wireplumber/stream-properties.ZB97W2« konnte nicht angelegt werden: Datei oder Verzeic>
Nov 10 15:26:18 santiago wireplumber[1038]: wp-state: <WpState:0x617c59929200> could not save stream-properties: Datei »/home/christoph/.local/state/wireplumber/stream-properties.67C7W2« konnte nicht angelegt werden: Datei oder Verzeic>
Nov 10 15:26:29 santiago wireplumber[1038]: wp-state: <WpState:0x617c59929200> could not save stream-properties: Datei »/home/christoph/.local/state/wireplumber/stream-properties.9X58W2« konnte nicht angelegt werden: Datei oder Verzeic>
Nov 10 15:26:40 santiago wireplumber[1038]: wp-state: <WpState:0x617c59929200> could not save stream-properties: Datei »/home/christoph/.local/state/wireplumber/stream-properties.KC89W2« konnte nicht angelegt werden: Datei oder Verzeic>
Nov 10 15:26:51 santiago wireplumber[1038]: wp-state: <WpState:0x617c59929200> could not save stream-properties: Datei »/home/christoph/.local/state/wireplumber/stream-properties.8DFBX2« konnte nicht angelegt werden: Datei oder Verzeic>
Nov 10 15:27:02 santiago wireplumber[1038]: wp-state: <WpState:0x617c59929200> could not save stream-properties: Datei »/home/christoph/.local/state/wireplumber/stream-properties.7M9EX2« konnte nicht angelegt werden: Datei oder Verzeic>
Nov 10 15:27:13 santiago wireplumber[1038]: wp-state: <WpState:0x617c59929200> could not save stream-properties: Datei »/home/christoph/.local/state/wireplumber/stream-properties.P8OFX2« konnte nicht angelegt werden: Datei oder Verzeic>
Nov 10 15:27:24 santiago wireplumber[1038]: wp-state: <WpState:0x617c59929200> could not save stream-properties: Datei »/home/christoph/.local/state/wireplumber/stream-properties.KEEEX2« konnte nicht angelegt werden: Datei oder Verzeic>
Nov 10 15:27:35 santiago wireplumber[1038]: wp-state: <WpState:0x617c59929200> could not save stream-properties: Datei »/home/christoph/.local/state/wireplumber/stream-properties.MYLGX2« konnte nicht angelegt werden: Datei oder Verzeic>
Nov 10 15:27:46 santiago wireplumber[1038]: wp-state: <WpState:0x617c59929200> could not save stream-properties: Datei »/home/christoph/.local/state/wireplumber/stream-properties.JENHX2« konnte nicht angelegt werden: Datei oder Verzeic>

this looks all totally fine… aside from the “konnte nicht angelegt werde…” error :wink:

additional info:

Following this hint:

https://bbs.archlinux.org/viewtopic.php?id=290825

the error message above disappeared.

wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-11-10 16:08:53 CET; 3min 32s ago
 Invocation: 371b12f822004c819fc3cba36055ab56
   Main PID: 19989 (wireplumber)
      Tasks: 6 (limit: 18847)
     Memory: 8.6M (peak: 9.9M)
        CPU: 671ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─19989 /usr/bin/wireplumber

Nov 10 16:08:53 santiago systemd[917]: Started Multimedia Service Session Manager.
Nov 10 16:08:53 santiago wireplumber[19989]: wp-internal-comp-loader: Loading profile 'main'
Nov 10 16:08:54 santiago wireplumber[19989]: spa.bluez5: BlueZ system service is not available
Nov 10 16:08:54 santiago wireplumber[19989]: wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Nov 10 16:08:54 santiago wireplumber[19989]: s-monitors-libcamera: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.

I identified the sounds as the ones played when connceting / disconnecting devices.
I enabled text notifications for this event as well. Maybe it helps to see which device is considered to be disconnected …