gnome-shell-volume-mixer
gnome-shell-volume-mixer copied to clipboard
Can't query sound cards under pipewire
Using pipewire (which should be pulseaudio compatible), the following message pops up:
"Querying pulseaudio sound cards failed, disabling extension"
May be a pipewire bug.
This extension has been tested with Pipewire on my systems for almost a year now.
Are you sure pulse-compatibility libraries are installed? What does running the Python scripts directly output?
Thanks for the info on how to get started:
I'm on Ubuntu 21.04 using the pipewire-debian/pipewire-upstream ppa.
I have pipewire-pulse installed, I don't know if that's enough ?
Can you point me at the scripts I need to run and with what parameters ? Is it this query.py - https://github.com/aleho/gnome-shell-volume-mixer/tree/main/shell-volume-mixer%40derhofbauer.at/pautils ?
Yes, you can run the helper from the CLI:
DEBUG=1 [email protected]/pautils/query.py cards
DEBUG=1 [email protected]/pautils/query.py sinks
~~I'll separate the output over two comments~~ (edited for easier scrolling here)
$ DEBUG=1 [email protected]/pautils/query.py cards
{
"42": {
"index": 42,
"alsaCard": null,
"name": "JACK Client",
"description": "JACK Client",
"active_profile": "off",
"profiles": {
"off": {
"name": "off",
"description": "Off",
"available": true
},
"on": {
"name": "on",
"description": "On",
"available": true
}
},
"ports": {}
},
"43": {
"index": 43,
"alsaCard": 0,
"name": "alsa_card.pci-0000_04_00.1",
"description": "Raven/Raven2/Fenghuang HDMI/DP Audio Controller",
"active_profile": "off",
"profiles": {
"off": {
"name": "off",
"description": "Off",
"available": true
},
"output:hdmi-stereo": {
"name": "output:hdmi-stereo",
"description": "Digital Stereo (HDMI) Output",
"available": false
},
"output:hdmi-stereo-extra1": {
"name": "output:hdmi-stereo-extra1",
"description": "Digital Stereo (HDMI 2) Output",
"available": false
},
"output:hdmi-surround": {
"name": "output:hdmi-surround",
"description": "Digital Surround 5.1 (HDMI) Output",
"available": false
},
"output:hdmi-surround71": {
"name": "output:hdmi-surround71",
"description": "Digital Surround 7.1 (HDMI) Output",
"available": false
},
"output:hdmi-surround-extra1": {
"name": "output:hdmi-surround-extra1",
"description": "Digital Surround 5.1 (HDMI 2) Output",
"available": false
},
"output:hdmi-surround71-extra1": {
"name": "output:hdmi-surround71-extra1",
"description": "Digital Surround 7.1 (HDMI 2) Output",
"available": false
},
"pro-audio": {
"name": "pro-audio",
"description": "Pro Audio",
"available": true
}
},
"ports": {
"hdmi-output-0": {
"name": "hdmi-output-0",
"description": "HDMI / DisplayPort",
"direction": "out",
"available": false
},
"hdmi-output-1": {
"name": "hdmi-output-1",
"description": "HDMI / DisplayPort 2",
"direction": "out",
"available": false
}
}
},
"44": {
"index": 44,
"alsaCard": 2,
"name": "alsa_card.usb-Creative_Technology_Ltd_Sound_Blaster_Play__3_00051932-00",
"description": "Sound Blaster Play! 3",
"active_profile": "output:analog-stereo+input:analog-stereo",
"profiles": {
"off": {
"name": "off",
"description": "Off",
"available": true
},
"output:analog-stereo+input:analog-stereo": {
"name": "output:analog-stereo+input:analog-stereo",
"description": "Analog Stereo Duplex",
"available": true
},
"output:analog-stereo+input:iec958-stereo": {
"name": "output:analog-stereo+input:iec958-stereo",
"description": "Analog Stereo Output + Digital Stereo (IEC958) Input",
"available": true
},
"output:analog-stereo": {
"name": "output:analog-stereo",
"description": "Analog Stereo Output",
"available": true
},
"output:iec958-stereo+input:analog-stereo": {
"name": "output:iec958-stereo+input:analog-stereo",
"description": "Digital Stereo (IEC958) Output + Analog Stereo Input",
"available": true
},
"output:iec958-stereo+input:iec958-stereo": {
"name": "output:iec958-stereo+input:iec958-stereo",
"description": "Digital Stereo Duplex (IEC958)",
"available": true
},
"output:iec958-stereo": {
"name": "output:iec958-stereo",
"description": "Digital Stereo (IEC958) Output",
"available": true
},
"input:analog-stereo": {
"name": "input:analog-stereo",
"description": "Analog Stereo Input",
"available": true
},
"input:iec958-stereo": {
"name": "input:iec958-stereo",
"description": "Digital Stereo (IEC958) Input",
"available": true
},
"pro-audio": {
"name": "pro-audio",
"description": "Pro Audio",
"available": true
}
},
"ports": {
"analog-input-mic": {
"name": "analog-input-mic",
"description": "Microphone",
"direction": "in",
"available": null
},
"iec958-stereo-input": {
"name": "iec958-stereo-input",
"description": "Digital Input (S/PDIF)",
"direction": "in",
"available": null
},
"analog-output-speaker": {
"name": "analog-output-speaker",
"description": "Speakers",
"direction": "out",
"available": null
},
"iec958-stereo-output": {
"name": "iec958-stereo-output",
"description": "Digital Output (S/PDIF)",
"direction": "out",
"available": null
}
}
},
"45": {
"index": 45,
"alsaCard": 1,
"name": "alsa_card.pci-0000_04_00.6",
"description": "Family 17h (Models 10h-1fh) HD Audio Controller",
"active_profile": "output:analog-stereo",
"profiles": {
"off": {
"name": "off",
"description": "Off",
"available": true
},
"output:analog-stereo+input:analog-stereo": {
"name": "output:analog-stereo+input:analog-stereo",
"description": "Analog Stereo Duplex",
"available": true
},
"output:analog-stereo": {
"name": "output:analog-stereo",
"description": "Analog Stereo Output",
"available": true
},
"input:analog-stereo": {
"name": "input:analog-stereo",
"description": "Analog Stereo Input",
"available": true
},
"pro-audio": {
"name": "pro-audio",
"description": "Pro Audio",
"available": true
}
},
"ports": {
"analog-input-internal-mic": {
"name": "analog-input-internal-mic",
"description": "Internal Microphone",
"direction": "in",
"available": null
},
"analog-input-mic": {
"name": "analog-input-mic",
"description": "Microphone",
"direction": "in",
"available": false
},
"analog-output-speaker": {
"name": "analog-output-speaker",
"description": "Speakers",
"direction": "out",
"available": false
},
"analog-output-headphones": {
"name": "analog-output-headphones",
"description": "Headphones",
"direction": "out",
"available": true
}
}
},
"46": {
"index": 46,
"alsaCard": 3,
"name": "alsa_card.platform-snd_aloop.0",
"description": "Built-in Audio",
"active_profile": "output:analog-stereo+input:analog-stereo",
"profiles": {
"off": {
"name": "off",
"description": "Off",
"available": true
},
"output:analog-stereo+input:analog-stereo": {
"name": "output:analog-stereo+input:analog-stereo",
"description": "Analog Stereo Duplex",
"available": true
},
"output:analog-stereo+input:analog-surround-21": {
"name": "output:analog-stereo+input:analog-surround-21",
"description": "Analog Stereo Output + Analog Surround 2.1 Input",
"available": true
},
"output:analog-stereo+input:analog-surround-41": {
"name": "output:analog-stereo+input:analog-surround-41",
"description": "Analog Stereo Output + Analog Surround 4.1 Input",
"available": true
},
"output:analog-stereo+input:analog-surround-51": {
"name": "output:analog-stereo+input:analog-surround-51",
"description": "Analog Stereo Output + Analog Surround 5.1 Input",
"available": true
},
"output:analog-stereo+input:analog-surround-40": {
"name": "output:analog-stereo+input:analog-surround-40",
"description": "Analog Stereo Output + Analog Surround 4.0 Input",
"available": true
},
"output:analog-stereo+input:analog-surround-50": {
"name": "output:analog-stereo+input:analog-surround-50",
"description": "Analog Stereo Output + Analog Surround 5.0 Input",
"available": true
},
"output:analog-stereo+input:analog-surround-71": {
"name": "output:analog-stereo+input:analog-surround-71",
"description": "Analog Stereo Output + Analog Surround 7.1 Input",
"available": true
},
"output:analog-stereo": {
"name": "output:analog-stereo",
"description": "Analog Stereo Output",
"available": true
},
"output:analog-surround-21+input:analog-stereo": {
"name": "output:analog-surround-21+input:analog-stereo",
"description": "Analog Surround 2.1 Output + Analog Stereo Input",
"available": true
},
"output:analog-surround-41+input:analog-stereo": {
"name": "output:analog-surround-41+input:analog-stereo",
"description": "Analog Surround 4.1 Output + Analog Stereo Input",
"available": true
},
"output:analog-surround-51+input:analog-stereo": {
"name": "output:analog-surround-51+input:analog-stereo",
"description": "Analog Surround 5.1 Output + Analog Stereo Input",
"available": true
},
"output:analog-surround-21+input:analog-surround-21": {
"name": "output:analog-surround-21+input:analog-surround-21",
"description": "Analog Surround 2.1 Output + Analog Surround 2.1 Input",
"available": true
},
"output:analog-surround-21+input:analog-surround-41": {
"name": "output:analog-surround-21+input:analog-surround-41",
"description": "Analog Surround 2.1 Output + Analog Surround 4.1 Input",
"available": true
},
"output:analog-surround-21+input:analog-surround-51": {
"name": "output:analog-surround-21+input:analog-surround-51",
"description": "Analog Surround 2.1 Output + Analog Surround 5.1 Input",
"available": true
},
"output:analog-surround-41+input:analog-surround-21": {
"name": "output:analog-surround-41+input:analog-surround-21",
"description": "Analog Surround 4.1 Output + Analog Surround 2.1 Input",
"available": true
},
"output:analog-surround-41+input:analog-surround-41": {
"name": "output:analog-surround-41+input:analog-surround-41",
"description": "Analog Surround 4.1 Output + Analog Surround 4.1 Input",
"available": true
},
"output:analog-surround-41+input:analog-surround-51": {
"name": "output:analog-surround-41+input:analog-surround-51",
"description": "Analog Surround 4.1 Output + Analog Surround 5.1 Input",
"available": true
},
"output:analog-surround-51+input:analog-surround-21": {
"name": "output:analog-surround-51+input:analog-surround-21",
"description": "Analog Surround 5.1 Output + Analog Surround 2.1 Input",
"available": true
},
"output:analog-surround-51+input:analog-surround-41": {
"name": "output:analog-surround-51+input:analog-surround-41",
"description": "Analog Surround 5.1 Output + Analog Surround 4.1 Input",
"available": true
},
"output:analog-surround-51+input:analog-surround-51": {
"name": "output:analog-surround-51+input:analog-surround-51",
"description": "Analog Surround 5.1 Output + Analog Surround 5.1 Input",
"available": true
},
"output:analog-surround-21+input:analog-surround-40": {
"name": "output:analog-surround-21+input:analog-surround-40",
"description": "Analog Surround 2.1 Output + Analog Surround 4.0 Input",
"available": true
},
"output:analog-surround-21+input:analog-surround-50": {
"name": "output:analog-surround-21+input:analog-surround-50",
"description": "Analog Surround 2.1 Output + Analog Surround 5.0 Input",
"available": true
},
"output:analog-surround-21+input:analog-surround-71": {
"name": "output:analog-surround-21+input:analog-surround-71",
"description": "Analog Surround 2.1 Output + Analog Surround 7.1 Input",
"available": true
},
"output:analog-surround-41+input:analog-surround-40": {
"name": "output:analog-surround-41+input:analog-surround-40",
"description": "Analog Surround 4.1 Output + Analog Surround 4.0 Input",
"available": true
},
"output:analog-surround-41+input:analog-surround-50": {
"name": "output:analog-surround-41+input:analog-surround-50",
"description": "Analog Surround 4.1 Output + Analog Surround 5.0 Input",
"available": true
},
"output:analog-surround-41+input:analog-surround-71": {
"name": "output:analog-surround-41+input:analog-surround-71",
"description": "Analog Surround 4.1 Output + Analog Surround 7.1 Input",
"available": true
},
"output:analog-surround-51+input:analog-surround-40": {
"name": "output:analog-surround-51+input:analog-surround-40",
"description": "Analog Surround 5.1 Output + Analog Surround 4.0 Input",
"available": true
},
"output:analog-surround-51+input:analog-surround-50": {
"name": "output:analog-surround-51+input:analog-surround-50",
"description": "Analog Surround 5.1 Output + Analog Surround 5.0 Input",
"available": true
},
"output:analog-surround-51+input:analog-surround-71": {
"name": "output:analog-surround-51+input:analog-surround-71",
"description": "Analog Surround 5.1 Output + Analog Surround 7.1 Input",
"available": true
},
"output:analog-surround-21": {
"name": "output:analog-surround-21",
"description": "Analog Surround 2.1 Output",
"available": true
},
"output:analog-surround-41": {
"name": "output:analog-surround-41",
"description": "Analog Surround 4.1 Output",
"available": true
},
"output:analog-surround-51": {
"name": "output:analog-surround-51",
"description": "Analog Surround 5.1 Output",
"available": true
},
"output:analog-surround-40+input:analog-stereo": {
"name": "output:analog-surround-40+input:analog-stereo",
"description": "Analog Surround 4.0 Output + Analog Stereo Input",
"available": true
},
"output:analog-surround-50+input:analog-stereo": {
"name": "output:analog-surround-50+input:analog-stereo",
"description": "Analog Surround 5.0 Output + Analog Stereo Input",
"available": true
},
"output:analog-surround-71+input:analog-stereo": {
"name": "output:analog-surround-71+input:analog-stereo",
"description": "Analog Surround 7.1 Output + Analog Stereo Input",
"available": true
},
"output:analog-surround-40+input:analog-surround-21": {
"name": "output:analog-surround-40+input:analog-surround-21",
"description": "Analog Surround 4.0 Output + Analog Surround 2.1 Input",
"available": true
},
"output:analog-surround-40+input:analog-surround-41": {
"name": "output:analog-surround-40+input:analog-surround-41",
"description": "Analog Surround 4.0 Output + Analog Surround 4.1 Input",
"available": true
},
"output:analog-surround-40+input:analog-surround-51": {
"name": "output:analog-surround-40+input:analog-surround-51",
"description": "Analog Surround 4.0 Output + Analog Surround 5.1 Input",
"available": true
},
"output:analog-surround-50+input:analog-surround-21": {
"name": "output:analog-surround-50+input:analog-surround-21",
"description": "Analog Surround 5.0 Output + Analog Surround 2.1 Input",
"available": true
},
"output:analog-surround-50+input:analog-surround-41": {
"name": "output:analog-surround-50+input:analog-surround-41",
"description": "Analog Surround 5.0 Output + Analog Surround 4.1 Input",
"available": true
},
"output:analog-surround-50+input:analog-surround-51": {
"name": "output:analog-surround-50+input:analog-surround-51",
"description": "Analog Surround 5.0 Output + Analog Surround 5.1 Input",
"available": true
},
"output:analog-surround-71+input:analog-surround-21": {
"name": "output:analog-surround-71+input:analog-surround-21",
"description": "Analog Surround 7.1 Output + Analog Surround 2.1 Input",
"available": true
},
"output:analog-surround-71+input:analog-surround-41": {
"name": "output:analog-surround-71+input:analog-surround-41",
"description": "Analog Surround 7.1 Output + Analog Surround 4.1 Input",
"available": true
},
"output:analog-surround-71+input:analog-surround-51": {
"name": "output:analog-surround-71+input:analog-surround-51",
"description": "Analog Surround 7.1 Output + Analog Surround 5.1 Input",
"available": true
},
"output:analog-surround-40+input:analog-surround-40": {
"name": "output:analog-surround-40+input:analog-surround-40",
"description": "Analog Surround 4.0 Output + Analog Surround 4.0 Input",
"available": true
},
"output:analog-surround-40+input:analog-surround-50": {
"name": "output:analog-surround-40+input:analog-surround-50",
"description": "Analog Surround 4.0 Output + Analog Surround 5.0 Input",
"available": true
},
"output:analog-surround-40+input:analog-surround-71": {
"name": "output:analog-surround-40+input:analog-surround-71",
"description": "Analog Surround 4.0 Output + Analog Surround 7.1 Input",
"available": true
},
"output:analog-surround-50+input:analog-surround-40": {
"name": "output:analog-surround-50+input:analog-surround-40",
"description": "Analog Surround 5.0 Output + Analog Surround 4.0 Input",
"available": true
},
"output:analog-surround-50+input:analog-surround-50": {
"name": "output:analog-surround-50+input:analog-surround-50",
"description": "Analog Surround 5.0 Output + Analog Surround 5.0 Input",
"available": true
},
"output:analog-surround-50+input:analog-surround-71": {
"name": "output:analog-surround-50+input:analog-surround-71",
"description": "Analog Surround 5.0 Output + Analog Surround 7.1 Input",
"available": true
},
"output:analog-surround-71+input:analog-surround-40": {
"name": "output:analog-surround-71+input:analog-surround-40",
"description": "Analog Surround 7.1 Output + Analog Surround 4.0 Input",
"available": true
},
"output:analog-surround-71+input:analog-surround-50": {
"name": "output:analog-surround-71+input:analog-surround-50",
"description": "Analog Surround 7.1 Output + Analog Surround 5.0 Input",
"available": true
},
"output:analog-surround-71+input:analog-surround-71": {
"name": "output:analog-surround-71+input:analog-surround-71",
"description": "Analog Surround 7.1 Output + Analog Surround 7.1 Input",
"available": true
},
"output:analog-surround-40": {
"name": "output:analog-surround-40",
"description": "Analog Surround 4.0 Output",
"available": true
},
"output:analog-surround-50": {
"name": "output:analog-surround-50",
"description": "Analog Surround 5.0 Output",
"available": true
},
"output:analog-surround-71": {
"name": "output:analog-surround-71",
"description": "Analog Surround 7.1 Output",
"available": true
},
"input:analog-stereo": {
"name": "input:analog-stereo",
"description": "Analog Stereo Input",
"available": true
},
"input:analog-surround-21": {
"name": "input:analog-surround-21",
"description": "Analog Surround 2.1 Input",
"available": true
},
"input:analog-surround-41": {
"name": "input:analog-surround-41",
"description": "Analog Surround 4.1 Input",
"available": true
},
"input:analog-surround-51": {
"name": "input:analog-surround-51",
"description": "Analog Surround 5.1 Input",
"available": true
},
"input:analog-surround-40": {
"name": "input:analog-surround-40",
"description": "Analog Surround 4.0 Input",
"available": true
},
"input:analog-surround-50": {
"name": "input:analog-surround-50",
"description": "Analog Surround 5.0 Input",
"available": true
},
"input:analog-surround-71": {
"name": "input:analog-surround-71",
"description": "Analog Surround 7.1 Input",
"available": true
},
"pro-audio": {
"name": "pro-audio",
"description": "Pro Audio",
"available": true
}
},
"ports": {
"analog-input": {
"name": "analog-input",
"description": "Analog Input",
"direction": "in",
"available": null
},
"analog-output": {
"name": "analog-output",
"description": "Analog Output",
"direction": "out",
"available": null
}
}
}
}
$ DEBUG=1 [email protected]/pautils/query.py sinks
{
"51": {
"index": 51,
"alsaCard": 2,
"name": "alsa_output.usb-Creative_Technology_Ltd_Sound_Blaster_Play__3_00051932-00.analog-stereo",
"description": "Sound Blaster Play! 3 Analog Stereo",
"card": 44,
"active_port": "analog-output-speaker",
"ports": {
"analog-output-speaker": {
"name": "analog-output-speaker",
"description": "Speakers",
"type": 2,
"available": null
}
}
},
"53": {
"index": 53,
"alsaCard": 1,
"name": "alsa_output.pci-0000_04_00.6.analog-stereo",
"description": "Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo",
"card": 45,
"active_port": "analog-output-headphones",
"ports": {
"analog-output-speaker": {
"name": "analog-output-speaker",
"description": "Speakers",
"type": 2,
"available": false
},
"analog-output-headphones": {
"name": "analog-output-headphones",
"description": "Headphones",
"type": 3,
"available": true
}
}
},
"54": {
"index": 54,
"alsaCard": 3,
"name": "alsa_output.platform-snd_aloop.0.analog-stereo",
"description": "Built-in Audio Analog Stereo",
"card": 46,
"active_port": "analog-output",
"ports": {
"analog-output": {
"name": "analog-output",
"description": "Analog Output",
"type": 22,
"available": null
}
}
}
}
I had this issue too just a moment ago. I think it was an issue with my extension installation. Deleting the extension, restarting gnome-shell, and reinstalling seems to have fixed it.
This is really strange (I know that the scripts may not work, but that's a Python setup issue, not general).
Are there any relevant logs in journalctl -b /usr/bin/gnome-shell | grep shell-volume-mixer
?
Again, mine is working now, so this is probably irrelevant, but here's mine in case it's a useful hint until @stuaxo is able to post his.
View logs
Nov 16 10:51:47 mischka-desktop gnome-shell[2124]: JS ERROR: [email protected] | paHelper.js | execHelper(): Error: Could not find PulseAudio utility in extension path pautils/query.py
error@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/log.js:81:17
execHelper@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/paHelper.js:56:13
getCards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/paHelper.js:122:18
_getCardDetails@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:157:40
_initCards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:139:32
_init@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:110:24
_onStateChanged@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:101:14
connect@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:75:14
Mixer@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
enable@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/extension.js:23:15
Nov 16 10:51:50 mischka-desktop gnome-shell[2124]: JS ERROR: [email protected] | paHelper.js | execHelper(): Error: Could not find PulseAudio utility in extension path pautils/query.py
error@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/log.js:81:17
execHelper@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/paHelper.js:56:13
getCards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/paHelper.js:122:18
_getCardDetails@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:157:40
_initCards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:139:32
async*_init@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:110:24
_onStateChanged@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:101:14
connect@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:75:14
Mixer@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
enable@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/extension.js:23:15
Nov 16 10:51:52 mischka-desktop gnome-shell[2124]: JS ERROR: [email protected] | paHelper.js | execHelper(): Error: Could not find PulseAudio utility in extension path pautils/query.py
error@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/log.js:81:17
execHelper@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/paHelper.js:56:13
getCards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/paHelper.js:122:18
_getCardDetails@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:157:40
_initCards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:139:32
async*_init@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:110:24
_onStateChanged@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:101:14
connect@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:75:14
Mixer@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
enable@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/extension.js:23:15
Nov 16 10:51:52 mischka-desktop gnome-shell[2124]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:146:19
async*_init@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:110:24
_onStateChanged@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:101:14
connect@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:75:14
Mixer@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
enable@/home/mischka/.local/share/gnome-shell/extensions/[email protected]/extension.js:23:15
@jacobmischka Yes, that's stange, probably an installation error. I just checked the extension on e.g.o and the files are certainly there. 🤷🏼
I reinstalled and haven't seen anything yet - but it'll probably be later, after work when I try and use audio a bit more -
I've got an issue with pavucontrol under pipewire making it impossible to change audio devices, and that means I'm not using audio as much right now. https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1821
Sorry for the bad information, I must have left this disabled as I hadn't rebooted yet.
I just reinstalled it from the extensions page and immediately showed the popup.
$ journalctl -b /usr/bin/gnome-shell | grep shell-volume-mixer
Nov 17 14:56:04 computer gnome-shell[12104]: Couldn't find child [0x55d189786c70 Gjs_ui_windowPreview_WindowPreview:last-child ("Can't query sound cards under pipewire · Issue #149 · aleho/gnome-shell-volume-mixer — Mozilla Firefox")] in window slots
Nov 17 14:56:05 computer gnome-shell[12104]: Couldn't find child [0x55d189786c70 Gjs_ui_windowPreview_WindowPreview:last-child ("Can't query sound cards under pipewire · Issue #149 · aleho/gnome-shell-volume-mixer — Mozilla Firefox")] in window slots
Nov 17 15:02:17 computer gnome-shell[12104]: Couldn't find child [0x55d19270cdd0 Gjs_ui_windowPreview_WindowPreview:last-child ("Can't query sound cards under pipewire · Issue #149 · aleho/gnome-shell-volume-mixer — Mozilla Firefox")] in window slots
Nov 17 15:02:17 computer gnome-shell[12104]: Couldn't find child [0x55d19270cdd0 Gjs_ui_windowPreview_WindowPreview:last-child ("Can't query sound cards under pipewire · Issue #149 · aleho/gnome-shell-volume-mixer — Mozilla Firefox")] in window slots
Nov 17 15:02:18 computer gnome-shell[12104]: Couldn't find child [0x55d19270cdd0 Gjs_ui_windowPreview_WindowPreview:last-child ("Can't query sound cards under pipewire · Issue #149 · aleho/gnome-shell-volume-mixer — Mozilla Firefox")] in window slots
Nov 17 15:03:33 computer gnome-shell[12104]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/stu/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:126:19
async*_init@/home/stu/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:90:24
_onStateChanged@/home/stu/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:81:14
connect@/home/stu/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/stu/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:55:14
Mixer@/home/stu/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/stu/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
enable@/home/stu/.local/share/gnome-shell/extensions/[email protected]/extension.js:23:15
That's all in the logs? I'm afraid I don't know how to debug this then. The logs should at least give me more information on why it broke.
Maybe some more logging in _initCards
or _getCardDetails
is needed ?
Possibly _getCardDetails not finishing on time, then the loop in _initCards times out after all the retries.
Slightly off topic, but can you give any tips on debugging extensions (which I can also use for this) ?
I find looking glass, a little bit bare compared to tools for say debugging javascript on the web.
Do you run GNOME in a nested session [1] ?
[1] https://unix.stackexchange.com/questions/627015/how-does-one-run-gnome-shell-in-a-window-nested-session
@stuaxo Actually, bin/tools test
comes with a nested session command (especially for developing in Wayland). It's a bit complicated but ultimately does the job well.
i have the same issue and this is what i get after running journalctl -b /usr/gnome-shell | grep shell-volume-mixer
Dec 09 10:43:26 Nish-manjaro gnome-shell[3652]: JS ERROR: [email protected] | OutputSlider.js | _shouldBeVisibleByPort(): Error: Stream cannot be identified, no card index available
error@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/log.js:81:17
_shouldBeVisibleByPort@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/widget/volume.js:472:17
_updateVisibility/<@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/widget/volume.js:434:47
_updateVisibility@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/widget/volume.js:448:15
_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/widget/volume.js:370:14
StreamSlider@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/widget/volume.js:66:14
OutputSlider@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/widget/volume.js:355:1
_addOutputStream@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/menu/menu.js:273:22
_addStream@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/menu/menu.js:228:18
_streamAdded@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/menu/menu.js:303:14
Dec 09 10:43:36 Nish-manjaro gnome-shell[3652]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:147:19
async*_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:111:24
_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:116:18
async*_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
Dec 09 11:57:16 Nish-manjaro gnome-shell[3652]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:147:19
async*_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:111:24
_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:116:18
async*_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
Dec 09 20:19:23 Nish-manjaro gnome-shell[3652]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:147:19
async*_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:111:24
_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:116:18
async*_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
Dec 09 22:57:49 Nish-manjaro gnome-shell[3652]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:147:19
async*_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:111:24
_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:116:18
async*_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
Dec 09 23:14:17 Nish-manjaro gnome-shell[3652]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:147:19
async*_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:111:24
_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:116:18
async*_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
Dec 10 08:23:31 Nish-manjaro gnome-shell[3652]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:147:19
async*_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:111:24
_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:116:18
async*_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
Dec 10 10:44:03 Nish-manjaro gnome-shell[3652]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:147:19
async*_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:111:24
_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:116:18
async*_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
Dec 10 13:46:37 Nish-manjaro gnome-shell[3652]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:147:19
async*_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:111:24
_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:116:18
async*_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
Dec 10 15:11:39 Nish-manjaro gnome-shell[3652]: JS ERROR: [email protected] | Cards.js | _init(): Error: Could not retrieve PA card details with Python helper script
_initCards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:147:19
async*_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:111:24
_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23
_init@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:116:18
async*_onStateChanged@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:102:14
connect@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/eventHandlerDelegate.js:67:22
Cards@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/utils/cards.js:76:14
Mixer@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/volume/mixer.js:39:23
enable@/home/nish/.local/share/gnome-shell/extensions/[email protected]/lib/main.js:77:23