Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] With Kernel 5.4 hdmi sounds no available  (Read 16503 times)

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
[EN] With Kernel 5.4 hdmi sounds no available
« on: 2020/01/19, 17:07:58 »
I have this problems since few months and after a lot of testing, purge pulseaudio and so on I finished the idea for other debugging.So looking on reddit I found this https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942803 and I was thinking, ehi I update always the kernel and maybe the problem is that because I didn't changed anything else.
So I installed linux-headers-5.3.14-towo.1-siduction-amd64 and now the audio on hdmi is back again.I just wanted to share here in case there is someone else with the issue and to report it.
PS: I was using the latest 5.4.11 kernel version.

Offline axt

  • User
  • Posts: 494
    • axebase.net
Re: With Kernel 5.4 hdmi sounds no available
« Reply #1 on: 2020/01/19, 18:56:44 »
Issues with pulseaudo I believe you.

Installing header files of a kernel, using a different kernel version, is definitely not the solution. Probably you have unknowingly changed something else at the same time.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: With Kernel 5.4 hdmi sounds no available
« Reply #2 on: 2020/01/19, 21:03:02 »
Pulseaudo on plasma desktop is working well here:

Code: [Select]
System:    Host: dibl-HP350 Kernel: 5.4.12-towo.2-siduction-amd64 x86_64 bits: 64
           Desktop: KDE Plasma 5.14.5 Distro: siduction 18.3.0 Patience - kde - (201805132121)
Audio:     Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel
           Device-2: Intel 8 Series HD Audio driver: snd_hda_intel
           Sound Server: ALSA v: k5.4.12-towo.2-siduction-amd64
don@dibl-HP350:~$ sudo apt policy pulseaudio
pulseaudio:
  Installed: 13.0-3
  Candidate: 13.0-3
  Version table:
 *** 13.0-3 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: With Kernel 5.4 hdmi sounds no available
« Reply #3 on: 2020/01/20, 10:15:48 »
Just to add more information:
  • Pulseaudio detect the HDMI output
  • Purged pulseaudio, removed and reinstalled, removed the folder in config, restarted pulseaudio also with log, I don't have any asound.rc (all of them multiple times)
  • In some cases the audio was available only selecting HDMI surround option but there was a delay with the video
  • In pavucontrol the audio on HDMI was available (the bar was moving) with no audio on the TV
  • Tried with different TVs without success
I tried installing that kernel without changing anything on pulseaudio, restart and now the audio was working.I have a Intel Haswell for HDMI on a laptop with 2 video cards and one is a Nvidia card.
My test with another kernel was the unique option that I didn't try, it is the first time that I did it.
Everything was updated to the latest version.

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: With Kernel 5.4 hdmi sounds no available
« Reply #4 on: 2020/02/10, 16:47:27 »
I can confirm also with the latest kernel in siduction still have that problem.There is anything that I can do to help in debugging?

Offline axt

  • User
  • Posts: 494
    • axebase.net
Re: With Kernel 5.4 hdmi sounds no available
« Reply #5 on: 2020/02/10, 23:16:01 »
Quote from: Mte90
Nvidia

...with nouveau or nvidia?

From time to time in combination with certain pulseaudio versions the issue occurs (in Ubuntu, Debian), when nvidia isn't installed, nouveau is used.

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: With Kernel 5.4 hdmi sounds no available
« Reply #6 on: 2020/02/10, 23:24:38 »
@Mte90 - what can i say - just switched my audio output to my monitor - it is connected via DP - so i guess it is just a misconfiguration
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: With Kernel 5.4 hdmi sounds no available
« Reply #7 on: 2020/02/11, 10:20:54 »
I am using proprietary nvidia driver.
Well the issue is just fixed switched to linux kernel 5.3 with any 5.4 version the audio with hdmi is not working.
Also now the settings for pulseaudio are the default one with no changes, so I don't know what kind of log I can share to understand the issue.

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: With Kernel 5.4 hdmi sounds no available
« Reply #8 on: 2020/02/14, 21:53:33 »
I was just investigating a bit and I saw those warning during kernel updates:
Code: [Select]
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125a-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169
W: Possible missing firmware /lib/firmware/i915/icl_dmc_ver1_09.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_dmc_ver2_04.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_huc_2.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_2.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_huc_4.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_huc_4.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_huc_4.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_huc_4.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_33.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_huc_9.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_huc_9.0.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_33.0.4.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.0.3.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_35.2.0.bin for module i915
Seems related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931930 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950971
I don't know if these are the causes of my problem with the audio.
« Last Edit: 2020/02/15, 14:59:37 by Mte90 »

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: With Kernel 5.4 hdmi sounds no available
« Reply #9 on: 2020/02/14, 23:06:34 »
The important word there is "Possible" -- it is a hint for you if there is a problem with networking.  I have the same message on a HP laptop with Realtek chip.  If networking is working correctly on your system, you can disregard those messages.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: With Kernel 5.4 hdmi sounds no available
« Reply #10 on: 2020/03/06, 11:00:43 »
There is a way to block updates for the kernel?I am just using the 5.3 because doesn't give any problem for me but as Siduction there is always a new kernel in few days.

Offline sunrat

  • User
  • Posts: 406
Re: With Kernel 5.4 hdmi sounds no available
« Reply #11 on: 2020/03/06, 12:04:31 »
You can remove the metapackages linux-image-siduction-amd64 and linux-headers-siduction-amd64 but eventually some other software will require a newer kernel so that's a suboptimal stopgap solution.
The latest kernel is 5.5.8-towo.1-siduction-amd64 , have you tried that? Are you sure the nvidia drivers built properly for the one you say doesn't work?
Some other things to try:
- In the Configuration tab of pavucontrol, switch off any devices which you are not using.
- PulseAudio exists a layer above ALSA and I have seen on occasion the volume showing full and meter displaying signal in pavucontrol just as you described, still with no sound. Open alsamixer in a terminal window (as user, not root) and make sure the volumes are up and not muted for the hdmi audio output.

Also post the output of
Code: [Select]
inxi -AG
« Last Edit: 2020/03/06, 12:08:40 by sunrat »

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: With Kernel 5.4 hdmi sounds no available
« Reply #12 on: 2020/03/07, 20:44:26 »
I already did all this tests with pavucontrol and on alsamixer. It's just if I run with the 5.3 everything works without change anything, if I switch to aa kernel 5.4+ there is no anymore hdmi audio with the same settings.

Quote
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915 v: kernel
           Device-2: NVIDIA GK107M [GeForce GT 750M] driver: nvidia v: 440.64
           Display: x11 server: X.Org 1.20.7 driver: modesetting unloaded: fbdev,nvidia,vesa resolution: 1920x1080~60Hz
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.3.3
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel
           Device-2: Intel 8 Series/C220 Series High Definition Audio driver: snd_hda_intel
           Sound Server: ALSA v: k5.3.14-towo.1-siduction-amd64
I can try to remove the meta pacages, in case there will be issue asking for a new kernel I will see what to do.

Offline gnasch

  • User
  • Posts: 63
Re: With Kernel 5.4 hdmi sounds no available
« Reply #13 on: 2020/03/17, 18:25:47 »
Here, on my daughters Laptop, a Lenovo s540 with Intel integrated graphics,
there is the same Problem with 5.4 kernel. I still had the 5.3 around in the boot menues,
so the sound works with the old kernel.
No configurations have been inappropriately touched!
The PC is intensely used for remote schooling due Covid-19,
so no debugging is possible at the moment.

Thanks!
gnasch

Offline sidemmc

  • User
  • Posts: 23
Re: With Kernel 5.4 hdmi sounds no available
« Reply #14 on: 2020/12/08, 21:29:24 »
Same issue here with audio-devices like Mte90, with kernel 5.9.12-towo.1-siduction-amd64.
That workaround helped me:
Boot parameter:

intel_iommu=on, igfx_off

or

intel_iommu=off

(source: wiki/archlinux.org/index.php/intel_graphics)