slackware 14.1 audio issues
hi loving 14.1 but on a gateway nv-54 and having a couple sound issues
the laptop has quiet audio ondriver default it but when I use HDMI and play video's (more then one and more then one player) it sounds distorted like being way way way over driven. I've tried all the built in players and installed vlc same issue. so has me scratching my head checked alsamixer in term and all levels in green not red. PHP Code:
|
Hi
until you get a better reply as I don't use slack 1) which device do you prefer to default to---onboard or hdmi? 2) do you need to swap between them? 3) is sound to go to a surround sound sytem or do you prefer 2 channel? 4) pls take a screenshot of these commands pls and link to them or if within attachment limits, attach, I prefer you use a permanent photo sharing site, I like tinypic.com YMMV Code:
alsamixer -c0 |
thanks sorry for the delay life got in the way dang it ;)
yes I would like to keep it swappable so I can show video's through hmdi or local I would default to onboard and then I could just switch to HDMI as needed stereo is fine no surround sound set up. alsamixer -c0 http://i39.tinypic.com/2jb7cyc.jpg alsamixer -c1 http://i39.tinypic.com/eper07.jpg bash-4.2# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: CX20561 Analog [CX20561 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: CX20561 Digital [CX20561 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 bash-4.2# aplay -L null Discard all samples (playback) or generate zero samples (capture) default:CARD=Intel HDA Intel, CX20561 Analog Default Audio Device sysdefault:CARD=Intel HDA Intel, CX20561 Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, CX20561 Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, CX20561 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, CX20561 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, CX20561 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, CX20561 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, CX20561 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Intel,DEV=0 HDA Intel, CX20561 Digital IEC958 (S/PDIF) Digital Audio Output hdmi:CARD=Intel,DEV=0 HDA Intel, HDMI 0 HDMI Audio Output bash-4.2# lsmod | grep snd snd_hda_codec_hdmi 29622 1 snd_hda_codec_conexant 35276 1 snd_hda_intel 34861 2 snd_hda_codec 143196 3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel snd_hwdep 6388 1 snd_hda_codec snd_pcm 76009 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel snd_page_alloc 7098 2 snd_pcm,snd_hda_intel snd_timer 18614 1 snd_pcm snd 58630 11 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec,snd_hda_intel soundcore 5354 1 snd |
ok the image for analog is failing as your card is analog/hdmi
just type command alsamixer and tell us when you press F6, what are your sound device options? 2) can you now in a code box show the results to this command Code:
sudo modinfo snd_hda_intel Code:
parm: index:Index value for Intel HD audio interface. (array of int) 3) in terms of trouble shooting, we can only do one thing at a time I can see your chipset cx20561 with another laptop has distortion as well https://bugs.launchpad.net/ubuntu/+s...r/+bug/1233246 4) so one thing to try first is go into just alsamixer and use the right arrow to get to PCM press the down arrow while playing a track you know has distortion keep lowering it until distortion stops----worse scenario no sound at all heard report your findings 5) with pcm at an audible level go to each SPDIF press m to mute the first one leave it off how is sound b) leave it off for the first and mute the second one 6) leaping ahead we may need a model=string for your card but as Slackware may prefer /etc/modprobe.d/sound.conf pls post the current contents of that file b) if not found search each file in folder and look for any lines that start options blah blah and post the file name and its contents pls 7) we won't force any model onto you until you are happy with the easy tests first ok nor any setting config for your intel module ########################### EDIT alsamixer changes can be done on the fly (no reboot) but pls close down your media player before testing the change Any other changes we suggest, will do a full reboot. If you are happy to stop a daemon, make a change and start a daemon, see if you have /etc/init.d/alsa |
hi I was replying to your post section by section but then I got to section 4 about playing a video and decreasing pcm
so I started a video, no audo, no audio hdmi scratched my head. loaded vlc (I find it easier to switch audio in this than most players) and according to vlc audio device I had no devices listed at all. so I rebooted going hey why not. same thing after reboot. so I logged out and logged back in as root now i have audio devices listed in vlc and back to the major distortion. okay playing a sample video and I'll switch back to my normal account not root to reply to the rest but right now PCM is at 0% in alsa mixer the volume is at 2% in vlc and the volume on my tv is 2 out of 100 and its fairly loud and extremely distorted http://i40.tinypic.com/ou8mts.jpg just took a snapshot of alsamixer all options and all set down and its not affecting the distortion using this as a mental notepad as well hope you don't mind now logging into the pc as me and seeing whats up. Code:
bash-4.2# sudo modinfo snd_hda_intel okay now as promised back to normal account on my pc ;) |
when logging in as a user not root I get the following notifications
the audio playback device HDA intel (CX20561 Analog) does not work. |
Hi
If root can see audio devices and you can't it suggests you are not a member of the audio group, lets check it pls post the results of Code:
groups 2) if not member of audio or video easiest to do is open a text editor with root powers and add your name like this /etc/group audio:x:29:gordon video:x:44:gordon ---but ignore the number....yours will differ FULL reboot please and re-check your alsamixer test results pls 3) I still want to know alsamixer press F6---what devices do you see pls 4) SPDIF switches on or off hdmi ----as seen in http://techpatterns.com/forums/about1813.html section D (2) Its good to see its confirmed.......but it won't affect analog 5) I am itching to get your agreement to add an "options line" to your modprobe config file but your last reply means we need to get groups sorted and confirmed first my link in (4) gives you a heads up on what I plan to do but thats a debian config so ignore the file names pls b) I am still leaning towards options snd_hda_intel position_fix=<0, 1,2,3,4> to test but as I said we need to have no interference from other issues before testing |
oh I should link to why we will change to position_fix=o
see http://forums.gentoo.org/viewtopic-t...8-start-0.html reply by Hypnos.....I have no entrant for codec in my /var/log/dmesg nor /var/log/messages but YMMV but we know he has working sound with BIOS auto-probing. |
Quote:
Quote:
4) SPDIF switches on or off hdmi ----as seen in http://techpatterns.com/forums/about1813.html section D (2) Its good to see its confirmed.......but it won't affect analog 5) I am itching to get your agreement to add an "options line" to your modprobe config file but your last reply means we need to get groups sorted and confirmed first my link in (4) gives you a heads up on what I plan to do but thats a debian config so ignore the file names pls b) I am still leaning towards options snd_hda_intel position_fix=<0, 1,2,3,4> to test but as I said we need to have no interference from other issues before testing[/QUOTE] Code:
bash-4.2# cd modprobe.d/ |
Have you attempted to create a profile for ALSA using an .asoundrc in your user folder?
Details to do this are here: http://www.alsa-project.org/main/index.php/Asoundrc |
Hi
pls don't create a system wide or home user asoundrc file now, I don't want any interference. thanks for the info we now proceed Code:
sudo echo "options snd_hda_intel position_fix=0" > /etc/modprobe.d/sound.conf re-run alsamixer and raise all volumes to around 80% for master, speaker, PCM with first SPDIF un-muted all other spdifs muted ---headphone I would to be at 0 volume Code:
sudo alsactl store test sound and report if distorted thru tv b) remove hmdi lead and test speakers report results 2) Now use root powers to replace your sound.conf value from 0 to 1, 2,3 and 4 needs a full reboot each time and re-check your alsamixer settings ----report ONLY if a change occurs but report your analog sound speaker and tv distortion 3) speaking of which have you checked your tv on any setting you can affect hdmi settings? for example my panasonic manual says input audio 2ch PCM samples of 48, 44.1 32 kHz on another page it says hdmi 1/2/3 choose hdmi or hdmi-dvi adapter............EEK I hope you have not set this!! |
yeah its fixed :)
sound.conf at 0 sounds really good so going to call this thread solved thanks so much tomorrow after enjoying it I may go through them all see if any improvement or loss of quality and report that thanks again |
well laugh spoke to soon. I paused a movie 4 times on hdmi after I unpaused it the 5th time major major audio distortion.
so now its like WTF ;) okay restart video and sound is clear. stuff thats broken should stay broken its easier to fix |
yes edit your first post and you will be able to removed [SOLVED]
reasons are: you have not announced that you have working analog sound plus your reason 1) have you tested analog sound? 2) hdmi playback ---what media player or web browser are you using I like vlc to play both my audio and video |
yes analog sound is working fine now working with my user name as well.
and hdmi is working and such but when I pause vlc and unpause it 4 times it worked and then I paused it again when the phone rang and then unpaused it it went back to major distortion through hdmi. as I said I restarted the video sound was fine. right now the wife is watching said tv so can't test the HDMI but going to keep trying various videos and mp3's both local analog and hdmi over the next few days along with said changes in sound.conf to see if I can isolate this more. I guess right now its working but not yet solved. I edited my post as your suggestion, thanks again |
All times are GMT -5. The time now is 07:56 AM. |