Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42788 - xawdecode-1.90 fails to start with alsa-problem
Summary: xawdecode-1.90 fails to start with alsa-problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-24 11:52 UTC by Volker Hemmann
Modified: 2004-03-09 10:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2004-02-24 11:52:25 UTC
Hi,
I did the xawdecode update to 1.90 last night and reemgered the ebuild since then.
Every time, I try to start xawdecode I get this error:
xawdecode: simple.c:1780: snd_mixer_selem_get_capture_switch: Assertion `elem' failed.
Abgebrochen

Mixer gets unmuted, but nothing else.
I am able to start xawdecode with the xawdecode_wizard and choose xawdecode without alsa.


Reproducible: Always
Steps to Reproduce:
1. emerge xawdecode
2. log into KDE
3. kill artsd&try to start xawdecode

Actual Results:  
I get the error mentioned above, no TV-picture. 

Expected Results:  
It should show me a nice TV-window 

Here is my emerge info output: 
emerge info 
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3) 
================================================================= 
System uname: 2.6.3 i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.4.3.13 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -mfpmath=sse -ftracer 
-fomit-frame-pointer -Wdisabled-optimization -fprefetch-loop-arrays -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -mfpmath=sse -ftracer 
-fomit-frame-pointer -Wdisabled-optimization -fprefetch-loop-arrays -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache notitles sandbox" 
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo 
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow 3ds S3TC X aalib acpi acpi4linux alsa autofs avi berkdb cdr crypt dga dnd 
dvd editor encode faad ffmpeg flac gdbm gif gtk gtk2 imagemagick imlib jack jack-caps 
jack-tmpfs java javascript joystick jpeg kde lesstif libg++ libwww mad maildir mikmod 
mmx mng motif mpeg mule music mysql ncurses nls nocd nvidia oggvorbis openal opengl 
pam pdflib perl physfs pic png python qt quicktime readline scanner sdl server slang snmp 
spell sse ssl stencil-buffer svga tcltk tcpd tetex tiff transcode truetype type1 usb v4l videos 
wmf x86 xemacs xine xml2 xmms xosd xv xvid zlib zvbi" 
 
Xfree is 4.3-r5 
alsa-lib is 1.0.2 
alsa-drivers are in-kernel driver. 
 
Prior versions of xawdecode worked fine!
Comment 1 TGL 2004-03-07 16:56:55 UTC
What is the value of "mixer = ..." in "~/.xawdecode/xawdecoderc"? Is it a valid mixer channel ("line" is default and should be fine in most cases)?
Comment 2 Volker Hemmann 2004-03-08 02:14:04 UTC
Hi,

mixer is aux.
I removed it, and now xawdecode is working again, but TV sound is on aux for more than a year and it worked with xawdeode 1.8.x.

Additionally, without mixer= aux the volume-slider does not have any effects anymore.
Comment 3 TGL 2004-03-08 18:07:48 UTC
The native alsa mixer, based on alsa-lib, is more less new, which explains some small behavior changes. In your case, the channel name you should use is probably "Aux" instead of "aux". Only "line" is case-insensitive, for backward compatibility with old default config, and works despite the real alsa channel name is "Line". But for others, there is no such hack, so they must follow exactly the alsa namings.
Comment 4 Volker Hemmann 2004-03-09 03:41:20 UTC
Hi,

mixer = Aux is working, thank you!
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-09 10:21:03 UTC
closing...