Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnome calls: outbound calls only work if its the fisrt call the app has made since start. gsd media keys: can't get default sink/source #666

Open
budgie-dev opened this issue Oct 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@budgie-dev
Copy link

budgie-dev commented Oct 12, 2024

Device info (please complete the following information)

  • Device: PinePhone
  • Kernel Version : 6.11.0-1-megi-danctnix
  • UI: Phosh

Describe the bug
Switched to pulseaudio since nothing worked on pipewire. Now calls are only partially working. Only the first outbound call since pkill gnome-calls && gnome-calls works normally. all of the calls give gsd-media-keys errors

While behavior like this could be easily fixed with a script that restarts gnome calls when a call ends (and thats what im probably going to do now), I would still like to fix this since this is a pretty big bother to me.

To Reproduce
Steps to reproduce the behavior:

  1. Flash the system with the newest xz image.
  2. No outbound calls work on pipewire, switch to pulseaudio/
  3. Now only the first outbound call since opening gnome-calls works

Expected behavior
I should be able to call people

Screenshots
Not applicable

Logfiles and additional information
First call:
Oct 12 13:45:02 danctnix ModemManager[3698]: [modem0/call6] user request to start call
Oct 12 13:45:02 danctnix ModemManager[3698]: [modem0/call6] call state changed: unknown -> dialing (outgoing-started)
Oct 12 13:45:02 danctnix gsd-media-keys[3935]: Unable to get default sink
Oct 12 13:45:02 danctnix gsd-media-keys[3935]: Unable to get default source
Oct 12 13:45:02 danctnix ModemManager[3698]: [modem0/call6] call is started
Oct 12 13:45:08 danctnix gnome-contacts[5312]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Oct 12 13:45:08 danctnix gnome-contacts[5312]: invalid (NULL) pointer instance
Oct 12 13:45:08 danctnix gnome-contacts[5312]: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Oct 12 13:45:08 danctnix gnome-contacts[5312]: invalid (NULL) pointer instance
Oct 12 13:45:08 danctnix gnome-contacts[5312]: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Oct 12 13:45:08 danctnix systemd[3732]: dbus-:[email protected]: Consumed 1.780s CPU time, 11.6M memory peak.
Oct 12 13:45:08 danctnix ModemManager[3698]: [modem0/call6] call state changed: dialing -> ringing-out (unknown)
Oct 12 13:45:16 danctnix ModemManager[3698]: [modem0/call6] call state changed: ringing-out -> active (unknown)
Oct 12 13:45:23 danctnix ModemManager[3698]: [modem0/call6] call state changed: active -> terminated (unknown)
Oct 12 13:45:23 danctnix gsd-media-keys[3935]: Unable to get default sink
Oct 12 13:45:23 danctnix gsd-media-keys[3935]: Unable to get default source

Second call:
Oct 12 13:50:33 danctnix ModemManager[3698]: [modem0/call8] user request to start call
Oct 12 13:50:33 danctnix ModemManager[3698]: [modem0/call8] call state changed: unknown -> dialing (outgoing-started)
Oct 12 13:50:33 danctnix gsd-media-keys[3935]: Unable to get default sink
Oct 12 13:50:33 danctnix gsd-media-keys[3935]: Unable to get default source
Oct 12 13:50:33 danctnix ModemManager[3698]: [modem0/call8] call is started
Oct 12 13:50:35 danctnix ModemManager[3698]: [modem0/call8] call state changed: dialing -> terminated (unknown)
Oct 12 13:50:35 danctnix gsd-media-keys[3935]: Unable to get default sink
Oct 12 13:50:35 danctnix gsd-media-keys[3935]: Unable to get default source
Oct 12 13:50:39 danctnix gnome-contacts[5470]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Oct 12 13:50:39 danctnix gnome-contacts[5470]: invalid (NULL) pointer instance
Oct 12 13:50:39 danctnix gnome-contacts[5470]: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Oct 12 13:50:39 danctnix gnome-contacts[5470]: invalid (NULL) pointer instance
Oct 12 13:50:39 danctnix gnome-contacts[5470]: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Oct 12 13:50:39 danctnix systemd[3732]: dbus-:[email protected]: Consumed 1.555s CPU time, 11.7M memory peak.

Before submitting a bug report, please be sure that you have done the following:

  • [*] I have checked for updates (pacman -Syu) and installed the updates but the problem persisted.
  • [*] I am not using Megi's multiboot image, which is unsupported by the developer.
@budgie-dev budgie-dev added the bug Something isn't working label Oct 12, 2024
@budgie-dev
Copy link
Author

fixed it partially by adding a custom phone app launcher in phosh:
kill -f '/usr/bin/sh /home/alarm/scripts/calls.sh'
pkill 'gnome-calls %u'
pkill gnome-calls
gnome-calls %u

It sort of works, but for some reason, if you dont enter the number you want to call in around 10 seconds, the error persists.

@mikeshenson
Copy link

"No outbound calls work on pipewire, switch to pulseaudio"
When I took the lastest image and flashed my PinePhonePro, I needed to install "pipewire-alsa" to get the headset speaker and mic to work.
sudo pacman -S pipewire-alsa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants