[O/S] Debian 11.7 Xfce Stable Volume Control, Configuration Tab, issue? TIA

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
Sector7361
Posts: 3
Joined: 2023-07-04 16:01

[O/S] Debian 11.7 Xfce Stable Volume Control, Configuration Tab, issue? TIA

#1 Post by Sector7361 »

Hi.

I am currently running Debian 11.7 Stable Xfce.

Under the Audio Mixer, in the Configuration Tab, under Volume Control it always defaults to

Image,

then change it to

Image

and the sounds starts to work, but when I reboot, it defaults to the first image and I have to set it up again.

Is there a way I can fix that and change that default some other way?

Thank you.

CwF
Global Moderator
Global Moderator
Posts: 3073
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 63 times
Been thanked: 254 times

Re: [O/S] Debian 11.7 Xfce Stable Volume Control, Configuration Tab, issue? TIA

#2 Post by CwF »

I haven't looked at the exact verbiage but the end of the file /etc/pulse/default.pa may help

Code: Select all

### Make some devices default
#set-default-sink output
#set-default-source input
Mottainai

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2364
Joined: 2010-06-07 16:59
Has thanked: 45 times
Been thanked: 258 times

Re: [O/S] Debian 11.7 Xfce Stable Volume Control, Configuration Tab, issue? TIA

#3 Post by FreewheelinFrank »

To check why this is happening, please post output of the following.

Code: Select all

# lspci -k | grep -A 4 Audio

Code: Select all

# dmesg | grep 'snd\|audio\|firmware'

Code: Select all

# journalctl -k | grep -i 'alsa\|hda\|sof\|snd'

User avatar
Sector7361
Posts: 3
Joined: 2023-07-04 16:01

Re: [O/S] Debian 11.7 Xfce Stable Volume Control, Configuration Tab, issue? TIA

#4 Post by Sector7361 »

CwF wrote: 2023-07-09 03:12 I haven't looked at the exact verbiage but the end of the file /etc/pulse/default.pa may help

Code: Select all

### Make some devices default
#set-default-sink output
#set-default-source input
Edited the file and uncommented set-default-sink output.

I will reboot and report back.

Thanks.

User avatar
Sector7361
Posts: 3
Joined: 2023-07-04 16:01

Re: [O/S] Debian 11.7 Xfce Stable Volume Control, Configuration Tab, issue? TIA

#5 Post by Sector7361 »

FreewheelinFrank wrote: 2023-07-09 11:30 To check why this is happening, please post output of the following.

Code: Select all

lspci -k | grep -A 4 Audio

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
	Subsystem: Dell Sunrise Point-LP HD Audio
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
	Subsystem: Dell Sunrise Point-LP SMBus

Code: Select all

sudo dmesg | grep 'snd\|audio\|firmware'

[    2.050962] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/hainan_pfp.bin
[    2.050979] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/hainan_me.bin
[    2.050995] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/hainan_ce.bin
[    2.051010] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/hainan_rlc.bin
[    2.051034] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/hainan_mc.bin
[    2.051061] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/hainan_k_smc.bin
[    2.068452] i915 0000:00:02.0: firmware: direct-loading firmware i915/skl_dmc_ver1_27.bin
[    2.068747] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
[    9.937343] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    9.937602] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[   10.089028] iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-3160-17.ucode
[   10.089248] iwlwifi 0000:02:00.0: loaded firmware version 17.3216344376.0 3160-17.ucode op_mode iwlmvm
[   10.089271] iwlwifi 0000:02:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[   10.089321] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[   10.281889] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[   10.282135] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   10.386162] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3234: line_outs=1 (0x21/0x0/0x0/0x0/0x0) type:hp
[   10.386165] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.386167] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.386168] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   10.386169] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   10.882754] r8169 0000:03:00.0: firmware: direct-loading firmware rtl_nic/rtl8106e-1.fw

Code: Select all

sudo journalctl -k | grep -i 'alsa\|hda\|sof\|snd'

Jul 09 20:45:04 user kernel: PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Jul 09 20:45:04 user kernel: software IO TLB: mapped [mem 0x0000000064622000-0x0000000068622000] (64MB)
Jul 09 20:45:04 user kernel: integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
Jul 09 20:45:04 user kernel: integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
Jul 09 20:45:05 user kernel: snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
Jul 09 20:45:05 user kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jul 09 20:45:05 user kernel: snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3234: line_outs=1 (0x21/0x0/0x0/0x0/0x0) type:hp
Jul 09 20:45:05 user kernel: snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jul 09 20:45:05 user kernel: snd_hda_codec_realtek hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jul 09 20:45:05 user kernel: snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
Jul 09 20:45:05 user kernel: snd_hda_codec_realtek hdaudioC0D0:    inputs:
Jul 09 20:45:05 user kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1f.3/sound/card0/input40
Jul 09 20:45:05 user kernel: input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input41
Jul 09 20:45:05 user kernel: input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input42
Jul 09 20:45:05 user kernel: input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input43
Jul 09 20:45:05 user kernel: input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input44
Jul 09 20:45:05 user kernel: input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input45
Jul 09 20:45:05 user kernel: input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input46
Let me know if you need any other information.

Thank you.

User avatar
sunrat
Site admin
Site admin
Posts: 7366
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 133 times
Been thanked: 650 times

Re: [O/S] Debian 11.7 Xfce Stable Volume Control, Configuration Tab, issue? TIA

#6 Post by sunrat »

Sector7361 wrote: 2023-07-12 00:07
CwF wrote: 2023-07-09 03:12 I haven't looked at the exact verbiage but the end of the file /etc/pulse/default.pa may help

Code: Select all

### Make some devices default
#set-default-sink output
#set-default-source input
Edited the file and uncommented set-default-sink output.
You need to edit it to the actual name of the sink - https://wiki.archlinux.org/title/PulseA ... utput_sink
eg:

Code: Select all

set-default-sink alsa_output.pci-0000_04_01.0.analog-stereo
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Dude Guyman
Posts: 29
Joined: 2023-06-30 09:28
Has thanked: 4 times
Been thanked: 2 times

Re: [O/S] Debian 11.7 Xfce Stable Volume Control, Configuration Tab, issue? TIA

#7 Post by Dude Guyman »

When mine kept switching to an unwanted audio device, I had to modify (with text editor of your choice)

Code: Select all

/etc/pulse/default.pa
and comment out all modules that start with

Code: Select all

module-switch-on-*
by adding " # " in front of it.

module-switch-on-port-available <-- this one is usually the offender for me.
module-switch-on-connect <-- have also found this one in a distro or two.

default.pa before:

Code: Select all

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available
default.pa after:

Code: Select all

### Should be after module-*-restore but before module-*-detect
#load-module module-switch-on-port-available
Now it's just part of my install routine. I don't want anything switching, unless I switch it!
Edited to clean it up & clarify with code tags after seeing @metalinux post below (thanks meta) and realizing I should have included the entire line and not just the important bits.
Last edited by Dude Guyman on 2023-07-12 16:07, edited 10 times in total.

User avatar
metalinux
Posts: 4
Joined: 2023-06-26 05:35
Has thanked: 3 times
Been thanked: 3 times

Re: [O/S] Debian 11.7 Xfce Stable Volume Control, Configuration Tab, issue? TIA

#8 Post by metalinux »

Hi @Sector7361

I hope you're doing well today.

Many thanks to everyone's fantastic contributions here so far and I have picked up a lot of useful knowledge regarding commands to run for troubleshooting pulseaudio.

@Dude Guyman's suggestion I would definitely recommend trying it.

I attempted to perform the mentioned fix with the following:
  1. Spun up a new Debian 11.7 VM with QEMU and installed XFCE on top.
  2. Checked

    Code: Select all

    /etc/pulse/default.pa
  3. Found the only line related to

    Code: Select all

    module-switch
    was

    Code: Select all

    load-module module-switch-on-port-available
  4. Commented out the line and restarted the VM.
  5. No issues were found after the restart regarding my audio settings.
On the VM, I did not run into the same issue as yourself before performing the above steps, when I changed my Audio Profile under Configuration, just to clarify.

Please definitely try @Dude Guyman's suggestion and please let us know how it goes for you or if you are still running into issues.

All the best!

Post Reply