| Summary: | no sound with intel hda | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Dan Joita <djmarian4u> |
| Component: | RPM Packages | Assignee: | Thomas Backlund <tmb> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | elbeho, gejobj, mageia, mageia, mageiabugs, marja11, tmb |
| Version: | Cauldron | Keywords: | USABILITY |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | Errata, MGA2TOO | ||
| Source RPM: | kernel | CVE: | |
| Status comment: | |||
| Attachments: |
dmesg
dmidecode new dmesg mageia 2 beta 1 |
||
|
Description
Dan Joita
2011-10-01 23:36:25 CEST
Check this: https://www.mageia.org/pipermail/mageia-dev/2011-September/008044.html CC:
(none) =>
jani.valimaa i did not find any .rpmnew's in /etc/pam.d colin, maybe you can look at this ? CC:
(none) =>
mageia Hi, In the first instance, can you do: 1. cat /proc/asound/cards 2. ls -l /dev/snd/* 3. getfacl /dev/snd/* Cheers. sure cat /proc/asound/cards --- no soundcards --- ls -l /dev/snd/* crw-rw----+ 1 root audio 116, 1 oct 5 08:03 /dev/snd/seq crw-rw----+ 1 root audio 116, 33 oct 5 08:03 /dev/snd/timer getfacl /dev/snd/* getfacl: Removing leading '/' from absolute path names # file: dev/snd/seq # owner: root # group: audio user::rw- user:dan:rw- group::rw- mask::rw- other::--- # file: dev/snd/timer # owner: root # group: audio user::rw- user:dan:rw- group::rw- mask::rw- other::--- does this mean i have no soundcard? i have another problem on another computer, where audacity doesn't record sound Thank you! Yes it seems that the hda module doesn't actually find your hardware. Can't really say why right now. Can you give the dmesg output? (as an attachment to this bug as it's usually quite large). Created attachment 897 [details]
dmesg
last time i had mageia on this pc i was using netbook kernel, now i haven't switched yet (if it matters) HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 HDA Intel 0000:00:1b.0: irq 44 for MSI/MSI-X HDA Intel 0000:00:1b.0: setting latency timer to 64 hda-intel: no codecs found! HDA Intel 0000:00:1b.0: PCI INT A disabled The "no codecs found" message is the worrying bit :( I think we'll need to try a newer kernel. Thomas what's the best option for kernels on MGA1? CC:
(none) =>
tmb First off... try to boot with: pci=nocrs If it helps, attach output of dmidecode to this report i don't know what you mean... (In reply to comment #10) > First off... try to boot with: pci=nocrs at the grub add pci=nocrs and attach also the output of dmidecode ask asked. Created attachment 922 [details]
dmidecode
i have this in kernel options 'splash=silent pci=nocrs' is it ok? (In reply to comment #14) > i have this in kernel options 'splash=silent pci=nocrs' > is it ok? yes, does it work better ? no Next step is a newer kernel then I guess. Thomas is this the best next step or should I start poking alsa-devel list? Hello. I have same error in my acer aspire one netbook. My sound card is found but It does not work. $ uname --all Linux edward 3.1.0-desktop-0.rc9.1.mga2 #1 SMP Thu Oct 6 01:01:25 UTC 2011 i686 i686 i386 GNU/Linux $ cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0x56440000 irq 44 $ ls -l /dev/snd/* crw-rw---- 1 root audio 116, 5 oct 12 17:11 /dev/snd/controlC0 crw-rw---- 1 root audio 116, 4 oct 12 17:11 /dev/snd/hwC0D0 crw-rw---- 1 root audio 116, 3 oct 12 17:11 /dev/snd/pcmC0D0c crw-rw---- 1 root audio 116, 2 oct 12 17:11 /dev/snd/pcmC0D0p crw-rw---- 1 root audio 116, 1 oct 12 17:11 /dev/snd/seq crw-rw---- 1 root audio 116, 33 oct 12 17:11 /dev/snd/timer /dev/snd/by-path: total 0 lrwxrwxrwx 1 root root 12 oct 12 17:11 pci-0000:00:1b.0 -> ../controlC0 $ getfacl /dev/snd/* getfacl: Eliminando '/' inicial en nombres de ruta absolutos # file: dev/snd/by-path # owner: root # group: root user::rwx group::r-x other::r-x # file: dev/snd/controlC0 # owner: root # group: audio user::rw- group::rw- other::--- # file: dev/snd/hwC0D0 # owner: root # group: audio user::rw- group::rw- other::--- # file: dev/snd/pcmC0D0c # owner: root # group: audio user::rw- group::rw- other::--- # file: dev/snd/pcmC0D0p # owner: root # group: audio user::rw- group::rw- other::--- # file: dev/snd/seq # owner: root # group: audio user::rw- group::rw- other::--- # file: dev/snd/timer # owner: root # group: audio user::rw- group::rw- other::--- $ lspcidrake | fgrep -i AUDIO snd_hda_intel : Intel Corporation|N10/ICH 7 Family High Definition Audio Controller (rev: 02) If you need more details, please ask. Thanks. Regards, CC:
(none) =>
gejobj (In reply to comment #18) > I have same error in my acer aspire one netbook. My sound card is found but It > does not work. This is not the same problem at all. As this bug states, the card is very much not detected (or rather the codec for the card). You have all the necessary nodes in /dev/snd/ (unlike the debug posted in comment 5) Your problem is simply due to Cauldron upgrade and not checking for .rpmnew files. See https://bugs.mageia.org/show_bug.cgi?id=2982 Sorry Colin Guthrie. I get sound back. I rename /etc/pam.d/system-auth.rpmnew to /etc/pam.d/system-auth as I see at https://bugs.mageia.org/show_bug.cgi?id=2982 Thanks and sorry againg. Bye. (In reply to comment #17) > Next step is a newer kernel then I guess. Thomas is this the best next step or > should I start poking alsa-devel list? @ Dan Did your problem somehow get solved through an update, or do we need to ask tmb to answer this question CC:
(none) =>
marja11
Jani Välimaa
2011-12-09 20:33:10 CET
CC:
jani.valimaa =>
(none) for the last weeks i installed my yamaha back so i don't know if an update did something i have two configurations in mcc yamaha and intel, but the mixer has yamaha and sigmatel stac9704 @ Dan, Thanks for replying. Closing this report for now, because no one knows whether the issue still exists. Feel free to reopen it when needed. Regards, Marja Status:
NEW =>
RESOLVED after modifying the little pc again, i removed the yamaha and no sound Status:
RESOLVED =>
REOPENED (In reply to comment #17) > Next step is a newer kernel then I guess. Thomas is this the best next step or > should I start poking alsa-devel list? (In reply to comment #24) > after modifying the little pc again, i removed the yamaha and no sound assigning to kernel maintainer @ tmb please assign back and explain if you don't agree :) Assignee:
bugsquad =>
tmb Hi.
I've the same or at least similar issue with Mageia 2 beta 1 from DVD x86_64 in KDE. Even with the misc update (including kernel and KDE) that have been made available so far.
I've no sound with my Intel sound card on 2 laptops Asus (G50v and N55SF, although I haven't applied all updates on the latest yet.
When I log in standard user then run startx (without .xinitrc), no sound in KDE, kmixer only shows a Dummy Output.
I tried also VLC, mplayer : no sound.
I run mplayer as root : no sound.
When I log in as root, run startx (no .xinitrc either), the sound is OK, KMixer shows the usual outputs.
(logged as regular user + sudo su -)
[root@localhost ~]# uname -a
Linux localhost 3.2.7-desktop-1.mga2 #1 SMP Sat Feb 25 18:38:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# lspcidrake | grep -i audio
snd_hda_intel : Intel Corporation|82801I (ICH9 Family) HD Audio Controller (rev: 03)
[root@localhost ~]# lsmod |grep -i snd
snd_hda_codec_hdmi 36278 1
snd_hda_codec_realtek 232006 1
snd_hda_intel 33293 0
snd_hda_codec 125199 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 17659 1 snd_hda_codec
snd_pcm 100893 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 29532 1 snd_pcm
snd 82164 7 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 15047 1 snd
snd_page_alloc 18484 2 snd_hda_intel,snd_pcm
[root@localhost ~]# cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf9ff8000 irq 47
[root@localhost ~]# ls -lR /dev/snd
/dev/snd:
total 0
drwxr-xr-x 2 root root 60 févr. 26 21:01 by-path/
crw-rw----+ 1 root audio 116, 9 févr. 26 21:01 controlC0
crw-rw----+ 1 root audio 116, 8 févr. 26 21:01 hwC0D0
crw-rw----+ 1 root audio 116, 7 févr. 26 21:01 hwC0D2
crw-rw----+ 1 root audio 116, 6 févr. 26 21:06 pcmC0D0c
crw-rw----+ 1 root audio 116, 5 févr. 26 21:07 pcmC0D0p
crw-rw----+ 1 root audio 116, 4 févr. 26 21:06 pcmC0D1p
crw-rw----+ 1 root audio 116, 3 févr. 26 21:01 pcmC0D2c
crw-rw----+ 1 root audio 116, 2 févr. 26 21:06 pcmC0D3p
crw-rw---- 1 root audio 116, 1 févr. 26 21:01 seq
crw-rw----+ 1 root audio 116, 33 févr. 26 21:01 timer
/dev/snd/by-path:
total 0
lrwxrwxrwx 1 root root 12 févr. 26 21:01 pci-0000:00:1b.0 -> ../controlC0
HTH
Regards
LaurentCC:
(none) =>
elbeho Hello, I have the sound if I boot in inittab 5 with the connection manager (kdm). What I wrote previously was with a boot inittab 3 (text mode). I noticed I got the sound in inittab 3, after running the MCC > Startup > KDM/XDM menu (Configurer le gestionnaire d'affichage in French): it logs me off, run kdm, asking fr the user and password. And I got the sound in the session. I'ld appreciate to have the sound booting in inittab 3 and running startx. HTH. Laurent same for beta 1 This bug report is quite confusing... lots of unrelated things in here :( Are you still getting the "no codecs found" issue? If so can you try updating to the kernel 3.3 that is in cauldron (not beta1) and see if it's still a problem there? Also for those users using startx, this will likely no longer be supported. You must login using a proper session manager, like agetty (text) or gdm/lxdm/kdm etc. (graphics). See https://bugs.mageia.org/show_bug.cgi?id=4652#c9 (In reply to comment #29) > Also for those users using startx, this will likely no longer be supported. You > must login using a proper session manager, like agetty (text) or gdm/lxdm/kdm > etc. (graphics). See https://bugs.mageia.org/show_bug.cgi?id=4652#c9 Might want to add a startx user warning to errata doc. Sound will work if user(s) are in audio group. (In reply to comment #30) > Might want to add a startx user warning to errata doc. Sound will work if > user(s) are in audio group. Yup it's a good idea to add a note on the Errata or Release Notes (the latter is likely more correct). However I don't want to promote the "solution" of adding users to the audio group as this has a habit of coming back to bite people - e.g. it breaks fast user switching among other things. Using a proper DM should be the recommended solution.
Manuel Hiebel
2012-03-07 17:47:18 CET
Keywords:
(none) =>
USABILITY i added my user to audio group and audacity sees the sound card i removed pulse audio from settings in mcc (because it worked some time ago...) and vlc send this in terminal: ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default [0x7f5610000958] alsa audio output error: cannot open ALSA device "default": No such file or directory [0x7f5610000958] main audio output error: no suitable audio output module [0x7f5624018ba8] main decoder error: failed to create audio output @Dan Are you in a situation that you need to add your user to the audio group? Your previous outputs regarding ACLs (comment 5) suggests that this would not be needed. I generally don't support non-PA setups so unless you reenable PulseAudio I won't really be able to offer any help. Please check for the primary error you had (as I highlighted in comment 9). This needs to be solved before anything further up the stack is fixed. I asked about this in comment 29, but so far you've not confirmed this. Please give this information before trying to mess with things further up the stack - If the base is broken, nothing you do further up will make any odds whatsoever! Created attachment 1706 [details]
new dmesg mageia 2 beta 1
in mageia 2 beta 1 (it sais cauldron in grub)
i reenabled PA, removed myself from audio group and did this:
bash-4.2$ cat /proc/asound/cards
--- no soundcards ---
bash-4.2$ ls -l /dev/snd/*
crw-rw----+ 1 root audio 116, 1 Mar 8 23:11 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Mar 8 23:11 /dev/snd/timer
bash-4.2$ getfacl /dev/snd/*
getfacl: Removing leading '/' from absolute path names
# file: dev/snd/seq
# owner: root
# group: audio
user::rw-
user:dan:rw-
group::rw-
mask::rw-
other::---
# file: dev/snd/timer
# owner: root
# group: audio
user::rw-
user:dan:rw-
group::rw-
mask::rw-
other::---
Yup, as seen in your dmesg output you still have hda-intel: no codecs found! However, this is quite an old server kernel. Linux version 3.2.6-server-3.mga2 (iurt@jonund.mageia.org) (gcc version 4.6.2 (GCC) ) #1 SMP Thu Feb 16 14:28:41 UTC 2012 Please try with 3.3.0-desktop-0.rc6.1.mga2 (the latest kernel in Mageia Cauldron). Note the difference between the server kernel and the desktop kernel. After booting on this new kernel, please redo the dmesg and attach it. yeah... i don't know how to try the new kernel... i guess i should find a rpm on the internet and add it to grub? where is the rpm? (In reply to comment #36) > yeah... i don't know how to try the new kernel... > i guess i should find a rpm on the internet and add it to grub? > where is the rpm? No, nothing as complicated as that. 1. Boot too your beta1 machine 2. On the command line (as root): rpm -e kernel-server-latest 3. Then use MageiaUpdate to ensure all packages are up-to-date 4. On the command line (as root): urpmi kernel-desktop-latest Then you should just be able to reboot to get on to the new kernel. (In reply to comment #37) > Then you should just be able to reboot to get on to the new kernel. the thing is i only have 3g internet wich does not work in beta i hope i'll do it untill next beta... Just to add a 'me too' to the list, Mageia 2 BETA 2 64BIT, Intel HD audio on a Dell Latitude E5510. Changing from init 3 to init 5 fixes my 'Dummy Output' under PulseAudio Doug CC:
(none) =>
mageiabugs @Doug: This is likely all related to using startx or similar rather than a proper login manger (like GDM). I've included a work around for this so your issue is quite different to Dan's. Dan, can you let me know if beta3 solves the problem when it's out?
Marja Van Waes
2012-04-17 07:37:54 CEST
Keywords:
(none) =>
NEEDINFO (In reply to comment #40) sure, just it will take a while to download (In reply to comment #40) > @Doug: This is likely all related to using startx or similar rather than a > proper login manger (like GDM). I've included a work around for this so your > issue is quite different to Dan's. > > Dan, can you let me know if beta3 solves the problem when it's out? (In reply to comment #41) > (In reply to comment #40) > > sure, just it will take a while to download @ Dan ping? If you didn't get around to testing with beta3 yet, then please wait till rc 1 is released (should be very soon) i cannot test sound because of other bugs (In reply to comment #42) > ping? If you didn't get around to testing with beta3 yet, then please wait till > rc 1 is released (should be very soon) Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja (In reply to comment #44) No sound... What kind of info is needed now?
Dan Joita
2012-05-26 21:09:22 CEST
Version:
Cauldron =>
2
Sander Lepik
2012-05-26 21:42:33 CEST
Keywords:
NEEDINFO =>
(none)
Marja Van Waes
2012-05-28 18:28:32 CEST
Version:
2 =>
Cauldron So how can i help now with this bug? I have some spare time. Hi Dan, Did you manage to update to the latest -desktop kernel yet (and not the -server one)? I think this is needed in order to (potentially) solve the "no codecs found" problem. Also, just in case some old model= arguments are somehow still around, can you give the output of "modprobe -c | grep hda | grep -v ^alias". It might produce nothing. If there is output from the above, you may want to edit your modprobe.conf (or whatever file contains it) to remove the options line that diverges from the default. Failing that, I would try including a line in your modprobe.conf (or any file inside /etc/modprobe.d/*.conf) that sets the model of your sound card: options snd-hda-intel model=$model (where $model is one of the models listed in http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt) As you appear to have the same h/w as this user: http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg26185.html It would suggest that you have a ALC662, so I would try all the models under that heading in the kernel documentation. If none of this gives any success, then please attach the output of alsa-info.sh script (http://www.alsa-project.org/alsa-info.sh) Note to anyone other than Dan reading this bug: Please do not comment unless you are also getting the "no codecs found" error!! There are lots of tangential posts on this report that are for different issues. I now have Mageia 2, with some issues... uname -r 3.3.6-desktop-2.mga2 i see: blacklist snd_pcm_oss blacklist snd_mixer_oss blacklist snd_seq_oss is this a problem? I entered options snd-hda-intel model=3stack-6ch at the end of 00_modprobe.conf reboot modprobe -c | grep hda | grep -v ^alias options snd_hda_intel model=3stack-6ch still no hardware in mixer, just dummy (In reply to comment #47) > It would suggest that you have a ALC662, so I would try all the models under > that heading in the kernel documentation. I have tried all of those and now have auto. > If none of this gives any success, then please attach the output of > alsa-info.sh script (http://www.alsa-project.org/alsa-info.sh) alsa info was uploaded here: http://www.alsa-project.org/db/?f=9a180e374dfe71641a16fc2aac5621d8637d5460 Please look at the bottom of this mail to see whether you're the assignee of this bug, if you don't already know whether you are. If you're the assignee: We'd like to know for sure whether this bug was assigned correctly. Please change status to ASSIGNED if it is, or put OK on the whiteboard instead. If you don't have a clue and don't see a way to find out, then please put NEEDHELP on the whiteboard. Please assign back to Bug Squad or to the correct person to solve this bug if we were wrong to assign it to you, and explain why. Thanks :) **************************** @ the reporter and persons in the cc of this bug: If you have any new information that wasn't given before (like this bug being valid for another version of Mageia, too, or it being solved) please tell us. @ the reporter of this bug If you didn't reply yet to a request for more information, please do so within two weeks from now. Thanks all :-D hello again just tested mint cinnamon 14 rc on a ssd (crap) and i have no sound there could it be my sound card is damaged? i don't even remember when i had sound on this little pc (oh wait i do, with the PCI yamaha) Well the primary error remains: hda-intel: no codecs found! So either it's just a really exotic device or, yes, it could be that it is damaged. Do you have windows around to be able to test it under that OS? I wouldn't expect the different Linux distros to vary much overall - at least not with recent kernels etc. nope, will try to get something like windows hello again, I just erased mageia 1 from one of my home PC-s and put mageia 2 (before leaving for holidays), and yet another intel sound card not working. That PC has an ASUS M2N4-SLI motherboard with an intel sound card. Will run same commands to see if they are any use. for the M2N4-SLI PC: fixed with adding users to audio group funny that the sound card is not intel but works with intel driver Adding to the audio group is almost always the wrong answer. It means something else is wrong with the permissions system and your user is not being assigned the relevant ACLs on the device nodes. You should try and work out what is wrong there via these commands: ck-list-sessions loginctl getfacl /dev/snd/pcm* Can you also describe how you login: Which desktop environment?, do you use autologin?, have you got a fully up-to-date Mageia 2?, do you boot with systemd or sysvinit? There have been some fixes for permissions released as updates already, which may affect systems which use autologin and some of the more exotic DMs. FWIW the hda-intel driver is really just called that because the HDA spec was designed by Intel but used by many other manufacturers, e.g. nvidia. now my YAMAHA DS-XG sound card stopped working, just dummy output available changed my brother's AMD 3000+ PC (where I also had issues with audio) with an Intel g1610 on msi h61m-p20, and now i have some sound problems, maybe they are related, maybe I am doing something wrong on all PC's after I enter root password for things it is requiered I have no sound what should I run to see if there is any relation with this bug? meanwhile I got a USB sound card and am trying to make it work (In reply to Dan Joita from comment #58) > after I enter root password for things it is requiered I have no sound > what should I run to see if there is any relation with this bug? This is usually related to a PAM (authentication) issue which means users are not tracked properly. Is this with Mageia 2 or with the upcoming Mageia 3? I recently fixed some permission problems on Mageia 3 that sound similar to this in terms of symptoms. Probably best to discuss it on the cauldron mailing list or open a new bug report. If you do open a new bug report please CC or assign directly to me. Cheers (In reply to Colin Guthrie from comment #59) it's the RC, i'll update and see if it's still there closing this bug since usb audio works Status:
REOPENED =>
RESOLVED |