Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Sound not working with pulseaudio 16.x

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

Sound not working with pulseaudio 16.x

  • Quote

Post by LinusTorvalds1 » Tue Sep 13, 2022 3:06 am

I upgraded to pulseaudio 16.0 a few months ago, and my sound (TV speakers via HDMI or headphones) no longer work. So I downgraded back to 15.x and masked >=16.0.

But in the last few weeks, I've been getting a message about blocked packages when I `emerge -avNuD @world`, so I thought I'd give it another try. My sound still does not work with pulseuadio 16.1. I also upgraded the alsa config files.

I use firefox-bin and spotify to test sound. `alsamixer` confirms that my speaker and headphones are not muted.

Please help!
I'm not really Linus Torvalds... or am I?
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Tue Sep 13, 2022 7:41 am

Shoot... now I can't even downgrade. Adding back ">=media-sound/pulseaudio-16.0" and running `emerge -av pulseaudio` complains about all ebuilds being masked. Looks like I'm stuck with no sounds until this is fixed.

Code: Select all

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC269VC Digital [ALC269VC Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [T27B350]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

but...

Code: Select all

$ pacmd list-cards 
0 card(s) available.

Is this the issue? If so, how do resolve this? Thanks
I'm not really Linus Torvalds... or am I?
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Thu Sep 15, 2022 7:02 pm

Bump. Any leads on how I could debug this?

I might have to give up Gentoo if I can't get this to work :(
I'm not really Linus Torvalds... or am I?
Top
jburns
Veteran
Veteran
Posts: 1255
Joined: Thu Jan 18, 2007 4:44 am
Location: Massachusetts USA

  • Quote

Post by jburns » Thu Sep 15, 2022 9:58 pm

Was media-sound/pulseaudio built with the daemon USE flag?
Is the daemon running?
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Thu Sep 15, 2022 10:43 pm

jburns wrote:Was media-sound/pulseaudio built with the daemon USE flag?
Yes:

Code: Select all

[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-sound/pulseaudio-16.1:
 U I
 - - abi_x86_32    : 32-bit (x86) libraries
 - - bluetooth     : Enable Bluetooth Support
 + + daemon        : Build the pulseaudio binary (not-needed for pipewire-pulse) 
 - - glib          : Add support to dev-libs/glib-based mainloop for the libpulse client
                     library, to allow using libpulse on glib-based programs. Build the
                     GSettings PA module. 
 - - jack          : Add support for the JACK Audio Connection Kit
 - - ofono-headset : Build with oFono HFP backend for bluez 5, requires net-misc/ofono.
jburns wrote: Is the daemon running?
Unsure, how do I check?

Code: Select all

$ ps aux | grep pulse
/usr/bin/pulseaudio --start --log-target=syslog
Also,

Code: Select all

$ /etc/init.d/alsasound status
* status: stopped

$ /etc/init.d/alsasound start

$ /etc/init.d/alsasound status
* status: started
Still doesn't work
I'm not really Linus Torvalds... or am I?
Top
jburns
Veteran
Veteran
Posts: 1255
Joined: Thu Jan 18, 2007 4:44 am
Location: Massachusetts USA

  • Quote

Post by jburns » Thu Sep 15, 2022 11:20 pm

https://wiki.gentoo.org/wiki/PulseAudio may help.

To check

Code: Select all

/etc/init.d/pulseaudio status
To enable as root do

Code: Select all

rc-update add pulseaudio default
rc-service pulseaudio start
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Thu Sep 15, 2022 11:24 pm

jburns wrote:https://wiki.gentoo.org/wiki/PulseAudio may help.

To check

Code: Select all

/etc/init.d/pulseaudio status
To enable as root do

Code: Select all

rc-update add pulseaudio default
rc-service pulseaudio start
I don't have any file like `/etc/init.d/pulse*`
I'm not really Linus Torvalds... or am I?
Top
jburns
Veteran
Veteran
Posts: 1255
Joined: Thu Jan 18, 2007 4:44 am
Location: Massachusetts USA

  • Quote

Post by jburns » Fri Sep 16, 2022 1:02 am

Does viewtopic-p-8717558.html?sid=de417adb72 ... 2751fd9973
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Fri Sep 16, 2022 3:13 am

jburns wrote:Does viewtopic-p-8717558.html?sid=de417adb72 ... 2751fd9973
I ran

Code: Select all

pulseaudio --kill
pulseaudio --start
No help.

I already tried reverting `autospawn = no` to `= yes` in /etc/pulse/client.conf (along with other 2 other file changes after upgrading to 16.1), and no help.
I'm not really Linus Torvalds... or am I?
Top
jburns
Veteran
Veteran
Posts: 1255
Joined: Thu Jan 18, 2007 4:44 am
Location: Massachusetts USA

  • Quote

Post by jburns » Fri Sep 16, 2022 3:47 am

Are you using systemd?
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Fri Sep 16, 2022 6:11 am

jburns wrote:Are you using systemd?
no, I'm using the default init system. I did not install systemd
I'm not really Linus Torvalds... or am I?
Top
alecStewart1
Apprentice
Apprentice
Posts: 257
Joined: Sun Jul 03, 2022 2:29 pm

  • Quote

Post by alecStewart1 » Fri Sep 16, 2022 5:45 pm

Hello friend,

I've run into issues with audio on Linux before but with just pulseaudio is novel to me.

aplay -l seems to only show three devices. You can use speaker-test to try and see if any "pink noise" comes through any of those devices.

If pulse is acting up, it sucks, but I'd recommend try ALSA by itself first and see if you get any sound. You could also try using pipewire with pipewire-pulse. It doesn't solve your issue with pulseaudio, but it may solve you not having sound.

Was pulseaudio the only thing that updated recently, or did the kernel or firmware update as well?
If it wasn't just pulse, then the issue might not be with pulse or pulse by itself.

jburns recommended a few things to for pulse so I'd go through all of those and use speaker-test.
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Fri Sep 16, 2022 10:39 pm

alecStewart1 wrote:You can use speaker-test to try and see if any "pink noise" comes through any of those devices.
Hi. There is no sound coming through headphones or the monitor (HDMI) when I run speaker-test. Alsamixer confirms the sound isn't muted.
alecStewart1 wrote: Was pulseaudio the only thing that updated recently, or did the kernel or firmware update as well?
Yes, I upgraded to pulseaudio 16.x in isolation. Downgrading to 15.x a few months ago brought back the sound, but I can no longer downgrade.
I'm not really Linus Torvalds... or am I?
Top
alecStewart1
Apprentice
Apprentice
Posts: 257
Joined: Sun Jul 03, 2022 2:29 pm

  • Quote

Post by alecStewart1 » Sat Sep 17, 2022 2:31 am

LinusTorvalds1 wrote: Yes, I upgraded to pulseaudio 16.x in isolation. Downgrading to 15.x a few months ago brought back the sound, but I can no longer downgrade.
Hmm, that's weird. You're on 16.0 or 16.1? At least just glancing at the CHANGELOG there doesn't seem to be much that could be a breaking change. That being said, there could be another new version coming out soon.

It might be worth switching over to just ALSA by itself and see if you get any sound.

You could also try putting in an issue there, they probably have commands for you to run to paste into an issue. Again, neither doesn't solve your problem right away but you may find something interesting from doing either or both.
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Sat Sep 17, 2022 3:12 am

alecStewart1 wrote: Hmm, that's weird. You're on 16.0 or 16.1? At least just glancing at the CHANGELOG there doesn't seem to be much that could be a breaking change. That being said, there could be another new version coming out soon.
I currently have 16.1, but 16.0 didn't work either. I upgraded from 15.x to 16.0 a few months ago, then immediately downgraded when it didn't work.
alecStewart1 wrote: It might be worth switching over to just ALSA by itself and see if you get any sound.
I will try this soon.
I'm not really Linus Torvalds... or am I?
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Wed Sep 21, 2022 8:34 am

Made some progress. Here's what I tested so far:

None of these worked:
1. Upgrade firefox-bin from 104.0.2 to 105.
2. Restart and run `pulseaudio --start` before starting X windows (I use i3, so before running `startx`).
3. Upgrade linux-firmware to 20220913-r2 and upgrade kernel from 5.15.59->5.15.68.
4. Remove the pulseaudio USE flag from firefox-bin and re-emerge. This leaves no USE flags on firefox-bin.

However, after doing the following, I have sound in my headphones, but not in my monitor's speakers:
5. Add the alsa USE flag to firefox-bin re-emerge. This also required media-sound/apulse, and I had to remove alsa-plugins which was blocking apulse.


So if I can get sound through my monitor's (HDMI) speakers, I'll be golden. Before, I use to run the following command (binded to a hotkey) to activate the monitor's speakers:

Code: Select all

pacmd set-card-profile 0 output:hdmi-stereo
But this does nothing. And as I mentioned earlier, pulseaudio is not able to detect any cards:

Code: Select all

$ pacmd list-cards 
0 card(s) available.
I'm not really Linus Torvalds... or am I?
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Thu Sep 22, 2022 5:51 am

The following speaker tests work. Now how do I enable HDMI, either manually or when headphones are unplugged?

Code: Select all

$ speaker-test -c2 -D hw:0,0 
# plays sound through headphones

$ speaker-test -c2 -D hdmi:0,0
# plays sound through monitor

$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC269VC Digital [ALC269VC Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [T27B350]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, ALC269VC Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC269VC Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, T27B350
    HDMI Audio Output
I'm not really Linus Torvalds... or am I?
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Sat Sep 24, 2022 11:00 pm

I'm able to get sound HDMI by changing ~/.asoundrc as below. But I still don't know how I can switch back and forth between HDMI and headphones. If I edit the file, the application that's sending sound has to be restarted. I also have no idea what these settings mean:

Code: Select all

pcm.!default {
       type plug
       slave {
               pcm "hdmi:0,0"   # pcm "hw:0,0" for headphones and laptop speakers and headphones
       }
}
OR

Code: Select all

defaults.pcm.card 0
defaults.pcm.device 2 # "defaults.pcm.device 0" for laptop speakers and headphones
defaults.ctl.card 0
If you want to use these settings, get the right values from `aplay -l`
I'm not really Linus Torvalds... or am I?
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Sun Sep 25, 2022 11:21 pm

I think it's time to cut my losses. If no one has any suggestions by this week, I think I have to change distros (ubuntu-server).
I'm not really Linus Torvalds... or am I?
Top
CooSee
Veteran
Veteran
User avatar
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

  • Quote

Post by CooSee » Mon Sep 26, 2022 9:38 pm

LinusTorvalds1 wrote:I think it's time to cut my losses. If no one has any suggestions by this week, I think I have to change distros (ubuntu-server).
please don't go, i'll miss you :D :wink:

if your system works on other linux-systems then it'll work on gentoo too.

here are my configs, maybe it'll help somehow, i hope:

Code: Select all

eix -I pulse
[I] media-libs/libpulse
     Available versions:  16.0^t 16.1^t{xpak} [m]~16.1^t{xpak}[1] {X +asyncns dbus doc +glib gtk selinux systemd test valgrind ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  16.1^t{xpak}(18:07:45 30.07.2022)(X asyncns dbus glib -doc -gtk -selinux -systemd -test -valgrind ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.freedesktop.org/wiki/Software/PulseAudio/
     Description:         Libraries for PulseAudio clients

[I] media-sound/pulseaudio
     Available versions:  16.0 16.1{xpak} {bluetooth (+)daemon +glib jack ofono-headset ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  16.1{xpak}(18:08:11 30.07.2022)(daemon glib -bluetooth -jack -ofono-headset ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.freedesktop.org/wiki/Software/PulseAudio/
     Description:         A meta package for PulseAudio (networked sound server)

[I] media-sound/pulseaudio-daemon
     Available versions:  16.0-r1^t 16.1^t{xpak} {+X +alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw +gdbm +glib gstreamer gtk ipv6 jack ldac lirc ofono-headset +orc oss selinux sox ssl system-wide systemd tcpd test +udev valgrind +webrtc-aec zeroconf}
     Installed versions:  16.1^t{xpak}(18:08:03 30.07.2022)(X alsa alsa-plugin asyncns dbus elogind gdbm glib orc ssl udev webrtc-aec -aptx -bluetooth -equalizer -fftw -gstreamer -jack -ldac -lirc -ofono-headset -oss -selinux -sox -system-wide -systemd -tcpd -test -valgrind -zeroconf)
     Homepage:            https://www.freedesktop.org/wiki/Software/PulseAudio/
     Description:         Daemon component of PulseAudio (networked sound server)

[1] "pg_overlay" /var/db/repos/pg_overlay

Code: Select all

/etc/init.d/alsasound status
 * status: stopped

Code: Select all

cat /etc/conf.d/alsasound
# 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"

Code: Select all

cat /etc/pulse/client.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; default-sink =
; default-source =
; default-server =
; default-dbus-server =

; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB

; auto-connect-localhost = no
; auto-connect-display = no

Code: Select all

pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.usb-C-Media_Electronics_Inc._USB_Multimedia_Audio_Device-00>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "USB Multimedia Audio Device"
		alsa.long_card_name = "C-Media Electronics Inc. USB Multimedia Audio Device at usb-0000:00:14.0-14, fu"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:14:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/sound/card0"
		udev.id = "usb-C-Media_Electronics_Inc._USB_Multimedia_Audio_Device-00"
		device.bus = "usb"
		device.vendor.id = "0d8c"
		device.vendor.name = "C-Media Electronics, Inc."
		device.product.id = "0105"
		device.product.name = "CM108 Audio Controller"
		device.serial = "C-Media_Electronics_Inc._USB_Multimedia_Audio_Device"
		device.string = "0"
		device.description = "CM108 Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
		input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
		output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (priority 6555, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: unknown)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.usb-C-Media_Electronics_Inc._USB_Multimedia_Audio_Device-00.analog-stereo/#0: CM108 Audio Controller Analog Stereo
	sources:
		alsa_output.usb-C-Media_Electronics_Inc._USB_Multimedia_Audio_Device-00.analog-stereo.monitor/#0: Monitor of CM108 Audio Controller Analog Stereo
		alsa_input.usb-C-Media_Electronics_Inc._USB_Multimedia_Audio_Device-00.analog-stereo/#1: CM108 Audio Controller Analog Stereo
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: unknown)
			properties:
				
		iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:

Code: Select all

rc-update show boot
               binfmt | boot
             bootmisc | boot
              elogind | boot
                 fsck | boot
             hostname | boot
              keymaps | boot
           localmount | boot
             loopback | boot
              modules | boot
                 mtab | boot
              osclock | boot
               procfs | boot
                 root | boot
         save-keymaps | boot
    save-termencoding | boot
              seedrng | boot
               sysctl | boot
 systemd-tmpfiles-setup | boot
         termencoding | boot
                  ufw | boot

Code: Select all

rc-update show default
              chronyd | default
               cronie | default
                 dbus | default
               dhcpcd | default
           lm_sensors | default
                local | default
            syslog-ng | default
             thermald | default
               tinydm | default

Code: Select all

rc-update show sysinit
              cgroups | sysinit
                devfs | sysinit
                dmesg | sysinit
    kmod-static-nodes | sysinit
                sysfs | sysinit
 systemd-tmpfiles-setup-dev | sysinit
                 udev | sysinit
         udev-trigger | sysinit
in /etc/pulse/daemon.conf i have only flat-volumes = no set.

please try with latest kernel, e.g. 5.19.10 <<< have you tried with sys-kernel/gentoo-kernel-bin ? and also try without ~/.asoundrc file - change settings via pavucontrol.

8)
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Sat Oct 01, 2022 10:30 am

CooSee wrote: please don't go, i'll miss you :D :wink:
I don't want to go! No other distro has a community like Gentoo's, and nothing compares to portage, eix, equery etc.
CooSee wrote:

Code: Select all

eix -I pulse
[I] media-libs/libpulse
     Available versions:  16.0^t 16.1^t{xpak} [m]~16.1^t{xpak}[1] {X +asyncns dbus doc +glib gtk selinux systemd test valgrind ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  16.1^t{xpak}(18:07:45 30.07.2022)(X asyncns dbus glib -doc -gtk -selinux -systemd -test -valgrind ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.freedesktop.org/wiki/Software/PulseAudio/
     Description:         Libraries for PulseAudio clients

[I] media-sound/pulseaudio
     Available versions:  16.0 16.1{xpak} {bluetooth (+)daemon +glib jack ofono-headset ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  16.1{xpak}(18:08:11 30.07.2022)(daemon glib -bluetooth -jack -ofono-headset ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.freedesktop.org/wiki/Software/PulseAudio/
     Description:         A meta package for PulseAudio (networked sound server)

[I] media-sound/pulseaudio-daemon
     Available versions:  16.0-r1^t 16.1^t{xpak} {+X +alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw +gdbm +glib gstreamer gtk ipv6 jack ldac lirc ofono-headset +orc oss selinux sox ssl system-wide systemd tcpd test +udev valgrind +webrtc-aec zeroconf}
     Installed versions:  16.1^t{xpak}(18:08:03 30.07.2022)(X alsa alsa-plugin asyncns dbus elogind gdbm glib orc ssl udev webrtc-aec -aptx -bluetooth -equalizer -fftw -gstreamer -jack -ldac -lirc -ofono-headset -oss -selinux -sox -system-wide -systemd -tcpd -test -valgrind -zeroconf)
     Homepage:            https://www.freedesktop.org/wiki/Software/PulseAudio/
     Description:         Daemon component of PulseAudio (networked sound server)

[1] "pg_overlay" /var/db/repos/pg_overlay
1) I don't know what pg_overlay is
2) I have a [?] for media-libs/libpulse, even after reinstalling.
3) In addition, I have media-sound/apulse

Other than those diffs, we match.
CooSee wrote:

Code: Select all

/etc/init.d/alsasound status
 * status: stopped
Agree

CooSee wrote:

Code: Select all

cat /etc/conf.d/alsasound
# 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"
Agree

CooSee wrote:

Code: Select all

cat /etc/pulse/client.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; default-sink =
; default-source =
; default-server =
; default-dbus-server =

; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB

; auto-connect-localhost = no
; auto-connect-display = no
Agree. I will try `autospawn = yes` (without leading ";") after I finish this post.
CooSee wrote:

Code: Select all

pacmd list-cards
1 card(s) available.
...
I get: `No PulseAudio daemon running, or not running as session daemon.`
CooSee wrote: in /etc/pulse/daemon.conf i have only flat-volumes = no set.
I will try this after I finish this post.
CooSee wrote: please try with latest kernel, e.g. 5.19.10 <<< have you tried with sys-kernel/gentoo-kernel-bin ? and also try without ~/.asoundrc file - change settings via pavucontrol.
I will try 5.9.10 after this post. I use to never use asoundrc. I only use it now to get sound out of my monitors
I'm not really Linus Torvalds... or am I?
Top
LinusTorvalds1
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sat Jun 27, 2020 4:14 am

  • Quote

Post by LinusTorvalds1 » Sat Oct 01, 2022 7:54 pm

None of the below worked. I didn't try kernel-bin, because I'm pretty sure the issue is with pulseaudio 16.x. which is when it broke.

I'm not seeing `pacmd list-cards` return anything ("No PulseAudio daemon running, or not running as session daemon."). And if I run `pulseaudio --start`, and then `pacmd list-cards`, I get "0 card(s) available".

Anyway, thank you so much for trying to help!
Agree. I will try `autospawn = yes` (without leading ";") after I finish this post.
I will try this after I finish this post.
I will try 5.9.12 after this post.
I'm not really Linus Torvalds... or am I?
Top
Post Reply

22 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic