[Solved] No Sound after Debian 12 + KDE Installation

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
arcturus
Posts: 12
Joined: 2024-10-19 06:16
Has thanked: 3 times

[Solved] No Sound after Debian 12 + KDE Installation

#1 Post by arcturus »

I just started using linux (debian) yesterday, I searched the internet first and saw the PulseAudio wiki on debian website then read the instructions and found out that pulseaudio should come pre-installed in KDE.
I still tried to search the internet but still no luck. Need your help guys.
Last edited by arcturus on 2024-10-20 08:57, edited 2 times in total.

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

Re: No Sound after Debian 12 + KDE Installation

#2 Post by sunrat »

To even start to help with your question, please post hardware and system details. Install inxi and post

Code: Select all

inxi -ACSxxz
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

arcturus
Posts: 12
Joined: 2024-10-19 06:16
Has thanked: 3 times

Re: No Sound after Debian 12 + KDE Installation

#3 Post by arcturus »

sunrat wrote: 2024-10-20 04:26 To even start to help with your question, please post hardware and system details. Install inxi and post

Code: Select all

inxi -ACSxxz

Code: Select all

System:
  Kernel: 6.1.0-26-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.8 wm: kwin_wayland dm: SDDM
    Distro: Debian GNU/Linux 12 (bookworm)
CPU:
  Info: 6-core model: Intel Core i7-10750H bits: 64 type: MT MCP
    arch: Comet Lake rev: 2 cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 808 high: 900 min/max: 800/5000 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 900 11: 800 12: 800
    bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:06c8
  Device-2: NVIDIA TU116 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1
    chip-ID: 10de:1aeb
  API: ALSA v: k6.1.0-26-amd64 status: kernel-api
  Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pw-jack type: plugin
  Server-2: PulseAudio v: 16.1 status: off

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

Re: No Sound after Debian 12 + KDE Installation

#4 Post by FreewheelinFrank »

What is the computer make and model?

What is output of the following please?

Code: Select all

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

arcturus
Posts: 12
Joined: 2024-10-19 06:16
Has thanked: 3 times

Re: No Sound after Debian 12 + KDE Installation

#5 Post by arcturus »

FreewheelinFrank wrote: 2024-10-20 06:33 What is the computer make and model?

What is output of the following please?

Code: Select all

# dmesg  | grep 'sof\|firmware\|audio'
Laptop is asus rog g15.
There's no output running that code sir.
Last edited by arcturus on 2024-10-20 06:36, edited 1 time in total.

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

Re: No Sound after Debian 12 + KDE Installation

#6 Post by FreewheelinFrank »

arcturus wrote: 2024-10-20 06:35 There's no output running that code sir.
First you need to obtain root with

Code: Select all

$ su -
and enter your password.

Then enter

Code: Select all

dmesg  | grep 'sof\|firmware\|audio'
after the "#" root prompt.

I suspect you ran

Code: Select all

$ # dmesg  | grep 'sof\|firmware\|audio'
which is interpreted as $ <ignore everything that follows> so has no output.

arcturus
Posts: 12
Joined: 2024-10-19 06:16
Has thanked: 3 times

Re: No Sound after Debian 12 + KDE Installation

#7 Post by arcturus »

This is my terminal looks like

Code: Select all

jeremy@jobus:~$ sudo dmesg  | grep 'sof\|firmware\|audio'
jeremy@jobus:~$ 

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

Re: No Sound after Debian 12 + KDE Installation

#8 Post by FreewheelinFrank »

arcturus wrote: 2024-10-20 07:03 This is my terminal looks like

Code: Select all

jeremy@jobus:~$ sudo dmesg  | grep 'sof\|firmware\|audio'
jeremy@jobus:~$ 
Output of that command should be

Code: Select all

[sudo] password for <user>:
Did you set up a root password at installation? Does

Code: Select all

$ su -
work?

arcturus
Posts: 12
Joined: 2024-10-19 06:16
Has thanked: 3 times

Re: No Sound after Debian 12 + KDE Installation

#9 Post by arcturus »

FreewheelinFrank wrote: 2024-10-20 07:11
arcturus wrote: 2024-10-20 07:03 This is my terminal looks like

Code: Select all

jeremy@jobus:~$ sudo dmesg  | grep 'sof\|firmware\|audio'
jeremy@jobus:~$ 
Output of that command should be

Code: Select all

[sudo] password for <user>:
Did you set up a root password at installation? Does

Code: Select all

$ su -
work?
I cleared my terminal before running again the command.

Code: Select all

jeremy@jobus:~$ sudo dmesg  | grep 'sof\|firmware\|audio'~
[sudo] password for jeremy: 
jeremy@jobus:~$ 

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

Re: No Sound after Debian 12 + KDE Installation

#10 Post by FreewheelinFrank »

arcturus wrote: 2024-10-20 07:14
I cleared my terminal before running again the command.

Code: Select all

jeremy@jobus:~$ sudo dmesg  | grep 'sof\|firmware\|audio'~
[sudo] password for jeremy: 
jeremy@jobus:~$ 
Any output from

Code: Select all

$ sudo dmesg
?

arcturus
Posts: 12
Joined: 2024-10-19 06:16
Has thanked: 3 times

Re: No Sound after Debian 12 + KDE Installation

#11 Post by arcturus »

FreewheelinFrank wrote: 2024-10-20 07:26
arcturus wrote: 2024-10-20 07:14
I cleared my terminal before running again the command.

Code: Select all

jeremy@jobus:~$ sudo dmesg  | grep 'sof\|firmware\|audio'~
[sudo] password for jeremy: 
jeremy@jobus:~$ 
Any output from

Code: Select all

$ sudo dmesg
?
Here sir,

https://ctxt.io/2/AAB4VkUvEw

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

Re: No Sound after Debian 12 + KDE Installation

#12 Post by FreewheelinFrank »

OK, my bad: I overlooked the possibility that there were no messages in the log matching my filter. :oops:

Could you try rebooting then running

Code: Select all

$ sudo dmesg  | grep 'sof\|firmware\|audio'
as we want to see kernel messages as the sound system is set up, and these may be lost if the computer has been up for a long time and older messages are discarded.

arcturus
Posts: 12
Joined: 2024-10-19 06:16
Has thanked: 3 times

Re: No Sound after Debian 12 + KDE Installation

#13 Post by arcturus »

FreewheelinFrank wrote: 2024-10-20 07:41 OK, my bad: I overlooked the possibility that there were no messages in the log matching my filter. :oops:

Could you try rebooting then running

Code: Select all

$ sudo dmesg  | grep 'sof\|firmware\|audio'
as we want to see kernel messages as the sound system is set up, and these may be lost if the computer has been up for a long time and older messages are discarded.
It has output now sir,

Code: Select all

jeremy@jobus:~$ sudo dmesg  | grep 'sof\|firmware\|audio'
[sudo] password for jeremy: 
[    0.019040] software IO TLB: area num 16.
[    0.227647] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.227647] software IO TLB: mapped [mem 0x0000000086e0d000-0x000000008ae0d000] (64MB)
[    0.491798] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    0.491808] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    1.057062] i915 0000:00:02.0: firmware: direct-loading firmware i915/kbl_dmc_ver1_04.bin
[    1.057332] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[    3.223142] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    3.223227] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[    3.265924] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.266106] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    3.335175] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC294: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    3.335178] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.335180] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.335181] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.335182] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.335183] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    3.335184] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    3.890549] ath10k_pci 0000:06:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:06:00.0.bin (-2)
[    3.890564] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    3.890583] ath10k_pci 0000:06:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:06:00.0.bin (-2)
[    3.890601] ath10k_pci 0000:06:00.0: firmware: failed to load ath10k/cal-pci-0000:06:00.0.bin (-2)
[    3.890616] ath10k_pci 0000:06:00.0: firmware: failed to load ath10k/cal-pci-0000:06:00.0.bin (-2)
[    3.891844] ath10k_pci 0000:06:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-6.bin
[    3.892169] ath10k_pci 0000:06:00.0: firmware ver WLAN.RM.4.4.1-00288- api 6 features wowlan,ignore-otp,mfp crc32 bf907c7c
[    3.959305] ath10k_pci 0000:06:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
[    6.577165] r8169 0000:05:00.0: firmware: direct-loading firmware rtl_nic/rtl8168h-2.fw
jeremy@jobus:~$ 

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

Re: No Sound after Debian 12 + KDE Installation

#14 Post by FreewheelinFrank »

Could you please run this command and just paste the "Machine" section.

Code: Select all

$ inxi -Faz
Some asus rog g15s seem to need a hack to work. The above output will give us the exact product ID.

arcturus
Posts: 12
Joined: 2024-10-19 06:16
Has thanked: 3 times

Re: No Sound after Debian 12 + KDE Installation

#15 Post by arcturus »

FreewheelinFrank wrote: 2024-10-20 08:05 Could you please run this command and just paste the "Machine" section.

Code: Select all

$ inxi -Faz
Some asus rog g15s seem to need a hack to work. The above output will give us the exact product ID.

Code: Select all

Machine:
  Type: Laptop System: ASUSTeK product: ROG Strix G512LU_G512LU v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: G512LU v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: G512LU.314 date: 04/27/2021

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

Re: No Sound after Debian 12 + KDE Installation

#16 Post by FreewheelinFrank »

Try this. No specific match for the model, but seems to work with Rog G15s with the same codec ALC294.

https://wiki.archlinux.org/title/ASUS_ROG_STRIX_G732LXS

https://bbs.archlinux.org/viewtopic.php?id=274478

arcturus
Posts: 12
Joined: 2024-10-19 06:16
Has thanked: 3 times

Re: No Sound after Debian 12 + KDE Installation

#17 Post by arcturus »

FreewheelinFrank wrote: 2024-10-20 08:18 Try this. No specific match for the model, but seems to work with Rog G15s with the same codec ALC294.

https://wiki.archlinux.org/title/ASUS_ROG_STRIX_G732LXS

https://bbs.archlinux.org/viewtopic.php?id=274478
Hi, I did the insturctions, this is the result

Code: Select all

jeremy@jobus:~$ cat /etc/modprobe.d/alsa-base.conf 
options snd-hda-intel model=asus-zenbook
jeremy@jobus:~$ sudo vim /usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common

I edited the file using his config.

jeremy@jobus:~$ systemctl --user restart pulseaudio
Job for pulseaudio.service failed because the control process exited with error code.
See "systemctl --user status pulseaudio.service" and "journalctl --user -xeu pulseaudio.service" for details.
jeremy@jobus:~$ 

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

Re: No Sound after Debian 12 + KDE Installation

#18 Post by FreewheelinFrank »

Code: Select all

pulseaudio -k
or just reboot.

Fingers crossed.

arcturus
Posts: 12
Joined: 2024-10-19 06:16
Has thanked: 3 times

Re: No Sound after Debian 12 + KDE Installation

#19 Post by arcturus »

FreewheelinFrank wrote: 2024-10-20 08:37

Code: Select all

pulseaudio -k
or just reboot.

Fingers crossed.
Its working now sir! After the reboot.
Thank you for your patience and time!

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

Re: No Sound after Debian 12 + KDE Installation

#20 Post by FreewheelinFrank »

arcturus wrote: 2024-10-20 08:43
FreewheelinFrank wrote: 2024-10-20 08:37

Code: Select all

pulseaudio -k
or just reboot.

Fingers crossed.
Its working now sir! After the reboot.
Thank you for your patience and time!
Good times!
You're welcome.

Please edit the title in your first post and add [Solved] at the beginning. Thanks.

Post Reply