Page 1 of 1

No sound with my enigmatic Pentium Silver HD Audio

Posted: Wed Sep 28, 2022 5:09 pm
by SirLouen
First, I have to say that I have probably bought the worst laptop in the history of Linux
After this
And this (solved at least, yay!)

Now comes my third nightmare: No Sound with a weird card

First of all the inxi output we all love in this forum:

Code: Select all

System:    Kernel: 6.0.0-rc7 x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-6.0.0-rc7 
           root=UUID=<filter> ro quiet splash 
           pcie_aspm.policy=performance 
           Desktop: KDE Plasma 5.20.5 wm: kwin_x11 vt: 7 dm: SDDM 
           Distro: MX-21.2.1_KDE_x64 Wildflower September 18  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop Mobo: N/A model: N/A serial: <filter> UEFI: American Megatrends 
           v: X13GTE.E.L4XB376.6S.S3E3P2W7.SDZ.AOC.L003 date: 07/21/2022 
Battery:   ID-1: BAT0 charge: 36.9 Wh (97.1%) condition: 38.0/38.0 Wh (100.0%) volts: 7.6 min: N/A 
           model: N/A type: Unknown serial: <filter> status: Charging 
CPU:       Info: Quad Core model: Intel Celeron J4105 bits: 64 type: MCP arch: Goldmont Plus 
           family: 6 model-id: 7A (122) stepping: 1 microcode: 3A cache: L2: 4 MiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 11980 
           Speed: 894 MHz min/max: 800/2500 MHz Core speeds (MHz): 1: 848 2: 888 3: 897 4: 861 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Not affected 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Enhanced IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel GeminiLake [UHD Graphics 600] driver: i915 v: kernel bus-ID: 00:02.0 
           chip-ID: 8086:3185 class-ID: 0300 
           Device-2: icSpring icspring camera type: USB driver: uvcvideo bus-ID: 1-8:3 
           chip-ID: 32e6:9005 class-ID: 0e02 
           Display: x11 server: X.Org 1.20.14 compositor: kwin_x11 driver: loaded: modesetting 
           unloaded: fbdev,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
           diag: 395mm (15.5") 
           OpenGL: renderer: Mesa Intel UHD Graphics 600 (GLK 2) v: 4.6 Mesa 22.0.5 
           direct render: Yes 
Audio:     Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio vendor: Realtek 
           driver: sof-audio-pci-intel-apl 
           alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci_intel_apl bus-ID: 00:0e.0 
           chip-ID: 8086:3198 class-ID: 0401 
           Sound Server-1: ALSA v: k6.0.0-rc7 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter driver: rtl8821ce 
           v: N/A modules: rtw88_8821ce,8821ce port: e000 bus-ID: 01:00.0 chip-ID: 10ec:c821 
           class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 1-7:2 
           chip-ID: 0bda:c821 class-ID: e001 serial: <filter> 
           Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2 
           sub-v: 7644 hci-v: 4.2 rev: 829a 
           Info: acl-mtu: 1021:8 sco-mtu: 255:12 link-policy: rswitch hold sniff park 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 119.24 GiB used: 19 GiB (15.9%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Hoodisk model: SSD size: 119.24 GiB block-size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: P1B3 
           scheme: GPT 
Partition: ID-1: / raw-size: 112.98 GiB size: 110.65 GiB (97.94%) used: 19 GiB (17.2%) fs: ext4 
           dev: /dev/sda2 maj-min: 8:2 
           ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat 
           dev: /dev/sda1 maj-min: 8:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 6 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3 
           maj-min: 8:3 
Sensors:   System Temperatures: cpu: 47.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2315 lib: 1292 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/anydesk-stable.list 
           1: deb http://deb.anydesk.com/ all main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://ftp.cica.es/mirrors/Linux/MX-Packages/mx/repo/ bullseye main non-free
           2: deb http://ftp.cica.es/mirrors/Linux/MX-Packages/mx/repo/ bullseye ahs
Info:      Processes: 217 Uptime: 1m wakeups: 2 Memory: 5.46 GiB used: 1.19 GiB (21.8%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI
Here we can see this driver: sof-audio-pci-intel-apl

If I do the aplay -l:

Code: Select all

# aplay -l
aplay: device_list:274: no soundcards found..
I can switch to the intel legacy hd-intel driver with modprobe.d option:

Code: Select all

options snd-intel-dspcfg dsp_driver=1
But still no sound despite this switch. With aplay -l I get a number of results like:

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
I have downloaded and installed the 2.2 firmware from repo: https://github.com/thesofproject/sof-bin
(Anyway I had the 2.0 firmware so I think it was not an extreme change)

Neither pulseaudio or alsa recognize a soundcard:

Alsa:

Code: Select all

!!Soundcards recognised by ALSA
!!-----------------------------

--- no soundcards ---


!!PCI Soundcards installed in the system
!!--------------------------------------

00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3>
        DeviceName: Onboard - Sound
So far I haven't found any other workaround to proceed.

Re: No sound with my enigmatic Pentium Silver HD Audio

Posted: Wed Sep 28, 2022 9:13 pm
by JayM
A quick web search for your soundcard in Linux turned up https://askubuntu.com/questions/1237007 ... 3xxx-n3xxx which suggests adding this boot parameter right before "quiet splash":

Code: Select all

i915.disable_power_well=0
which IIRC you can do to test it by pressing E at the grub menu screen then using your arrow keys to navigate to that quiet splash text and add the parameter, then finish booting. If sound works you can add the parameter permanently in MX Boot Options.

Re: No sound with my enigmatic Pentium Silver HD Audio

Posted: Wed Sep 28, 2022 9:17 pm
by Huckleberry Finn

Re: No sound with my enigmatic Pentium Silver HD Audio

Posted: Thu Sep 29, 2022 7:46 pm
by SirLouen
JayM wrote: Wed Sep 28, 2022 9:13 pm A quick web search for your soundcard in Linux turned up https://askubuntu.com/questions/1237007 ... 3xxx-n3xxx which suggests adding this boot parameter right before "quiet splash":

Code: Select all

i915.disable_power_well=0
which IIRC you can do to test it by pressing E at the grub menu screen then using your arrow keys to navigate to that quiet splash text and add the parameter, then finish booting. If sound works you can add the parameter permanently in MX Boot Options.
Just out of curiosity, How could you find such answer with the information I provided? It doesn't any of my hardware specs
I'm going to test it anyway and report back

Re: No sound with my enigmatic Pentium Silver HD Audio

Posted: Mon Oct 03, 2022 6:07 am
by JayM
SirLouen wrote: Thu Sep 29, 2022 7:46 pm Just out of curiosity, How could you find such answer with the information I provided? It doesn't any of my hardware specs
I'm going to test it anyway and report back
I highlighted the sound card (audio) info from your Quick System Info, right-clicked on it, clicked on "Search duckduckgo for..." (my search engine of choice) then in duckduckgo I added the word linux to the search keywords and clicked search again.

Re: No sound with my enigmatic Pentium Silver HD Audio

Posted: Mon Oct 03, 2022 6:07 pm
by Stevo
Where did you get the 6.0 rc 7 kernel from? From Debian Experimental?

Re: No sound with my enigmatic Pentium Silver HD Audio

Posted: Mon Oct 03, 2022 6:10 pm
by SirLouen
Stevo wrote: Mon Oct 03, 2022 6:07 pm Where did you get the 6.0 rc 7 kernel from? From Debian Experimental?
I compiled it from sources. Anyway it doesn't work either in the base kernel