Intel Sunrise Point-H HD Audio issue

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Alexvar

Intel Sunrise Point-H HD Audio issue

Post by Alexvar »

Hello there!

Around 3 months ago, I installed LM on my laptop. Everything worked fine, but the audio doesn't work. To make a long story short, I started a thread in this section, and with the help of user MrEen, among others, we tried to solve the problem, but at the end we couldn't, so I decided to wait till LM 19 came out, then I installed it, but the audio still doesn't work.
I'm starting this new thread to see if I can get help from more people, so if you have any ideas, please tell here! Any help will be hugely appreciated.
you can go to the older thread following this link: viewtopic.php?f=48&t=267963

Some things to consider:

1) My laptop is an HP Pavilion 15-bc008ns, which has, of course, an Intel Sunrise Point-H HD Audio chip.
2) I have tried several Ubuntu-based OSes (Ubuntu, Kubuntu, Ubuntu Mate...), and I have had the same issue, so I don't think this is a LM-exclusive issue
3) I'm currently running LM 19 Cinnamon 64-bit off a USB Drive, so I don't have to overwrite the hard disk for now. I have installed Windows 10 on the hard drive for the sake of compatibility
4) I'm currently running Linux Kernel 4.15.0-23 (Though I just have received the 4.15.0-24.26 update, which I'll install after I post this thread)
5) Here's some terminal outputs for you:

lspci:

Code: Select all

00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #6 (rev f1)
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
08:00.0 Network controller: Intel Corporation Wireless 7265 (rev 61)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
inxi -A

Code: Select all

System:    Host: HP-Pavilion-Notebook Kernel: 4.15.0-23-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.6 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: HP product: HP Pavilion Notebook v: Type1ProductConfigId serial: N/A
           Mobo: HP model: 820D v: 82.30 serial: N/A UEFI [Legacy]: Insyde v: F.23 date: 10/13/2016
Battery    BAT0: charge: 60.5 Wh 100.0% condition: 60.5/60.5 Wh (100%)
           model: Hewlett-Packard Primary status: Full
CPU:       Quad core Intel Core i7-6700HQ (-MT-MCP-) arch: Skylake-S rev.3 cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20736
           clock speeds: max: 3500 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz 4: 800 MHz 5: 800 MHz 6: 800 MHz
           7: 800 MHz 8: 800 MHz
Graphics:  Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
           Card-2: NVIDIA GM107M [GeForce GTX 950M] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.02hz
           OpenGL: renderer: GeForce GTX 950M/PCIe/SSE2 version: 4.6.0 NVIDIA 390.48 Direct Render: Yes
Audio:     Card Intel Sunrise Point-H HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-23-generic
Network:   Card-1: Intel Wireless 7265 driver: iwlwifi bus-ID: 08:00.0
           IF: wlo1 state: down mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 09:00.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1015.7GB (0.8% used)
           ID-1: /dev/sda model: HGST_HTS721010A9 size: 1000.2GB
           ID-2: USB /dev/sdb model: DataTraveler_3.0 size: 15.5GB
Partition: ID-1: / size: 15G used: 7.7G (58%) fs: ext4 dev: /dev/sdb1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 61.0C mobo: N/A gpu: 0.0:53C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 237 Uptime: 20 min Memory: 1162.2/11898.6MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56
pacmd list-sinks

Code: Select all

1 sink(s) available.
  * index: 0
	name: <auto_null>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max request: 344 KiB
	max rewind: 344 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Estéreo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	module: 14
	properties:
		device.description = "Salida para torpes"
		device.class = "abstract"
		device.icon_name = "audio-card"
(Notice that I have LM in Spanish, i tried LC_ALL=C, but that didn't change the output. Anyway: "Salida para torpes" = "Dummy output" and "Estéreo" = Stereo")

pacmd list-cards lists 0 card(s) available

cat /proc/asound/cards lists --- no soundcards ---

amixer outputs amixer: Mixer attach default error: No such file or directory

aplay -l outputs aplay: device_list:270: no soundcards found...
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Intel Sunrise Point-H HD Audio issue

Post by MrEen »

Hi again Alexvar!

I've been racking my brain for a while on this and finally realized we never used some built in linux troubleshooting tools. This is new to me as I've never had any real issues with my system since I made the switch last year, but lets see if we can get some useful info from dmesg | grep -i sound and dmesg | grep -i audio and hopefully that'll help track down the cause.
Alexvar

Re: Intel Sunrise Point-H HD Audio issue

Post by Alexvar »

Hello!
I tried both commands:

dmesg | grep -i sound doesn't give any output
dmesg | grep -i audio gives the following output:

Code: Select all

[   10.141846] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   15.180946] hdaudio hdaudioC0D0: cannot read sub nodes for FG 0x10
Which is, I think, the same error message I discovered back then, so back to the starting point...
While I wait for an answer, I'm going to check to see if I missed any of the solutions from the older thread :D
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Intel Sunrise Point-H HD Audio issue

Post by MrEen »

Oops, I missed one: dmesg | grep -i snd
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Intel Sunrise Point-H HD Audio issue

Post by MrEen »

Okay. I'm going WAY out on a limb here. When I googled your error about sub nodes I could only find it in one place here (on line 401.) Moving up one level to this page I see that hdac_device.c is described as "Copying sync power state helper to core"

I rather doubt this is going to help, but try this in the terminal: xed admin:///etc/modprobe.d/alsa-base.conf (This may ask for your password twice.)I'm not on 19 so haven't tested this method for opening system files for editing. Once the file is open, scroll to the bottom and add options snd-hda-intel power_save=0 then save the file.

Reboot and cross your fingers and test sound. (If it didn't help, undo that change.)

If nothing else, what I found may at least help somebody that knows this stuff get you fixed.
Alexvar

Re: Intel Sunrise Point-H HD Audio issue

Post by Alexvar »

Hello!

Well, I tried dmesg | grep -i snd and it actually gave me a few error messages!

Code: Select all

[   11.008794] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   14.040183] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x200f0000
[   15.044189] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x200f0000
[   16.056022] snd_hda_intel 0000:00:1f.3: Codec #2 probe error; disabling it...
[   16.061210] snd_hda_intel 0000:00:1f.3: no codecs initialized
This must be the core of the problem!

There is also another output, but I don't think it's relevant. Just seems to be a list of loaded stuff

Code: Select all

[   10.952509] Modules linked in: cryptd hp_accel(+) nvidia(POE) btusb btrtl btbcm intel_cstate mac80211 snd_seq snd_seq_device btintel bluetooth lis3lv02d ecdh_generic ipmi_devintf iwlwifi snd_timer intel_rapl_perf cfg80211 snd wmi_bmof hp_wmi sparse_keymap uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core mei_me videodev media input_polldev rtsx_pci_ms memstick ipmi_msghandler input_leds joydev processor_thermal_device int340x_thermal_zone int3400_thermal acpi_thermal_rel intel_pch_thermal intel_soc_dts_iosf shpchp serio_raw soundcore mei mac_hid acpi_pad wmi tpm_crb hp_wireless sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq dm_mirror dm_region_hash dm_log hid_generic usbhid hid uas usb_storage rtsx_pci_sdmmc i915 i2c_algo_bit
I also tried changing the alsa-base.conf file, but that didn't work.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Intel Sunrise Point-H HD Audio issue

Post by MrEen »

I can't remember if we tried this. Can you disable the audio codec in your BIOS? If so, try that, then re-enable it on the next boot.

See this thread for a very similar problem to yours that was solved with this method. Temüjin over there is really great with sound problems. I tried to see if (s)he was a member here as well but I didn't want to go through 123 pages of usernames starting with "t" to find out, and using the advanced search function looking for "sound" or "audio" with author "tem*" didn't find him/her.
Alexvar

Re: Intel Sunrise Point-H HD Audio issue

Post by Alexvar »

Hello!

My laptop BIOS doesn't have an option to enable/disable the audio codec, or at least that option is not visible. In fact, 70% of the BIOS configurations are locked and can't be modified (Dang! can't we just do whatever we want with our PC's?)

Anyway, I guess I'll send a PM to Temüjin to see if he can give me a hand

I really want to thank you for all your support and dedication to my problem! You are awesome!! :D


BTW I was wondering… Is there going to be a release of the ALSA driver package for Bionic (the version LM 19 is based on)?
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Intel Sunrise Point-H HD Audio issue

Post by MrEen »

You are very welcome. I'm truly sorry we couldn't get this resolved.

Regarding the ALSA driver update, I've been watching for that myself. I did learn (via a post by Temüjin) that the Aardvark version works for kernel 4.13. I'm hoping Bionic shows up soon.

Best of luck to you!
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Intel Sunrise Point-H HD Audio issue

Post by MrEen »

Hi Alexvar.

Your plight has bothered me for a while so I did some rather intensive searching recently and found a few things worth trying.

First we should get some info before altering anything just to have a record of it and it may come in handy later.

Code: Select all

sudo lspci -vvs 00:1f.3

Code: Select all

lsmod | grep snd
Now let's make another change to /etc/modprobe.d/alsa-base.conf (xed admin:///etc/modprobe.d/alsa-base.conf) by first making sure we've removed any old manual entries such as model= or power_save= at the bottom of the file. The first thing I'd like you to try here is options snd-hda-intel model=ref followed by a reboot then sound test. Even if it's not working, check if any cards were detected with cat /proc/asound/cards before moving on to the next step.

If still not working, and no cards detected, simply change that line to options snd-hda-intel probe_mask=8 and reboot and test again. Again, check for cards. I'm really hoping this one is going to get us somewhere closer to solving this.

If none of this helped at all, show me the results from the lspci and lsmod commands from above along with dmesg | grep -i snd again.

Damn, I missed the part about Windows 10 at the start of this thread. I am assuming sound works fine there. If so, boot into Windows and find out what audio codec it's using (such as Realtek ALC226.) Might be under something akin to Control Panel > Sound then we might find a better option for alsa-base.conf.

Also, it appears there was a BIOS update last month (though just for security enhancements I think.) I don't know if that update removed any previous updates from the list that may have helped. Might be worth a shot while over in the Windows OS.

When leaving Windows to come back to Mint do a complete shutdown first after making sure fast startup is off (Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable > Click Turn on fast startup (recommended) so that the checkmark disappears then click on Save changes.) You'll probably have to repeat turning that off after most/all updates in Windows.

Again, good luck!
Locked

Return to “Sound”