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

Sound settings crashing when entering "Input" submenu #247

Closed
PawelLawrynowicz opened this issue Jul 3, 2023 · 5 comments · Fixed by #248
Closed

Sound settings crashing when entering "Input" submenu #247

PawelLawrynowicz opened this issue Jul 3, 2023 · 5 comments · Fixed by #248

Comments

@PawelLawrynowicz
Copy link

PawelLawrynowicz commented Jul 3, 2023

What Happened?

After entering sound settings and entering the "Input" submenu the entire window crashes.
I am unable to enter the sound input setting because of that.

Steps to Reproduce

  1. Open "System Settings"
  2. Select "Sound"
  3. Select "Input"

Expected Behavior

The window should not crash and I should be able to adjust my sound settings from the "System Settings" window.
The workaround is to use pavucontrol or alsamixer.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

EDIT:
Assertion 'name' failed at ../src/pulse/introspect.c:1647, function pa_context_set_source_mute_by_name(). Aborting.
zsh: IOT instruction io.elementary.switchboard

Hardware Info

I'm using ASUS ZenBook 14 UM425Q.
Here is the list of my sound cards and digital audio devices (fetched with arecord -l)
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC294 Analog [ALC294 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: acp [acp], device 0: DMIC capture dmic-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

@lenemter
Copy link
Member

lenemter commented Jul 3, 2023

Please launch System Settings from Terminal by typing

io.elementary.switchboard

Then reproduce the crash and post the terminal output here.

@PawelLawrynowicz
Copy link
Author

Sorry for posting an incomplete issue.
Here is the output:

Assertion 'name' failed at ../src/pulse/introspect.c:1647, function pa_context_set_source_mute_by_name(). Aborting.
zsh: IOT instruction  io.elementary.switchboard

@PawelLawrynowicz PawelLawrynowicz changed the title Sound settings crashing on when entering "Input" submenu Sound settings crashing when entering "Input" submenu Jul 7, 2023
@lenemter
Copy link
Member

lenemter commented Jul 7, 2023

@PawelLawrynowicz I created a branch to fix a crash. Not sure if it works though. Can you test it please? I'll list the instructions below.

  1. Open Terminal from Application Menu
  2. Type in Terminal sudo apt install git
  3. sudo apt build-dep switchboard-plug-sound
  4. git clone https://github.com/elementary/switchboard-plug-sound.git
  5. cd switchboard-plug-sound
  6. git checkout lenemter/try-fix-crash
  7. meson build --prefix=/usr
  8. cd build
  9. sudo ninja install
  10. io.elementary.switchboard

This will download required dependencies and install the development version of the plug. Thank you in advance.

@PawelLawrynowicz
Copy link
Author

@lenemter I followed your instructions and now it doesn't crash anymore.
I also checked if the settings are working correctly and it looks like everything's in order.
Thank you!

@lenemter
Copy link
Member

lenemter commented Jul 8, 2023

@PawelLawrynowicz Thank you for testing this ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants