Sound problems

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
loganj
Level 1
Level 1
Posts: 19
Joined: Fri Dec 20, 2013 3:31 pm

Sound problems

Postby loganj » Sun Nov 05, 2017 5:49 am

Hi,
I'm having no sound card detected by alsamixer.
alsamixer returns

Code: Select all

cannot open mixer: No such file or directory

sound applet show no hardware.
My alsa-info is http://www.alsa-project.org/db/?f=a88753aeb9a6014408dae3f14720da0b25e27be3
I was previous on kernel 4.11.0-14 and had no sound also.
i use to have sound on this machine. i might have messed up something while trying to get rid of nvidia audio. but i don't know what.
the sound seems to work on some reboots.
Windows has no issue with it.
i mostly hate forums

User avatar
kc1di
Level 10
Level 10
Posts: 3315
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Sound problems

Postby kc1di » Sun Nov 05, 2017 6:46 am

Hello loganj and Welcome to Linux Mint Forums,
Could you post the output of the following Terminal command:

Code: Select all

inxi -Fxz

This information will help us better understand your system and be able to help.
Also you may want to install pavucontrol from synaptic. It gives a little more control on sound.
John 3:16
Morse code an Early Digital Mode
Registered Linux User #462608
Wireless Script: http://ubuntuforums.org/showthread.php?t=2082305&p=12350385#post12350385
Good terminal command tutorial: https://ryanstutorials.net/linuxtutorial/

loganj
Level 1
Level 1
Posts: 19
Joined: Fri Dec 20, 2013 3:31 pm

Re: Sound problems

Postby loganj » Sun Nov 05, 2017 10:15 am

Here it is.

Code: Select all

System:    Host: r7-1700x Kernel: 4.13.0-16-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.6 (Gtk 3.18.9) Distro: Linux Mint 18.2 Sonya
Machine:   Mobo: ASUSTeK model: CROSSHAIR VI HERO v: Rev 1.xx Bios: American Megatrends v: 1701 date: 09/22/2017
CPU:       Octa core AMD Ryzen 7 1700X Eight-Core (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 54296
           clock speeds: max: 3400 MHz 1: 3393 MHz 2: 3393 MHz 3: 3393 MHz 4: 3393 MHz 5: 3393 MHz 6: 3393 MHz
           7: 3393 MHz 8: 3393 MHz 9: 3393 MHz 10: 3393 MHz 11: 3393 MHz 12: 3393 MHz 13: 3393 MHz 14: 3393 MHz
           15: 3393 MHz 16: 3393 MHz
Graphics:  Card: NVIDIA GM204 [GeForce GTX 970] bus-ID: 29:00.0
           Display Server: X.org 1.18.4 driver: nvidia tty size: 238x66 Advanced Data: N/A for root
Audio:     Card-1 NVIDIA GM204 High Definition Audio Controller bus-ID: 29:00.1
           Card-2 Creative Labs EMU20k2 [X-Fi Titanium Series] driver: snd_ctxfi bus-ID: 28:00.0
           Sound: Advanced Linux Sound Architecture v: k4.13.0-16-generic
Network:   Card: Intel I211 Gigabit Network Connection driver: igb v: 5.4.0-k port: e000 bus-ID: 23:00.0
           IF: enp35s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 11744.2GB (74.0% used) ID-1: /dev/sda model: Maxtor_6V250F0 size: 251.0GB temp: 47C
           ID-2: /dev/sdb model: Maxtor_6V250F0 size: 251.0GB temp: 44C
           ID-3: /dev/sdc model: Hitachi_HDS72101 size: 1000.2GB temp: 37C
           ID-4: /dev/sdd model: WDC_WD10EAVS size: 1000.2GB temp: 38C
           ID-5: /dev/sde model: WDC_WD30EFRX size: 3000.6GB temp: 40C
           ID-6: /dev/sdf model: WDC_WD30EFRX size: 3000.6GB temp: 37C
           ID-7: /dev/sdg model: KINGSTON_SHFS37A size: 240.1GB temp: 26C
           ID-8: /dev/sdh model: ST3000DM001 size: 3000.6GB temp: 43C
Partition: ID-1: / size: 94G used: 12G (13%) fs: ext4 dev: /dev/sdc2
           ID-2: /home size: 808G used: 502G (66%) fs: ext4 dev: /dev/sdc4
           ID-3: swap-1 size: 16.38GB used: 0.00GB (0%) fs: swap dev: /dev/sdc3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: N/A mobo: N/A gpu: 0.0:50C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 336 Uptime: 1 min Memory: 1775.7/32162.9MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (sudo) inxi: 2.2.35


But this time around it seems that sound cards is working (and also the previous startup)
I've removed the AMD microcode from drivers manager 2 reboots ago, after witch sound started to work again. i think its not for ryzen CPU since its date is 20160316 :)
Well as i said before this problem comes and go so amd microcode might have nothing to do with it.
i mostly hate forums

User avatar
kc1di
Level 10
Level 10
Posts: 3315
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Sound problems

Postby kc1di » Sun Nov 05, 2017 10:34 am

I believe the problem may be that you have two sound cards installed. I assume that one is intergrated with your mother board. and the other one you added.
if that is the case you should turn one of the off the one your not using in your bios.
Or disable it's driver module by blacklisting it's module from being loaded at boot time.
Good Luck.
John 3:16
Morse code an Early Digital Mode
Registered Linux User #462608
Wireless Script: http://ubuntuforums.org/showthread.php?t=2082305&p=12350385#post12350385
Good terminal command tutorial: https://ryanstutorials.net/linuxtutorial/

loganj
Level 1
Level 1
Posts: 19
Joined: Fri Dec 20, 2013 3:31 pm

Re: Sound problems

Postby loganj » Sun Nov 05, 2017 10:47 am

Well i have a pci-e creative x-fi platinum card and the other one is the useless nvidia sound card.
The nvidia sound card is already blacklisted.
So, sometimes my creative card fails to start and i have no clue why
i mostly hate forums

User avatar
ClixTrix
Level 3
Level 3
Posts: 154
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Sound problems

Postby ClixTrix » Sun Nov 05, 2017 12:57 pm

I took a look at the specs for your Ryzen motherboard.

https://www.asus.com/us/Motherboards/RO ... fications/

It indeed has onboard audio with the AMD / Realtek ALC1220, which is supported in kernels 4.11 and newer (see link). Most of the AMD X370 boards have that onboard sound.

https://www.phoronix.com/scan.php?page= ... nd-Updates

You need to locate and disable onboard sound in BIOS, as suggested by kc1di. That will prevent install/conflict with your Creative card. The nvidia sound is with your video card to support HDMI/DSP audio, and is OK to leave installed.

By the way, did you add the Creative card because you couldn't get sound from an older kernel than 4.11?
Linux Mint 18.2 x64 Cinnamon Kernel 4.10.0-38 Xenial
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 16GB (2x8GB) /XFX HD5450-1GB
SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

loganj
Level 1
Level 1
Posts: 19
Joined: Fri Dec 20, 2013 3:31 pm

Re: Sound problems

Postby loganj » Sun Nov 05, 2017 6:12 pm

Well, i already disabled the onboard sound card.
the x-fi is much better than the onboard sound card
plus i couldnt get 7.1 from onboard in linux.
and right now i'm again without sound.
same error in dmesg

Code: Select all

[  +0,007087] snd_ctxfi 0000:28:00.0: chip 20K2 model SB0880 (1102:0043) is found
[  +0,000009] snd_ctxfi 0000:28:00.0: enabling device (0000 -> 0002)
....
[  +0,002824] snd_ctxfi 0000:28:00.0: PLL initialization failed!!!
[  +0,000017] clocksource: Switched to clocksource hpet
[  +0,000067] snd_ctxfi 0000:28:00.0: Something wrong!!!
[  +0,000011] snd_ctxfi: probe of 0000:28:00.0 failed with error -16



so, focus is on the x-fi card. all other cards are disable (bios for onboard and blacklist for nvidia)
is there any way to force initialization of the card after the boot?

edit: i've tried sudo modprobe -r snd_ctxfi and sudo modprobe snd_ctxfi twice
1st time i had the same error in dmesg
2nd time computer started to work very very hard and eventually linux kind of crashed. monitor went offline and i started to had a "beep" from soundcard. had to reset the computer.
i mostly hate forums

User avatar
ClixTrix
Level 3
Level 3
Posts: 154
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Sound problems

Postby ClixTrix » Sun Nov 05, 2017 7:12 pm

Linux Mint 18.2 x64 Cinnamon Kernel 4.10.0-38 Xenial
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 16GB (2x8GB) /XFX HD5450-1GB
SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

User avatar
kc1di
Level 10
Level 10
Posts: 3315
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Sound problems

Postby kc1di » Mon Nov 06, 2017 6:32 am

I Suspect it's a driver issue, unfortunately the card is now old enough that I doubt either Linux community or Creative Labs will spend much time working on a fix.
Some hardware will just never be able to work right with linux sorry. I searched high and low and most posts are from 2009 and 10 that's 7 years ago and no one has found a fix for it yet. Sorry :(
John 3:16
Morse code an Early Digital Mode
Registered Linux User #462608
Wireless Script: http://ubuntuforums.org/showthread.php?t=2082305&p=12350385#post12350385
Good terminal command tutorial: https://ryanstutorials.net/linuxtutorial/

User avatar
ClixTrix
Level 3
Level 3
Posts: 154
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Sound problems

Postby ClixTrix » Mon Nov 06, 2017 8:12 am

I don't think this was ever resolved. Looks like it is driver (or lack of for PCIe).

https://bugzilla.kernel.org/show_bug.cgi?id=24482

Edit: If you want to get the onboard ALC1220 working with 7.1, I'd add comments to this ticket at bugzilla:

https://bugzilla.kernel.org/show_bug.cgi?id=196597

On the other hand, if you want to look at replacement sound cards, I did run across this review when looking at sound for a friend with a recording studio and is thinking about using Mint:

https://delightlylinux.wordpress.com/20 ... ound-card/
Linux Mint 18.2 x64 Cinnamon Kernel 4.10.0-38 Xenial
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 16GB (2x8GB) /XFX HD5450-1GB
SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

loganj
Level 1
Level 1
Posts: 19
Joined: Fri Dec 20, 2013 3:31 pm

Re: Sound problems

Postby loganj » Mon Nov 06, 2017 11:02 am

well, this sound card worked flawlessly on the old computer on mint/ubuntu since i got it till 1-2 months ago.
im guessing that ive probably messed up something and i'll try to reinstall mint as a last solution.

As for replacement with any other card.....i really love this one. not on linux of course. i don't know any card that has full bass/treble support in alsamixer. but for windows this card is still awesome (for me)
I've tried the asus supreme FX audio on the motherboard on windows. it sounded hmm ugly.
Now it might be my speakers...it might be the soundcard..i dont know. but my x-fi really sounds much better on the same speakers (inspire T7700). this might also be that i have more control on x-fi than the lame supreme FX.
i mostly hate forums

User avatar
ClixTrix
Level 3
Level 3
Posts: 154
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Sound problems

Postby ClixTrix » Mon Nov 06, 2017 11:33 am

Since it worked on an older system with Linux, I'm curious if the problem is a mismatch to PCIe spec recognition and speed/timing.

Does your BIOS have the ability to set PCIe Slot Configuration? I'm thinking that old card is probably Gen1.
Linux Mint 18.2 x64 Cinnamon Kernel 4.10.0-38 Xenial
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 16GB (2x8GB) /XFX HD5450-1GB
SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

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

Re: Sound problems

Postby Flemur » Mon Nov 06, 2017 11:37 am

kc1di wrote:I believe the problem may be that you have two sound cards installed.

"Cannot open mixer: No such file or directory"
https://askubuntu.com/questions/800863/ ... -directory
"Had the same problem. Running alsamixer with the -c parameter worked for me:
alsamixer -c 1"

IOW, tell it which sound card.

Edit: OP: try installing "qasmixer" - it's alsamixer with a much better GUI.
Mint 18.2 Xfce/fluxbox/pulse-less - Xubuntu 16.10/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

loganj
Level 1
Level 1
Posts: 19
Joined: Fri Dec 20, 2013 3:31 pm

Re: Sound problems

Postby loganj » Mon Nov 06, 2017 4:04 pm

ClixTrix wrote:Since it worked on an older system with Linux, I'm curious if the problem is a mismatch to PCIe spec recognition and speed/timing.

Does your BIOS have the ability to set PCIe Slot Configuration? I'm thinking that old card is probably Gen1.


Well i stuck the card in mini pci-e (or whatever are called those small pcie). all these pci-e are set to 1x
i have to admit that on previous system the card was on a normal pci-e witch ran at 4x. the reason for choosing that slot was because it is the farthest from gpu card

But on the new system, windows has no problem. So the problem is in linux. i was thinking some conflict happens when it tries to set it up while linux is booting up.
i mostly hate forums

loganj
Level 1
Level 1
Posts: 19
Joined: Fri Dec 20, 2013 3:31 pm

Re: Sound problems

Postby loganj » Fri Nov 10, 2017 4:35 pm

i think its a bios problem/conflict.
How do i fixed my problem (twice now)
1) set hd audio in bios to disable. in my bios there is one more HD audio somewhere in there. i've set that also to disable.
2) fast boot disable (not sure if it helps)
did a restart. i had no sound card
3) shutdown computer from linux and also from power source. started the computer with power source off just to make sure there is no residual info/settings in memory <---very important i think
4) back in mint. now i have sound

now i've tried to enable hd audio
back in linux my x-fi card was gone again
disabling the hd audio back again didn't fix it
step 3 did the trick again.

now i've restarted back in window and linux. i have creative available in both OS.
i hope this fix the problem for good. i'll report back if sound card will fail again.

EDIT: Sound card failed again. but the solution to make it work in linux seems to be valid. the problem is that it just does not stay. Also i found "HD Audio Enable" (yes Enable is part of the name) from NBIO Common Options, back on auto although i remember i set it to disable. Well at least i know how to make it work. thank god we have power switch to turn on/off power supply.
i mostly hate forums


Return to “Hardware Support”