Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17690 - No audio from xine
Summary: No audio from xine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-17 09:30 UTC by Ian Smith
Modified: 2004-05-18 00:20 UTC (History)
1 user (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 Ian Smith 2003-03-17 09:30:24 UTC
Xine produces video but no sound.  The same files work fine with mplayer without
adjusting mixers, and xmms, sox, ogg123 etc. are all OK.  I use OSS for
everything.  xine --audio-driver oss videocd.mpg makes no difference.  Xine
reports no errors regarding audio:

73 $ xine videocd.mpg 
This is xine (X11 gui) - a free video player v0.9.19
(c) 2000-2003 by G. Bartsch and the xine project team.
Built with xine library 1.0.0 (1-beta8)
Found xine library version: 1.0.0 (1-beta8).
XServer Vendor: Gentoo Linux (XFree86 4.3.0, revision r1). Release: 40300000,
        Protocol Version: 11, Revision: 0,
        Available Screen(s): 1, using 0
        Depth: 16.
        XShmQueryVersion: 1.1.
-[ xiTK version 0.10.2 ]-
-[ xiTK will use XShm ]-
-[ WM type: (GnomeCompliant) dtwm ]-
Display is not using Xinerama.
main: probing <aadxr3> video output plugin
load_plugins: failed to load video output plugin <aadxr3>
main: probing <dxr3> video output plugin
video_out_dxr3: Failed to open control device /dev/em8300-0 (No such file or
directory)
load_plugins: failed to load video output plugin <dxr3>
main: probing <xv> video output plugin
vo_scale: invalid ratio, using 4:3
vo_scale: unknown aspect ratio (0) in stream => using 4:3


Reproducible: Always
Steps to Reproduce:
1.xine <filename> - doesn't work
2.mplayer <filename> - works
3.

Actual Results:  
see above

Expected Results:  
er, made some noise.

11 $ emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo
http://mirrors.sunsite.dk/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/init.d /etc/xfce /etc/X11/xkb /etc/gconf /etc/env.d"
PORTDIR="/mnt/scratch/portage"
DISTDIR="/mnt/scratch/portage/distfiles"
PKGDIR="/mnt/scratch/portage/packages"
PORTAGE_TMPDIR="/mnt/scratch/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline arts tetex bonobo svga java guile X sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl aalib
cdr dga directfb doc dvd fbcon gtkhtml lirc mbox mozilla mysql nas odbc
plotutils postgres samba sse tcltk usb"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache userpriv usersandbox"
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2003-03-18 13:24:03 UTC
Try specifying the audio plugin explicitely with the -A command line option.
You can see a list of available plugins by typing "xine --help".  Remove
~/.xine before doing this.
Comment 2 Ian Smith 2003-03-18 17:24:38 UTC
-A is the same as --audio-driver according to xine --help.

Anyway, it didn't make any difference . . .
Comment 3 Arcady Genkin (RETIRED) gentoo-dev 2003-03-21 10:18:33 UTC
Sorry I didn't see the --audio-driver thing in your original post.
Do you have audio drivers loaded in the kernel?  I see that you have
"alsa" in your USE flags: are you using the ALSA sound drivers?  Do 
you have alsa-oss package installed?  I need more info to chew on
(e.g. lsmod, etc.).
Comment 4 Arcady Genkin (RETIRED) gentoo-dev 2003-03-21 10:19:06 UTC
BTW, what does "xine --help" list as available audio plugins?
Comment 5 Ian Smith 2003-03-22 11:48:07 UTC
Hmm, I disabled alsa in the use flag generator, so not sure why it's there.  I'll do it properly now and remerge xine when this update is finished.  I suspect you might be onto something there . . .

BTW just checked the GUI and oss is selected there, too.

1 $ xine --help

Usage: xine [OPTIONS]... [MRL]

OPTIONS are:
  -v, --version                Display version.
  -V, --video-driver <drv>     Select video driver by id. Available drivers: 
                               dxr3 aadxr3 xv SyncFB aa xshm none sdl vidix vidixfb fb 
  -A, --audio-driver <drv>     Select audio driver by id. Available drivers: 
                               null alsa oss arts esd 
Comment 6 Ian Smith 2003-03-24 16:53:22 UTC
rebuilding didn't help BTW
Comment 7 aethyr 2003-08-15 19:35:49 UTC
I couldn't reproduce this bug.

Ian: are you still having this issue?

Maybe removing ~/.xine and reemerging a newer version would help?
Comment 8 Ian Smith 2003-08-16 02:49:57 UTC
rm -rf ~/.xine* - no sound
emerge xine-ui - no sound

only xine is affected, all other applications work perfectly - ?!?!?!?!?!?

240 $ emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21 i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/init.d /etc/xfce /etc/X11/xkb /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/monster/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml gdbm berkdb slang readline tetex aalib nas bonobo svga tcltk java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla ldap cdr dga doc dvd faad fbcon lirc mbox mozcalendar mozp3p mozsvg mozxmlterm oav odbc plotutils samba sse usb -alsa -arts -gnome -kde"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache userpriv usersandbox"
Comment 9 aethyr 2003-08-16 04:23:01 UTC
Try this:

emerge -C xine-ui
emerge -C xine-lib
emerge xine-lib

After you do that last line, right after xine is done doing `configure` you will see something like this:

xine-lib summary:
----------------
 * input plugins:
   - file          - net
   - stdin_fifo    - rtp
   - http          - mms
   - pnm           - rtsp
   - dvb
   - dvd           - vcd
   - cdda
   - gnome-vfs
   - v4l

 * demultiplexer plugins:

   <...snip...>

 * audio driver plugins:
   - oss (Open Sound System)
   - esd (Enlightened Sound Daemon)
---

Right after you see that last part, hit CTRL-C to stop the emerge, and paste the xine-lib summary here.
Comment 10 Ian Smith 2003-08-16 07:12:20 UTC
HTH,

xine-lib summary:
----------------
 * input plugins:
   - file          - net
   - stdin_fifo    - rtp
   - http          - mms
   - pnm           - rtsp
   - dvb
   - dvd           - vcd
   - cdda
   - gnome-vfs
   - v4l

 * demultiplexer plugins:
   - avi           - mpeg
   - mpeg_block    - mpeg_audio
   - mpeg_elem     - mpeg_pes
   - mpeg_ts       - qt/mpeg-4
   - film          - roq
   - fli           - smjpeg
   - idcin         - wav
   - wc3 mve       - voc
   - vqa           - aiff
   - cdda          - snd/au
   - yuv4mpeg2     - real/realaudio
   - ea wve        - raw dv
   - interplay mve - psx str
   - ws aud        - pva
   - vox           - nsf
   - ac3
   - asf
   - ogg
   - mng

 * video decoder plugins:
   - mpeg2           - ffmpeg
   - cyuv            - divx4
   - cinepak         - msvc
   - fli             - msrle
   - rgb             - yuv
   - roqvideo        - svq1
   - idcin           - smc
   - rpza            - wc3video
   - qtrle           - interplayvideo
   - dxr3_video
   - w32dll
   - png

 * audio decoder plugins:
   - a52/ra-dnet     - dts
   - mad             - adpcm
   - linear pcm      - roqaudio
   - log pcm         - gsm610
   - ffmpeg          - interplayaudio
   - nosefart
   - vorbis
   - w32dll
   - faad

 * subtitle decoder plugins:
   - spu             - spucc
   - sputext
   - dxr3_spu

 * post effect plugins:
  * planar video effects:
   - invert
  * SFX:
   - goom            - oscope
   - fftscope        - mosaico

 * video driver plugins:
   - XShm (X11 shared memory)
   - SyncFB (for Matrox G200/G400 cards)
   - Xv (XVideo *static*)
   - OpenGL
   - aa (Ascii ART)
   - fb (Linux framebuffer device)
   - sdl (Simple DirectMedia Layer)
   - directfb (DirectFB driver)
   - dxr3 (Hollywood+ and Creative dxr3, both mpeg and non-mpeg video)
   - vidix (X11 and framebuffer support)

 * audio driver plugins:
   - oss (Open Sound System)
   - esd (Enlightened Sound Daemon)
   - arts (aRts - KDE soundserver)
---
Comment 11 Ian Smith 2003-11-09 04:12:28 UTC
Just tried unmerging and remerging xine-lib and xine-ui again, also blew
away ~/.xine.  Still no sound, no errors!  Any ideas gratefully accepted.

media-video/xine-ui-0.9.21
media-libs/xine-lib-1_beta12

Comment 12 Arcady Genkin (RETIRED) gentoo-dev 2004-04-25 09:28:22 UTC
Retiring as a Gentoo developer.
Comment 13 Patrick Kursawe (RETIRED) gentoo-dev 2004-05-11 05:46:16 UTC
Since this bug is rather ancient I'd like to know if this still is a problem.
Comment 14 Ian Smith 2004-05-12 11:34:40 UTC
Just checked again ( I am forced to use mplayer as a rule ).  Audio failed so I looked at advanced settings.  Set OSS audio device name to  /dev/dsp (was auto) and sound materialized!

So as far as I am concerned, not a problem any more.  Dunno when the setting got broken but all fine now.

Comment 15 Martin Holzer (RETIRED) gentoo-dev 2004-05-18 00:20:28 UTC
closing as fixed