(solved: Xorg skylake bug) no sound on Dell XPS 15-7559

Forum Forums General Hardware (solved: Xorg skylake bug) no sound on Dell XPS 15-7559

  • This topic has 25 replies, 6 voices, and was last updated Jan 23-6:58 pm by Anonymous.
Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • #4786
    Moderator
    BobC

      Sound doesn’t work at all, neither speakers nor headphones. The machine is finicky with kernel versions probably due to the Skylake processor or Optimus graphics.

      I had to use an older kernel 4.8.10. Any suggestions for a better kernel to use? Sound works in Debian and Knoppix and Windows 10.

      Any suggestions? I haven’t found anything that helped. I think its the kernel.

      Here is the inxi -Fxz output…
      $ inxi -Fxz
      System: Host: DellXPS15 Kernel: 4.8.10-antix-sid.1-amd64-smp x86_64 bits: 64 gcc: 6.2.1
      Desktop: IceWM 1.4.2 Distro: antiX-17_x64-full Heather Heyer 24 October 2017
      Machine: Device: laptop System: Dell product: Inspiron 7559 v: 1.2.2 serial: N/A
      Mobo: Dell model: 0H0CC0 v: A00 serial: N/A UEFI: Dell v: 1.2.2 date: 01/22/2017
      Battery BAT0: charge: 72.5 Wh 100.0% condition: 72.5/74.0 Wh (98%)
      model: SIMPLO Dell 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: 20744
      clock speeds: max: 3500 MHz 1: 1700 MHz 2: 1524 MHz 3: 1698 MHz 4: 1699 MHz
      5: 1320 MHz 6: 1579 MHz 7: 1681 MHz 8: 1670 MHz
      Graphics: Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
      Card-2: NVIDIA GM107M [GeForce GTX 960M] bus-ID: 02:00.0
      Display Server: X.Org 1.19.2 drivers: modesetting,nouveau (unloaded: fbdev,vesa)
      Resolution: 1680×1050@59.95hz
      OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2)
      version: 4.5 Mesa 13.0.6 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.8.10-antix-sid.1-amd64-smp
      Network: Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
      driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 04:00.0
      IF: eth0 state: down mac: <filter>
      Card-2: Intel Wireless 3165 driver: iwlwifi bus-ID: 05:00.0
      IF: wlan0 state: up mac: <filter>
      Card-3: Atmel usb-ID: 001-004
      IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
      Drives: HDD Total Size: 1256.3GB (2.9% used)
      ID-1: /dev/sda model: MTFDDAV256MBF size: 256.1GB
      ID-2: /dev/sdb model: ST1000LM014 size: 1000.2GB
      Partition: ID-1: / size: 21G used: 5.1G (26%) fs: ext4 dev: /dev/sda3
      ID-2: swap-1 size: 32.00GB used: 0.00GB (0%) fs: swap dev: /dev/sdb6
      Sensors: System Temperatures: cpu: 41.0C mobo: 27.8C gpu: 37.0
      Fan Speeds (in rpm): cpu: N/A
      Info: Processes: 242 Uptime: 3 days Memory: 1886.3/15912.2MB
      Init: SysVinit runlevel: 5 Gcc sys: 6.3.0 Client: Shell (bash 4.4.121) inxi: 2.3.53

      aplay output
      $ aplay -l
      **** List of PLAYBACK Hardware Devices ****
      card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
      Subdevices: 0/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
      card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
      Subdevices: 1/1
      Subdevice #0: subdevice #0

      $ cat /proc/asound/cards
      0 [PCH ]: HDA-Intel – HDA Intel PCH
      HDA Intel PCH at 0xdf428000 irq 132

      $ tree /proc/asound -L 2
      /proc/asound
      ├── card0
      │ ├── codec#0
      │ ├── codec#2
      │ ├── eld#2.0
      │ ├── eld#2.1
      │ ├── eld#2.2
      │ ├── id
      │ ├── pcm0c
      │ ├── pcm0p
      │ ├── pcm3p
      │ ├── pcm7p
      │ └── pcm8p
      ├── cards
      ├── devices
      ├── hwdep
      ├── modules
      ├── oss
      │ ├── devices
      │ └── sndstat
      ├── PCH -> card0
      ├── pcm
      ├── seq
      ├── timers
      └── version

      9 directories, 15 files

      lspci -v output
      00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
      Subsystem: Dell Sunrise Point-H HD Audio
      Flags: bus master, fast devsel, latency 32, IRQ 132
      Memory at df428000 (64-bit, non-prefetchable)
      Memory at df400000 (64-bit, non-prefetchable)
      Capabilities: [50] Power Management version 3
      Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
      Kernel driver in use: snd_hda_intel
      Kernel modules: snd_hda_intel

      dmesg output
      $ dmesg | grep ’00:1f.3′
      [ 1.021141] pci 0000:00:1f.3: [8086:a170] type 00 class 0x040300
      [ 1.021160] pci 0000:00:1f.3: reg 0x10: [mem 0xdf428000-0xdf42bfff 64bit]
      [ 1.021183] pci 0000:00:1f.3: reg 0x20: [mem 0xdf400000-0xdf40ffff 64bit]
      [ 1.021226] pci 0000:00:1f.3: PME# supported from D3hot D3cold
      [ 1.021357] pci 0000:00:1f.3: System wakeup disabled by ACPI
      [ 4.155286] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
      [ 5.523637] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
      [ 6.969899] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
      [ 6.970024] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
      [ 6.970128] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
      [ 6.970236] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16

      • This topic was modified 5 years, 3 months ago by BobC.
      #4790
      Moderator
      caprea
        Helpful
        Up
        0
        ::

        The card is recognized.
        Please the output of
        aplay /usr/share/sounds/alsa/Front_Center.wav

        #4801
        Moderator
        BobC
          Helpful
          Up
          0
          ::

          $ aplay /usr/share/sounds/alsa/Front_Center.wav
          Playing WAVE ‘/usr/share/sounds/alsa/Front_Center.wav’ : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

          No sound via speaker or headphone. Tried muting, unmuting, max volume both ways for each

          Thanks for helping

          #4805
          Forum Admin
          dolphin_oracle
            Helpful
            Up
            0
            ::

            can you post contents of /etc/asound.conf, if any?

            are you hooked up in any way via HDMI? Not only for audio, but maybe to a monitor?

            are you using a common home folder with any other distros? If so, is there a ~/.asoundrc file in your home folder?

            #4806
            Moderator
            BobC
              Helpful
              Up
              0
              ::

              can you post contents of /etc/asound.conf, if any?

              # Audio card/chip and device to use
              # In most cases these settings should remain commented (#)
              # When commented card and device 0 are usually automatically selected
              # When uncommented the item corresponding to the number is selected
              #defaults.pcm.card 0
              #defaults.pcm.device 0
              
              # Re-set up default device
              pcm.!default {
                 type plug
              
                 # Point output to device named equalizer
                 slave.pcm equalizer
              }
              
              # Set up a control interface named equalizer
              ctl.equalizer {
                 type equal
              }
              
              # Set up a device named equalizer
              pcm.equalizer {
                 type equal
              
                 # Point output to device named duplex
                 slave.pcm duplex
              }
              
              # Set up a device named duplex
              pcm.duplex {
                 type asym
              
                 # Point playback output to use dmix
                 playback.pcm plug:dmix
              
                 # Point capture record to use dsnoop
                 capture.pcm plug:dsnoop
              }
              

              are you hooked up in any way via HDMI? Not only for audio, but maybe to a monitor?
              no HDMI in use, but do have a connector

              are you using a common home folder with any other distros? If so, is there a ~/.asoundrc file in your home folder?
              no and no

              Thanks for any ideas….

              #4834
              Moderator
              caprea
                Helpful
                Up
                0
                ::

                For further thoughts, please

                cat /proc/asound/car*/co* | grep Codec

                dmesg|grep snd

                lsmod | grep snd

                Which kernel does the working debian use, why not give it a try on antix ?

                #4892
                Moderator
                BobC
                  Helpful
                  Up
                  0
                  ::

                  No luck there for me. Sound works in Debian Stretch as well as Knoppix 8.1. Tried same 4.9.0-3 kernel in AntiX but still no sound. Any ideas would be appreciated…

                  root@DellXPS15:~
                  # cat /proc/asound/car*/co* | grep Codec
                  Codec: Realtek ALC3246
                  Codec: Intel Skylake HDMI
                  root@DellXPS15:~
                  # dmesg|grep snd
                  [    3.517359] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
                  [    3.519694] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
                  [    3.581277] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=2 (0x14/0x1b/0x0/0x0/0x0) type:speaker
                  [    3.581278] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
                  [    3.581279] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
                  [    3.581280] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
                  [    3.581280] snd_hda_codec_realtek hdaudioC0D0:    inputs:
                  [    3.581281] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
                  [    3.581281] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
                  [    3.581282] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
                  root@DellXPS15:~
                  # lsmod | grep snd
                  snd_hda_codec_hdmi     49152  1
                  snd_hda_codec_realtek    90112  1
                  snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
                  snd_hda_intel          36864  0
                  snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
                  snd_hda_core           81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
                  snd_hwdep              16384  1 snd_hda_codec
                  snd_pcm               110592  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
                  snd_timer              32768  1 snd_pcm
                  snd                    86016  8 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
                  soundcore              16384  1 snd
                  
                  #4894
                  Moderator
                  BobC
                    Helpful
                    Up
                    0
                    ::

                    I found out that the built in laptop display is HDMI

                    #!/bin/sh
                    xrandr –output HDMI-1 –off –output eDP-1 –primary –mode 1680×1050 –pos 0x0 –rotate normal

                    #4908
                    Forum Admin
                    Dave
                      Helpful
                      Up
                      0
                      ::

                      Did you try self sound card in the control centre in case you are defaulting to hdmi output?

                      Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

                      #4912
                      Moderator
                      BobC
                        Helpful
                        Up
                        0
                        ::

                        I’m guessing you meant set default sound card. It says there is nothing to do because there is only one sound card. I’m thinking of rebooting under Debian and Knoppix again and running inxi, lsmod, dmesg, etc and looking for differences. I also wonder if the sound driver version is different but don’t know how to look under Linux.

                        #4937
                        Moderator
                        caprea
                          Helpful
                          Up
                          0
                          ::

                          You can try to create a folder
                          etc/modprobe.d/snd-hda-intel.conf

                          This you edit as root with line like this:

                          options snd_hda_intel model=Realtek ALC3246

                          or maybe

                          options snd_hda_intel index=0

                          Or maybe the name of the card.
                          You have to reboot

                          There’s a description on the mx-wiki
                          https://mxlinux.org/wiki/sound-not-working

                          • This reply was modified 5 years, 3 months ago by caprea.
                          #4939
                          Moderator
                          BobC
                            Helpful
                            Up
                            0
                            ::

                            Sorry, hadn’t seen your message before I rebooted into Debian. I’ll post the Debian results and then go try it.

                            root@D7559:/etc# lsmod | grep snd
                            snd_hda_codec_hdmi     49152  1
                            snd_hda_codec_realtek    90112  1
                            snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
                            snd_hda_intel          36864  5
                            snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
                            snd_hda_core           81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
                            snd_hwdep              16384  1 snd_hda_codec
                            snd_pcm               110592  5 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
                            snd_timer              32768  1 snd_pcm
                            snd                    86016  17 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
                            soundcore              16384  1 snd
                            
                            00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
                            	Subsystem: Dell Sunrise Point-H HD Audio
                            	Flags: bus master, fast devsel, latency 32, IRQ 324
                            	Memory at df428000 (64-bit, non-prefetchable) 
                            	Memory at df400000 (64-bit, non-prefetchable) 
                            	Capabilities: <access denied>
                            	Kernel driver in use: snd_hda_intel
                            	Kernel modules: snd_hda_intel
                            
                            root@D7559:/etc# aplay -l
                            **** List of PLAYBACK Hardware Devices ****
                            card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
                              Subdevices: 0/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
                            card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
                              Subdevices: 1/1
                              Subdevice #0: subdevice #0
                            root@D7559:/etc# cat /proc/asound/cards
                             0 [PCH            ]: HDA-Intel - HDA Intel PCH
                                                  HDA Intel PCH at 0xdf428000 irq 324
                            
                            root@D7559:/etc# tree /proc/asound -L 2
                            /proc/asound
                            ├── card0
                            │   ├── codec#0
                            │   ├── codec#2
                            │   ├── eld#2.0
                            │   ├── eld#2.1
                            │   ├── eld#2.2
                            │   ├── id
                            │   ├── pcm0c
                            │   ├── pcm0p
                            │   ├── pcm3p
                            │   ├── pcm7p
                            │   └── pcm8p
                            ├── cards
                            ├── devices
                            ├── hwdep
                            ├── modules
                            ├── oss
                            │   ├── devices
                            │   └── sndstat
                            ├── PCH -> card0
                            ├── pcm
                            ├── seq
                            ├── timers
                            └── version
                            
                            9 directories, 15 files
                            root@D7559:/etc# dmesg | grep ’00:1f.3′
                            root@D7559:/etc# cat /proc/asound/car*/co* | grep Codec
                            Codec: Realtek ALC3246
                            Codec: Intel Skylake HDMI
                            root@D7559:/etc# dmesg|grep snd
                            [    2.078095] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
                            [    2.249097] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
                            [    2.430313] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=2 (0x14/0x1b/0x0/0x0/0x0) type:speaker
                            [    2.430314] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
                            [    2.430315] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
                            [    2.430316] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
                            [    2.430316] snd_hda_codec_realtek hdaudioC0D0:    inputs:
                            [    2.430317] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
                            [    2.430318] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
                            [    2.430318] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
                            root@D7559:/etc# 
                            
                            
                            #4941
                            Moderator
                            BobC
                              Helpful
                              Up
                              0
                              ::

                              Sorry, none of them worked. I didn’t understand what to try for the machine name one. Whatever one was active for that try, i put on the 2nd line.

                              Any more ideas? Would the values from Debian above provide any clues?

                              #
                              options snd_hda_intel index=HDA Intel PCH
                              # Options snd-hda-intel model=Realtek ALC3246
                              # Options snd-hda-intel model=lenovo
                              # options snd_hda_intel index=0
                              #4942
                              Moderator
                              caprea
                                Helpful
                                Up
                                0
                                ::

                                O.K. with my tired eyes this morning the only difference I see is in “lsmod | grep snd”
                                The snd_hda_intel is loaded in antix but not used by 5 others and I really dont know what that means.
                                You maybe should also look at the /etc/asound.conf in debian,if its different you could copy it over.

                                #4943
                                Moderator
                                BobC
                                  Helpful
                                  Up
                                  0
                                  ::

                                  Ok, I will try that when I boot it up again in the morning.

                                  Tired here, too. I do appreciate the effort. All the fancy graphics are not worth the trouble on this thing. I bought it for the fast CPU not knowing the graphics would be a curse. I’m gonna sleep now.

                                  Luckily I have other machines that do have sound.

                                  Thanks again, and I’ll post if it helps at all in the morning…

                                Viewing 15 posts - 1 through 15 (of 26 total)
                                • You must be logged in to reply to this topic.