Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

OMG HELP! Alsa behaving WIERD! Unable to install hw params

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
kEiNsTeiN
Guru
Guru
User avatar
Posts: 361
Joined: Fri Apr 29, 2005 2:21 am
Location: Germany

OMG HELP! Alsa behaving WIERD! Unable to install hw params

  • Quote

Post by kEiNsTeiN » Sun Aug 05, 2007 7:43 pm

Hi!
For some fu**ed up reason, Alsa works only with amarok (which now broke for me), and RealPlayer!!!
with anything else (kaffeine, aplay, alsaplayer, vlc, mplayer), either the program totally freezes, or I get this:

Code: Select all

keinstein src # aplay /usr/share/psi/sound/chat1.wav
Playing WAVE '/usr/share/psi/sound/chat1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
aplay: set_params:961: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 44100
PERIOD_TIME: (21333 21334)
PERIOD_SIZE: (940 941)
PERIOD_BYTES: (1880 1882)
PERIODS: (15 17)
BUFFER_TIME: (341315 341316)
BUFFER_SIZE: 15052
BUFFER_BYTES: 30104
TICK_TIME: 0
WTF?

Sound in Flash/Firefox doesn't work either, but at least doesnt crash the browser (which actually appears pretty unstable right now, crashing often, to be accurate)

I had an systemupdate 3 days ago, this is what changed:

Code: Select all

     Sat Mar 17 06:37:09 2007 >>> media-sound/alsa-utils-1.0.14_rc2-r3
     Thu Aug  2 03:09:44 2007 >>> media-sound/alsa-utils-1.0.14

     Fri Mar 30 02:11:12 2007 >>> media-sound/alsa-headers-1.0.14_rc3
     Mon Jul 30 01:49:42 2007 >>> media-sound/alsa-headers-1.0.14

     Sat Mar 17 06:37:09 2007 >>> media-sound/alsa-utils-1.0.14_rc2-r3
     Thu Aug  2 03:09:44 2007 >>> media-sound/alsa-utils-1.0.14

     Fri Mar 30 03:35:44 2007 >>> media-libs/alsa-lib-1.0.14_rc3
     Mon Jul 30 03:38:49 2007 >>> media-libs/alsa-lib-1.0.14a-r1
     Fri Aug  3 17:24:32 2007 >>> media-libs/alsa-lib-1.0.14a-r1

     Wed Oct  4 06:28:22 2006 >>> media-libs/alsa-oss-1.0.12
     Thu Aug  2 05:20:56 2007 >>> media-libs/alsa-oss-1.0.14
damn I believe I screwed the whole system... running emerge -e world right now, not sure if it'll help...
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

Re: OMG HELP! Alsa behaving WIERD! Unable to install hw para

  • Quote

Post by PaulBredbury » Sun Aug 05, 2007 7:48 pm

kEiNsTeiN wrote: Wed Oct 4 06:28:22 2006 >>> media-libs/alsa-oss-1.0.12
Thu Aug 2 05:20:56 2007 >>> media-libs/alsa-oss-1.0.14
12 is not the same as 14. Get those version numbers in sync. All of them, which contain "alsa" in their name. And to forestall the inevitable:

Follow wiki article carefully.
Top
kEiNsTeiN
Guru
Guru
User avatar
Posts: 361
Joined: Fri Apr 29, 2005 2:21 am
Location: Germany

  • Quote

Post by kEiNsTeiN » Sun Aug 05, 2007 7:53 pm

no, they're all 14, I just posted the old version numbers so you can see what I had before, look at the timestamp...

Code: Select all

[I] media-libs/alsa-lib
     Available versions:  1.0.10[4] (~)1.0.12_rc1-r1[4] 1.0.13 1.0.14_rc1 [M](~)1.0.14_rc1-r1 1.0.14_rc2 [M](~)1.0.14_rc2-r1 (~)1.0.14_rc3 [M](~)1.0.14_rc3-r1 [M](~)1.0.14_rc4 [M](~)1.0.14_rc4-r1 (~)1.0.14a (~)1.0.14a-r1
     Installed versions:  1.0.14a-r1(01:22:34 05.08.2007)(-alisp -alsa_pcm_plugins_adpcm -alsa_pcm_plugins_alaw -alsa_pcm_plugins_copy -alsa_pcm_plugins_dshare -alsa_pcm_plugins_dsnoop -alsa_pcm_plugins_extplug -alsa_pcm_plugins_file -alsa_pcm_plugins_hooks -alsa_pcm_plugins_ladspa -alsa_pcm_plugins_lfloat -alsa_pcm_plugins_linear -alsa_pcm_plugins_meter -alsa_pcm_plugins_mulaw -alsa_pcm_plugins_multi -alsa_pcm_plugins_null -alsa_pcm_plugins_rate -alsa_pcm_plugins_route -alsa_pcm_plugins_share -alsa_pcm_plugins_shm -debug -doc midi)

[I] media-libs/alsa-oss
     Available versions:  1.0.12 [M](~)1.0.14_rc4 (~)1.0.14
     Installed versions:  1.0.14(01:23:13 05.08.2007)

[I] media-sound/alsa-headers
     Available versions:  1.0.13 1.0.14_rc1 1.0.14_rc2 (~)1.0.14_rc3 [M](~)1.0.14_rc4 (~)1.0.14 [M]**9999
     Installed versions:  1.0.14(01:11:56 05.08.2007)

[I] media-sound/alsa-utils
     Available versions:  (0.9)  1.0.13 1.0.14_rc1 1.0.14_rc2-r3 (~)1.0.14
     Installed versions:  1.0.14(0.9)(01:14:17 05.08.2007)(midi nls)

[I] media-sound/alsaplayer
     Available versions:  (~)0.99.77-r1 (~)0.99.80_rc1 **9999[4]
     Installed versions:  0.99.80_rc1(01:19:23 05.08.2007)(alsa audiofile -doc -esd flac gtk -jack -mikmod -nas ogg opengl -oss vorbis -xosd)
     Homepage:            http://www.alsaplayer.org/
I have the driver compiled into the kernel, not using alsa-drivers or module stuff

edit: I mentioned that it worked before? :D
Top
01mf02
Veteran
Veteran
User avatar
Posts: 1070
Joined: Sun Nov 21, 2004 3:14 pm
Location: Innsbruck, Austria

  • Quote

Post by 01mf02 » Sun Aug 05, 2007 7:56 pm

Do you have strange CFLAGS etc.? Have you tried moving /etc/asound.conf and ~/.asoundrc somewhere else?
Top
kEiNsTeiN
Guru
Guru
User avatar
Posts: 361
Joined: Fri Apr 29, 2005 2:21 am
Location: Germany

  • Quote

Post by kEiNsTeiN » Sun Aug 05, 2007 10:11 pm

Code: Select all

veit@keinstein ~ $ ls -l /etc/asound.conf
ls: cannot access /etc/asound.conf: No such file or directory
veit@keinstein ~ $ ls -l .asoundrc
ls: cannot access .asoundrc: No such file or directory

Code: Select all

keinstein ~ # emerge --info
Portage 2.1.3.2 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-kamikaze5 i686)
=================================================================
System uname: 2.6.22-kamikaze5 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System release 2.0.0_rc1
Timestamp of tree: Fri, 03 Aug 2007 00:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -pipe -march=pentium4m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -pipe -march=pentium4m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/custom-kernels /usr/portage/local/layman/initng /usr/portage/local/layman/sunrise /usr/portage/local/layman/einit /usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amarok amr amrr apache2 asf audiofile avi bidi bluetooth bootsplash browserplugin bzip2 bzlib cddb cdinstall cdparanoia cdr cli crypt css cups curl dbus dhcp divx divx4linux dlloader dmi dri dvb dvd dvdr dvdread encode exif ext4dev extras fam fastbuild faxonly fbcon fbsplash ffmpeg flac ftp gd gdbm gif gimpprint glib glibc-omitfp glitz glut gmedia gstreamer gtk hal id3 idn imagemagick imap imlib ipod isdnlog jabber java javascript jpeg kde kdeenablefinal kdehiddenvisibility kickoff kipi libg++ libwww mad matroska midi mime mmx mmxext mozbranding mp3 mp4 mp4live mpeg mpeg2 musicbrainz mysql net nls nptl nptlonly nsplugin ntfs nvidia ogg opengl pam pch pcre pdf pertty pic png ppds pppd qt qt-copy qt3 qt3support qt4 quicktime rdesktop readline realmedia reflection risky sdl session skins slp sockets spell spl splash sse ssl svg tcpd threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utempter vcd visualization vorbis wifi win32codecs wmp x264 x86 xcomposite xfs xine xinerama xorg xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" DVB_CARDS="dibusb-usb1" ELIBC="glibc" INITNG_PLUGINS="ngcs nge ctrlaltdel also bash_launcher chdir chroot conflict cpout critical cron daemon dev dllaunch envparser find fstat history idleprobe initctl interactive iparser last limit logfile netprobe ngc4 pause pidfile reload renice rlparser simple_launcher stcmd stdout suid syncron syslog unneeded provide" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Top
kEiNsTeiN
Guru
Guru
User avatar
Posts: 361
Joined: Fri Apr 29, 2005 2:21 am
Location: Germany

  • Quote

Post by kEiNsTeiN » Mon Aug 06, 2007 3:35 pm

*bump*

I'm soooo clueless.....

If just amarok and realplayer wouldn't work, so I could get a better sense of what's going on... but this is just sick...
Top
augury
l33t
l33t
User avatar
Posts: 722
Joined: Sat May 22, 2004 8:25 pm
Location: philadelphia

  • Quote

Post by augury » Tue Aug 14, 2007 4:28 pm

Same problem.

Code: Select all

Portage 2.1.3.5 (unavailable, gcc-4.2.0, glibc-2.3.4.20050125-r1,glibc-2.6-r0, 2.6.23-rc2 i686)
=================================================================
System uname: 2.6.23-rc2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 14 Aug 2007 14:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.1.3-r1, 2.2.3-r5, 2.3.5, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.15.92.0.2-r7, 2.15.92.0.2-r10, 2.15.94.0.2.2, 2.16-r1, 2.16.1-r1, 2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"

Code: Select all

00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Just running firefox I get this in the terminal

Code: Select all

ALSA lib pcm_misc.c:740:(snd_pcm_parse_control_id) Cannot get index for 0
aoss firefox

Code: Select all

ALSA lib confmisc.c:769:(parse_card) cannot find card 'h '³_driver'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib pcm_hw.c:1351:(_snd_pcm_hw_open) Invalid value for card
Otherwise I get sound. Except in alsaplayer.
Top
ketjap
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Thu Nov 03, 2005 12:38 pm
Location: The Netherlands

  • Quote

Post by ketjap » Fri Sep 14, 2007 9:00 am

Same problem here at 2 different machiines. Has anyone an solution yet? Is it the kernel or is it alsa?
Top
ketjap
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Thu Nov 03, 2005 12:38 pm
Location: The Netherlands

  • Quote

Post by ketjap » Fri Sep 14, 2007 9:03 am

I've found another post with the same problem. There solution was to downgrade alsa lower then 1.0.14.
Top
ketjap
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Thu Nov 03, 2005 12:38 pm
Location: The Netherlands

  • Quote

Post by ketjap » Fri Sep 14, 2007 9:30 am

When you only put =media-libs/alsa-lib-1.0.14a-r1 in /etc/portage/package.mask it will do the trick.
Top
KarlH420
n00b
n00b
Posts: 45
Joined: Mon Apr 25, 2005 5:50 pm
Contact:
Contact KarlH420
Website

  • Quote

Post by KarlH420 » Fri Sep 14, 2007 3:25 pm

Thanks ketjap That solved the issue for me too.
Top
69719
l33t
l33t
Posts: 865
Joined: Mon Sep 20, 2004 2:53 pm

  • Quote

Post by 69719 » Fri Sep 21, 2007 9:21 pm

try this

echo 'ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm"' >> /etc/make.conf
emerge --oneshot alsa-lib && /etc/init.d/alsasound restart
Top
daemian
n00b
n00b
Posts: 1
Joined: Sat Jul 07, 2007 1:04 am

  • Quote

Post by daemian » Sun Sep 30, 2007 10:51 pm

escor wrote:try this

echo 'ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm"' >> /etc/make.conf
emerge --oneshot alsa-lib && /etc/init.d/alsasound restart
Woot ! I had this same weird behaviour since ALSA update, and this incantation saved my day !
Are all these plugins really needed, by the way ?

Many thanks 8)
Top
69719
l33t
l33t
Posts: 865
Joined: Mon Sep 20, 2004 2:53 pm

  • Quote

Post by 69719 » Mon Oct 01, 2007 4:43 am

Important plugins: plug ioplug, recommended plugins (at minimum): plug ioplug dmix
Top
Post Reply

14 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic