LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
Search this Thread
Old 07-19-2014, 07:21 PM   #1
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Rep: Reputation: 158Reputation: 158
Sound problem in 14.1 for some files and players


Since upgrading from 64-bit 14.0 to 64-bit 14.1, sound is mostly working for me. I can play ogg and most wav files with aplay, audacious, amarok, and juk, for example. But I can't play any of them with xmms.

When I try to open any sound file in xmms, I get a dialog box that says "Couldn't open audio" - "Please check that: Your soundcard is configured properly. You have the correct output plugin selected. No other program is blocking the soundcard."

I can close xmms, open a konsole, and play the file just fine using aplay.

There are certain other sound files that I could play in 14.0 that won't work with any player at all since my 14.1 upgrade.

For example, aplay will play this wav file:

Code:
$ aplay Kirsty\ MacColl-In\ These\ Shoes.wav
Playing WAVE 'Kirsty MacColl-In These Shoes.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
but won't play this mp3 file:

Code:
$ aplay Kirsty\ MacColl-In\ These\ Shoes.mp3
Playing raw data 'Kirsty MacColl-In These Shoes.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: set_params:1233: Sample format non available
Available formats:
- S16_LE
- S32_LE
Is there an S8 mono format that I am missing?

Also, neither aplay nor any of my other music players will play the voicemail messages that are emailed to me by my VOIP provider. I had no problem playing them with 14.0.

Code:
$ aplay msg_12a4d280-0eb6-11e4-be9f-fb48c42e9d38.wav 
Playing WAVE 'msg_12a4d280-0eb6-11e4-be9f-fb48c42e9d38.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
aplay: set_params:1239: Channels count non available
This is 16 bit mono. So it looks like I'm missing something I need for 8 and 16 bit mono recordings.

I suspect the xmms problem may be something entirely different though, since it won't play any sound file at all.

Here is the output of "lsmod | grep snd"

Code:
$ lsmod | grep snd
snd_hda_codec_analog     8851  1 
snd_hda_codec_generic    53034  1 snd_hda_codec_analog
snd_usb_audio         118291  2 
snd_usbmidi_lib        19684  1 snd_usb_audio
snd_rawmidi            18325  1 snd_usbmidi_lib
snd_seq_device          5108  1 snd_rawmidi
snd_hda_intel          37320  2 
snd_hda_codec          95987  3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_analog
snd_hwdep               6292  2 snd_usb_audio,snd_hda_codec
snd_pcm                79167  3 snd_usb_audio,snd_hda_codec,snd_hda_intel
snd_timer              18422  1 snd_pcm
snd                    58582  18 snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore               5258  1 snd
Output of "aplay -l"

Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD1989B Analog [AD1989B Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD1989B Digital [AD1989B Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: AD1989B Alt Analog [AD1989B Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Output of "lspci | grep -i audio"

Code:
# lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
Output of "cat /proc/asound/cards"

Code:
# cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf9ff8000 irq 45
 1 [U0x46d0x8b2    ]: USB-Audio - USB Device 0x46d:0x8b2
                      USB Device 0x46d:0x8b2 at usb-0000:00:1d.2-2, full speed
alsamixer is set to use the HDA Intel analog device. The only other sound device it recognizes is the USB camera/microphone, which doesn't output sound.

Code:
Card: HDA Intel
Chip: Analog Devices AD1989B
I have this in /etc/asound.conf, but it makes no difference if I remove the file. Players and files that are playable continue to work, those that aren't don't.

Code:
# cat asound.conf
pcm.!default {
        type hw
        card 0
}

ctl.!default {
        type hw           
        card 0
}
I've also tried this in my home directory .asoundrc file. It has worked for me when I needed to activate the microphone on a USB webcam. I haven't been using this recently, but it makes no difference if it is there or not for the files that won't play.

Code:
$ cat .asoundrc
pcm.usb {
        type hw
        card U0x46d0x8b2
} 
pcm.!default {
        type asym
        playback.pcm {
                type plug
                slave.pcm "hw:0,0"
        }
        capture.pcm {
                type plug
                slave.pcm "hw:1,0"
        } 
}


Any ideas?
 
Old 07-19-2014, 08:15 PM   #2
dijetlo
Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Slackware Current 64bit Multi-Lib/RHEL
Posts: 743

Rep: Reputation: Disabled
Well, I don't know much about sound systems, though I'm more productive with "it used to work and now it don't" kind of problems.
What do we know? What might have "broken" in an upgrade from 14.0 to 14.1?
Here's the Slackware 14.1 change log... I don't see anything that would account for the issues you're having... do you?
How did you upgrade to 14.1? Did you have Alien Bobs multilibs running in 14? Have you tried reloading the repository for 14.1 and re-running them?
Have you run alsaconfig and/or alsamixer, which is normally how I get sound out of my Slackware toys?
 
Old 07-19-2014, 08:57 PM   #3
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 158Reputation: 158
Thanks dijetlo. No, nothing in the change log particularly stands out.

Yes, I have run alsaconfig and alsamixer. It has made no difference. In alsamixer, I have the volume set way up on everything.

I upgraded from 64-bit 14.0 with Alien Bob's Multilib to 64-bit current, without multilib. Note, I did not upgrade to base 14.1, but actually to current. In retrospect, perhaps I should have gone to 14.1 first, and then to current.

I have not re-installed the multilib support. In fact, I'd forgotten that I'd installed it, and so I didn't remember to remove it prior to the upgrade. I don't see any of the multilib packages still in /var/log/packages with the exception of one, compat32-tools-3.2-noarch-1alien. I think all the others must have been replaced during the upgrade.
 
Old 07-19-2014, 09:01 PM   #4
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 158Reputation: 158
Hmmm. I do see these in /var/log/packages. This is probably not a good thing.

Are these part of the compat32 tools? Any idea how to clean up?

Code:
# ls -al *compat32*
-rw-r--r-- 1 root root   2780 Jan 22 14:59 aaa_elflibs-compat32-14.0-x86_64-4compat32
-rw-r--r-- 1 root root   1486 Jan 22 14:59 alsa-lib-compat32-1.0.26-x86_64-1compat32
-rw-r--r-- 1 root root   1228 Jan 22 14:59 alsa-oss-compat32-1.0.25-x86_64-1compat32
-rw-r--r-- 1 root root    896 Jan 22 14:59 atk-compat32-2.4.0-x86_64-1compat32
-rw-r--r-- 1 root root   1207 Jan 22 14:59 attr-compat32-2.4.46-x86_64-1compat32
-rw-r--r-- 1 root root   1123 Jan 22 14:59 audiofile-compat32-0.2.7-x86_64-1compat32
-rw-r--r-- 1 root root   1126 Jan 22 14:59 bzip2-compat32-1.0.6-x86_64-1compat32
-rw-r--r-- 1 root root   1552 Jan 22 14:59 cairo-compat32-1.10.2-x86_64-2compat32
-rw-r--r-- 1 root root    984 Jan 22 14:56 compat32-tools-3.2-noarch-1alien
-rw-r--r-- 1 root root   3183 Jan 22 14:59 cups-compat32-1.5.4-x86_64-2compat32
-rw-r--r-- 1 root root   1304 Jan 22 15:00 curl-compat32-7.29.0-x86_64-3_slack14.0compat32
-rw-r--r-- 1 root root    815 Jan 22 14:59 cxxlibs-compat32-6.0.17-x86_64-1compat32
-rw-r--r-- 1 root root   1427 Jan 22 15:00 cyrus-sasl-compat32-2.1.23-x86_64-4compat32
-rw-r--r-- 1 root root   1530 Jan 22 14:59 dbus-compat32-1.4.20-x86_64-4_slack14.0compat32
-rw-r--r-- 1 root root    956 Jan 22 14:59 dbus-glib-compat32-0.98-x86_64-1compat32
-rw-r--r-- 1 root root   1321 Jan 22 14:59 e2fsprogs-compat32-1.42.6-x86_64-1compat32
-rw-r--r-- 1 root root   1480 Jan 22 14:59 esound-compat32-0.2.41-x86_64-1compat32
-rw-r--r-- 1 root root    899 Jan 22 14:59 expat-compat32-2.0.1-x86_64-2compat32
-rw-r--r-- 1 root root   1659 Jan 22 14:59 flac-compat32-1.2.1-x86_64-3compat32
-rw-r--r-- 1 root root   1295 Jan 22 15:00 fontconfig-compat32-2.9.0-x86_64-1compat32
-rw-r--r-- 1 root root   1102 Jan 22 15:00 freeglut-compat32-2.8.0-x86_64-1compat32
-rw-r--r-- 1 root root   1141 Jan 22 14:59 freetype-compat32-2.4.11-x86_64-1_slack14.0compat32
-rw-r--r-- 1 root root   1095 Jan 22 14:59 fribidi-compat32-0.19.2-x86_64-3compat32
-rw-r--r-- 1 root root   1318 Jan 22 14:59 gamin-compat32-0.1.10-x86_64-5compat32
-rw-r--r-- 1 root root   3641 Jan 22 14:59 gdk-pixbuf2-compat32-2.26.1-x86_64-2compat32
-rw-r--r-- 1 root root   1527 Jan 22 15:00 giflib-compat32-4.1.6-x86_64-1compat32
-rw-r--r-- 1 root root   1095 Jan 22 15:00 glew-compat32-1.5.7-x86_64-1compat32
-rw-r--r-- 1 root root   2897 Jan 22 15:00 glib2-compat32-2.32.4-x86_64-1compat32
-rw-r--r-- 1 root root   1074 Jan 22 15:00 gmp-compat32-5.0.5-x86_64-1compat32
-rw-r--r-- 1 root root   1888 Jan 22 15:00 gnome-keyring-compat32-3.4.1-x86_64-2compat32
-rw-r--r-- 1 root root   1690 Jan 22 15:00 gnutls-compat32-3.0.31-x86_64-1_slack14.0compat32
-rw-r--r-- 1 root root   5841 Jan 22 15:00 gst-plugins-base-compat32-0.10.36-x86_64-2compat32
-rw-r--r-- 1 root root   6077 Jan 22 15:00 gst-plugins-good-compat32-0.10.31-x86_64-3compat32
-rw-r--r-- 1 root root   2655 Jan 22 15:00 gstreamer-compat32-0.10.36-x86_64-1compat32
-rw-r--r-- 1 root root   3650 Jan 22 15:00 gtk+2-compat32-2.24.10-x86_64-2compat32
-rw-r--r-- 1 root root   1543 Jan 22 15:00 icu4c-compat32-49.1.2-x86_64-1compat32
-rw-r--r-- 1 root root   1117 Jan 22 15:00 jasper-compat32-1.900.1-x86_64-3compat32
-rw-r--r-- 1 root root   1011 Jan 22 15:00 lcms-compat32-1.19-x86_64-2compat32
-rw-r--r-- 1 root root    988 Jan 22 15:00 lcms2-compat32-2.3-x86_64-1compat32
-rw-r--r-- 1 root root   1658 Jan 22 15:00 lesstif-compat32-0.95.2-x86_64-1compat32
-rw-r--r-- 1 root root    914 Jan 22 15:00 libFS-compat32-1.0.4-x86_64-1compat32
-rw-r--r-- 1 root root    963 Jan 22 15:00 libICE-compat32-1.0.8-x86_64-1compat32
-rw-r--r-- 1 root root    938 Jan 22 15:00 libSM-compat32-1.2.1-x86_64-1compat32
-rw-r--r-- 1 root root   1078 Jan 22 15:00 libX11-compat32-1.5.0-x86_64-1compat32
-rw-r--r-- 1 root root   1070 Jan 22 15:00 libXScrnSaver-compat32-1.2.2-x86_64-1compat32
-rw-r--r-- 1 root root   1119 Jan 22 15:00 libXau-compat32-1.0.7-x86_64-1compat32
-rw-r--r-- 1 root root    907 Jan 22 15:00 libXaw-compat32-1.0.11-x86_64-1compat32
-rw-r--r-- 1 root root   1067 Jan 22 15:00 libXcomposite-compat32-0.4.3-x86_64-1compat32
-rw-r--r-- 1 root root   1061 Jan 22 15:00 libXcursor-compat32-1.1.13-x86_64-1compat32
-rw-r--r-- 1 root root   1004 Jan 22 15:00 libXdamage-compat32-1.1.3-x86_64-1compat32
-rw-r--r-- 1 root root   1015 Jan 22 15:00 libXdmcp-compat32-1.1.1-x86_64-1compat32
-rw-r--r-- 1 root root    962 Jan 22 15:00 libXevie-compat32-1.0.3-x86_64-1compat32
-rw-r--r-- 1 root root   1001 Jan 22 15:00 libXext-compat32-1.3.1-x86_64-1compat32
-rw-r--r-- 1 root root    973 Jan 22 15:00 libXfixes-compat32-5.0-x86_64-1compat32
-rw-r--r-- 1 root root   1271 Jan 22 15:00 libXfont-compat32-1.4.7-x86_64-1_slack14.0compat32
-rw-r--r-- 1 root root   1031 Jan 22 15:00 libXfontcache-compat32-1.0.5-x86_64-1compat32
-rw-r--r-- 1 root root    950 Jan 22 15:00 libXft-compat32-2.3.1-x86_64-1compat32
-rw-r--r-- 1 root root    915 Jan 22 15:00 libXi-compat32-1.6.1-x86_64-1compat32
-rw-r--r-- 1 root root   1049 Jan 22 15:00 libXinerama-compat32-1.1.2-x86_64-1compat32
-rw-r--r-- 1 root root   1041 Jan 22 15:00 libXmu-compat32-1.1.1-x86_64-1compat32
-rw-r--r-- 1 root root    870 Jan 22 15:00 libXp-compat32-1.0.1-x86_64-1compat32
-rw-r--r-- 1 root root   1031 Jan 22 15:00 libXpm-compat32-3.5.10-x86_64-1compat32
-rw-r--r-- 1 root root   1043 Jan 22 15:00 libXrandr-compat32-1.3.2-x86_64-1compat32
-rw-r--r-- 1 root root   1067 Jan 22 15:00 libXrender-compat32-0.9.7-x86_64-1compat32
-rw-r--r-- 1 root root    988 Jan 22 15:00 libXres-compat32-1.0.6-x86_64-1compat32
-rw-r--r-- 1 root root    912 Jan 22 15:00 libXt-compat32-1.1.3-x86_64-1compat32
-rw-r--r-- 1 root root    970 Jan 22 15:00 libXtst-compat32-1.2.1-x86_64-1compat32
-rw-r--r-- 1 root root    971 Jan 22 15:00 libXv-compat32-1.0.7-x86_64-1compat32
-rw-r--r-- 1 root root   1001 Jan 22 15:00 libXvMC-compat32-1.0.7-x86_64-1compat32
-rw-r--r-- 1 root root   1046 Jan 22 15:00 libXxf86dga-compat32-1.1.3-x86_64-1compat32
-rw-r--r-- 1 root root   1011 Jan 22 15:00 libXxf86misc-compat32-1.0.3-x86_64-1compat32
-rw-r--r-- 1 root root   1025 Jan 22 15:00 libXxf86vm-compat32-1.1.2-x86_64-1compat32
-rw-r--r-- 1 root root   1134 Jan 22 15:00 libart_lgpl-compat32-2.3.21-x86_64-1compat32
-rw-r--r-- 1 root root    950 Jan 22 15:00 libdmx-compat32-1.1.2-x86_64-1compat32
-rw-r--r-- 1 root root   1254 Jan 22 15:00 libdrm-compat32-2.4.33-x86_64-1compat32
-rw-r--r-- 1 root root   1077 Jan 22 15:00 libelf-compat32-0.8.13-x86_64-2compat32
-rw-r--r-- 1 root root   1064 Jan 22 15:00 libexif-compat32-0.6.21-x86_64-1compat32
-rw-r--r-- 1 root root   1266 Jan 22 15:00 libffi-compat32-3.0.11-x86_64-1compat32
-rw-r--r-- 1 root root   1003 Jan 22 15:00 libfontenc-compat32-1.1.1-x86_64-1compat32
-rw-r--r-- 1 root root   1050 Jan 22 15:00 libgcrypt-compat32-1.5.3-x86_64-1_slack14.0compat32
-rw-r--r-- 1 root root   1079 Jan 22 15:00 libglade-compat32-2.6.4-x86_64-4compat32
-rw-r--r-- 1 root root   1221 Jan 22 15:00 libgpg-error-compat32-1.11-x86_64-1_slack14.0compat32
-rw-r--r-- 1 root root   6794 Jan 22 15:00 libgphoto2-compat32-2.4.14-x86_64-2compat32
-rw-r--r-- 1 root root   1200 Jan 22 15:00 libidn-compat32-1.25-x86_64-2compat32
-rw-r--r-- 1 root root   1298 Jan 22 15:00 libieee1284-compat32-0.2.11-x86_64-3compat32
-rw-r--r-- 1 root root   1333 Jan 22 15:00 libjpeg-compat32-v8a-x86_64-2_slack14.0compat32
-rw-r--r-- 1 root root   1075 Jan 22 15:00 libmng-compat32-1.0.10-x86_64-2compat32
-rw-r--r-- 1 root root   1003 Jan 22 15:00 libmpc-compat32-0.8.2-x86_64-2compat32
-rw-r--r-- 1 root root    980 Jan 22 15:00 libogg-compat32-1.3.0-x86_64-1compat32
-rw-r--r-- 1 root root   1086 Jan 22 15:00 libpcap-compat32-1.3.0-x86_64-1compat32
-rw-r--r-- 1 root root   1089 Jan 22 15:00 libpciaccess-compat32-0.13.1-x86_64-1compat32
-rw-r--r-- 1 root root   1397 Jan 22 15:00 libpng-compat32-1.4.12-x86_64-1compat32
-rw-r--r-- 1 root root   1459 Jan 22 15:00 libsamplerate-compat32-0.1.7-x86_64-2compat32
-rw-r--r-- 1 root root   1384 Jan 22 15:00 libsndfile-compat32-1.0.24-x86_64-1compat32
-rw-r--r-- 1 root root   1223 Jan 22 15:00 libtasn1-compat32-2.12-x86_64-1compat32
-rw-r--r-- 1 root root    978 Jan 22 15:00 libtermcap-compat32-1.2.3-x86_64-7compat32
-rw-r--r-- 1 root root   1584 Jan 22 15:00 libtiff-compat32-3.9.7-x86_64-1_slack14.0compat32
-rw-r--r-- 1 root root   1223 Jan 22 14:59 libtool-compat32-2.4.2-x86_64-1compat32
-rw-r--r-- 1 root root    970 Jan 22 15:00 libusb-compat32-1.0.9-x86_64-1compat32
-rw-r--r-- 1 root root   1408 Jan 22 15:00 libvorbis-compat32-1.3.3-x86_64-1compat32
-rw-r--r-- 1 root root   2873 Jan 22 15:00 libxcb-compat32-1.8.1-x86_64-1compat32
-rw-r--r-- 1 root root   1611 Jan 22 15:00 libxml2-compat32-2.8.0-x86_64-2_slack14.0compat32
-rw-r--r-- 1 root root   1345 Jan 22 15:00 libxslt-compat32-1.1.26-x86_64-2compat32
-rw-r--r-- 1 root root   1808 Jan 22 15:00 mesa-compat32-8.0.4-x86_64-1compat32
-rw-r--r-- 1 root root   1339 Jan 22 14:59 mpg123-compat32-1.14.4-x86_64-1compat32
-rw-r--r-- 1 root root   1506 Jan 22 15:00 ncurses-compat32-5.9-x86_64-1compat32
-rw-r--r-- 1 root root   1202 Jan 22 15:00 nettle-compat32-2.5-x86_64-1compat32
-rw-r--r-- 1 root root   1524 Jan 22 15:00 openldap-client-compat32-2.4.31-x86_64-2compat32
-rw-r--r-- 1 root root   1732 Jan 22 15:00 openssl-compat32-1.0.1f-x86_64-1_slack14.0compat32
-rw-r--r-- 1 root root   1285 Jan 22 14:59 openssl-solibs-compat32-1.0.1f-x86_64-1_slack14.0compat32
-rw-r--r-- 1 root root   1198 Jan 22 15:00 p11-kit-compat32-0.12-x86_64-1compat32
-rw-r--r-- 1 root root   3082 Jan 22 15:00 pango-compat32-1.30.1-x86_64-1compat32
-rw-r--r-- 1 root root   1017 Jan 22 15:00 pixman-compat32-0.26.2-x86_64-1compat32
-rw-r--r-- 1 root root   1173 Jan 22 15:00 popt-compat32-1.7-x86_64-3compat32
-rw-r--r-- 1 root root 170098 Jan 22 15:00 qt-compat32-4.8.2-x86_64-4compat32
-rw-r--r-- 1 root root   1191 Jan 22 15:00 readline-compat32-5.2-x86_64-4compat32
-rw-r--r-- 1 root root   7056 Jan 22 15:00 sane-compat32-1.0.22-x86_64-5compat32
-rw-r--r-- 1 root root   1733 Jan 22 15:00 sdl-compat32-1.2.14-x86_64-6_slack14.0compat32
-rw-r--r-- 1 root root   1825 Jan 22 15:00 seamonkey-solibs-compat32-2.23-x86_64-1_slack14.0compat32
-rw-r--r-- 1 root root   1300 Jan 22 14:59 sqlite-compat32-3.7.14.1-x86_64-1_slack14.0compat32
-rw-r--r-- 1 root root   1135 Jan 22 15:00 startup-notification-compat32-0.12-x86_64-1compat32
-rw-r--r-- 1 root root   1175 Jan 22 15:00 svgalib-compat32-1.9.25-x86_64-2compat32
-rw-r--r-- 1 root root   1192 Jan 22 14:59 udev-compat32-182-x86_64-5compat32
-rw-r--r-- 1 root root   2031 Jan 22 14:59 util-linux-compat32-2.21.2-x86_64-5compat32
-rw-r--r-- 1 root root   1814 Jan 22 15:00 v4l-utils-compat32-0.8.8-x86_64-2compat32
-rw-r--r-- 1 root root   1028 Jan 22 15:00 xcb-util-compat32-0.3.8-x86_64-1compat32
-rw-r--r-- 1 root root   1004 Jan 22 15:00 xsane-compat32-0.998-x86_64-2compat32
-rw-r--r-- 1 root root    922 Jan 22 15:00 zlib-compat32-1.2.6-x86_64-1compat32
 
Old 07-19-2014, 10:16 PM   #5
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 527

Rep: Reputation: 140Reputation: 140
Sounds like you might have borked something going from 14.0-multilib to -current stock. On all the various system I've played with that have intel audio, I can't recall when last I had any issues. Sound works OOTB. For m3 files, you may need to add the lame codec (or similar). Did you try /usr/bin/mpg123? Your mp3 file example is NOT the same as being able to play wav and ogg files.

Just to keep things "simple" I would uninstall everything that is *-compat32-* and make show you have clean, stock -current system. You may have to do a full install, as opposed to upgrade, if reinstalling series /a, /l, /d, and maybe /ap doesn't do it.

Upgrading can be tricky esp. if you dont' 1st remove multilib. Given how current changes, and by now has diverged qute aq bit from 14.1, I always do a full install then upgrade when the -current tree updates.
 
Old 07-19-2014, 10:32 PM   #6
dijetlo
Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Slackware Current 64bit Multi-Lib/RHEL
Posts: 743

Rep: Reputation: Disabled
Quote:
do see these in /var/log/packages. This is probably not a good thing.
I would actually think the opposite... it actually is a good thing and doesn't need to be cleaned up. just upgraded to restore functionality.

Code:
-rw-r--r-- 1 root root   1486 Jan 22 14:59 alsa-lib-compat32-1.0.26-x86_64-1compat32
-rw-r--r-- 1 root root   1228 Jan 22 14:59 alsa-oss-compat32-1.0.25-x86_64-1compat32
...
-rw-r--r-- 1 root root   1123 Jan 22 14:59 audiofile-compat32-0.2.7-x86_64-1compat32
...
-rw-r--r-- 1 root root   1659 Jan 22 14:59 flac-compat32-1.2.1-x86_64-3compat32
...
-rw-r--r-- 1 root root   1339 Jan 22 14:59 mpg123-compat32-1.14.4-x86_64-1compat32
those may be at the source of your sound issue. The slackbook has several strategies/tools to address this problem, take a look and post back if you need some help.
 
Old 07-20-2014, 12:41 AM   #7
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by dijetlo View Post
I would actually think the opposite... it actually is a good thing and doesn't need to be cleaned up. just upgraded to restore functionality.
If I did that, I'd have to install the gcc and glibc multilib packages too. It would be nice if 32-bit compatibility was built-in to the native 64-bit Slackware distribution. But it's not, and I'd rather not deal with it. Also, there isn't any 32-bit functionality I want to restore. I installed multilib on 14.0 only because I needed it to support the Android SDK. But I'm not using that right now. There is one program I would run under Wine, but it's not enough for me to want to install multilib again.

If I just remove the compat32 packages, will I need to re-install anything else from 14.1 or from current?
 
Old 07-20-2014, 12:50 AM   #8
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by kingbeowulf View Post
Just to keep things "simple" I would uninstall everything that is *-compat32-* and make show you have clean, stock -current system. You may have to do a full install, as opposed to upgrade, if reinstalling series /a, /l, /d, and maybe /ap doesn't do it.
I don't relish doing a full install on this particular system again. I did it when going from 13.37 32-bit to 14.0 64-bit, and it took me days to get everything straightened out. I took really good notes, so I now have a complete list of everything that I've customized, but it would still a major PITA.
 
Old 07-20-2014, 03:36 AM   #9
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,849
Blog Entries: 15

Rep: Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189
Did you also create an ALSA.conf to setup handling of the OSS emulation modules?
 
Old 07-20-2014, 10:33 AM   #10
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 158Reputation: 158
ReaperX7, I didn't know about alsa.conf. I did not set one up, but there is already one set up. It is in /usr/share/alsa/alsa.conf. I could list it here, but it is really long, and I haven't modified it, so it should be whatever comes with Slackware by default.

There is also an alsa.conf.d directory in /usr/share/alsa, but the only file in it is a README. That is where I suppose any user configurations would go. Do you have a suggestion for anything specific that would help?
 
Old 07-20-2014, 11:04 AM   #11
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 158Reputation: 158
"aplay -h" lists all the supported sample formats, and mentions that some of them may not be supported on all hardware.

Code:
# aplay -h
Usage: aplay [OPTION]... [FILE]...

... < snipped > ...

Recognized sample formats are: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM SPECIAL S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U18_3BE G723_24 G723_24_1B G723_40 G723_40_1B DSD_U8
Some of these may not be available on selected hardware

... < snipped > ...
Since the 8 and 16 bit 8000Hz mono formats worked when my system was running 14.0 on the same hardware, it seems like either my hardware supports them, or there was some sort of rate conversion being done in 14.0 that isn't being done in 14.1. Perhaps there were plug slave definitions in 14.0 to do rate conversions that aren't there anymore in 14.1.

I don't have a 14.0 system installed anywhere to compare to. I'm guessing any such rate conversions would have been specified in the /usr/share/alsa/alsa.conf file or under the alsa.conf.d directory, since I didn't have an /etc/asound.conf in 14.0.

How can I determine which formats are supported by my hardware?
 
Old 07-22-2014, 10:55 AM   #12
bassmadrigal
Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 384

Rep: Reputation: 124Reputation: 124
Have you uninstalled the compat32 packages like was mentioned before? I'm pretty sure that removepkg doesn't support wildcards, so rather than doing it manually, I think you can run the following (paste it in a text file and execute it using 'sh textfile').

Code:
for i in /var/log/packages/*compat32*
do
removepkg `basename $i`
done
What do you have xmms audio output set to in the app itself? Have you tried tinkering with that?
 
1 members found this post helpful.
Old 07-22-2014, 11:16 AM   #13
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
if I was you I would reinstall xmms slackpkg reinstall xmms and if that does not fix it.
Then grab the code http://slackware.org.uk/slackware/sl...urce/xap/xmms/
and build it with the script. trust me if there is an error it will point you to it.
xmms should automatically find those libraries. if they are in 64 bit.

Last edited by Drakeo; 07-22-2014 at 11:20 AM.
 
Old 07-22-2014, 11:58 AM   #14
genss
Member
 
Registered: Nov 2013
Posts: 365

Rep: Reputation: Disabled
aplay can not play mp3, it treats it as raw
use mpg321, mpg123 or best of all sox (the 'play' command)

for the voip thingy it needs a channel count, even thou it did say "Mono"
try adding -c 1 for mono, -c 2 for stereo
you can also try sox, maybe it's just a non standard wav file

U8 is unsigned 8bit format (S8 is signed)
does not mean that your card supports it, that it has to thanks to your asoundrc
just deleting bout asoundrc will make alsa resample it to 16bit/48kHz and it should play

alternatively sox can resample it
either offline or while playing (the "remix"... directive i guess, it's in the sox man page)
 
1 members found this post helpful.
Old 07-23-2014, 08:13 PM   #15
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 805

Original Poster
Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by bassmadrigal View Post
Have you uninstalled the compat32 packages like was mentioned before? I'm pretty sure that removepkg doesn't support wildcards, so rather than doing it manually, I think you can run the following (paste it in a text file and execute it using 'sh textfile').

Code:
for i in /var/log/packages/*compat32*
do
removepkg `basename $i`
done
What do you have xmms audio output set to in the app itself? Have you tried tinkering with that?

Thank you for the script. I haven't uninstalled the compat32 packages yet. Just being cautious. I want to make sure I know what I'm doing, or what I'll need to do afterwards, before I do it.

xmms is using the OSS driver 1.2.11. It's configured to use the default audio device. The default device is the Intel HD analog device, which is the only functional one I have, so I haven't tried anything else. There is a Intel digital device, but I think it only works if you connect an SPDIF output. I don't have anything I could connect it to.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with online audio players-No sound sandeeppandana Linux - General 1 08-28-2008 04:31 AM
Sound in Video players spotslayer Linux - Software 2 10-17-2004 01:16 PM
No sound when playing audio files on Fedora using command line players k_wjss Linux - Newbie 0 10-01-2004 02:32 AM
MIDI sound players F*SH Linux - General 1 06-20-2004 07:45 PM
no sound for cd players ochtas Linux - General 2 08-20-2003 07:14 AM


All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
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