LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-16-2013, 02:40 PM   #1
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Rep: Reputation: 15
Question 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:
00:00.0 Host bridgeIntel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 09)
00:02.0 VGA compatible controllerIntel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
00:02.1 Display controllerIntel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
00:1a.0 USB controllerIntel Corporation 82801I (ICH9 FamilyUSB UHCI Controller #4 (rev 03)
00:1a.1 USB controllerIntel Corporation 82801I (ICH9 FamilyUSB UHCI Controller #5 (rev 03)
00:1a.7 USB controllerIntel Corporation 82801I (ICH9 FamilyUSB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio deviceIntel Corporation 82801I (ICH9 FamilyHD Audio Controller (rev 03)
00:1c.0 PCI bridgeIntel Corporation 82801I (ICH9 FamilyPCI Express Port 1 (rev 03)
00:1c.1 PCI bridgeIntel Corporation 82801I (ICH9 FamilyPCI Express Port 2 (rev 03)
00:1c.2 PCI bridgeIntel Corporation 82801I (ICH9 FamilyPCI Express Port 3 (rev 03)
00:1d.0 USB controllerIntel Corporation 82801I (ICH9 FamilyUSB UHCI Controller #1 (rev 03)
00:1d.1 USB controllerIntel Corporation 82801I (ICH9 FamilyUSB UHCI Controller #2 (rev 03)
00:1d.2 USB controllerIntel Corporation 82801I (ICH9 FamilyUSB UHCI Controller #3 (rev 03)
00:1d.3 USB controllerIntel Corporation 82801I (ICH9 FamilyUSB UHCI Controller #6 (rev 03)
00:1d.7 USB controllerIntel Corporation 82801I (ICH9 FamilyUSB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridgeIntel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridgeIntel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controllerIntel Corporation 82801IBM/IEM (ICH9M/ICH9M-E4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBusIntel Corporation 82801I (ICH9 FamilySMBus Controller (rev 03)
02:00.0 Ethernet controllerBroadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
03:00.0 Network controllerAtheros Communications IncAR928X Wireless Network Adapter (PCI-Express) (rev 01

Last edited by rcorkum; 11-22-2013 at 08:31 PM. Reason: inserting hardware list
 
Old 11-18-2013, 03:22 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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
alsamixer -c1

(next post the output of)
aplay -l
aplay -L
lsmod | grep snd
 
Old 11-20-2013, 08:13 PM   #3
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
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
 
Old 11-20-2013, 10:44 PM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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
---leaping ahead I am interested if you see a string or parameter of position fix as per my output
Code:
parm:           index:Index value for Intel HD audio interface. (array of int)
parm:           id:ID string for Intel HD audio interface. (array of charp)
parm:           enable:Enable Intel HD audio interface. (array of bool)
parm:           model:Use the given board model. (array of charp)
parm:           position_fix:DMA pointer read method.(-1 = system default, 0 = auto, 1 = LPIB, 2 = POSBUF, 3 = VIACOMBO, 4 = COMBO). (array of int)
parm:           bdl_pos_adj:BDL position adjustment offset. (array of int)
parm:           probe_mask:Bitmask to probe codecs (default = -1). (array of int)
parm:           probe_only:Only probing and no codec initialization. (array of int)
parm:           jackpoll_ms:Ms between polling for jack events (default = 0, using unsol events only) (array of int)
parm:           single_cmd:Use single command to communicate with codecs (for debugging only). (bool)
parm:           enable_msi:Enable Message Signaled Interrupt (MSI) (bint)
parm:           power_save:Automatic power-saving timeout (in second, 0 = disable). (xint)
parm:           power_save_controller:Reset controller in power save mode. (bool)
parm:           align_buffer_size:Force buffer and period sizes to be multiple of 128 bytes. (bint)
parm:           snoop:Enable/disable snooping (bool)

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

Last edited by aus9; 11-21-2013 at 01:00 AM.
 
Old 11-21-2013, 05:44 PM   #5
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
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
filename:       /lib/modules/3.10.17/kernel/sound/pci/hda/snd-hda-intel.ko
description:    Intel HDA driver
license:        GPL
alias:          pci:v00001022d*sv*sd*bc04sc03i00*
alias:          pci:v00001002d*sv*sd*bc04sc03i00*
alias:          pci:v000015ADd00001977sv*sd*bc*sc*i*
alias:          pci:v000017F3d00003010sv*sd*bc*sc*i*
alias:          pci:v00001102d00000009sv*sd*bc*sc*i*
alias:          pci:v00001102d00000012sv*sd*bc*sc*i*
alias:          pci:v00001102d00000010sv*sd*bc*sc*i*
alias:          pci:v00006549d00002200sv*sd*bc*sc*i*
alias:          pci:v00006549d00001200sv*sd*bc*sc*i*
alias:          pci:v000010DEd*sv*sd*bc04sc03i00*
alias:          pci:v000010B9d00005461sv*sd*bc*sc*i*
alias:          pci:v00001039d00007502sv*sd*bc*sc*i*
alias:          pci:v00001106d00009140sv*sd*bc*sc*i*
alias:          pci:v00001106d00009170sv*sd*bc*sc*i*
alias:          pci:v00001106d00003288sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AAB0sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AAA8sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AAA0sv*sd*bc*sc*i*
alias:          pci:v00001002d00009902sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA48sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA40sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA38sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA30sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA28sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA20sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA18sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA10sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA08sv*sd*bc*sc*i*
alias:          pci:v00001002d0000AA00sv*sd*bc*sc*i*
alias:          pci:v00001002d0000970Fsv*sd*bc*sc*i*
alias:          pci:v00001002d0000960Fsv*sd*bc*sc*i*
alias:          pci:v00001002d00007919sv*sd*bc*sc*i*
alias:          pci:v00001002d0000793Bsv*sd*bc*sc*i*
alias:          pci:v00001022d0000780Dsv*sd*bc*sc*i*
alias:          pci:v00001002d00004383sv*sd*bc*sc*i*
alias:          pci:v00001002d0000437Bsv*sd*bc*sc*i*
alias:          pci:v00008086d*sv*sd*bc04sc03i00*
alias:          pci:v00008086d00003A6Esv*sd*bc*sc*i*
alias:          pci:v00008086d00003A3Esv*sd*bc*sc*i*
alias:          pci:v00008086d0000293Fsv*sd*bc*sc*i*
alias:          pci:v00008086d0000293Esv*sd*bc*sc*i*
alias:          pci:v00008086d0000284Bsv*sd*bc*sc*i*
alias:          pci:v00008086d0000269Asv*sd*bc*sc*i*
alias:          pci:v00008086d000027D8sv*sd*bc*sc*i*
alias:          pci:v00008086d00002668sv*sd*bc*sc*i*
alias:          pci:v00008086d0000080Asv*sd*bc*sc*i*
alias:          pci:v00008086d0000811Bsv*sd*bc*sc*i*
alias:          pci:v00008086d00003B56sv*sd*bc*sc*i*
alias:          pci:v00008086d00000D0Csv*sd*bc*sc*i*
alias:          pci:v00008086d00000C0Csv*sd*bc*sc*i*
alias:          pci:v00008086d00000A0Csv*sd*bc*sc*i*
alias:          pci:v00008086d00009C21sv*sd*bc*sc*i*
alias:          pci:v00008086d00009C20sv*sd*bc*sc*i*
alias:          pci:v00008086d00008D21sv*sd*bc*sc*i*
alias:          pci:v00008086d00008D20sv*sd*bc*sc*i*
alias:          pci:v00008086d00008C20sv*sd*bc*sc*i*
alias:          pci:v00008086d00001E20sv*sd*bc*sc*i*
alias:          pci:v00008086d00001D20sv*sd*bc*sc*i*
alias:          pci:v00008086d00001C20sv*sd*bc*sc*i*
depends:        snd-hda-codec,snd-pcm,snd,snd-page-alloc
intree:         Y
vermagic:       3.10.17 SMP mod_unload 
parm:           index:Index value for Intel HD audio interface. (array of int)
parm:           id:ID string for Intel HD audio interface. (array of charp)
parm:           enable:Enable Intel HD audio interface. (array of bool)
parm:           model:Use the given board model. (array of charp)
parm:           position_fix:DMA pointer read method.(-1 = system default, 0 = auto, 1 = LPIB, 2 = POSBUF, 3 = VIACOMBO, 4 = COMBO). (array of int)
parm:           bdl_pos_adj:BDL position adjustment offset. (array of int)
parm:           probe_mask:Bitmask to probe codecs (default = -1). (array of int)
parm:           probe_only:Only probing and no codec initialization. (array of int)
parm:           jackpoll_ms:Ms between polling for jack events (default = 0, using unsol events only) (array of int)
parm:           single_cmd:Use single command to communicate with codecs (for debugging only). (bool)
parm:           enable_msi:Enable Message Signaled Interrupt (MSI) (bint)
parm:           patch:Patch file for Intel HD audio interface. (array of charp)
parm:           power_save:Automatic power-saving timeout (in second, 0 = disable). (xint)
parm:           power_save_controller:Reset controller in power save mode. (bool)
parm:           align_buffer_size:Force buffer and period sizes to be multiple of 128 bytes. (bint)
parm:           snoop:Enable/disable snooping (bool)
bash-4.2#
now for step 5 I think this is leading somewhere the first SPDIF if I mute I get no sound all distortion gone obviously but no sound. Second and third seem not to have an effect I tried every combo and the first is the key I tried with the first muted and maxing other audio speaker and or digital or such and still no sound with the first SPDIF muted.

okay now as promised back to normal account on my pc
 
Old 11-21-2013, 05:56 PM   #6
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
when logging in as a user not root I get the following notifications

the audio playback device HDA intel (CX20561 Analog) does not work.
 
Old 11-21-2013, 06:24 PM   #7
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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
I show my results out of code box as example--- gordon dialout cdrom floppy audio dip video plugdev users fuse scanner netdev

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

Last edited by aus9; 11-21-2013 at 06:25 PM. Reason: add file name for group
 
Old 11-21-2013, 06:36 PM   #8
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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.
 
Old 11-21-2013, 07:29 PM   #9
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aus9 View Post
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
I show my results out of code box as example--- gordon dialout cdrom floppy audio dip video plugdev users fuse scanner netdev

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
groups fixed user has audio now.
Quote:
3) I still want to know alsamixer press F6---what devices do you see pls
http://i40.tinypic.com/714lzo.jpg

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/
bash-4.2# ls
README
bash-4.2# more README
# /etc/modprobe.d/README
#
# The monolithic "blacklist" file (and others) that used to be here in this
# directory have been split into several more fine-grained files and moved
# to the /lib/modprobe.d/ directory.  Any file in /lib/modprobe.d/ will be
# overridden by an identically named file in this directory (/etc/modprobe.d/)
# or /run/modprobe.d/ (but since /run is on a tmpfs, it's not persistent
# across reboots, so you probably don't want to use it).
#
# See "man modprobe.d" for more information.
#
bash-4.2# cd /lib/modprobe.d/
bash-4.2# ls
8139cp.conf                evbug.conf         isdn.conf                   sound-modems.conf
bcm43xx.conf               framebuffers.conf  oss.conf                    tulip.conf
cups-blacklist-usblp.conf  hostap.conf        pcspkr.conf                 usb-controller.conf
eepro100.conf              hw_random.conf     psmouse.conf                via-ircc.conf
eth1394.conf               isapnp.conf        scsi-sata-controllers.conf  watchdog.conf
bash-4.2#

bash-4.2# cd /etc/rc.d/
bash-4.2# ls
init.d         rc.cups             rc.mysqld          rc.udev
rc.0           rc.dnsmasq          rc.networkmanager  rc.ulogd
rc.4           rc.font             rc.nfsd            rc.vboxautostart-service
rc.6           rc.fuse             rc.ntpd            rc.vboxballoonctrl-service
rc.K           rc.gpm              rc.pcmcia          rc.vboxdrv
rc.M           rc.httpd            rc.php-fpm         rc.vboxweb-service
rc.S           rc.inet1            rc.rpc             rc.wireless
rc.acpid       rc.inet1.conf       rc.samba           rc.wireless.conf
rc.alsa        rc.inet2            rc.saslauthd       rc.yp
rc.alsa-oss    rc.inetd            rc.sendmail        rc0.d
rc.atalk       rc.ip_forward       rc.serial          rc1.d
rc.autofs      rc.local            rc.snmpd           rc2.d
rc.bind        rc.loop             rc.sshd            rc3.d
rc.bluetooth   rc.mcelog           rc.syslog          rc4.d
rc.cgconfig    rc.messagebus       rc.sysstat         rc5.d
rc.cgred       rc.modules          rc.sysvinit        rc6.d
rc.consolekit  rc.modules-3.10.17  rc.tor
bash-4.2# more rc.alsa
#!/bin/sh
# Load the mixer settings and OSS compatibility (if enabled) for ALSA.
# (the Advanced Linux Sound Architecture)

# A function to load the ALSA mixer settings:
load_alsa_mixer() {
  if [ -r /var/lib/alsa/asound.state ]; then
    echo "Loading ALSA mixer settings:  /usr/sbin/alsactl restore"
    /usr/sbin/alsactl restore
  else
    # It's possible a user might not want to set a default sound state.
    # In that case, do this:  touch /var/lib/alsa/no.asound.state
    if [ ! -r /var/lib/alsa/no.asound.state ]; then
      echo "Setting default ALSA mixer settings."
      # set default mixer volumes for ALSA
      # Taken from the alsaconf script.
      amixer -s -q <<EOF
set Master 75% unmute
set Master -12dB
set 'Master Mono' 75% unmute
set 'Master Mono' -12dB
set Front 75% unmute
set Front -12dB
set PCM 90% unmute
set PCM 0dB
mixer Synth 90% unmute
mixer Synth 0dB
mixer CD 90% unmute
mixer CD 0dB
# mute mic
set Mic 0% mute
# ESS 1969 chipset has 2 PCM channels
set PCM,1 90% unmute
set PCM,1 0dB
# Trident/YMFPCI/emu10k1
set Wave 100% unmute
set Music 100% unmute
set AC97 100% unmute
# CS4237B chipset:
set 'Master Digital' 75% unmute
# Envy24 chips with analog outs
set DAC 90% unmute
set DAC -12dB
set DAC,0 90% unmute
set DAC,0 -12dB
set DAC,1 90% unmute
set DAC,1 -12dB
# some notebooks use headphone instead of master
set Headphone 75% unmute
set Headphone -12dB
set Playback 100% unmute
# turn off digital switches
set "SB Live Analog/Digital Output Jack" off
set "Audigy Analog/Digital Output Jack" off
EOF
      echo "Storing default ALSA mixer settings:  /usr/sbin/alsactl store"
      /usr/sbin/alsactl store
    fi
  fi
}

# If udev or something else has loaded the ALSA modules, then
# simply load the mixer settings and make sure the OSS compat
# modules are loaded (if enabled):
if [ -d /proc/asound ]; then
  if [ -x /etc/rc.d/rc.alsa-oss ]; then
    sh /etc/rc.d/rc.alsa-oss
  fi
  load_alsa_mixer
else
  # If there are ALSA modules defined in /etc/modprobe.d/*, but
  # ALSA is not yet loaded, then load the modules now:
  DRIVERS=$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | tr
 -s "[[:blank:]]" " " | cut -d " " -f 3)
  if [ ! "$DRIVERS" = "" ]; then
    echo "Loading ALSA kernel modules."
    for module in $DRIVERS; do
      modprobe $module
    done
  fi
  # If ALSA is now up, then load the mixer settings and OSS modules (if enabled):
  if [ -d /proc/asound ]; then
    if [ -x /etc/rc.d/rc.alsa-oss ]; then
      sh /etc/rc.d/rc.alsa-oss
    fi
    load_alsa_mixer
  fi
fi
bash-4.2#
as you can see my /etc/modprob.d/ is empty except for a readme so I also checked /lib/modprob.d/ and listed its contents then listed my /etc/rc.d/ and the contents of the rc.alsa which loads. I hope this helps and I appreciate all your assistance.
 
Old 11-21-2013, 08:07 PM   #10
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,407
Blog Entries: 14

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
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
 
Old 11-21-2013, 10:57 PM   #11
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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
FULL reboot pls

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
to save mixer levels (even if distortion)

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!!

Last edited by aus9; 11-21-2013 at 10:59 PM.
 
Old 11-22-2013, 05:26 PM   #12
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
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
 
Old 11-22-2013, 06:04 PM   #13
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
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

Last edited by rcorkum; 11-22-2013 at 06:07 PM. Reason: having midol moments
 
Old 11-22-2013, 08:22 PM   #14
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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
 
Old 11-22-2013, 08:34 PM   #15
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Software audio mixing (simultaneous audio streams) in Slackware? malloc Slackware 19 05-11-2011 09:25 PM
Audio issues AntoGilbert Linux - General 1 01-06-2010 04:45 PM
Audio issues on VIA audio :( beatupbilly Linux - Laptop and Netbook 2 07-15-2007 11:12 PM


All times are GMT -5. The time now is 11:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration