You are not logged in.
Hello everyone. I don't have any sound device on my machine. I only connect it when I really need it. I worry about spamming "ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device" in the journal.
This makes logging really difficult. When I connect headphones the spamming stops and my sound device is working absolutely correctly.
Output for journalctl -f:
jun 06 14:08:48 arch-pc pipewire-media-session[1694]: ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device
jun 06 14:08:48 arch-pc gsd-media-keys[1464]: Unable to get default source
jun 06 14:09:01 arch-pc pipewire-media-session[1694]: ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device
jun 06 14:09:01 arch-pc gsd-media-keys[1464]: Unable to get default source
jun 06 14:09:14 arch-pc pipewire-media-session[1694]: ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device
jun 06 14:09:14 arch-pc gsd-media-keys[1464]: Unable to get default source
jun 06 14:09:25 arch-pc gsd-media-keys[1464]: Unable to get default source
jun 06 14:09:25 arch-pc pipewire-media-session[1694]: ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device
jun 06 14:09:36 arch-pc pipewire-media-session[1694]: ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device
jun 06 14:09:36 arch-pc gsd-media-keys[1464]: Unable to get default source
jun 06 14:09:48 arch-pc gsd-media-keys[1464]: Unable to get default source
jun 06 14:09:48 arch-pc pipewire-media-session[1694]: ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device
jun 06 14:10:00 arch-pc gsd-media-keys[1464]: Unable to get default source
jun 06 14:10:00 arch-pc pipewire-media-session[1694]: ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device
jun 06 14:10:13 arch-pc gsd-media-keys[1464]: Unable to get default source
jun 06 14:10:13 arch-pc pipewire-media-session[1694]: ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device
jun 06 14:10:26 arch-pc pipewire-media-session[1694]: ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device
jun 06 14:10:26 arch-pc gsd-media-keys[1464]: Unable to get default source
jun 06 14:10:40 arch-pc pipewire-media-session[1694]: ms.mod.default-profile: device 'alsa_card.pci-0000_00_1f.3': can't restore profile: No such device
jun 06 14:10:40 arch-pc gsd-media-keys[1464]: Unable to get default sourceAny ideas how to solve this?
Last edited by Andrew Miadelets (2024-06-13 07:19:32)
Offline
I find it weird that it polls for this when this should be able to be determined once and on udev plug events. FWIW pipewire-media-session is considered deprecated anyway and you should switch to wireplumber
Offline
FWIW pipewire-media-session is considered deprecated anyway and you should switch to wireplumber
Switching to a wireplumber leads to even worse behavior. I still have spamming every 10-15 seconds, but more:
Jun 07 09:39:55 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:39:55 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:39:55 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:39:55 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:39:55 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:39:55 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:39:55 arch-pc gsd-media-keys[1463]: Unable to get default source
Jun 07 09:39:55 arch-pc gsd-media-keys[1463]: Unable to get default sink
Jun 07 09:39:55 arch-pc gsd-media-keys[1463]: Unable to get default sink
Jun 07 09:39:55 arch-pc gsd-media-keys[1463]: Unable to get default source
Jun 07 09:40:07 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:40:07 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:40:07 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:40:07 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:40:07 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:40:07 arch-pc wireplumber[1695]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
stack traceback:
[string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Jun 07 09:40:07 arch-pc gsd-media-keys[1463]: Unable to get default source
Jun 07 09:40:07 arch-pc gsd-media-keys[1463]: Unable to get default sink
Jun 07 09:40:07 arch-pc gsd-media-keys[1463]: Unable to get default sink
Jun 07 09:40:07 arch-pc gsd-media-keys[1463]: Unable to get default sourceLast edited by Andrew Miadelets (2024-06-07 02:53:12)
Offline
Ah just realizing, your problem is gsd-media-keys polling for devices, you have to kill that. Also not sure why that would request that every 15 seconds but the trigger comes from there.
Offline
Unfortunately, after the process is killed, nothing changes.
But even if this helps, is it worth just killing the process?
Offline