Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound on all devices lost: Pulseaudio 15 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Wed Nov 17, 2021 12:07 am    Post subject: Sound on all devices lost: Pulseaudio 15 [SOLVED] Reply with quote

Pulseaudio and sound was working perfectly well until the update of pulseaudio to version 15.

I have tried a few things but last time I touched pulseaudio, as years ago. Currently there is no sound.

emerge –info: https://pastebin.com/raw/nXDQ74aJ

lspci: https://pastebin.com/raw/kbbgwsGE

lshw: https://pastebin.com/raw/V3hUE6Jc

lsusb: https://pastebin.com/raw/ej4g7Rf6

Kernel config 5.4.131: https://pastebin.com/raw/sxJzGbPj

pactl list cards: https://pastebin.com/raw/uXJLJkTt

pactl list modules: https://pastebin.com/raw/gagzNg9J

aplay -l: https://pastebin.com/raw/D9yM91Yb

aplay -L: https://pastebin.com/raw/YCvGaS7N

cat /etc/pulse/*: https://pastebin.com/raw/RjrAPasb


/proc/asound/cards

Code:
 0 [Audigy         ]: Audigy - SB Audigy 1 [SB0090]
                      SB Audigy 1 [SB0090] (rev.3, serial:0x511102) at 0xe880, irq 16
 1 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfcff8000 irq 34
 2 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe5fc000 irq 17
 3 [Q9000          ]: USB-Audio - QuickCam Pro 9000
                      Logitech, Inc. QuickCam Pro 9000 at usb-0000:00:1d.7-4, high speed
 4 [H              ]: USB-Audio - Logitech G933 Gaming Wireless H
                      Logitech Logitech G933 Gaming Wireless H at usb-0000:00:1a.7-5.4, full speed


$ amixer

Code:
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 65536 [100%] [on]
  Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cvolume-joined cswitch cswitch-joined
  Capture channels: Mono
  Limits: Capture 0 - 65536
  Mono: Capture 56210 [86%] [off]


$ alsamixer -c 0 -D 0

Code:
ALSA lib /home/user/portage/tmp/portage/media-libs/alsa-lib-1.2.4/work/alsa-lib-1.2.4/src/control/control.c:1471:(snd_ctl_open_noupdate) Invalid CTL 0
cannot open mixer: No such file or directory



cat .asoundrc

Code:
pcm.!default {
        type pulse
        }
ctl.!default {
        type pulse
        }


# cat /etc/conf.d/alsasound

Code:
# RESTORE_ON_START:
# Do you want to restore your mixer settings?  If not, your cards will be
# muted.
# no - Do not restore state
# yes - Restore state

RESTORE_ON_START="yes"

# SAVE_ON_STOP:
# Do you want to save changes made to your mixer volumes when alsasound
# stops?
# no - Do not save state
# yes - Save state

SAVE_ON_STOP="yes"


# eix -I alsa

Code:
[I] media-libs/alsa-lib
     Available versions:  1.2.4{xpak:2} ~1.2.5.1 {alisp debug doc python +thread-safety ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" ELIBC="uclibc" PYTHON_SINGLE_TARGET="python3_8 python3_9"}
     Installed versions:  1.2.4{xpak:2}(02:16:59 AM 07/12/2021)(thread-safety -alisp -debug -doc -python ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" ELIBC="-uclibc" PYTHON_SINGLE_TARGET="python3_9 -python3_8")
     Homepage:            https://alsa-project.org/wiki/Main_Page
     Description:         Advanced Linux Sound Architecture Library

[I] media-libs/alsa-topology-conf
     Available versions:  1.2.4{xpak:2} ~1.2.5.1
     Installed versions:  1.2.4{xpak:2}(09:34:28 PM 07/11/2021)
     Homepage:            https://alsa-project.org/wiki/Main_Page
     Description:         ALSA topology configuration files

[I] media-libs/alsa-ucm-conf
     Available versions:  1.2.4{xpak:2} ~1.2.5.1
     Installed versions:  1.2.4{xpak:2}(09:34:40 PM 07/11/2021)
     Homepage:            https://alsa-project.org/wiki/Main_Page
     Description:         ALSA ucm configuration files

[I] media-libs/zita-alsa-pcmi
     Available versions:  0.3.2{xpak:2}
     Installed versions:  0.3.2{xpak:2}(06:09:30 AM 07/12/2021)
     Homepage:            http://kokkinizita.linuxaudio.org/linuxaudio/
     Description:         Provides easy access to ALSA PCM devices

[I] media-plugins/alsa-plugins
     Available versions:  1.2.2{xpak:2} ~1.2.5 {arcam_av debug ffmpeg jack libsamplerate +mix oss pulseaudio speex +usb_stream ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.2.2{xpak:2}(12:14:10 PM 07/13/2021)(ffmpeg mix pulseaudio usb_stream -arcam_av -debug -jack -libsamplerate -oss -speex ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://alsa-project.org/wiki/Main_Page
     Description:         ALSA extra plugins

[I] media-sound/alsa-utils
     Available versions:  (0.9) 1.2.4{xpak} ~1.2.5.1
       {bat doc +libsamplerate +ncurses nls selinux}
     Installed versions:  1.2.4(0.9){xpak}(05:04:18 PM 11/03/2021)(libsamplerate ncurses -bat -doc -nls -selinux)
     Homepage:            https://alsa-project.org/wiki/Main_Page
     Description:         Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)

[I] media-sound/bluez-alsa
     Available versions:  (~)3.0.0^t (~)3.1.0^t{xpak:2} **9999*l^t {aac aptx debug hcitop lame ldac man mpg123 ofono static-libs test unwind upower ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  3.1.0^t{xpak:2}(07:47:51 PM 07/12/2021)(aac hcitop ofono upower -aptx -debug -lame -ldac -man -mpg123 -static-libs -test -unwind ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://github.com/Arkq/bluez-alsa
     Description:         Bluetooth Audio ALSA Backend



# eix -I pulse

Code:
[I] media-plugins/gst-plugins-pulse
     Available versions:  (1.0) 1.16.3^t{xpak:2} 1.18.4^t{xpak}
       {test ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.18.4(1.0)^t{xpak}(02:18:12 AM 09/23/2021)(-test ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://gstreamer.freedesktop.org/
     Description:         PulseAudio sound server plugin for GStreamer

[I] media-sound/pulseaudio
     Available versions:  13.0-r1^t{xpak:2} 15.0-r1^t{xpak:2} [M]~15.0-r100 {+X +alsa +alsa-plugin +asyncns bluetooth +caps +daemon dbus doc elogind equalizer gconf +gdbm +glib gstreamer gtk ipv6 jack libsamplerate lirc native-headset ofono-headset +orc oss qt5 realtime selinux sox ssl system-wide systemd tcpd test +udev +webrtc-aec zeroconf ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_ARM="neon" KERNEL="linux"}
     Installed versions:  15.0-r1^t{xpak:2}(06:09:26 PM 11/03/2021)(X alsa alsa-plugin asyncns bluetooth daemon dbus elogind glib gstreamer gtk ssl udev webrtc-aec -doc -equalizer -gdbm -ipv6 -jack -lirc -native-headset -ofono-headset -orc -oss -selinux -sox -system-wide -systemd -tcpd -test -zeroconf ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.freedesktop.org/wiki/Software/PulseAudio/
     Description:         A networked sound server with an advanced plugin system

[I] media-sound/pulsemixer
     Available versions:  1.5.1{xpak} **9999*l {PYTHON_TARGETS="python3_8 python3_9"}
     Installed versions:  1.5.1{xpak}(05:03:46 PM 11/03/2021)(PYTHON_TARGETS="python3_9 -python3_8")
     Homepage:            https://github.com/GeorgeFilipkin/pulsemixer
     Description:         CLI and curses mixer for PulseAudio

_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244


Last edited by HeXiLeD on Sat Dec 24, 2022 6:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Wed Nov 17, 2021 11:57 am    Post subject: Reply with quote

if this is with openrc, check if pipewire is running - most likely the cause is that both audio servers are running
if pipewire is not running, please post pa-info output (make sure you have lsof installed, and run it from ordinary user account)
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Wed Nov 17, 2021 6:30 pm    Post subject: Reply with quote

Pipewire is not installed.
Lsof is installed
The system runs openrc

pa-info output: https://pastebin.com/raw/LuXsPTDU (as a regular user)
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Wed Nov 17, 2021 7:05 pm    Post subject: Reply with quote

Note with alsa-plugins[pulseaudio] you should not need .asoundrc anymore, please rename/move it for now.

Let's check what you have: currently your pulseaudio default output is via onboard audio card SPDIF out.

You can verify if alsa itself works: 'pasuspender -- speaker-test -D iec958:CARD=Intel,DEV=0 -t wav -c 2'
If not, please try this 'pasuspender -- speaker-test -D hw:1,1 -t wav -c 2'

If any of these two worked, please run 'speaker-test -t wav -c 2' and check with 'pactl list' that 'Sink #2' (Name: alsa_output.pci-0000_0b_00.0.iec958-stereo) changes state from current SUSPENDED to RUNNING

If nothing works, could you please check if you did kernel update as well?
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Wed Nov 17, 2021 8:21 pm    Post subject: Reply with quote

.asoundrc has been removed but note that now, when I pull up alsamixer I do not get to play with the volume of pulseaudio which controls all cards.

Also note that the sound was working with .asoundrc

Another detail is that the audigy card is actually the one I always used as default.

This works but no sound, even when changing it to the audigy card.
Code:
pasuspender -- speaker-test -D iec958:CARD=Intel,DEV=0 -t wav -c 2


This works too, but no sound:
Code:
pasuspender -- speaker-test -D hw:1,1 -t wav -c 2


This also works but also no sound:
Code:
speaker-test -t wav -c 2


pactl list| grep State
Code:
   State: SUSPENDED
   State: SUSPENDED
   State: SUSPENDED
   State: SUSPENDED
   State: SUSPENDED
   State: SUSPENDED
   State: SUSPENDED
   State: SUSPENDED


Another thing I also noticed is that the Audigy card is not listed

pactl list| grep alsa.card_name
Code:
      alsa.card_name = "HDA NVidia"
      alsa.card_name = "HDA Intel"
      alsa.card_name = "HDA NVidia"
      alsa.card_name = "Logitech G933 Gaming Wireless H"
      alsa.card_name = "HDA Intel"
      alsa.card_name = "QuickCam Pro 9000"
      alsa.card_name = "HDA NVidia"
      alsa.card_name = "Logitech G933 Gaming Wireless H"
      alsa.card_name = "HDA Intel"
      alsa.card_name = "QuickCam Pro 9000"


However it exists:

cat /proc/asound/cards

Code:
 0 [Audigy         ]: Audigy - SB Audigy 1 [SB0090]
                      SB Audigy 1 [SB0090] (rev.3, serial:0x511102) at 0xe880, irq 16
 1 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfcff8000 irq 34
 2 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe5fc000 irq 17
 3 [Q9000          ]: USB-Audio - QuickCam Pro 9000
                      Logitech, Inc. QuickCam Pro 9000 at usb-0000:00:1d.7-4, high speed
 4 [H              ]: USB-Audio - Logitech G933 Gaming Wireless H
                      Logitech Logitech G933 Gaming Wireless H at usb-0000:00:1a.7-5.4, full speed


No kernel changes were done.

lspci -k

Code:
0b:00.0 Multimedia audio controller: Creative Labs EMU10k2/CA0100/CA0102/CA10200 [Sound Blaster Audigy Series] (rev 03)
   Subsystem: Creative Labs SB0090 Audigy Player/Platinum (EX)
   Kernel driver in use: snd_emu10k1
0b:00.1 Input device controller: Creative Labs SB Audigy Game Port (rev 03)
   Subsystem: Creative Labs SB Audigy Game Port
   Kernel driver in use: Emu10k1_gameport


Code:
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
   Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
   Kernel driver in use: snd_hda_intel

_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Wed Nov 17, 2021 9:01 pm    Post subject: Reply with quote

Please have a look at your latest paste, this
Code:

Default Sink: alsa_output.pci-0000_00_1b.0.iec958-stereo

means you now have onboard intel card with SPDIF profile as default output.

Your audigy card is there, it is 'Card #4'

Please try changing desired ouput in pavucontrol output devices tab, there is 'Set as fallback' checkmark for that. If you do not want spdif on audigy, you can also change card profile in pavucontrol configuration tab to maybe 'Analog Stereo Output' or whatever fits, currently it is set to 'Digital Stereo (IEC958) Output'.

If that still does not work, please indicate how you plugged your output device (i.e. which jack, analog or spdif) and to which card, so I can provide speaker-test command line args to test alsa output with that.
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Wed Nov 17, 2021 9:54 pm    Post subject: Reply with quote

The cards are not showing themselves everywhere.

I have not used pavucontrol in years but just installed it.
I also had pulsemixer working.

On pulsemixer I can see all cards but changing which one I want by default does not make them work

On pavucontrol, the only output cards listed are the intel one and the GM107 Geforce.

As for SPDIF, I haver used it anywhere.

In regards to how the cards are connected: They are not connected in any way to each other physically.
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Wed Nov 17, 2021 10:41 pm    Post subject: Reply with quote

I probably lost you, please have a look at pa-info output you provided - the card is listed there.
Code:

Card #4
   Name: alsa_card.pci-0000_0b_00.0
   Driver: module-alsa-card.c
   Owner Module: 10
   Properties:
      alsa.card = "0"
      alsa.card_name = "SB Audigy 1 [SB0090]"
      alsa.long_card_name = "SB Audigy 1 [SB0090] (rev.3, serial:0x511102) at 0xe880, irq 16"
      alsa.driver_name = "snd_emu10k1"
      device.bus_path = "pci-0000:0b:00.0"
      sysfs.path = "/devices/pci0000:00/0000:00:1e.0/0000:0b:00.0/sound/card0"
      device.bus = "pci"
      device.vendor.id = "1102"
      device.vendor.name = "Creative Labs"
      device.product.id = "0004"
      device.product.name = "EMU10k2/CA0100/CA0102/CA10200 [Sound Blaster Audigy Series] (SB0090 Audigy Player/Platinum (EX))"
      device.string = "0"
      device.description = "EMU10k2/CA0100/CA0102/CA10200 [Sound Blaster Audigy Series] (SB0090 Audigy Player/Platinum (EX))"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"

Do you mean that if you run pa-info again the card is not there anymore?
Could you please post new pa-info so we can compare what's changed?
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Wed Nov 17, 2021 11:11 pm    Post subject: Reply with quote

Quote:
Please try changing desired ouput in pavucontrol output devices tab, there is 'Set as fallback' checkmark for that. If you do not want spdif on audigy, you can also change card profile in pavucontrol configuration tab to maybe 'Analog Stereo Output' or whatever fits, currently it is set to 'Digital Stereo (IEC958) Output'.


I installed pavucontrol and pavucontrol only listed me 2 cards available which were the INTEL card and the GM107 Geforce.
I have 5 audio devices.

At the same time nothing changed from pa-info output
and at the same time pulsemixer listed me 3 cards available.

Now that a few more minutes have passed and I came back to the desktop again, pavucontrol now lists me 3 output cards and the audagy card now shows up.
However it only allows me to select analog out put.

What is happening here is that several apps are not listing all my hardware sound devices consistently.

And i still have no sound.
All this is very weird and maybe has something to do with udev because there are a few other issues happening with other hardware not working well and or missing.

Even more weird is that it has been a long time since anything has been changed in this system. Only updates have been done without touching config files.
Suddenly a few things stopped working.
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Thu Nov 18, 2021 8:32 am    Post subject: Reply with quote

This looks like very slow udev event processing but I cannot guess what could be causing this.
Anyway all cards in 'pactl list' should be available in pavucontrol.

BTW do you have alsa built into kernel? This could be causing all sorts of inconsistent audio behavior due to initialization order.
If yes please try again with modular alsa, i.e. 'CONFIG_SND=m' and all sound modules below that.
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Thu Nov 18, 2021 8:13 pm    Post subject: Reply with quote

As we also look into udev here, what is your udev implementation package?
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Mon Nov 22, 2021 3:53 am    Post subject: Reply with quote

Slowly all devices started to show up on pavucontrol.
All seem to be working except the wireless G993 headset. It is not listed on the output sources.

In the meantime I also did my yearly emerge -e world and -e system and some pulseaudio confids were updated such as

Code:
/etc/alsa/conf.d/50-pulseaudio.conf


Bellow the udev implementations:

eix -I udev
Code:
[I] dev-libs/libgudev
     Available versions:  234-r1(0/0){xpak} ~236(0/0) ~236-r2(0/0)^t 237-r1(0/0)^t{xpak:2} {introspection test ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  237-r1(0/0)^t{xpak:2}(12:26:43 AM 11/19/2021)(introspection -test ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://wiki.gnome.org/Projects/libgudev
     Description:         GObject bindings for libudev

[I] sys-apps/udevil
     Available versions:  0.4.4-r4{xpak:2}
     Installed versions:  0.4.4-r4{xpak:2}(07:09:15 AM 11/19/2021)
     Homepage:            https://ignorantguru.github.com/udevil/
     Description:         mount and unmount removable devices without a password

[I] sys-fs/udev
     Available versions:  249-r3^t{xpak:4} **9999*l^t {acl +kmod selinux split-usr test ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="linux"}
     Installed versions:  249-r3^t{xpak:4}(10:56:56 PM 11/18/2021)(acl kmod split-usr -selinux -test ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" KERNEL="linux")
     Homepage:            https://www.freedesktop.org/wiki/Software/systemd
     Description:         Linux dynamic and persistent device naming support (aka userspace devfs)

[I] sys-fs/udev-init-scripts
     Available versions:  34^t{xpak:6} ~35^t **9999*l^t
     Installed versions:  34^t{xpak:6}(11:55:11 PM 11/18/2021)
     Homepage:            https://wiki.gentoo.org/wiki/No_homepage
     Description:         udev startup scripts for openrc

[I] virtual/libudev
     Available versions:  232-r5(0/1){xpak:3} {systemd ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  232-r5(0/1){xpak:3}(06:43:57 PM 11/18/2021)(-systemd ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Description:         Virtual for libudev providers

[I] virtual/udev
     Available versions:  217-r3{xpak:3}
     Installed versions:  217-r3{xpak:3}(06:44:41 PM 11/18/2021)
     Description:         Virtual to select between different udev daemon providers

_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Tue Nov 23, 2021 4:28 pm    Post subject: Reply with quote

This one is likely unrelated: /etc/alsa/conf.d/50-pulseaudio.conf is a configuration file adding pulseaudio i/o for alsa apps.
You seem to be using ordinary sys-fs/udev so I do not have any better idea than try looking at udev events maybe there is something holding off processing.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Tue Nov 23, 2021 7:50 pm    Post subject: Reply with quote

HeXiLeD,

What does
Code:
lspci -nnk
have to say.
What do you have in /proc/asound/devices ?
If you have several sound cards, which one do you want to use?

Pulse is a wrapper around alsa. Until alsa works, pulse cannot.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Mon Dec 06, 2021 9:46 pm    Post subject: Reply with quote

@NeddySeagoon

# lspci -nnk
Code:

01:00.1 Audio device [0403]: NVIDIA Corporation GM107 High Definition Audio Controller [GeForce 940MX] [10de:0fbc] (rev a1)
   Subsystem: eVga.com. Corp. GM107 High Definition Audio Controller [GeForce 940MX] [3842:3753]

0b:00.0 Multimedia audio controller [0401]: Creative Labs EMU10k2/CA0100/CA0102/CA10200 [Sound Blaster Audigy Series] [1102:0004] (rev 03)
   Subsystem: Creative Labs SB0090 Audigy Player/Platinum (EX) [1102:0051]
   Kernel driver in use: snd_emu10k1

00:1b.0 Audio device [0403]: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller [8086:3a3e]
   Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard [1043:8311]
   Kernel driver in use: snd_hda_intel


lsusb
Code:
Bus 001 Device 006: ID 046d:0a5b Logitech, Inc. G933 Wireless Headset Dongle



# cat /proc/asound/devices
Code:
  0: [ 0]   : control
  1:        : sequencer
  4: [ 0- 0]: hardware dependent
  6: [ 0- 2]: hardware dependent
  8: [ 0- 0]: raw midi
  9: [ 0- 1]: raw midi
 10: [ 0- 2]: raw midi
 11: [ 0- 3]: raw midi
 16: [ 0- 0]: digital audio playback
 18: [ 0- 2]: digital audio playback
 19: [ 0- 3]: digital audio playback
 24: [ 0- 0]: digital audio capture
 25: [ 0- 1]: digital audio capture
 26: [ 0- 2]: digital audio capture
 32: [ 1]   : control
 33:        : timer
 48: [ 1- 0]: digital audio playback
 49: [ 1- 1]: digital audio playback
 50: [ 1- 2]: digital audio playback
 56: [ 1- 0]: digital audio capture
 58: [ 1- 2]: digital audio capture
 64: [ 2]   : control
 83: [ 2- 3]: digital audio playback
 96: [ 3]   : control
120: [ 3- 0]: digital audio capture
128: [ 4]   : control
144: [ 4- 0]: digital audio playback
152: [ 4- 0]: digital audio capture



The audagy is and always been the main card which I intend to keep that way.
However I was also able to get sound on the G933 Wireless Headset Dongle at the same time as alsa.
Right now, only the mic of the Wireless Headset Dongle is working.

However, I do have sound on my audagy and pulse is now working.
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 250

PostPosted: Tue Dec 07, 2021 2:07 am    Post subject: Reply with quote

Do you mean currently your G933 does not produce sound via alsa? Try it like this (based on your original aplay -L)
Code:
pasuspender -- speaker-test -D front:CARD=H,DEV=0 -t wav -c 2

If this works then there could be a problem with pulseaudio detecting the output on this device; will need verbose log for what pulseaudio does when dongle is plugged in.
Just found this https://hobo.house/2016/01/26/logitech-g933-wireless-headset-linux/ and it looks like g933 may need some logitech software to control all features.
Back to top
View user's profile Send private message
poe_1957
Apprentice
Apprentice


Joined: 26 Sep 2018
Posts: 192
Location: Mortsel

PostPosted: Sat Jan 08, 2022 4:35 pm    Post subject: @garrison Reply with quote

pasuspender -- speaker-test -D front:CARD=1,DEV=0 -t wav -c 2
gives only at the left headphone both FRONT LEFT AND FRONT RIGHT messages. The right one is silent and the headphones works perfectly on both sides.
CARD 1 is the 5700XT asrock videocard with ALC1220 from Realtec.
I removed .asoundrc since it is obsolete.
_________________
Linuxpioneer
ALUG
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Fri Feb 18, 2022 10:28 pm    Post subject: Reply with quote

garrison wrote:
Do you mean currently your G933 does not produce sound via alsa? Try it like this (based on your original aplay -L)
Code:
pasuspender -- speaker-test -D front:CARD=H,DEV=0 -t wav -c 2



This works to test the headset. However no sound any other way.

Code:
pulseaudio[4024]: [alsa-sink-emu10k1] protocol-native.c: Failed to push data into queue
pulseaudio[4024]: [alsa-sink-emu10k1] protocol-native.c: Failed to push data into queue
pulseaudio[4024]: [pulseaudio] stdin-util.c: Lost I/O connection in module "module-gsettings"
pulseaudio[4024]: [pulseaudio] core-util.c: Failed to create secure directory (/run/user/1000/pulse): No such file or directory
pulseaudio[3901]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
pulseaudio[25154]: [pulseaudio] pid.c: Daemon already running.
pulseaudio[25175]: [pulseaudio] pid.c: Daemon already running.
pulseaudio[25204]: [pulseaudio] pid.c: Daemon already running.
pulseaudio[25211]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
pulseaudio[25230]: [pulseaudio] pid.c: Daemon already running.
pulseaudio[25273]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
pulseaudio[25558]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
pulseaudio[27327]: [pulseaudio] pid.c: Daemon already running.
pulseaudio[27401]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
pulseaudio[27422]: [pulseaudio] pid.c: Daemon already running.
pulseaudio[27434]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
pulseaudio[28269]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files


I decided to change the usb port of the dongle and found the following:

As I plug in the dongle, the sound moves to the heaset
When unplug it, the sound goes back to the speaker.

This is very inconvenient. Prior to this issue, all it was need was to tun on the headset and the sound would go to the headset without moving from the speaker.
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Fri Feb 18, 2022 10:39 pm    Post subject: Reply with quote

Update:
If I open pavucontrol and play with the options to select the output card, I can get switch from the headset to the speaker, however:

Code:
[alsa-sink-USB Audio] alsa-util.c: Got POLLNVAL from ALSA
[alsa-sink-USB Audio] alsa-util.c: Got POLLNVAL from ALSA
[alsa-sink-USB Audio] alsa-sink.c: Error opening PCM device front:4: No such file or directory
[alsa-sink-USB Audio] alsa-util.c: Got POLLNVAL from ALSA
[alsa-sink-USB Audio] alsa-sink.c: Error opening PCM device front:4: No such file or directory
[alsa-sink-USB Audio] alsa-util.c: Got POLLNVAL from ALSA
[alsa-sink-USB Audio] alsa-sink.c: Error opening PCM device front:4: No such file or directory
[pulseaudio] pid.c: Daemon already running.
[pulseaudio] pid.c: Daemon already running.
[pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
Feb 18 17:29:59 gentrix pulseaudio[29638]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
[alsa-sink-USB Audio] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write.
pulseaudio[29638]: [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
pulseaudio[29638]: [alsa-sink-USB Audio] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.


pulseaudio[29638]: [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.

Current kernel is: 5.4.131-gentoo and drivers are compiled statically
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum