You are not logged in.

#1 2022-12-30 08:33:32

coco45
Member
Registered: 2020-06-20
Posts: 12

[Solved] Sound Muted at each startup

hello
a "standard" matter already cleared on others  distro ( ubuntu...) : at each start up sound is muted and I have to go through the terminal  and with the command " alsamixer" I select card sound ( HDA intel while std selected by default ) and I unmute speakers , then it  works ; but it's not acceptable
I already cleared this matter by removing pulseaudio  but it reject  with mention " broke dependance of .....)
I try also without result : command "alsactl store"  - after unmute in alsamixer -  and "alsactl restore" in application automatic start .
Note : I use LXDE desk on Arch 2020
Any idea to clear that ?

Last edited by coco45 (2023-01-06 14:18:54)


Equipment:Desktop PC triple-boot  Home-common: Arch 21Xfce/ Mint Cinnamon 21  (W7 en VM) + Mx21 Xfce
Proc: Intel Pentium G3220 64b- CM: Gigabyte GA-H81M-HD3 Ram: 8 Go - CG : Intel HD direct X10
DD: Samsung 465 Go
Portable EeePC Asus R105D RAM 1 Go 1,66MHz-64 bits: Arch 20 Lxde/AntiX/Windows7 Starter

Offline

#2 2022-12-30 09:41:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,431

Re: [Solved] Sound Muted at each startup

Do you have a hibernating Windows install? generally if pulseaudio is there you should be setting volumes there (with e.g. pavucontrol) and it will remember those. can you post

sudo fuser -v /dev/snd/*
amixer -c0
pactl list cards
pactl list sinks

from this "muted at startup" state in [ code]  [ /code] tags (remove the spaces in your post and put the output between the two tags)

Offline

#3 2022-12-30 11:29:41

coco45
Member
Registered: 2020-06-20
Posts: 12

Re: [Solved] Sound Muted at each startup

here codes :

koko@kokopc ~]$ sudo fuser -v /dev/snd/*
                     UTIL.       PID ACCÈS  COMMANDE
/dev/snd/controlC0:  koko        479 F.... pulseaudio
[koko@kokopc ~]$ amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 82 [94%] [-3.75dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Headphone Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Headphone Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 31 [100%] [30.00dB] [on]
  Front Right: Capture 31 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Internal Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 1 [33%] [12.00dB]
  Front Right: 1 [33%] [12.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
koko@kokopc ~]$ pactl list cards
Carte #0
	Nom : alsa_card.pci-0000_00_1b.0
	Pilote : module-alsa-card.c
	Module propriétaire : 6
	Propriétés :
		alsa.card = "0"
		alsa.card_name = "HDA Intel"
		alsa.long_card_name = "HDA Intel at 0xf7cf8000 irq 25"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "27d8"
		device.product.name = "NM10/ICH7 Family High Definition Audio Controller (Eee PC 1015PX)"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Audio interne"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profils :
		input:analog-stereo: Entrée Stéréo analogique (sinks: 0, sources: 1, priority: 32833, available: oui)
		output:analog-stereo: Sortie Stéréo analogique (sinks: 1, sources: 0, priority: 39268, available: oui)
		output:analog-stereo+input:analog-stereo: Duplex stéréo analogique (sinks: 1, sources: 1, priority: 39333, available: oui)
		off: Éteint (sinks: 0, sources: 0, priority: 0, available: oui)
	Profil actif : output:analog-stereo+input:analog-stereo
	Ports :
		analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, latency offset: 0 usec, availability unknown)
			Propriétés :
				device.icon_name = "audio-input-microphone"
			Partie du(des) profil(s) : input:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-input-headphone-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 2, not available)
			Propriétés :
				device.icon_name = "audio-input-microphone"
			Partie du(des) profil(s) : input:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-speaker: Speakers (type: Haut-parleur, priority: 10000, latency offset: 0 usec, availability unknown)
			Propriétés :
				device.icon_name = "audio-speakers"
			Partie du(des) profil(s) : output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Headphones (type: Casque audio, priority: 9900, latency offset: 0 usec, availability group: Legacy 2, not available)
			Propriétés :
				device.icon_name = "audio-headphones"
			Partie du(des) profil(s) : output:analog-stereo, output:analog-stereo+input:analog-stereo
[koko@kokopc ~]$ pactl list sinks
Destination #0
	État : SUSPENDED
	Nom : alsa_output.pci-0000_00_1b.0.analog-stereo
	Description : Audio interne Stéréo analogique
	Pilote : module-alsa-card.c
	Spécification de l’échantillon : s16le 2ch 44100Hz
	Plan des canaux : front-left,front-right
	Module du propriétaire : 6
	Sourdine : non
	Volume : front-left: 56752 /  87% / -3,75 dB,   front-right: 56752 /  87% / -3,75 dB
	        balance 0,00
	Volume de base : 65536 / 100% / 0,00 dB
	Source du moniteur : alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
	Latence : 0 usec, configuré 0 usec
	Marqueurs : HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Propriétés :
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC269VB Analog"
		alsa.id = "ALC269VB Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel"
		alsa.long_card_name = "HDA Intel at 0xf7cf8000 irq 25"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "27d8"
		device.product.name = "NM10/ICH7 Family High Definition Audio Controller (Eee PC 1015PX)"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Stéréo analogique"
		device.description = "Audio interne Stéréo analogique"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports :
		analog-output-speaker: Speakers (type: Haut-parleur, priority: 10000, availability unknown)
		analog-output-headphones: Headphones (type: Casque audio, priority: 9900, availability group: Legacy 2, not available)
	Port actif : analog-output-speaker
	Formats :
		pcm

Moderator [ewaller] I took the liberty of fixing the post wiith code tags.  I think you had tried, but it did not turn out quite right

Last edited by ewaller (2022-12-30 16:20:33)


Equipment:Desktop PC triple-boot  Home-common: Arch 21Xfce/ Mint Cinnamon 21  (W7 en VM) + Mx21 Xfce
Proc: Intel Pentium G3220 64b- CM: Gigabyte GA-H81M-HD3 Ram: 8 Go - CG : Intel HD direct X10
DD: Samsung 465 Go
Portable EeePC Asus R105D RAM 1 Go 1,66MHz-64 bits: Arch 20 Lxde/AntiX/Windows7 Starter

Offline

#4 2022-12-30 12:30:37

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [Solved] Sound Muted at each startup

coco45, please edit your post and use [ code ] tags (not quote tags) when posting output. This makes the output easier to read and provides a scroll box for long output.

https://wiki.archlinux.org/title/Genera … s_and_code
https://bbs.archlinux.org/help.php#bbcode


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#5 2023-01-02 10:10:55

coco45
Member
Registered: 2020-06-20
Posts: 12

Re: [Solved] Sound Muted at each startup

My problem is still  remaining


Equipment:Desktop PC triple-boot  Home-common: Arch 21Xfce/ Mint Cinnamon 21  (W7 en VM) + Mx21 Xfce
Proc: Intel Pentium G3220 64b- CM: Gigabyte GA-H81M-HD3 Ram: 8 Go - CG : Intel HD direct X10
DD: Samsung 465 Go
Portable EeePC Asus R105D RAM 1 Go 1,66MHz-64 bits: Arch 20 Lxde/AntiX/Windows7 Starter

Offline

#6 2023-01-02 12:21:41

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,684
Website

Re: [Solved] Sound Muted at each startup

Bumping is bad form here, please only post like that again if you have new information.

Can we see

systemctl status alsa-restore

Last edited by Head_on_a_Stick (2023-01-02 12:30:15)

Offline

#7 2023-01-02 16:50:35

coco45
Member
Registered: 2020-06-20
Posts: 12

Re: [Solved] Sound Muted at each startup

here reply for restore status

koko@kokopc ~]$ systemctl status alsa-restore
● alsa-restore.service - Save/Restore Sound Card State
     Loaded: loaded (/usr/lib/systemd/system/alsa-restore.service; static)
     Active: active (exited) since Mon 2023-01-02 16:41:13 CET; 1h 1min ago
    Process: 276 ExecStart=/usr/bin/alsactl restore (code=exited, status=0/SUCC>
   Main PID: 276 (code=exited, status=0/SUCCESS)
        CPU: 23ms

janv. 02 16:41:13 kokopc systemd[1]: Starting Save/Restore Sound Card State...
janv. 02 16:41:13 kokopc systemd[1]: Finished Save/Restore Sound Card State.
lines 1-9/9 (END).

note that in alsamixer I have to change sound card ( HDA intel) instead of default  in order to unmute headphones ( and auto-mute is disabled , no change, master not muted)

Last edited by coco45 (2023-01-02 16:52:31)


Equipment:Desktop PC triple-boot  Home-common: Arch 21Xfce/ Mint Cinnamon 21  (W7 en VM) + Mx21 Xfce
Proc: Intel Pentium G3220 64b- CM: Gigabyte GA-H81M-HD3 Ram: 8 Go - CG : Intel HD direct X10
DD: Samsung 465 Go
Portable EeePC Asus R105D RAM 1 Go 1,66MHz-64 bits: Arch 20 Lxde/AntiX/Windows7 Starter

Offline

#8 2023-01-02 19:41:25

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,684
Website

Re: [Solved] Sound Muted at each startup

coco45 wrote:

alsamixer I have to change sound card ( HDA intel) instead of default

Use pavucontrol or pactl(1) to set the default audio device permanently. I think it should save & restore correctly once that is done. Hopefully.

Offline

#9 2023-01-03 09:32:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,431

Re: [Solved] Sound Muted at each startup

You need to unmute the headphone control to have output from the speakers, or does pulse not detect the headphone jack? Then it's likely pulse's profile logic triggers that.  Does it get fixed if you do

pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-headphones

? If that does fix it you can force a specific port via e.g. appending

.nofail
 set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-headphones

to the end of your /etc/pulse/default.pa

Offline

#10 2023-01-03 10:56:59

coco45
Member
Registered: 2020-06-20
Posts: 12

Re: [Solved] Sound Muted at each startup

reply to V1del
to get sound I have to unmute at each startup  in alsamixer a column "named"  headphone ( there are several column : master , headphone,headphone mic ,headphon boost....) as it's the only muted ; and then it works
This is done after selecting "sound card" HDA intel (and not default) as it appears as 1st picture a sheet " pulseaudio card" with only one column Master ( not muted )   
Note : there is no file /etc/pulse/default.pa


Equipment:Desktop PC triple-boot  Home-common: Arch 21Xfce/ Mint Cinnamon 21  (W7 en VM) + Mx21 Xfce
Proc: Intel Pentium G3220 64b- CM: Gigabyte GA-H81M-HD3 Ram: 8 Go - CG : Intel HD direct X10
DD: Samsung 465 Go
Portable EeePC Asus R105D RAM 1 Go 1,66MHz-64 bits: Arch 20 Lxde/AntiX/Windows7 Starter

Offline

#11 2023-01-03 11:00:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,431

Re: [Solved] Sound Muted at each startup

That file can't not exist, it's part of the pulseaudio package and in general pretty integral to pulseaudio working as it should. An alternative would be to have a oneshot service running after pulseaudio that does the unmuting of the faulty mute state. Or testing whether switching to the pipewire stack would fix the issue by installing pipewire-{alsa,pulse} and wireplumber and answering yes to the replacement prompts (... and removing pulseaudio-alsa)

Last edited by V1del (2023-01-03 11:04:21)

Offline

#12 2023-01-03 14:07:51

coco45
Member
Registered: 2020-06-20
Posts: 12

Re: [Solved] Sound Muted at each startup

to V1del
sorry for my reply regarding file default.pa , it exist ; I added last line but no effect
I can't remove pulseaudio or pulseaudio-alsa due to " broke dependences" !


Equipment:Desktop PC triple-boot  Home-common: Arch 21Xfce/ Mint Cinnamon 21  (W7 en VM) + Mx21 Xfce
Proc: Intel Pentium G3220 64b- CM: Gigabyte GA-H81M-HD3 Ram: 8 Go - CG : Intel HD direct X10
DD: Samsung 465 Go
Portable EeePC Asus R105D RAM 1 Go 1,66MHz-64 bits: Arch 20 Lxde/AntiX/Windows7 Starter

Offline

#13 2023-01-03 17:51:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,431

Re: [Solved] Sound Muted at each startup

You do need to remove manually, if you install the packages i mentioned you will get prompted for a logical replacement that covers the same usecases

Offline

#14 2023-01-06 14:18:17

coco45
Member
Registered: 2020-06-20
Posts: 12

Re: [Solved] Sound Muted at each startup

I removed pulseaudio even if it's broke some dependencies ! no other way to get sound with this Arch !
Now I have to temove from desktop menu the pulse audio applications , not so easy it seems with Lxde.......I will open another topic if any
Thanks to all .


Equipment:Desktop PC triple-boot  Home-common: Arch 21Xfce/ Mint Cinnamon 21  (W7 en VM) + Mx21 Xfce
Proc: Intel Pentium G3220 64b- CM: Gigabyte GA-H81M-HD3 Ram: 8 Go - CG : Intel HD direct X10
DD: Samsung 465 Go
Portable EeePC Asus R105D RAM 1 Go 1,66MHz-64 bits: Arch 20 Lxde/AntiX/Windows7 Starter

Offline

#15 2023-01-06 17:04:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,431

Re: [Solved] Sound Muted at each startup

You don't have to remove anything, just install pipewire-pulse if you now run a plain ALSA setup you'll almost certainly run into other audio issues eventually.

Last edited by V1del (2023-01-06 17:04:28)

Offline

Board footer

Powered by FluxBB