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

Pop!_OS 21.10 support #20

Open
blargism opened this issue Feb 16, 2022 · 13 comments
Open

Pop!_OS 21.10 support #20

blargism opened this issue Feb 16, 2022 · 13 comments

Comments

@blargism
Copy link

I have attempted to add this to my new Pop!_OS 21.10. I was not able to get it to work. I tried the following:

  1. Installing using the built deb package.
  2. Installing using the install script.
  3. Following the manual instructions.
  4. Following the instructions for pipewire adjustments.

I don't know what you might need as debugging output or whatever. Please let me know, I'll provide if asked.

Note: I know very little about pulse audio so this is new territory for me. That said I'm willing to contribute. I can help with shell scripting and the like.

@imustafin
Copy link
Owner

Hi. Let's try to investigate this together.

First, what versions do you have?

apt list pulseaudio
apt list pipewire

@blargism
Copy link
Author

Sure thing:

➜ apt list pulseaudio
Listing... Done
pulseaudio/impish-updates,now 1:15.0+dfsg1-1ubuntu2.2 amd64 [installed,automatic]
pulseaudio/impish-updates 1:15.0+dfsg1-1ubuntu2.2 i386

➜ apt list pipewire
Listing... Done
pipewire/impish,now 0.3.32-1 amd64 [installed,automatic]
pipewire/impish 0.3.32-1 i386

@blargism
Copy link
Author

blargism commented Feb 16, 2022

Also, if it helps this is the udevadm monitor output when I connect the dongle.

➜ udevadm monitor 
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[490.715853] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
KERNEL[490.731994] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
KERNEL[490.801807] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1 (sound)
KERNEL[490.801970] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1/pcmC1D0p (sound)
KERNEL[490.802024] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1/pcmC1D0c (sound)
KERNEL[490.802195] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1/controlC1 (sound)
KERNEL[490.802313] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
KERNEL[490.802403] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1 (usb)
KERNEL[490.802481] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1 (usb)
KERNEL[490.802557] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2 (usb)
KERNEL[490.802649] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2 (usb)
KERNEL[490.814894] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3 (usb)
KERNEL[490.841029] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1/pcmC1D1p (sound)
KERNEL[490.841099] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3 (usb)
KERNEL[490.841148] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.4 (usb)
KERNEL[490.841213] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.4 (usb)
KERNEL[490.846320] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5 (usb)
KERNEL[490.899221] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003 (hid)
KERNEL[490.899910] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input33 (input)
KERNEL[490.958845] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input33/event9 (input)
KERNEL[490.958940] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input34 (input)
KERNEL[490.958983] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input34/event10 (input)
KERNEL[490.959021] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input35 (input)
KERNEL[490.959180] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input35/event11 (input)
KERNEL[490.959226] add      /class/usbmisc (class)
KERNEL[490.959262] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/usbmisc/hiddev0 (usbmisc)
KERNEL[490.959291] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/hidraw/hidraw1 (hidraw)
KERNEL[490.959323] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003 (hid)
KERNEL[490.959356] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5 (usb)
KERNEL[490.959392] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
UDEV  [490.962329] add      /class/usbmisc (class)
UDEV  [490.965603] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
UDEV  [490.968946] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
UDEV  [490.969026] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1 (usb)
UDEV  [490.972008] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2 (usb)
UDEV  [490.973982] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3 (usb)
UDEV  [490.974050] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1 (usb)
UDEV  [490.974912] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5 (usb)
UDEV  [490.974997] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2 (usb)
UDEV  [490.975754] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1 (sound)
UDEV  [490.976906] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.4 (usb)
UDEV  [490.976951] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3 (usb)
UDEV  [490.978330] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.4 (usb)
UDEV  [490.978364] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003 (hid)
KERNEL[490.979351] change   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1 (sound)
UDEV  [490.979775] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/usbmisc/hiddev0 (usbmisc)
UDEV  [490.979810] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1/pcmC1D0c (sound)
UDEV  [490.980564] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1/pcmC1D0p (sound)
UDEV  [490.981758] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input33 (input)
UDEV  [490.982707] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input34 (input)
UDEV  [490.982748] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input35 (input)
UDEV  [490.983582] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/hidraw/hidraw1 (hidraw)
UDEV  [490.990872] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1/controlC1 (sound)
UDEV  [490.992073] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
UDEV  [490.992892] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1/pcmC1D1p (sound)
UDEV  [491.017075] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input33/event9 (input)
UDEV  [491.033489] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input35/event11 (input)
UDEV  [491.042070] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003/input/input34/event10 (input)
UDEV  [491.042716] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5/0003:1532:051A.0003 (hid)
UDEV  [491.043299] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.5 (usb)
UDEV  [491.045132] bind     /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
UDEV  [491.045826] change   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/sound/card1 (sound)

@imustafin
Copy link
Owner

Thanks. Now, to be sure, let's check which one you have currently running.

systemctl {--user,} status {pulseaudio,pipewire,pipewire-pulse}

@blargism
Copy link
Author

Ok, so I did some messing about. Changing ACP_PROIFLE_SET back to PULSE_PROFILE_SET. Got the two devices to show up. However, the output doesn't seem to work. So... progress? Suggestions on getting output to work?

My current setup has the config files in the pipewire and pulse locations, my next steps are to try one then the other to figure out where they are being loaded from.

@imustafin
Copy link
Owner

Progress indeed. Sorry if I am a bit too slow. It just works on my machine and I haven't touched it for years.

I think yes, the biggest problem is to find the correct path to put the conf files to.

If you succeed, then an entry to the README will be very much welcome. You can list your OS and packages version with the correct paths.

@blargism
Copy link
Author

blargism commented Feb 16, 2022

No worries. I'm willing to help enhance the install process as well. I really like the headset and I have a bad habit of distro hopping :)

Here's the requested output, it's only for user, system level did not report anything.

➜ systemctl --user status {pulseaudio,pipewire,pipewire-pulse}     
Unit pipewire-pulse.service could not be found.
● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-02-16 14:11:09 CST; 15min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 7061 (pulseaudio)
      Tasks: 4 (limit: 47870)
     Memory: 6.3M
        CPU: 3.050s
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pulseaudio.service
             └─7061 /usr/bin/pulseaudio --daemonize=no --log-target=journal

Feb 16 14:11:09 pop-os systemd[2364]: Starting Sound Service...
Feb 16 14:11:09 pop-os systemd[2364]: Started Sound Service.

● pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-02-16 14:04:51 CST; 22min ago
TriggeredBy: ● pipewire.socket
   Main PID: 2373 (pipewire)
      Tasks: 2 (limit: 47870)
     Memory: 1.4M
        CPU: 23ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewire.service
             └─2373 /usr/bin/pipewire

Feb 16 14:04:51 pop-os systemd[2364]: Started Multimedia Service.

@imustafin
Copy link
Owner

imustafin commented Feb 16, 2022

Great. It looks like you have both pulseaudio and pipewire running. I am not sure how this is supposed to work and which one controls your output.

Changing ACP_PROIFLE_SET back to PULSE_PROFILE_SET

Maybe this means that pulse is more in control.

Try to install everything as for pulse, in this case.

@blargism
Copy link
Author

Well, things work and don't. I get the audio devices to show up, but the output does not work. If you don't mind keep this issue open. I'm going to continue to try and get this working as I have time. I'll keep a running thread of what I've tried for posterity.

@imustafin
Copy link
Owner

I think there is no problem keeping this open.

What do you mean by "output does not work"?

@blargism
Copy link
Author

I think there is no problem keeping this open.

What do you mean by "output does not work"?

FYI, I'm using the Gnome audio test dialog to verify all of this.

It's odd. The mono chat channel I get no sound at all. The game channel it actually fails to produce sound, then sound comes from the previously selected audio device. Super weird. Though, I think it might be that the Gnome audio dialog is getting confused.

My running theory is there is some other thing I need to configure that's not already covered given that both pulse and pipewire are running as they are.

@imustafin
Copy link
Owner

Gnome audio test is pavucontrol?

@Lii-Kun
Copy link

Lii-Kun commented Dec 17, 2022

Pulse Audio Volume Control(pavucontrol) seems to "break" things. I had it all working then I installed pavucontrol and then I lost the chat output. I haven't got it back after an uninstall tho

Posted here since I'm also using pop!_OS.
EDIT: Seems chat output is just missing from discord, it shows up correctly in the settings menu.

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

No branches or pull requests

3 participants