[SOLVED] ALC887 no sound

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
higgipoker
Level 1
Level 1
Posts: 12
Joined: Mon Oct 12, 2015 2:53 pm

[SOLVED] ALC887 no sound

Post by higgipoker » Mon Oct 12, 2015 3:01 pm

Hello.

Just assembled a new system with an Asus 1151 mainboard - alc887 audio chip:

Code: Select all

System:    Host: dev Kernel: 3.16.0-38-generic x86_64 (64 bit, gcc: 4.8.2) 
           Desktop: Cinnamon 2.6.13  Distro: Linux Mint 17.2 Rafaela
Machine:   Mobo: ASUSTeK model: H170M-PLUS version: Rev X.0x Bios: American Megatrends version: 0407 date: 09/07/2015
CPU:       Quad core Intel Core i7-6700 CPU (-HT-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27264.3 
           Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz 3: 800.00 MHz 4: 800.00 MHz 5: 2500.00 MHz 6: 800.00 MHz 7: 1400.00 MHz 8: 800.00 MHz
Graphics:  Card: NVIDIA GF108 [GeForce GT 630] bus-ID: 02:00.0 
           X.Org: 1.15.1 drivers: nouveau (unloaded: fbdev,vesa) Resolution: 1920x1080@60.0hz, 1920x1080@60.0hz 
           GLX Renderer: Gallium 0.4 on NVC1 GLX Version: 3.0 Mesa 10.1.3 Direct Rendering: Yes
Audio:     Card-1: Intel Device a170 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA ver: k3.16.0-38-generic
           Card-2: NVIDIA GF108 High Definition Audio Controller driver: snd_hda_intel bus-ID: 02:00.1 
Network:   Card-1: Intel Device 15b8 driver: e1000e ver: 3.2.4.2-NAPI bus-ID: 00:1f.6
           IF: eth0 state: down mac: <filter>
           Card-2: U.S. Robotics USR5423 802.11bg Wireless Adapter [ZyDAS ZD1211B] driver: zd1211rw ver: 1.0 usb-ID: 001-004
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 160.1GB (10.0% used) 1: id: /dev/sda model: Samsung_SSD_850 size: 120.0GB 
           2: id: /dev/sdb model: INTEL_SSDSA2CT04 size: 40.0GB 
Partition: ID: / size: 95G used: 15G (17%) fs: ext4 ID: swap-1 size: 17.09GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 44.0 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 227 Uptime: 25 min Memory: 1199.1/15969.2MB Runlevel: 2 Gcc sys: 4.8.4 
           Client: Shell (bash 4.3.11) inxi: 1.9.17 

I have spent a lot of time searching through relevant articles and trying the suggestions. Everything *looks* fine (diagnostic outputs in terminal etc.) but I don't hear any audio, speakers nor headphones. I even see the variation in the audio bar going up and down in pavucontrol but I just don't hear any sound.

Any help would be greatly appreaciated.

Thanks.
Last edited by higgipoker on Sun Oct 25, 2015 6:06 pm, edited 2 times in total.

AlbertP
Level 16
Level 16
Posts: 6725
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: ALC887 no sound

Post by AlbertP » Mon Oct 12, 2015 5:01 pm

This is very new hardware, you could try updating sound drivers.

Please go to https://code.launchpad.net/~ubuntu-audi ... /+packages
For Mint 17.x with the Linux 3.16 kernel, click the arrow next to "oem-audio-hda-daily-lts-utopic-dkms", then under Package files download the file ending on .DEB (With different Mint/different kernel, you need another one).
I couldn't post a direct link, because these files are updated with the latest sound driver developments daily and the file name changes at that time.

After you download the DEB, it is easy to install, just double-click the file to open it and the installation should be straightforward. Please reboot when it's finished.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.

higgipoker
Level 1
Level 1
Posts: 12
Joined: Mon Oct 12, 2015 2:53 pm

Re: ALC887 no sound

Post by higgipoker » Tue Oct 13, 2015 12:48 am

Thanks for the reply. This is one of the solutions I have already tried :/

I assume it's the "vivid" series I need? This is the one I installed as I thought it was the latest version. I also tried the latest by date.

Is there any way the nvidia driver could be interfering with the sound? I have not installed the proprietary driver.

Edit: I have applied the alsa daily for 14.04 and also the proprietary graphics driver - no luck :(

Edit 2: Youtube videos are also running too fast, if that's a clue.

AlbertP
Level 16
Level 16
Posts: 6725
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: ALC887 no sound

Post by AlbertP » Tue Oct 13, 2015 1:10 pm

The names of the ubuntu versions are about the Linux kernels they are compatible with- all driver packages essentially contain the same driver.

Please run in terminal and post the output:

Code: Select all

dkms list
What you can also try, go to Preferences > Sound in the menu, on the Output tab try selecting different outputs. One will be your HDMI audio (which may or may not work, depending on NVIDIA driver), another one your onboard audio, and probably there's an output listed for your computer's headphone port too. Are you actually using HDMI for audio?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.

higgipoker
Level 1
Level 1
Posts: 12
Joined: Mon Oct 12, 2015 2:53 pm

Re: ALC887 no sound

Post by higgipoker » Tue Oct 13, 2015 4:45 pm

dkms list gives no output at all.

I see the GF108 HD Audio controller (HDMI) in the pulse audio volume control and it is correctly listed as "unplugged." I'm using the standard onbaord audio jacks. It even recognises when I plug the headphones in the front jack. I can see the output level indicator going up and down as I play some sound (test sound or youtube in browser) but I just don't hear any sound at all.

I tried disabling the HDMI device and trying all 5 available Built-in Audio outputs. Even tried plugging the speakers into the wrong jacks.

Additionally, when I mute/unmute I hear that "interference click" in the speakers, so there must be *some* kind of connectivity.

higgipoker
Level 1
Level 1
Posts: 12
Joined: Mon Oct 12, 2015 2:53 pm

Re: ALC887 no sound

Post by higgipoker » Sun Oct 25, 2015 7:57 am

Is there any reason toe believe I wont get the same problem if I buy a cheap sound card?

User avatar
Flemur
Level 17
Level 17
Posts: 7073
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: ALC887 no sound

Post by Flemur » Sun Oct 25, 2015 10:22 am

I even see the variation in the audio bar going up and down in pavucontrol but I just don't hear any sound.
That implies it's a pulseaudio problem. Try

Code: Select all

rm ~/.pulse*
What happens with a

Code: Select all

aplay file.wav
(It doesn't even need to be a wav file - "aplay file.jpg" will make noise).
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 19.1 Xfce/fluxbox
Manjaro openbox/fluxbox

AlbertP
Level 16
Level 16
Posts: 6725
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: ALC887 no sound

Post by AlbertP » Sun Oct 25, 2015 11:38 am

higgipoker wrote:dkms list gives no output at all.
I'm sorry, it was dkms status. Could you run that and post the output?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.

higgipoker
Level 1
Level 1
Posts: 12
Joined: Mon Oct 12, 2015 2:53 pm

Re: ALC887 no sound

Post by higgipoker » Sun Oct 25, 2015 4:24 pm

AlbertP wrote:
higgipoker wrote:dkms list gives no output at all.
I'm sorry, it was dkms status. Could you run that and post the output?
Ah whoops, here it is:

Code: Select all

bbswitch, 0.7, 3.16.0-38-generic, x86_64: installed
ndiswrapper, 1.59, 3.16.0-38-generic, x86_64: installed (WARNING! Diff between built and installed module!)
nvidia-346, 346.72, 3.16.0-38-generic, x86_64: installed
oem-audio-hda-daily-lts-vivid, 0.201509251531~ubuntu14.04.1: added
virtualbox-guest, 4.3.10, 3.16.0-38-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)

higgipoker
Level 1
Level 1
Posts: 12
Joined: Mon Oct 12, 2015 2:53 pm

Re: ALC887 no sound

Post by higgipoker » Sun Oct 25, 2015 4:31 pm

Flemur wrote:
I even see the variation in the audio bar going up and down in pavucontrol but I just don't hear any sound.
That implies it's a pulseaudio problem. Try

Code: Select all

rm ~/.pulse*
What happens with a

Code: Select all

aplay file.wav
(It doesn't even need to be a wav file - "aplay file.jpg" will make noise).
Hi, here it is:

Code: Select all

rm: cannot remove ‘/home/me/.pulse*’: No such file or directory
I downloaded the first sample wav file I found:

Code: Select all

Playing WAVE './bowden.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
Still hear nothing :(

AlbertP
Level 16
Level 16
Posts: 6725
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: ALC887 no sound

Post by AlbertP » Sun Oct 25, 2015 4:44 pm

higgipoker wrote:

Code: Select all

oem-audio-hda-daily-lts-vivid, 0.201509251531~ubuntu14.04.1: added
That is actually not the driver I told you to install. For your 3.16 kernel with Mint 17.x the file you need from https://code.launchpad.net/~ubuntu-audi ... /+packages is "oem-audio-hda-daily-lts-utopic-dkms". The one you installed will probably not compile with the 3.16 kernel.
I cannot provide the direct link because it's updated daily and the file name changes when that happens.

The codenames of Ubuntu there, refer to the kernel versions Ubuntu used in Utopic, Vivid, etc. Utopic uses 3.16. This way you can install a sound driver without having to upgrade your kernel to a newer version (3.19 is the one used on Vivid).
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.

higgipoker
Level 1
Level 1
Posts: 12
Joined: Mon Oct 12, 2015 2:53 pm

Re: ALC887 no sound

Post by higgipoker » Sun Oct 25, 2015 5:07 pm

AlbertP wrote:
higgipoker wrote:

Code: Select all

oem-audio-hda-daily-lts-vivid, 0.201509251531~ubuntu14.04.1: added
That is actually not the driver I told you to install. For your 3.16 kernel with Mint 17.x the file you need from https://code.launchpad.net/~ubuntu-audi ... /+packages is "oem-audio-hda-daily-lts-utopic-dkms". The one you installed will probably not compile with the 3.16 kernel.
I cannot provide the direct link because it's updated daily and the file name changes when that happens.

The codenames of Ubuntu there, refer to the kernel versions Ubuntu used in Utopic, Vivid, etc. Utopic uses 3.16. This way you can install a sound driver without having to upgrade your kernel to a newer version (3.19 is the one used on Vivid).
To be honest, I tried them all out of exasperation. Will give it another go in case I did something stupid (quite possible!)

Thanks for taking the time guys, appreciate it.

higgipoker
Level 1
Level 1
Posts: 12
Joined: Mon Oct 12, 2015 2:53 pm

Re: ALC887 no sound [SOLVED]

Post by higgipoker » Sun Oct 25, 2015 5:17 pm

Holy shit it works! (excuse my french)

THANK YOU!

I guess I did do something stupid before :(

Thanks again for your patience.

timinski
Level 1
Level 1
Posts: 1
Joined: Mon Dec 21, 2015 6:47 pm

Re: [SOLVED] ALC887 no sound

Post by timinski » Mon Jan 11, 2016 1:08 am

Same problem, mainboard Gigabyte GA-H81-S2PV Rev 1.0 I did the following:
# dkms status

Which resulted in:
-- oem-audio-hda-daily-lts-utopic, 0.201601071216~ubuntu14.04.1: added

Should I do something else?

User avatar
baldrick.777
Level 4
Level 4
Posts: 240
Joined: Mon Jan 27, 2014 5:21 am
Location: Whakatane, New Zealand

Re: [SOLVED] ALC887 no sound

Post by baldrick.777 » Sat Mar 12, 2016 3:51 am

I found updating the kernel version to 4.2.0 did the trick.

https://sites.google.com/site/easylinuxtipsproject/20
Newbies, check this out first...
Amateur Photographer - Landscapes mainly. Check my profile & gallery HERE.
Using only FOSS - Gimp AppImage | Darktable | Raw Therapee | Gimp | LuminanceHDR, and others.

tomwitt2
Level 1
Level 1
Posts: 1
Joined: Mon Apr 11, 2016 11:54 am

Re: [SOLVED] ALC887 no sound

Post by tomwitt2 » Mon Apr 11, 2016 12:03 pm

Long time Kubuntu user, new Mint user.

Just wanted to say a quick "Thanks!".

My freshly installed Mint 17.3 wasn't offering the on-board sound card on a Gigabyte GA-H110M-A motherboard as a sound option.

I installed the oem-audio-hda-daily-lts-vivid-dkms version (because I have a 3.19 kernel) and, after a quick reboot, I can now see the onboard sound card.

This post helped me hugely. Thanks!

Post Reply

Return to “Sound, Multimedia, & Codecs”