Sound issue in Linux Mint 18.3

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

Sound issue in Linux Mint 18.3

Post by pgoval »

I have installed linux mint 18.3 on a Asus All-in-one 27" and I have no sound out the speakers or out the headphones.
I have installed kernels 4.4 (standard), and then 4.10 and now 4.13. No change

But an another thing is weird, there is two graphic cards (in a all-in-one ??), I have installed the nvidia drivers (with the graphical interface for drivers) but the intel card stay activated (Intel Corporation Device 5912 in System Information) , nouveau failed and nvidia is not loaded (but nvidia-384 is present). I have installed nvidia driver, then supressed and reinstalled.

Are the two things tied ?

Actually, the status, no sound, and an intel driver:

inxi -Fxz
System: Host:ASUS27 Kernel: 4.13.0-21-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.0.7 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18 Sarah
Machine: System: ASUSTeK product: ZN270IE v: 0501
Mobo: ASUSTeK model: ZN270IE v: Rev 1.xx
Bios: American Megatrends v: 0501 date: 07/06/2017
CPU: Quad core Intel Core i7-7700T (-HT-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 23232
clock speeds: max: 3800 MHz 1: 2900 MHz 2: 2900 MHz 3: 2900 MHz
4: 2900 MHz 5: 2900 MHz 6: 2900 MHz 7: 2900 MHz 8: 2900 MHz
Graphics: Card-1: Intel Device 5912 bus-ID: 00:02.0
Card-2: NVIDIA GM108M [GeForce 940MX] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
Resolution: 1920x1080@60.00hz
GLX Renderer: Mesa DRI Intel Kabylake GT2
GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: 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.13.0-21-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0
IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Card-2: Qualcomm Atheros Device 0042
driver: ath10k_pci bus-ID: 03:00.0
IF: wlp3s0 state: down mac: <filter>
Drives: HDD Total Size: 1257.3GB (2.7% used)
ID-1: /dev/sda model: HFS256G39TND size: 256.1GB temp: 46C
ID-2: /dev/sdb model: WDC_WD10EZEX size: 1000.2GB temp: 38C
ID-3: USB /dev/sdc model: Card_Reader size: 1.0GB temp: 0C
Partition: ID-1: / size: 55G used: 7.1G (14%) fs: ext4 dev: /dev/sda5
ID-2: /var size: 19G used: 1.7G (10%) fs: ext4 dev: /dev/sdb3
ID-3: /home size: 734G used: 205M (1%) fs: ext4 dev: /dev/sdb5
ID-4: /tmp size: 19G used: 44M (1%) fs: ext4 dev: /dev/sdb4
ID-5: swap-1 size: 26.00GB used: 0.00GB (0%) fs: swap dev: /dev/sdb2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 235 Uptime: 1 min Memory: 903.5/11898.0MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35

Is there a known problem ? Is there a solution ?
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.
ytene
Level 4
Level 4
Posts: 239
Joined: Sat Mar 16, 2013 3:10 pm

Re: Sound issue in Linux Mint 18.3

Post by ytene »

Hello pgoval,

I think I may have experienced something very similar to what you describe - and in my experiences this can impact both Windows 10 and Mint 17.x-18.x equally.

I am writing this post on a machine based around an Asus H170i motherboard, which has 1 x HDMI, 1 x DisplayPort, 1 x DVI-D and 1 x S/PDIF Toslink Optical Audio. I want to use the S/PDIF interface, because none of the 3 monitors I have [all are Dell U2415s] have speakers, but my Logitech 5.1 system has dual optical inputs, which is what I need...

The problem I experience is that periodically, with no input from me, my audio under Mint 18.3/64 will unilaterally change itself to direct all output to the HDMI-connected monitor, with zero input from me. This makes me really annoyed, because audio output is a *user-defined* setting, so I object very strongly when my computer elects to over-rule my explicit settings without even asking me.

From the research I've done, the reason for this is because the audio fidelity that can be achieved by HDMI is the best currently available - although both S/PDIF and HDMI are digital, the S/PDIF is a much older standard which had to apply a small amount of digital compression to the signal, thus losing some sound quality. I think that this is the reason that I'm seeing both my Mint and Windows build occasionally switch to HDMI.

In your post you mention that you have graphics cards, including an nVidia graphics card and copies of the nVidia driver software. I think this might be related to your problem, but would have to report that, sadly, if you are using Intel graphics then this might also contribute. The system I am using to write this has no nVidia hardware, but it does have an Intel Kaby Lake processor (a 7700T) with built-in HD 630 Graphics...

When I select Preferences -> Sound from the Mint menu and check the "Output" tab, I see two devices - "HDMI / Displayport Built-in Audio" and "Digital Output(S/PDIF) Built-in Audio" - and from time to time my Sound will unilaterally swap from S/PDIF to HDMI. So far I have found no way of "locking" the audio configuration in the state I want it to remain.

I'm not sure if any of this relates to your personal experience with your system, but if you are able to do so, I would suggest that a good place to start might be to remove any non-essential drivers from your system completely. It is not *completely* weird to have two graphics cards in your all-in-one. What you will most likely find is that the Intel card is "on-board", i.e. it is an integral part of your motherboard's chipset. Most likely Asus added the nVidia card to give you better graphics performance. If this is the case, *IF* this is the case, then I would suggest that you also need to look at your motherboard BIOS settings, to see if you can disable the Intel graphics output via a BIOS setting. Sometimes this is possible.

For what it's worth, I have the same CPU that you do, and my inxi output looks like this:-

$ inxi -Fxz
System: Host: KabyLake Kernel: 4.10.0-42-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: ASUSTeK model: H170I-PRO v: Rev X.0x Bios: American Megatrends v: 3401 date: 03/16/2017
CPU: Quad core Intel Core i7-7700T (-HT-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 23232
clock speeds: max: 3800 MHz 1: 899 MHz 2: 899 MHz 3: 899 MHz 4: 899 MHz 5: 899 MHz 6: 900 MHz
7: 899 MHz 8: 900 MHz
Graphics: Card: Intel Device 5912 bus-ID: 00:02.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1920x1200@59.95hz, 1920x1200@59.95hz, 1920x1200@59.95hz
GLX Renderer: Mesa DRI Intel Kabylake GT2 GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: 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.10.0-42-generic
Network: Card-1: Intel Ethernet Connection (2) I219-V driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Card-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter driver: ath10k_pci bus-ID: 01:00.0
IF: wlp1s0 state: down mac: <filter>
Card-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 03:00.0
IF: enp3s0 state: down mac: <filter>
Drives: HDD Total Size: 1024.2GB (2.4% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 1024.2GB
Partition: ID-1: / size: 16G used: 1.2G (8%) fs: ext4 dev: /dev/sda5
ID-2: /usr size: 16G used: 5.7G (40%) fs: ext4 dev: /dev/sda7
ID-3: /home size: 16G used: 316M (3%) fs: ext4 dev: /dev/sda8
ID-4: /var size: 16G used: 1.5G (11%) fs: ext4 dev: /dev/sda9
ID-5: /tmp size: 7.4G used: 18M (1%) fs: ext4 dev: /dev/sda10
ID-6: swap-1 size: 16.54GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: 0
Info: Processes: 277 Uptime: 26 min Memory: 2572.2/32047.4MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35

At first glance, the graphics setup in your inxi output looks a little odd [I am *NOT* familiar with this] because it looks as though you have an *Intel* driver configured to your *nVidia* graphics card... Odd...

Sorry that this is unlikely to help you close out your issue, but hopefully some of this might help you to eliminate a few dead ends.
morpheus327

Re: Sound issue in Linux Mint 18.3

Post by morpheus327 »

Same issue here too.
My sound card shows up in inxi, but I get nothing in 'settings->sound'.
If I plug external speakers in the jack, I do hear some faint output whenever I play something e.g. spotify. So it's not end of the world yet. :D

Nevertheless, here is my config:

inxi -Fxz
System: Host: Narad Kernel: 4.13.0-21-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9) Distro: Linux Mint 18.3 Sylvia
Machine: System: LENOVO product: 4403CTO v: ThinkPad L412
Mobo: LENOVO model: 4403CTO
Bios: LENOVO v: 81ET63WW (1.39 ) date: 04/11/2013
CPU: Dual core Intel Core i3 M 330 (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 8511
clock speeds: max: 2133 MHz 1: 933 MHz 2: 933 MHz 3: 2133 MHz
4: 933 MHz
Graphics: Card: Intel Core Processor Integrated Graphics Controller
bus-ID: 00:02.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1366x768@60.00hz
GLX Renderer: Mesa DRI Intel Ironlake Mobile
GLX Version: 2.1 Mesa 17.0.7 Direct Rendering: Yes
Audio: Card Intel 5 Series/3400 Series High Definition Audio
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.13.0-21-generic
Network: Card-1: Realtek RTL8191SEvB Wireless LAN Controller
driver: rtl8192se port: 2000 bus-ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 04:00.0
IF: enp4s0 state: down mac: <filter>
Drives: HDD Total Size: 288.1GB (9.9% used)
ID-1: /dev/mmcblk0 model: N/A size: 7.9GB
ID-2: /dev/sda model: TS128GSSD370S size: 128.0GB
ID-3: /dev/sdb model: HITACHI_HTS72501 size: 160.0GB
Partition: ID-1: / size: 28G used: 16G (61%) fs: ext4 dev: /dev/sda5
ID-2: /home size: 13G used: 6.5G (58%) fs: ext4 dev: /dev/sda7
ID-3: swap-1 size: 5.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 57.0C mobo: 0.0C
Fan Speeds (in rpm): cpu: 686
Info: Processes: 232 Uptime: 2 min Memory: 937.8/5761.2MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
pgoval

Re: Sound issue in Linux Mint 18.3

Post by pgoval »

Think you for these responses.

I realize with your inxi reports that my ASUS is stuck at LM 18, so first I upgrade to LM 18.3.
pgoval

Re: Sound issue in Linux Mint 18.3

Post by pgoval »

After upgrade to LM 18.3 no change for the sound.
I found no option in the BIOS to desactivate the IGD Intel.
I test the nvidia driver from nvidia web site. At reboot the video is so ugly that I uninstall it immediatly...

Now I have:
System: Host: ASUS27 Kernel: 4.10.0-42-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine: System: ASUSTeK product: ZN270IE v: 0501
Mobo: ASUSTeK model: ZN270IE v: Rev 1.xx Bios: American Megatrends v: 0501 date: 07/06/2017
Graphics: Card-1: Intel Device 5912 bus-ID: 00:02.0
Card-2: NVIDIA GM108M [GeForce 940MX] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1920x1080@60.00hz
GLX Renderer: Mesa DRI Intel Kabylake GT2 GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: 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.10.0-42-generic


The driver nouveau is loaded : lsmod | grep nouveau
nouveau 1601536 0
ttm 98304 1 nouveau
mxm_wmi 16384 1 nouveau
i2c_algo_bit 16384 2 nouveau,i915
drm_kms_helper 151552 2 nouveau,i915
drm 352256 9 nouveau,i915,ttm,drm_kms_helper
wmi 16384 3 asus_wmi,mxm_wmi,nouveau
video 40960 3 asus_wmi,nouveau,i915

But the driver does not appear in the inxi report.

I have installed nvidia-detect:
Detected NVIDIA GPUs:
01:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 940MX] [10de:134d] (rev a2)
Checking card: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
Your card is supported by the default drivers.
It is recommended to install the
nvidia-driver
package.

xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x45 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 3 associated providers: 0 name:Intel

cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0

This ASUS has two graphical cards (motherboard + Nvidia) , and two sound cards (motherboard + Nvidia). Nvidia optimus.
Only the nvidia sound card is connected.
It seems that nouveau is not correctly loaded, so the tools to switch does nothing :
echo ON > /sys/kernel/debug/vgaswitcheroo/switch.

I'm going to get usb speakers.
Locked

Return to “Sound”