Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Kernel 4.10+ Breaks HDMI Audio
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 931
Location: Greece

PostPosted: Sun Jul 09, 2017 8:55 pm    Post subject: [SOLVED] Kernel 4.10+ Breaks HDMI Audio Reply with quote

Well, as the title says.

It used to work just fine until yesterday, then I upgraded my system and it is gone.

Code:
◢ sleipnir ◣ ~ $  aplay -l
card 0: PCH [HDA Intel PCH], device 0: CX20751/2 Analog [CX20751/2 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
◢ sleipnir ◣ ~ $  lspci
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:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 (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 #3 (rev f1)
00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #4 (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 960M] (rev a2)
02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
◢ sleipnir ◣ ~ $  lsmod
Module                  Size  Used by
bnep                   20480  2
wacom                  94208  0
btusb                  36864  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
bluetooth             327680  26 btrtl,btintel,bnep,btbcm,btusb
arc4                   16384  2
nvidia_drm             40960  0
snd_hda_codec_hdmi     45056  0
snd_hda_codec_conexant    20480  1
snd_hda_codec_generic    61440  2 snd_hda_codec_conexant
uvcvideo               77824  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         20480  1 uvcvideo
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
videodev              147456  3 uvcvideo,videobuf2_core,videobuf2_v4l2
media                  24576  2 uvcvideo,videodev
input_leds             16384  0
x86_pkg_temp_thermal    16384  0
coretemp               16384  0
atkbd                  24576  0
libps2                 16384  1 atkbd
asus_nb_wmi            24576  0
asus_wmi               24576  1 asus_nb_wmi
mxm_wmi                16384  0
iwlmvm                217088  0
mac80211              532480  1 iwlmvm
kvm_intel             184320  0
kvm                   483328  1 kvm_intel
led_class              16384  4 iwlmvm,asus_wmi,wacom,input_leds
snd_hda_intel          24576  0
snd_hda_codec          81920  4 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_codec_generic
irqbypass              16384  1 kvm
snd_hwdep              16384  1 snd_hda_codec
iwlwifi               131072  1 iwlmvm
snd_hda_core           57344  5 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic
aesni_intel           163840  2
snd_pcm                86016  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
aes_x86_64             20480  1 aesni_intel
cfg80211              442368  3 iwlmvm,iwlwifi,mac80211
snd_timer              28672  1 snd_pcm
r8169                  73728  0
crypto_simd            16384  1 aesni_intel
nvidia_modeset        782336  1 nvidia_drm
snd                    61440  8 snd_hda_intel,snd_hwdep,snd_hda_codec_conexant,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_pcm
cryptd                 20480  3 crypto_simd,aesni_intel
rfkill                 20480  6 asus_wmi,bluetooth,cfg80211
glue_helper            16384  1 aesni_intel
soundcore              16384  1 snd
mii                    16384  1 r8169
i915                 1167360  7
elan_i2c               28672  0
i8042                  24576  1 asus_nb_wmi
video                  36864  2 asus_wmi,i915
battery                20480  0
ac                     16384  0
wmi                    16384  2 asus_wmi,mxm_wmi
thermal                20480  0
acpi_pad               16384  0
nvidia              11460608  1 nvidia_modeset
◢ sleipnir ◣ ~ $


Am I forgetting something?
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)


Last edited by Holysword on Mon Sep 11, 2017 8:31 pm; edited 2 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 39078
Location: 56N 3W

PostPosted: Sun Jul 09, 2017 9:40 pm    Post subject: Reply with quote

Holysword,

As its not in lspci, its either been disabled in the BIOS or its failed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 931
Location: Greece

PostPosted: Mon Jul 10, 2017 3:31 am    Post subject: Reply with quote

NeddySeagoon wrote:
Holysword,

As its not in lspci, its either been disabled in the BIOS or its failed.


Hmmm, is it possible to be failed, if the HDMI video works?
I haven't changed anything in the BIOS.

EDIT#1: No, it is not faulty nor disabled by the BIOS.
I reverted to gentoo-4.4.6 (it was gentoo 4.11.8 ) and it shows again.

Code:
◢ sleipnir ◣ ~ $  aplay -l
**** List of PLAYBACK Hardware Devices ****
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio
as a root user, over the native protocol. Don't do that.)
card 0: PCH [HDA Intel PCH], device 0: CX20751/2 Analog [CX20751/2 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
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
◢ sleipnir ◣ ~ $  lspci
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:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 (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 #3 (rev f1)
00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #4 (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 960M] (rev a2)
02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
◢ sleipnir ◣ ~ $  lsmod
Module                  Size  Used by
bnep                   10354  2
wacom                  71738  0
snd_hda_codec_hdmi     36370  1
snd_hda_codec_conexant     9854  1
snd_hda_codec_generic    51852  1 snd_hda_codec_conexant
uvcvideo               72442  0
videobuf2_vmalloc       4710  1 uvcvideo
videobuf2_memops        1481  1 videobuf2_vmalloc
videobuf2_v4l2         15183  1 uvcvideo
videobuf2_core         19574  2 uvcvideo,videobuf2_v4l2
v4l2_common             3125  1 videobuf2_v4l2
videodev              132096  4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2
media                  11237  2 uvcvideo,videodev
btusb                  27055  0
btrtl                   4000  1 btusb
btbcm                   6111  1 btusb
btintel                 6264  1 btusb
bluetooth             317013  26 bnep,btbcm,btrtl,btusb,btintel
nvidia_drm             37997  0
arc4                    2104  2
iwlmvm                165365  0
x86_pkg_temp_thermal     3312  0
coretemp                4742  0
mac80211              484312  1 iwlmvm
kvm_intel             150335  0
kvm                   415155  1 kvm_intel
snd_hda_intel          17123  3
irqbypass               2680  1 kvm
snd_hda_codec          75409  4 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel
input_leds              3022  0
snd_hwdep               5866  1 snd_hda_codec
aesni_intel           157363  2
snd_hda_core           36511  5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
asus_nb_wmi            11344  0
iwlwifi               105835  1 iwlmvm
aes_x86_64              7567  1 aesni_intel
snd_pcm                75207  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
asus_wmi               17119  1 asus_nb_wmi
i915                 1088515  6
sparse_keymap           3026  1 asus_wmi
glue_helper             3893  1 aesni_intel
atkbd                  15574  0
lrw                     3541  1 aesni_intel
led_class               3776  3 iwlmvm,input_leds,asus_wmi
snd_timer              18409  1 snd_pcm
ablk_helper             2012  1 aesni_intel
snd                    53709  14 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
cryptd                  7754  3 aesni_intel,ablk_helper
mxm_wmi                 1571  0
libps2                  4227  1 atkbd
cfg80211              400313  3 iwlwifi,mac80211,iwlmvm
soundcore               5231  1 snd
nvidia_modeset        775407  1 nvidia_drm
r8169                  65538  0
rfkill                  9828  6 cfg80211,bluetooth,asus_wmi
mii                     4099  1 r8169
thermal                 8414  0
elan_i2c               19716  0
i8042                  12281  1 libps2
wmi                     7394  2 mxm_wmi,asus_wmi
acpi_cpufreq            6477  0
battery                 7339  0
video                  24617  2 i915,asus_wmi
ac                      3596  0
acpi_pad                5821  0
processor              22389  9 acpi_cpufreq
nvidia              11456027  1 nvidia_modeset
◢ sleipnir ◣ ~ $


EDIT#2:
The kernel might have gone potato:
dfunk wrote:
I've tried 2 distros and even 2 different monitors, and when the kernel is 4.9, HDMI audio works fine, when updated to the latest 4.10.x the glitching starts.

Kernel 4.11.0 has the same issue.

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

I have no idea where to start digging in order to fill the bug report (if it is really a bug).

EDIT#3:
With kernel 4.9.16 it works fine, so it seems to be indeed something with 4.10+.
I'm changing the name of this thread accordingly.
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1352

PostPosted: Tue Aug 29, 2017 7:46 pm    Post subject: Reply with quote

Same here: 4.10 works, 4.12.5 no hdmi audio output.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2379
Location: Canada

PostPosted: Tue Aug 29, 2017 9:38 pm    Post subject: Reply with quote

Has hdmi audio support not been forgotten to be compiled for the new kernel ?
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 343

PostPosted: Tue Aug 29, 2017 10:34 pm    Post subject: Reply with quote

Have u recompiled nvidia-drivers ?

U miss also nvidia vga controller ( I assumed u using nvidia bc there are some loaded modules)

U should have in lspci:
VGA compatible controller: NVIDIA Corporation GPXXX[GeForce GTX XXX]
Audio device: NVIDIA Corporation GPXXX High Definition Audio Controller

And u have none of those, so probably something wrong with nvidia drivers ( I have no idea what is nvidia3d controller in your lspci:D)
_________________
Installation aborted to prevent system self-destruction
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1352

PostPosted: Tue Aug 29, 2017 10:38 pm    Post subject: Reply with quote

here is mine with the working kernel

Code:
gentoo-seitan ~ # uname -a
Linux gentoo-seitan 4.10.13-gentoo-dvd #1 SMP Sun Apr 30 18:43:42 CEST 2017 x86_64 Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz GenuineIntel GNU/Linux
gentoo-seitan ~ # lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:04.0 Signal processing controller: Intel Corporation Broadwell-U Processor Thermal Subsystem (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 61)
04:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
gentoo-seitan ~ # aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=PCH
    HDA Intel PCH, ALC3241 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3241 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3241 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3241 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3241 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3241 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3241 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3241 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH_1,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH_1,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
Back to top
View user's profile Send private message
Nsane457
n00b
n00b


Joined: 25 Nov 2004
Posts: 41

PostPosted: Wed Aug 30, 2017 4:51 am    Post subject: Re: Kernel 4.10+ Breaks HDMI Audio Reply with quote

Holysword wrote:
It used to work just fine until yesterday, then I upgraded my system and it is gone.


How did you upgrade the kernel exactly? Did you copy over the .config to the kernel directory? Did you alter any kernel config options at all?
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1352

PostPosted: Wed Aug 30, 2017 7:15 am    Post subject: Reply with quote

I copied the .config and make oldconfig.

I'm using Gentoo since 2004, I have updated some kernels in my life :)
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1352

PostPosted: Wed Aug 30, 2017 8:22 pm    Post subject: Reply with quote

Solution is here: https://www.reddit.com/r/Gentoo/comments/6wtt9q/hdmi_audio_output_problem_on_kernel_411

Enable
Code:
CONFIG_SND_DYNAMIC_MINORS
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 931
Location: Greece

PostPosted: Mon Sep 11, 2017 8:30 pm    Post subject: Reply with quote

=DvD= wrote:
Solution is here: https://www.reddit.com/r/Gentoo/comments/6wtt9q/hdmi_audio_output_problem_on_kernel_411

Enable
Code:
CONFIG_SND_DYNAMIC_MINORS

I'd love to test this to see if it works, but apparently kernel 4.10~4.11 are vanished from the tree and kernel 4.12 is not supported by nvidia-drivers. I'm stuck with 4.9 for a while.

I'll trust DvD's solution work though and mark it as solved.
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
jburns
l33t
l33t


Joined: 18 Jan 2007
Posts: 994
Location: Massachusetts USA

PostPosted: Mon Sep 11, 2017 9:05 pm    Post subject: Reply with quote

The x11-drivers/nvidia-drivers-384.69 works with the 4.12 and 4.13 kernels.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum